Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: PDF
I'm generating PDF file with FOP, but my header contents are not fixed, they keep on changing with each report and with each locale of browser.
Because of this my static width / height setting like
margin-top="0.25in"
or
margin-top="0.95in"
is failing for some reports, i.e my header is overlapping with body contents.
Is there a generic solution which can fix this?
 
[edit]Tidied up a little to clarify question - OriginalGriff[/edit]
 
More details:
Header of pdf is overlapping on the contents of body of pdf, because of which I am not able to see my top contents in my body of pdf document.
I want to way by which ,if header contents are increased then body should start after the layout of header.
But in pdf api it is required to set:

<fo:region-body  margin-top="1.25in" margin-bottom="0.50in" />
                    <fo:region-before extent="1.25in"/>
                    <fo:region-after extent="0.50in"/>
which is causing problem bec. when my text in header increases beyond 1.25in which is specified in
<fo:region-body  margin-top="1.25in"
then in that case header text overlapps body text.
Posted 20-Apr-10 1:58am
Edited 20-Apr-10 4:12am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 280
1 Sergey Alexandrovich Kryukov 279
2 CPallini 205
3 Maciej Los 197
4 Afzaal Ahmad Zeeshan 160
0 OriginalGriff 5,635
1 DamithSL 4,496
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 20 Apr 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100