aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/footnotes/columns.fo
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2000-12-28 05:42:54 +0000
committerKeiron Liddle <keiron@apache.org>2000-12-28 05:42:54 +0000
commitc59a1c2ed827c4ad6ba8a85e0b463c26e55076fa (patch)
tree8e63e9ca1700527bad0e82b00ff737fdd8850025 /docs/examples/footnotes/columns.fo
parent323d6365719ad509ae3aeb86a2b1c245c61214a4 (diff)
downloadxmlgraphics-fop-c59a1c2ed827c4ad6ba8a85e0b463c26e55076fa.tar.gz
xmlgraphics-fop-c59a1c2ed827c4ad6ba8a85e0b463c26e55076fa.zip
footnotes in pages with columns
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193931 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples/footnotes/columns.fo')
-rw-r--r--docs/examples/footnotes/columns.fo249
1 files changed, 249 insertions, 0 deletions
diff --git a/docs/examples/footnotes/columns.fo b/docs/examples/footnotes/columns.fo
new file mode 100644
index 000000000..5591e5d2f
--- /dev/null
+++ b/docs/examples/footnotes/columns.fo
@@ -0,0 +1,249 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <!-- defines page layout -->
+ <fo:layout-master-set>
+
+ <!-- layout for the first page -->
+ <fo:simple-page-master master-name="first"
+ page-height="11in"
+ page-width="8.5in"
+ margin-top="1in"
+ margin-bottom="1in"
+ margin-left="0.75in"
+ margin-right="0.75in">
+ <fo:region-body
+ margin-top="1in" margin-bottom="1in"
+ column-count="2" column-gap="0.25in"/>
+ <fo:region-before extent="1in"/>
+ <fo:region-after extent="1in"/>
+ </fo:simple-page-master>
+
+ <fo:simple-page-master master-name="next"
+ page-height="11in"
+ page-width="8.5in"
+ margin-top="1in"
+ margin-bottom="1in"
+ margin-left="0.75in"
+ margin-right="0.75in">
+ <fo:region-body
+ margin-top="1in" margin-bottom="1in"
+ column-count="4" column-gap="0.25in"/>
+ <fo:region-before extent="1in"/>
+ <fo:region-after extent="1in"/>
+ </fo:simple-page-master>
+
+ </fo:layout-master-set>
+
+ <!-- actual layout -->
+ <fo:page-sequence master-name="first">
+ <fo:static-content flow-name="xsl-region-before">
+ <fo:block font-size="16pt"
+ font-family="sans-serif"
+ line-height="normal"
+ text-align="start"
+ color="blue">Footnotes in Columns</fo:block>
+ </fo:static-content>
+
+ <fo:static-content flow-name="xsl-region-after">
+ <fo:block font-size="10pt"
+ font-family="sans-serif"
+ line-height="12pt"
+ space-before.optimum="6pt"
+ text-align="end"
+ color="blue">Page #</fo:block>
+ </fo:static-content>
+
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block color="grey">
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+ </fo:block>
+<fo:block color="red">
+ The <fo:footnote>
+ <fo:inline font-weight="bold">footnote<fo:inline font-size="6pt" vertical-align="super">1</fo:inline></fo:inline>
+ <fo:footnote-body>
+ <fo:block color="maroon">
+ 1. A footnote is text placed at the bottom of the current page.
+ </fo:block>
+ </fo:footnote-body>
+ </fo:footnote>
+ at the bottom of the page.
+</fo:block>
+ <fo:block color="grey">
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+ </fo:block>
+<fo:block color="green">
+ The <fo:footnote>
+ <fo:inline font-weight="bold">second footnote<fo:inline font-size="6pt" vertical-align="super">2</fo:inline></fo:inline>
+ <fo:footnote-body>
+ <fo:block color="darkgreen">
+ 2. Another footnote with a bit more text.
+ </fo:block>
+ </fo:footnote-body>
+ </fo:footnote>
+ at the bottom of the page after the other footnote.
+</fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+
+ <fo:page-sequence master-name="next">
+ <fo:static-content flow-name="xsl-region-before">
+ <fo:block font-size="16pt"
+ font-family="sans-serif"
+ line-height="normal"
+ text-align="start"
+ color="blue">Footnotes in Columns</fo:block>
+ </fo:static-content>
+
+ <fo:static-content flow-name="xsl-region-after">
+ <fo:block font-size="10pt"
+ font-family="sans-serif"
+ line-height="12pt"
+ space-before.optimum="6pt"
+ text-align="end"
+ color="blue">Page #</fo:block>
+ </fo:static-content>
+
+ <fo:flow flow-name="xsl-region-body">
+ <fo:block color="grey">
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+ </fo:block>
+<fo:block color="red">
+ The <fo:footnote>
+ <fo:inline font-weight="bold">footnote<fo:inline font-size="6pt" vertical-align="super">1</fo:inline></fo:inline>
+ <fo:footnote-body>
+ <fo:block color="maroon">
+ 1. A footnote is text placed at the bottom of the current page.
+ </fo:block>
+ </fo:footnote-body>
+ </fo:footnote>
+ at the bottom of the page.
+</fo:block>
+ <fo:block color="grey">
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+What shall we use to fill the empty spaces,
+Where we used to talk?
+How shall I fill the final places?
+How shall I complete the wall?
+ </fo:block>
+<fo:block color="green">
+ The <fo:footnote>
+ <fo:inline font-weight="bold">second footnote<fo:inline font-size="6pt" vertical-align="super">2</fo:inline></fo:inline>
+ <fo:footnote-body>
+ <fo:block color="darkgreen">
+ 2. Another footnote with a bit more text.
+ </fo:block>
+ </fo:footnote-body>
+ </fo:footnote>
+ at the bottom of the page after the other footnote.
+</fo:block>
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>