- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi!
I am in trouble with the currentPage/pageCount because i need to restart counting in different sections of the PDF module.
This is the situation:
MyPDF
- Master pages
- Master Page 1
- Master Page 2
- Page1 (fixed page, associated with Master1) pagecount expected: 1/x (according to the numbers of istances of Page2).
- Page2 (dynamic page... users can add mupliple istances of Page2, associated with Master1) pagecount expected: 2/2 or 2/x depending on number of istances.
- Page3 (fixed page, associated with Master2) pagecount expected (RESTART!): 1/x (according to the numbers of istances of Page4).
- Page4 (dynamic page...users can add mupliple istances of Page4, associated with Master2) pagecount expected: 2/2 or 2/x depending on number of istances.
- Page5 (fixed page, associated with Master2) pagecount expected: 1/1...
- ...
Page 1 & 2 must be counted togheter as part of same section: Page 1/2 and Page 2/2.
if page 2 have multiple istance (for example the user while compiling decide to add 2 pages), the currentPage/pageCount must increase dynamically than Page 1/4, 2/4, 3/4 & 4/4.
And this in not a problem.
Page 3... (Here is my issue!)
I need to restart/reset currentPage/pageCount indipendently from what was before and than Page 3 will be 1/x according to what follow.
Looking around, someone tell me to put one currentPage/pageCount in Master Page1 and another in Master Page2 but i was unable to make it work...
Any suggest?
Thx
Views
Replies
Total Likes