I am using the adapter listener com.softwareag.cis.server.adapterlistener.PDFFOPListener to generate PDF.
In NATPAGE I am using the component rowtablearea2. On the FOP page I’m using the cisfo: rowtablearea2 component.
However, when the PDF is generated, from the second page onwards an empty space is displayed in the
top of the page, and the print starts almost in the middle of the page. Can you help me with this problem?
The screens are attached.
Could you please resend the attachments?
Something is going wrong.
I can´t see the attachments files yet.
Check the size of your files.
In order to help you, I need to know how your controls are disposed in the fop file, specifically in the layout pane. Could you please send me your FOP file?
Yes I can. The file attached.
C_fop.zip (754 Bytes)
I´ve taken a look at your FOP page.
You have to control the header height setting up the Cisfo:foppage2 headerheight property.
To solve your issue, follow the items below:
- Clean up the Cisfo:header2 paddingbottom and Cisfo:body2 margintop properties;
- Change the Cisfo:foppage2 headerheight property to a value as your needs, for instances 1.5cm.
Let me know if it helped you.
I made the changes you said, Frederico. Everything worked very well. Thank you very much.