diff options
Diffstat (limited to 'test/xml/bugtests/wrap.fo')
-rw-r--r-- | test/xml/bugtests/wrap.fo | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/test/xml/bugtests/wrap.fo b/test/xml/bugtests/wrap.fo index 235082da1..79a421925 100644 --- a/test/xml/bugtests/wrap.fo +++ b/test/xml/bugtests/wrap.fo @@ -1,17 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> - <fo:layout-master-set> - <fo:simple-page-master master-name="simplePM" - page-height="25cm" - page-width="20cm" - margin-top="1cm" - margin-bottom="1cm" - margin-left="1.5cm" - margin-right="1.5cm"> - <fo:region-before extent="2.5cm"/> - <fo:region-body margin-top="3cm" margin-bottom="3cm"/> - <fo:region-after extent="2.5cm"/> - </fo:simple-page-master> + <fo:layout-master-set> + <fo:simple-page-master master-name="simplePM" + page-height="25cm" + page-width="20cm" + margin-top="1cm" + margin-bottom="1cm" + margin-left="1.5cm" + margin-right="1.5cm"> + <fo:region-before extent="2.5cm"/> + <fo:region-body margin-top="3cm" margin-bottom="3cm"/> + <fo:region-after extent="2.5cm"/> + </fo:simple-page-master> <fo:simple-page-master master-name="no-overflow" page-height="25cm" page-width="20cm" @@ -23,28 +23,28 @@ <fo:region-body overflow="hidden" margin-top="3cm" margin-bottom="3cm"/> <fo:region-after extent="2.5cm"/> </fo:simple-page-master> - </fo:layout-master-set> + </fo:layout-master-set> - <fo:page-sequence master-reference="simplePM"> - <fo:flow flow-name="xsl-region-body"> + <fo:page-sequence master-reference="simplePM"> + <fo:flow flow-name="xsl-region-body"> <fo:block> This test is to check a number of different possibilities when dealing with text being wrapped at the end of an area. </fo:block> - <fo:block wrap-option="no-wrap"> - <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> - <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> - <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> - <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> - - <fo:block space-before.optimum="1cm" wrap-option="wrap"> - <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> - <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> - <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> - </fo:block> - This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block. - This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block. - </fo:block> + <fo:block wrap-option="no-wrap"> + <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> + <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> + <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> + <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> + + <fo:block space-before.optimum="1cm" wrap-option="wrap"> + <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> + <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> + <fo:inline>This is a simple fo block.This is a simple fo block.This is a simple fo block.</fo:inline> + </fo:block> + This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block. + This is simple fo block.This is simple fo block.This is simple fo block.This is simple fo block. + </fo:block> <fo:block space-before.optimum="10pt"> Some examples in a table. </fo:block> @@ -118,8 +118,8 @@ words with hypenation the activated when not doing lots of wrapping </fo:table-row> </fo:table-body> </fo:table> - </fo:flow> - </fo:page-sequence> + </fo:flow> + </fo:page-sequence> <fo:page-sequence master-reference="no-overflow"> <fo:flow flow-name="xsl-region-body"> <fo:block wrap-option="no-wrap"> |