Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:fo="http://www.w3.org/1999/XSL/Format"
- version="2.0">
- <xsl:template match="/">
- <fo:root>
- <fo:layout-master-set>
- <fo:simple-page-master master-name="firstPage" page-height="297mm" page-width="210mm">
- <fo:region-body margin-top="25mm"/>
- </fo:simple-page-master>
- </fo:layout-master-set>
- <fo:page-sequence master-reference="firstPage">
- <fo:flow flow-name="xsl-region-body">
- <fo:block-container position="absolute">
- <fo:block font-size="20pt" color="red">
- blub </fo:block>
- </fo:block-container>
- <fo:block-container position="absolute">
- <fo:block>
- <fo:external-graphic src="file:///Users/gigo/Downloads/pdf-image/overlay.pdf"/>
- </fo:block>
- </fo:block-container>
- </fo:flow>
- </fo:page-sequence>
- </fo:root>
- </xsl:template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement