Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FOP image at top of page test
<?xml version="1.0" encoding="UTF-8"?>
<fo:root font-size="11pt" language="en" line-height="normal" line-height-shift-adjustment="disregard-shifts" text-align="justify" writing-mode="lr-tb" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="content" page-height="297mm" page-width="210mm">
<fo:region-body>
</fo:region-body>
<fo:region-before extent="1in">
</fo:region-before>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="content">
<fo:flow flow-name="xsl-region-body">
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
1 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
2 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
3 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
4 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
5 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
6 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
7 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
8 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
9 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
10 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
11 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
12 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
13 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
14 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
15 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
<fo:footnote>
<fo:inline>
<fo:inline baseline-shift="super" font-size="75%" font-style="normal" font-weight="normal">
1
</fo:inline>
</fo:inline>
<fo:footnote-body end-indent="0pt" font-size="8.8pt" font-style="normal" font-weight="normal" hyphenate="true" linefeed-treatment="treat-as-space" start-indent="0pt" text-align="justify" text-indent="0pt" wrap-option="wrap">
<fo:block>
<fo:inline baseline-shift="super" font-size="75%" font-style="normal" font-weight="normal">
1
</fo:inline>
At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
16 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
17 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
18 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
19 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
20 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
21 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
22 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:float float="before">
<fo:block font-size="11pt" font-style="italic" font-weight="normal" hyphenate="false" keep-with-previous.within-column="always" line-stacking-strategy="font-height" space-after.maximum="1.7em" space-after.minimum="1.3em" space-after.optimum="1.5em" space-before.maximum="0em" space-before.minimum="0em" space-before.optimum="0em" text-indent="0pt">
Figure 3.1 Layers of code in a complex software architecture
</fo:block>
</fo:float>
<fo:block background-color="red" id="img-layers-of-code" keep-together.within-column="always" text-align="center">
<fo:block id="d69e465" text-align="center">
<fo:external-graphic content-height="auto" content-width="66%" height="auto" src="url(https://placeholdit.imgix.net/~text?txtsize=33&amp;txt=350%C3%97150&amp;w=350&amp;h=150&amp;fm=png)" width="auto">
</fo:external-graphic>
</fo:block>
<fo:block font-size="11pt" font-style="italic" font-weight="normal" hyphenate="false" keep-with-previous.within-column="always" line-stacking-strategy="font-height" space-after.maximum="1.7em" space-after.minimum="1.3em" space-after.optimum="1.5em" space-before.maximum="0em" space-before.minimum="0em" space-before.optimum="0em" text-indent="0pt">
Figure 1 Lorem ipsum dolor sit amet
</fo:block>
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
23 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
24 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
25 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
26 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
27 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
<fo:block end-indent="0.4in" start-indent="0.4in" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
28 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.