Question abou pagination
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 147
- Joined: Sat Oct 19, 2013 8:21 am
Question abou pagination
Hi,
I have definition of page :
When i publish first page it is A4
This is an A4 page but above region-before I have 10mm while margin-top = 0?
It's the same for other margin?
thank you
I have definition of page :
Code: Select all
<fo:simple-page-master master-name="first_page"
page-height="297mm" page-width="210mm"
margin-top="0mm" margin-left="0mm" margin-right="0mm" margin-bottom="0mm">
<fo:region-body/>
<fo:region-before background-color="#EFEFEF"
region-name="header" extent="7mm" display-align="after"/>
<fo:region-after background-color="blue"
region-name="footer" extent="1mm" display-align="before"/>
<fo:region-start background-color="red" region-name="start" extent="1mm"/>
<fo:region-end background-color="yellow" region-name="end" extent="10mm"/>
</fo:simple-page-master>
This is an A4 page but above region-before I have 10mm while margin-top = 0?
It's the same for other margin?
thank you
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Question abou pagination
Hi,
I cannot reproduce the issue with a small XSL-FO document like this one:
It's possible that the top indent comes from another block which is in front of the current one.
Maybe you should try coming up with a small XSL-FO to reproduce the problem and write about this to a specialized XSL-FO mailing list.
Regards,
Radu
I cannot reproduce the issue with a small XSL-FO document like this one:
Code: Select all
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="first_page"
page-height="297mm" page-width="210mm"
margin-top="0mm" margin-left="0mm" margin-right="0mm" margin-bottom="0mm">
<fo:region-body region-name="body"/>
<fo:region-before background-color="#EFEFEF"
region-name="header" extent="7mm" display-align="after"/>
<fo:region-after background-color="blue"
region-name="footer" extent="1mm" display-align="before"/>
<fo:region-start background-color="red" region-name="start" extent="1mm"/>
<fo:region-end background-color="yellow" region-name="end" extent="10mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="first_page">
<fo:static-content flow-name="header">
<fo:block text-align="start" font-weight="bold"> Basic Font Attributes - Font
Weight </fo:block>
</fo:static-content>
<fo:flow flow-name="body">
<fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
Maybe you should try coming up with a small XSL-FO to reproduce the problem and write about this to a specialized XSL-FO mailing list.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 147
- Joined: Sat Oct 19, 2013 8:21 am
Re: Question abou pagination
Hi Radu,
The problem exist where i print document, with the viewer Adobe it is OK, but when i print le document i have margin
The margin is in A4 page so measurements are false ?
thank you
The problem exist where i print document, with the viewer Adobe it is OK, but when i print le document i have margin
The margin is in A4 page so measurements are false ?
thank you
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Question abou pagination
Hi,
I really don't know, maybe the printer has some minimum margins configured for a page or maybe the printer has some hardware functional limitations as to how close the printed text can be to the top of the page.
Regards,
Radu
I really don't know, maybe the printer has some minimum margins configured for a page or maybe the printer has some hardware functional limitations as to how close the printed text can be to the top of the page.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service