vzsakay |
Newbie |
|
Hungary |
|
|
None Specified |
|
Monday, April 16, 2018 |
Thursday, June 7, 2018 2:00:30 PM |
5 [0.03% of all post / 0.00 posts per day] |
|
Hello All,
I'm facing a tricky issue, which I seem to be unable to sort out by myself.
The situation/issue is the following:
I'm using FOP 1.0 with XSLT 1 and the management is not really supporting to update these unfortunately which would ease my life a lot actually.
I've got the task where I'm having a single invoice SPS:
Initial Document Section Header (All Pages) Footer (All Pages) Body
Document Section Header (All Pages) Footer (All Pages) Body
Document Section Header (All Pages) Footer (All Pages) Body
Document Section Header (All Pages) Footer (All Pages) Body
Document Section Header (All Pages) Footer (All Pages) Body
Each document section should basically be a "copy" of whatever there is in the initial document section, but in each header there should be a single difference, that represents that it's the 1st copy, 2nd copy...4th copy. My 1st issue shows up already here... as it seems always the initial document section's header shows up eventhough I've specified under each document section's header the modification referring to the copy mentioned above.
The 2nd issue I'm facing is, that basically the page numbering which is in each footer at each document section should start from 1. (Which I've thought I can configure under the "Edit Properties..." at each Document Section, but as it seems it's getting ignored as well, just as my changes at the header.
Good to know: As we're talking about an invoices you cannot really tell how many pages long the output in PDF will be. The document sections are shown in the output based on an input parameter comming from the XML input. So the number of copies are determined by that.
Any ideas are more that wellcome!
Thanks and cheers,
William
|
So, is there any idea already? :)
Cheers,
William
|
K101 wrote:Have a look at the attached example. I leave the extra work of appending the st, rd, and th suffixes to the copy number to you.
Hi,
Thanks a lot... just had a look on what you've sent.
I forgot to mention some important stuff: (sorry, that I've missed it earlier)
- I need a solution for FOP 1 and XSLT 1.0 - I've got headers and footers as well and when I populate the form with data, the result is often multiple pages long.
Still struggling to find a solution for the issue. :S
|
I have the element numberofcopies in a working XML file with lots of other data. (For example: <numberofcopies>3</numberofcopies>)
Based on the above, I would need to generate a single PDF output file which should include all 4 documents... saying on the first 'Original', on the second '1st copy', etc. ...dinamically until the number of copies are reached.
I'm quite poor experienced currently with StyleVision and looking for a solution how I can achieve the above.
Anyone who could assist me with a detailed description what I can do to achieve my goal?
Thanks in advance!
Cheers,
William
|
|