aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/fo/link.fo
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2000-03-14 09:39:27 +0000
committerfotis <fotis@unknown>2000-03-14 09:39:27 +0000
commit019ff14759c79605c1e491e007db62fc7191c8a0 (patch)
tree9f4bf00208a2e27989937c490e11e0e0445d3ae5 /docs/examples/fo/link.fo
parentbd58f626c4b716e5721da745915d7e2a5ab63dab (diff)
downloadxmlgraphics-fop-019ff14759c79605c1e491e007db62fc7191c8a0.tar.gz
xmlgraphics-fop-019ff14759c79605c1e491e007db62fc7191c8a0.zip
new fop examples and tests
fixes: page-height, page-width (Jon Smirl) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193298 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples/fo/link.fo')
-rw-r--r--docs/examples/fo/link.fo123
1 files changed, 123 insertions, 0 deletions
diff --git a/docs/examples/fo/link.fo b/docs/examples/fo/link.fo
new file mode 100644
index 000000000..5a15050d5
--- /dev/null
+++ b/docs/examples/fo/link.fo
@@ -0,0 +1,123 @@
+<?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>
+ <fo:simple-page-master page-master-name="first"
+ page-height="29.7cm" page-width="21cm"
+ margin-top="1cm"
+ margin-bottom="2cm"
+ margin-left="2.5cm"
+ margin-right="2.5cm">
+ <fo:region-before extent="3cm"/>
+ <fo:region-body margin-top="3cm"/>
+ <fo:region-after extent="1.5cm"/>
+ </fo:simple-page-master>
+ </fo:layout-master-set>
+ <!-- end: defines page layout -->
+
+ <!-- actual layout -->
+ <fo:page-sequence>
+
+ <!-- applies layout master -->
+ <fo:sequence-specification>
+ <fo:sequence-specifier-single page-master-name="first"/>
+ </fo:sequence-specification>
+
+ <!-- text body -->
+ <fo:flow flow-name="xsl-body">
+
+ <!-- Normal text -->
+ <fo:block text-align="centered">1. <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ </fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="centered">---</fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="centered">
+ 2. A one line example (text-align='start'): <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ </fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="centered">---</fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="start">
+ 3. A multiline text (text-align='start'). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+ enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+ has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
+ go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ </fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="centered">---</fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="centered">
+ 4. A multiline text (text-align='centered'). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+ enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+ has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
+ go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ </fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="centered">---</fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="end">
+ 5. A multiline text (text-align='end'). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+ enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+ has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
+ go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ </fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="centered">---</fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="start"
+ space-before.optimum="6pt"
+ line-height="24pt"
+ font-family="serif"
+ padding-top="3pt"
+ >
+ 6. A multiline text (text-align='start', space-before.optimum=6pt, font-family=serif padding-top="3pt"). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+ enable <fo:simple-link external-destination="normal.pdf">generic</fo:simple-link> SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+ has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
+ go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ </fo:block>
+
+ <!-- Normal text -->
+ <fo:block text-align="start"
+ space-before.optimum="6pt"
+ line-height="24pt"
+ font-family="serif"
+ padding-top="3pt"
+ >
+ 7. A multiline text (text-align='start', space-before.optimum=6pt, font-family=serif, padding-top="3pt"). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+ enable <fo:simple-link external-destination="normal.pdf">generic</fo:simple-link> SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+ has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
+ go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ </fo:block>
+
+
+ <!-- Normal text -->
+<!-- <fo:block text-align="start"
+ space-before.optimum="6pt"
+ line-height="24pt"
+ font-family="serif"
+ padding-top="3pt"
+ >
+ 8. A multiline text (text-align='start', space-before.optimum=6pt, font-family=serif, padding-top="3pt"). The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+ enable <fo:simple-link external-destination="normal.pdf">generic</fo:simple-link> SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+ has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
+ go to <fo:simple-link external-destination="normal.pdf">normal.pdf</fo:simple-link>
+ </fo:block>
+-->
+
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>