aboutsummaryrefslogtreecommitdiffstats
path: root/docs/bugtests/list-nested-breaks.fo
diff options
context:
space:
mode:
authorSteve Coffman <gears@apache.org>2000-07-20 18:36:55 +0000
committerSteve Coffman <gears@apache.org>2000-07-20 18:36:55 +0000
commit26ef045e9fad4762b98ce7d7cfe5440b801e6889 (patch)
treea7e35c98143e04a7f51356513176e7a741fb27fe /docs/bugtests/list-nested-breaks.fo
parenta79bbc282e668213650cbdb7d8a0d621ba8d6266 (diff)
downloadxmlgraphics-fop-26ef045e9fad4762b98ce7d7cfe5440b801e6889.tar.gz
xmlgraphics-fop-26ef045e9fad4762b98ce7d7cfe5440b801e6889.zip
Added new bugtests directory and some files which demonstrate existing FOP
bugs. Eventually, examples will be more for users, bugtests will be more for developers to test before committing changes. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193535 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/bugtests/list-nested-breaks.fo')
-rw-r--r--docs/bugtests/list-nested-breaks.fo196
1 files changed, 196 insertions, 0 deletions
diff --git a/docs/bugtests/list-nested-breaks.fo b/docs/bugtests/list-nested-breaks.fo
new file mode 100644
index 000000000..f5d845fa2
--- /dev/null
+++ b/docs/bugtests/list-nested-breaks.fo
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="utf-8"?>
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+ <!-- defines the layout master -->
+ <fo:layout-master-set>
+ <fo:simple-page-master 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>
+
+ <!-- starts actual layout -->
+ <fo:page-sequence master-name="first">
+
+ <!-- Inserts a header with the page number -->
+ <fo:static-content flow-name="xsl-before">
+ <fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt">
+ XSL-FO Example: simple list - p. <fo:page-number/>
+ </fo:block>
+ </fo:static-content>
+
+ <fo:flow flow-name="xsl-body">
+
+ <!-- title -->
+ <fo:block font-size="14pt"
+ font-family="sans-serif"
+ line-height="18pt"
+ space-before.optimum="3pt"
+ space-after.optimum="3pt"
+ font-weight="bold"
+ start-indent="15pt">
+ Validity Constraint: Standalone Document Declaration
+ </fo:block>
+
+ <!-- normal text -->
+ <fo:block font-size="12pt"
+ font-family="sans-serif"
+ line-height="15pt"
+ space-after.optimum="3pt" >
+ The standalone document declaration must have the value "no" if
+ any external markup declarations contain declarations of:
+ </fo:block>
+
+ <!-- list -->
+ <fo:list-block>
+
+ <!-- list item -->
+ <fo:list-item>
+ <!-- insert a bullet -->
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <!-- list text -->
+ <fo:list-item-body>
+ <fo:block>
+ attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or
+ </fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+
+ <!-- list item -->
+ <fo:list-item>
+ <!-- insert a bullet -->
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <!-- list text -->
+ <fo:list-item-body>
+ <fo:block>
+ entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or
+ </fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+
+ <!-- list entry -->
+ <fo:list-item>
+ <!-- insert a bullet -->
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <!-- list text -->
+ <fo:list-item-body>
+ <fo:block>
+ attributes with values subject to normalization, where the attribute appears in the document with a value which will
+ </fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+
+ <!-- list entry -->
+ <fo:list-item>
+ <!-- insert a bullet -->
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <!-- list text -->
+ <fo:list-item-body>
+ <fo:block>
+ change as a result of normalization, or
+ </fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+
+ <!-- list entry -->
+ <fo:list-item>
+ <!-- insert a bullet -->
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <!-- list text -->
+ <fo:list-item-body>
+ <fo:block>
+ element types with element content, if white space occurs directly within any instance of those types.
+ <fo:list-block>
+ <fo:list-item>
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <fo:list-item-body>
+ <fo:block>This is the first item of a nested list</fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ <fo:list-item>
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <fo:list-item-body>
+ <fo:block>This is the second item of a nested list</fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ <fo:list-item>
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <fo:list-item-body>
+ <fo:block>This is the third item of a nested list. The next list item's block will have a page break-after</fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ <fo:list-item>
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <fo:list-item-body>
+ <fo:block break-after="page">This is the fourth item of a nested list</fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ <fo:list-item>
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <fo:list-item-body>
+ <fo:block>This is the fifth item of a nested list</fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ <fo:list-item>
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <fo:list-item-body>
+ <fo:block>This is the sixth item of a nested list. The next list-item-body's block contains a page break-before.</fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ <fo:list-item>
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <fo:list-item-body>
+ <fo:block break-before="page">This is the seventh item of a nested list</fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ <fo:list-item>
+ <fo:list-item-label>
+ <fo:block><fo:inline-sequence font-family="Symbol">&#183;</fo:inline-sequence></fo:block>
+ </fo:list-item-label>
+ <fo:list-item-body>
+ <fo:block>This is the eigth item of a nested list</fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+ </fo:list-block>
+ </fo:block>
+ </fo:list-item-body>
+ </fo:list-item>
+
+ </fo:list-block>
+ <!-- end list -->
+
+ </fo:flow>
+ </fo:page-sequence>
+</fo:root>
+
+