From a9a672d20a34f032e412a83bf21f224d998f3ea9 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Tue, 22 May 2001 13:05:25 +0000 Subject: put bugtests back in here still needs catagorisation and cleanup now all these can be part of the build test target git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194267 13f79535-47bb-0310-9956-ffa450edef68 --- test/.cvsignore | 1 + test/bugtests.xml | 191 ++++++++++++++++++++ test/createpdf.sh | 4 + test/xml/bugtests/background_color.fo | 26 +++ test/xml/bugtests/background_transparent.fo | 24 +++ test/xml/bugtests/block-container.fo | 40 +++++ test/xml/bugtests/block.fo | 24 +++ test/xml/bugtests/border.fo | 71 ++++++++ test/xml/bugtests/break-before.fo | 27 +++ test/xml/bugtests/charwidth.fo | 259 ++++++++++++++++++++++++++++ test/xml/bugtests/color.fo | 38 ++++ test/xml/bugtests/external-graphic.fo | 23 +++ test/xml/bugtests/font-family.fo | 76 ++++++++ test/xml/bugtests/font-size.fo | 53 ++++++ test/xml/bugtests/font.fo | 85 +++++++++ test/xml/bugtests/header_footer.fo | 137 +++++++++++++++ test/xml/bugtests/image.fo | 43 +++++ test/xml/bugtests/indent.fo | 55 ++++++ test/xml/bugtests/inline.fo | 25 +++ test/xml/bugtests/keep-with-next.fo | 88 ++++++++++ test/xml/bugtests/leader.fo | 24 +++ test/xml/bugtests/letter-spacing.fo | 59 +++++++ test/xml/bugtests/line-height.fo | 108 ++++++++++++ test/xml/bugtests/list-mountjoy.fo | 244 ++++++++++++++++++++++++++ test/xml/bugtests/list-nested-breaks.fo | 196 +++++++++++++++++++++ test/xml/bugtests/list-nested.fo | 172 ++++++++++++++++++ test/xml/bugtests/padding.fo | 88 ++++++++++ test/xml/bugtests/page-number.fo | 24 +++ test/xml/bugtests/rule.fo | 85 +++++++++ test/xml/bugtests/simple-link.fo | 29 ++++ test/xml/bugtests/space-treatment.fo | 39 +++++ test/xml/bugtests/space.fo | 67 +++++++ test/xml/bugtests/text-align.fo | 42 +++++ test/xml/bugtests/text-decoration.fo | 30 ++++ test/xml/bugtests/text-indent.fo | 36 ++++ test/xml/bugtests/word-spacing.fo | 50 ++++++ test/xml/bugtests/wrap.fo | 35 ++++ 37 files changed, 2618 insertions(+) create mode 100644 test/bugtests.xml create mode 100644 test/xml/bugtests/background_color.fo create mode 100644 test/xml/bugtests/background_transparent.fo create mode 100644 test/xml/bugtests/block-container.fo create mode 100644 test/xml/bugtests/block.fo create mode 100644 test/xml/bugtests/border.fo create mode 100644 test/xml/bugtests/break-before.fo create mode 100644 test/xml/bugtests/charwidth.fo create mode 100644 test/xml/bugtests/color.fo create mode 100644 test/xml/bugtests/external-graphic.fo create mode 100644 test/xml/bugtests/font-family.fo create mode 100644 test/xml/bugtests/font-size.fo create mode 100644 test/xml/bugtests/font.fo create mode 100644 test/xml/bugtests/header_footer.fo create mode 100644 test/xml/bugtests/image.fo create mode 100644 test/xml/bugtests/indent.fo create mode 100644 test/xml/bugtests/inline.fo create mode 100644 test/xml/bugtests/keep-with-next.fo create mode 100644 test/xml/bugtests/leader.fo create mode 100644 test/xml/bugtests/letter-spacing.fo create mode 100644 test/xml/bugtests/line-height.fo create mode 100644 test/xml/bugtests/list-mountjoy.fo create mode 100644 test/xml/bugtests/list-nested-breaks.fo create mode 100644 test/xml/bugtests/list-nested.fo create mode 100644 test/xml/bugtests/padding.fo create mode 100644 test/xml/bugtests/page-number.fo create mode 100644 test/xml/bugtests/rule.fo create mode 100644 test/xml/bugtests/simple-link.fo create mode 100644 test/xml/bugtests/space-treatment.fo create mode 100644 test/xml/bugtests/space.fo create mode 100644 test/xml/bugtests/text-align.fo create mode 100644 test/xml/bugtests/text-decoration.fo create mode 100644 test/xml/bugtests/text-indent.fo create mode 100644 test/xml/bugtests/word-spacing.fo create mode 100644 test/xml/bugtests/wrap.fo diff --git a/test/.cvsignore b/test/.cvsignore index cfe67f584..a4b72afc3 100644 --- a/test/.cvsignore +++ b/test/.cvsignore @@ -1,2 +1,3 @@ reference areatree +results diff --git a/test/bugtests.xml b/test/bugtests.xml new file mode 100644 index 000000000..a853e78b9 --- /dev/null +++ b/test/bugtests.xml @@ -0,0 +1,191 @@ + + + + + + +Checks the width of all the defined characters + + + + + + + + +Some lists with nested list and large list item bodies. + + + + +Nested lists with page breaks inside list items. Used to show that it correctly places the list items and labels. + + +The break before does not put the list item label on the correct page. + + +Nested lists used to show that the indentation is correct for lists inside lists. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/createpdf.sh b/test/createpdf.sh index eb33d1100..119f123b6 100755 --- a/test/createpdf.sh +++ b/test/createpdf.sh @@ -1,3 +1,7 @@ # this can be used to create pdf output of the testsuite files $JAVA_HOME/bin/java -cp ../build/fop.jar:../lib/batik.jar:../lib/xalan-2.0.0.jar:../lib/xerces-1.2.3.jar:../lib/jimi-1.0.jar org.apache.fop.tools.TestConverter -pdf -b ./ basictests.xml + +$JAVA_HOME/bin/java -cp ../build/fop.jar:../lib/batik.jar:../lib/xalan-2.0.0.jar:../lib/xerces-1.2.3.jar:../lib/jimi-1.0.jar org.apache.fop.tools.TestConverter -pdf -b ./ bugtests.xml + + diff --git a/test/xml/bugtests/background_color.fo b/test/xml/bugtests/background_color.fo new file mode 100644 index 000000000..feef6e9da --- /dev/null +++ b/test/xml/bugtests/background_color.fo @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + This is a simple fo block with red background. + + + + + diff --git a/test/xml/bugtests/background_transparent.fo b/test/xml/bugtests/background_transparent.fo new file mode 100644 index 000000000..3f6c474cd --- /dev/null +++ b/test/xml/bugtests/background_transparent.fo @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + This is a simple fo block with transparent background. + + + + diff --git a/test/xml/bugtests/block-container.fo b/test/xml/bugtests/block-container.fo new file mode 100644 index 000000000..f9e49d6ce --- /dev/null +++ b/test/xml/bugtests/block-container.fo @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + SOLD TO + + + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + Akf;lhdsaf;paesifhe;oifhqewf;oiewfhefdf;lhdsfadslhkfhdsafdshSOLDTO + + + + + + BBBBBBBBBBBBBBB + + + + diff --git a/test/xml/bugtests/block.fo b/test/xml/bugtests/block.fo new file mode 100644 index 000000000..f77dc1765 --- /dev/null +++ b/test/xml/bugtests/block.fo @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + This is a simple fo block. + + + + diff --git a/test/xml/bugtests/border.fo b/test/xml/bugtests/border.fo new file mode 100644 index 000000000..0a55fde03 --- /dev/null +++ b/test/xml/bugtests/border.fo @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + This is a simple fo block. + + + + This is a simple fo block with borders. + + + + This is a simple fo block with borders. + + + + This is a simple fo block with different borders viz; + border-left-color="black" + border-left-style="solid" + border-left-width="2pt" + border-right-color="black" + border-right-style="dotted" + border-right-width="1cm" + border-top-color="black" + border-top-style="dashed" + border-top-width="5pt" + border-bottom-color="black" + border-bottom-style="double" + border-bottom-width="1in" + + + + This is a simple fo block with borders. + + + + This is a simple fo block with borders. + + + + diff --git a/test/xml/bugtests/break-before.fo b/test/xml/bugtests/break-before.fo new file mode 100644 index 000000000..45ff156b1 --- /dev/null +++ b/test/xml/bugtests/break-before.fo @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + This is a simple fo block. + + + This is a simple fo block on a new page due to page-break using break-before="page". + + + + diff --git a/test/xml/bugtests/charwidth.fo b/test/xml/bugtests/charwidth.fo new file mode 100644 index 000000000..15772a4bc --- /dev/null +++ b/test/xml/bugtests/charwidth.fo @@ -0,0 +1,259 @@ + + + + + + + + + + + This file contains a list of many characters in various fonts. The text is + aligned with the end in order to check that all the characters have their + correct width set in FOP. + + + If the right hand edge is left of the other lines in the same font then + this indicates it expects one (or more) of the characters to be wider + than it really is. Also if the end is to the right of the other lines + then FOP expects a character to be smaller than it really is or the + character is missing from the lookup. + + + + 1 + + + abcdefghijklmnopqrstuvwxyz1 + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + + + 12345678901 + + + `~!@#$%^&*()-_=+1 + + + [{]}\|;:'1 + + + ",<.>/?1 + + +!"#$%&'()*+,-./0123456789:;<1 + + +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + + +YZ[\]^_`abcdefghijklmnopq1 + + +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + + +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + + +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + + +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + + +òóôõö÷øùúûüýþ1 + + + + + 1 + + + abcdefghijklmnopqrstuvwxyz1 + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + + + 12345678901 + + + `~!@#$%^&*()-_=+1 + + + [{]}\|;:'1 + + + ",<.>/?1 + + +!"#$%&'()*+,-./0123456789:;<1 + + +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + + +YZ[\]^_`abcdefghijklmnopq1 + + +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + + +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + + +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + + +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + + +òóôõö÷øùúûüýþ1 + + + + + 1 + + + abcdefghijklmnopqrstuvwxyz1 + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + + + 12345678901 + + + `~!@#$%^&*()-_=+1 + + + [{]}\|;:'1 + + + ",<.>/?1 + + +!"#$%&'()*+,-./0123456789:;<1 + + +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + + +YZ[\]^_`abcdefghijklmnopq1 + + +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + + +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + + +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + + +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + + +òóôõö÷øùúûüýþ1 + + + + + 1 + + + abcdefghijklmnopqrstuvwxyz1 + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + + + 12345678901 + + + `~!@#$%^&*()-_=+1 + + + [{]}\|;:'1 + + + ",<.>/?1 + + +!"#$%&'()*+,-./0123456789:;<1 + + +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + + +YZ[\]^_`abcdefghijklmnopq1 + + +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + + +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + + +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + + +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + + +òóôõö÷øùúûüýþ1 + + + + + 1 + + + abcdefghijklmnopqrstuvwxyz1 + + + ABCDEFGHIJKLMNOPQRSTUVWXYZ1 + + + 12345678901 + + + `~!@#$%^&*()-_=+1 + + + [{]}\|;:'1 + + + ",<.>/?1 + + +!"#$%&'()*+,-./0123456789:;<1 + + +=>?@ABCDEFGHIJKLMNOPQRSTUVWX1 + + +YZ[\]^_`abcdefghijklmnopq1 + + +rstuvwxyz{|}~ ¡¢£¤¥¦§¨1 + + +©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁ1 + + +ÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙ1 + + +ÚÛÜÝÞßàáâãäåæçèéêëìíîïðñ1 + + +òóôõö÷øùúûüýþ1 + + + + + diff --git a/test/xml/bugtests/color.fo b/test/xml/bugtests/color.fo new file mode 100644 index 000000000..8538aa315 --- /dev/null +++ b/test/xml/bugtests/color.fo @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + This is a simple fo text in red color. + + + + + This is a simple fo text in green color followed by black line. + + + + + This is a simple fo text in blue color. + This is in + the same sentence + This is text in blue again + + + + + diff --git a/test/xml/bugtests/external-graphic.fo b/test/xml/bugtests/external-graphic.fo new file mode 100644 index 000000000..ec7e1d178 --- /dev/null +++ b/test/xml/bugtests/external-graphic.fo @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + diff --git a/test/xml/bugtests/font-family.fo b/test/xml/bugtests/font-family.fo new file mode 100644 index 000000000..4b46449c6 --- /dev/null +++ b/test/xml/bugtests/font-family.fo @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + default: + + + This is a simple fo text in FOP default font. + + + sans-serif: + + + This is a simple fo text in sans-serif font. + + + + monospace: + + + This is a simple fo text in monospace font. + + + + Courier: + + + This is a simple fo text in Courier font. + + + + Helvetica: + + + This is a simple fo text in Helvetica font. + + + + Symbol: + + + This is a simple fo text in Symbol font. + + + + Times Roman: + + + This is a simple fo text in Times Roman font. + + + + ZapfDingbats: + + + This is a simple fo text in ZapfDingBats font. + + + + + diff --git a/test/xml/bugtests/font-size.fo b/test/xml/bugtests/font-size.fo new file mode 100644 index 000000000..1ba4bb14f --- /dev/null +++ b/test/xml/bugtests/font-size.fo @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + This is a simple fo text in FOP default font size and default font. + + + + This is a simple fo text in 8pt font Courier. + + + This is a simple fo text in 10pt font. + + + This is a simple fo text in 12pt font. + + + This is a simple fo text in 14pt font. + + + This is a simple fo text in 16pt font. + + + This is a simple fo text in 18pt font. + + + This is a simple fo text in 20pt font. + + + This is a simple fo text in 24pt font. + + + This is a simple fo text in 32pt font. + + + + + diff --git a/test/xml/bugtests/font.fo b/test/xml/bugtests/font.fo new file mode 100644 index 000000000..d9ab2da4b --- /dev/null +++ b/test/xml/bugtests/font.fo @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + This is a simple fo text in Courier font. + + + This is a simple fo text in bold. + + + This is a simple fo text in italic. + + + This is a simple fo text in italic and bold. + + + This is a simple fo text in small caps. + + + + + + This is a simple fo text in Times font. + + + This is a simple fo text in bold. + + + This is a simple fo text in italic. + + + This is a simple fo text in italic and bold. + + + This is a simple fo text in small caps. + + + + + + This is a simple fo text in Helvetica font. + + + This is a simple fo text in bold. + + + This is a simple fo text in italic. + + + This is a simple fo text in italic and bold. + + + This is a simple fo text in small caps. + + + + + diff --git a/test/xml/bugtests/header_footer.fo b/test/xml/bugtests/header_footer.fo new file mode 100644 index 000000000..22dc945e2 --- /dev/null +++ b/test/xml/bugtests/header_footer.fo @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + Left + + + + + Center + + + + + Right + + + + + + + + + + Left + + + + + Center + + + + + Right + + + + + + + + There is top-margin for body region.This is bcos margin-top for body is greater than extent of region-before. + + + There is NO bottom-margin for body region. Bcos margin-bottom for body = extent for region-after. + + + + + The fo:static-content formatting object holds a sequence or a tree of formatting objects that is to be presented in a single region or repeated in like-named regions on one or more pages in the page-sequence. Its common use is for repeating or running headers and footers. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + + This content is repeated, in its entirety, on every page to which it is assigned. + + +The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. + + +The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. + + +The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. + + +The fo:static-content formatting object does not generate any areas. The fo:static-content formatting object returns the sequence of areas created by concatenating the sequences of areas returned by each of the children of the fo:static-content. The order of concatenation is the same order as the children are ordered under the fo:static-content. + + + + + + diff --git a/test/xml/bugtests/image.fo b/test/xml/bugtests/image.fo new file mode 100644 index 000000000..8c5b3c7c6 --- /dev/null +++ b/test/xml/bugtests/image.fo @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + height=3in width=3in + + + + + height="3in" + + + + + width="1.5in" + + + + + height="6in" width="4in" + + + + + diff --git a/test/xml/bugtests/indent.fo b/test/xml/bugtests/indent.fo new file mode 100644 index 000000000..e415f8115 --- /dev/null +++ b/test/xml/bugtests/indent.fo @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + This is a simple fo block with justify indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + + + This is a simple fo block with justify indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + + + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + This is a simple fo block indented in the start. + + + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + This is a simple fo block indented in the end. + + + + diff --git a/test/xml/bugtests/inline.fo b/test/xml/bugtests/inline.fo new file mode 100644 index 000000000..3b1e92150 --- /dev/null +++ b/test/xml/bugtests/inline.fo @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + The sentence is + in the same line. + + + + diff --git a/test/xml/bugtests/keep-with-next.fo b/test/xml/bugtests/keep-with-next.fo new file mode 100644 index 000000000..b17d0ed76 --- /dev/null +++ b/test/xml/bugtests/keep-with-next.fo @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + F I N A L C A L C U L A T I O N AUD $ AUD $ + ---------------------------------- + L A B O U R TIME BASIS 10 WU = 1 HR + TOTAL 33 WU X 20.00AUD $/WU 660.00 + TOTAL LABOUR................................................. 660.00 + P A I N T W O R K + LABOUR COST 210.00 + MATERIAL COST 163.20 + TOTAL PAINT.................................................. 373.20 + P A R T S 425.00 + SUNDRY PARTS ( 2.0%) 8.50 + TOTAL PARTS.................................................. 433.50 + R E P A I R C O S T S....................................... 1 466.70 + ---------------------- +C O M M E N T S : +E-PART PRICES = MANUFACTURERS RRP. *-POSITION = USER SUPPLIED DATA +E-PART NUMBER IS NOT ORDER NUMBER NN = NO MANUFACTURERS CODE EXISTS +SKEZAX=WORKING UNITS AS PER AUDATEX )=WU PARTIAL INCL IN OTHER POSITIONS +C O N T R O L - I N F O R M A T I O N NO 666 25.08.2000 +OWNER MRS SARAH + SCHAER GUNDELDINGERSTRASSE 131 + 4053 BASEL +REFER. NO. 999 +MAKE AUDI S4 QUATTRO +REG. NO BS 66961 SHEET NO 00 33 03 +FIRST REG. 08.2000 NAECH HU 08.2000 +INSP DATE 24.08.2000 ACC DATE 24.08.2000 +REPAIRER ZICK ZACK 061/ 361 76 06 + MR. MEIER ZOLLSTRASSE 62 + 8000 ZUERICH +REP TIME . DAYS +CU-NO / CUSTOMER-CODE : 004001 ZATEST01 CLASSDIRECT REL 2.9 +QUOTE DATE : 25.08.2000 +MO-CODE +- MODEL-OPTIONS : E3 F3 I4 I7 J6 K2 M8 P8 Q6 Q7 V3 V6 W4 Z8 +PARTS / PAINTING +- REP-METHOD/CODE-NO : N 0741 LO + + + + The following is the control page for the Repair Assessment. It includes the + Owner, Reference No, Make, Reg No, and Options. + + + +R E P A I R /-/ A S S E S S M E N T NO 666 25.08.2000 +OWNER MRS SARAH + SCHAER GUNDELDINGERSTRASSE 131 + 4053 BASEL +REFER. NO. 999 + +MAKE AUDI S4 QUATTRO +REG. NO BS 66961 SHEET NO 00 33 03 +FIRST REG. 08.2000 NAECH HU 08.2000 +INSP DATE 24.08.2000 ACC DATE 24.08.2000 +REPAIRER ZICK ZACK 061/ 361 76 06 + MR. MEIER ZOLLSTRASSE 62 + 8000 ZUERICH +REP TIME . DAYS + +OPTIONS FROM VIN X_200001 LUGGAGE NET ELECTRIC FRONT SEATS + AUTO HEADLAMP LEVEL SPORT SEATS TRIM-JACQUARD GRAPH + ALTERNATOR 120 AMP 4-SPEED AUTOMATIC SPORTS SUSPENSION + ANTI-LOCK BRAKES ELECT STABILITY PROG SUNROOF (ACCESSORY) + 2.7 LTR V6 + + + + diff --git a/test/xml/bugtests/leader.fo b/test/xml/bugtests/leader.fo new file mode 100644 index 000000000..b7507e999 --- /dev/null +++ b/test/xml/bugtests/leader.fo @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/test/xml/bugtests/letter-spacing.fo b/test/xml/bugtests/letter-spacing.fo new file mode 100644 index 000000000..f871ee758 --- /dev/null +++ b/test/xml/bugtests/letter-spacing.fo @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + This text is normally spaced. + This text is normally spaced. + This text is normally spaced. + This text is normally spaced. + This text is normally spaced. + + + + + This text has inter-character intervals increased by 1pt. + This text has inter-character intervals increased by 1pt. + This text has inter-character intervals increased by 1pt. + This text has inter-character intervals increased by 1pt. + + + + + This text has inter-character intervals increased by 8pt. + This text has inter-character intervals increased by 8pt. + This text has inter-character intervals increased by 8pt. + This text has inter-character intervals increased by 8pt. + + + + This text has inter-character intervals increased by 0pt (i.e. normally spaced). + This text has inter-character intervals increased by 0pt (i.e. normally spaced). + This text has inter-character intervals increased by 0pt (i.e. normally spaced). + This text has inter-character intervals increased by 0pt (i.e. normally spaced). + + + + This text has inter-character intervals increased by reduced by -1pt. + This text has inter-character intervals increased by reduced by -1pt. + This text has inter-character intervals increased by reduced by -1pt. + This text has inter-character intervals increased by reduced by -1pt. + + + + + diff --git a/test/xml/bugtests/line-height.fo b/test/xml/bugtests/line-height.fo new file mode 100644 index 000000000..eeb29bc04 --- /dev/null +++ b/test/xml/bugtests/line-height.fo @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + Absolute Values + + + + + + This text has a fixed line height of 12pt and its font size is 8pt. + This text has a fixed line height of 12pt and its font size is 8pt. + This text has a fixed line height of 12pt and its font size is 8pt. + This text has a fixed line height of 12pt and its font size is 8pt. + This text has a fixed line height of 12pt and its font size is 8pt. + + + + + This text has a fixed line height of 12pt and its font size is 12pt. + This text has a fixed line height of 12pt and its font size is 12pt. + This text has a fixed line height of 12pt and its font size is 12pt. + This text has a fixed line height of 12pt and its font size is 12pt. + This text has a fixed line height of 12pt and its font size is 12pt. + + + + + This text has a fixed line height of 12pt and its font size is 16pt. + This text has a fixed line height of 12pt and its font size is 16pt. + This text has a fixed line height of 12pt and its font size is 16pt. + This text has a fixed line height of 12pt and its font size is 16pt. + This text has a fixed line height of 12pt and its font size is 16pt. + + + + + Relative Values + + + + + This text has a normal line height at font size of 10pt. + This text has a normal line height at font size of 10pt. + This text has a normal line height at font size of 10pt. + This text has a normal line height at font size of 10pt. + This text has a normal line height at font size of 10pt. + + + + This text has a normal line height at font size of 14pt. + This text has a normal line height at font size of 14pt. + This text has a normal line height at font size of 14pt. + This text has a normal line height at font size of 14pt. + This text has a normal line height at font size of 14pt. + + + + This text is single-spaced at font size of 10pt. + This text is single-spaced at font size of 10pt. + This text is single-spaced at font size of 10pt. + This text is single-spaced at font size of 10pt. + This text is single-spaced at font size of 10pt. + + + + This text is single-spaced at font size of 14pt. + This text is single-spaced at font size of 14pt. + This text is single-spaced at font size of 14pt. + This text is single-spaced at font size of 14pt. + This text is single-spaced at font size of 14pt. + + + + This text is double-spaced at font size of 10pt. + This text is double-spaced at font size of 10pt. + This text is double-spaced at font size of 10pt. + This text is double-spaced at font size of 10pt. + This text is double-spaced at font size of 10pt. + + + + This text is double-spaced at font size of 14pt. + This text is double-spaced at font size of 14pt. + This text is double-spaced at font size of 14pt. + This text is double-spaced at font size of 14pt. + This text is double-spaced at font size of 14pt. + + + + + diff --git a/test/xml/bugtests/list-mountjoy.fo b/test/xml/bugtests/list-mountjoy.fo new file mode 100644 index 000000000..6ee1fa5ae --- /dev/null +++ b/test/xml/bugtests/list-mountjoy.fo @@ -0,0 +1,244 @@ + + + + + + + + + + + + + + + + + + + XSL-FO Example: simple list - p. + + + + + + + + Validity Constraint: Standalone Document Declaration + + + + + The standalone document declaration must have the value "no" if + any external markup declarations contain declarations of: + + + + + + + + + + + + + + + attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or + + + + + + + + + + + + + + entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or + + + + + + + + + + + + + + attributes with values subject to normalization, where the attribute appears in the document with a value which will + + + + + + + + + + + + + + change as a result of normalization, or + + + + + + + + + + + + + + + element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white spaceadsfadsfsssssssssssssss thin any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white spaceadsfadsfssssssssthin any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white spaceadsfadsfssssssssthin any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white spaceadsfadsfssssssssthin any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white spaceadsfadsfssssssss + element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. elementtance of those types. sfg sfd gdg d d + + + + + + + + + + + + + + + + + + + + + + attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or + + + + + + + + + + + + + attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or + + + + + + + + + + + + + attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or + + + + + + + + + + + + + attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or + + + + + + + + + + + + + + + + + + element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. elementtance of those types. + + + + + + + + + + + + + element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. elementtance of those types. + + + + + + + + + + + + + element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. element types with element content, if white space occurs directly within any instance of those types. elementtance of those types. + + + + + + + + + + + + + + + + + + + diff --git a/test/xml/bugtests/list-nested-breaks.fo b/test/xml/bugtests/list-nested-breaks.fo new file mode 100644 index 000000000..1e7742d89 --- /dev/null +++ b/test/xml/bugtests/list-nested-breaks.fo @@ -0,0 +1,196 @@ + + + + + + + + + + + + + + + + + + + XSL-FO Example: simple list - p. + + + + + + + + Validity Constraint: Standalone Document Declaration + + + + + The standalone document declaration must have the value "no" if + any external markup declarations contain declarations of: + + + + + + + + + + · + + + + + attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or + + + + + + + + + · + + + + + entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or + + + + + + + + + · + + + + + attributes with values subject to normalization, where the attribute appears in the document with a value which will + + + + + + + + + · + + + + + change as a result of normalization, or + + + + + + + + + · + + + + + element types with element content, if white space occurs directly within any instance of those types. + + + + · + + + This is the first item of a nested list + + + + + · + + + This is the second item of a nested list + + + + + · + + + This is the third item of a nested list. The next list item's block will have a page break-after + + + + + · + + + This is the fourth item of a nested list + + + + + · + + + This is the fifth item of a nested list + + + + + · + + + This is the sixth item of a nested list. The next list-item-body's block contains a page break-before. + + + + + · + + + This is the seventh item of a nested list + + + + + · + + + This is the eigth item of a nested list + + + + + + + + + + + + + + + diff --git a/test/xml/bugtests/list-nested.fo b/test/xml/bugtests/list-nested.fo new file mode 100644 index 000000000..c7f5c7057 --- /dev/null +++ b/test/xml/bugtests/list-nested.fo @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + XSL-FO Example: simple list - p. + + + + + + + + Validity Constraint: Standalone Document Declaration + + + + + The standalone document declaration must have the value "no" if + any external markup declarations contain declarations of: + + + + + + + + + + · + + + + + attributes with default values, if elements to which these attributes apply appear in the document without specifications of values for these attributes, or + + + + + + + + + · + + + + + entities (other than amp, lt, gt, apos, quot), if references to those entities appear in the document, or + + + + + + + + + · + + + + + attributes with values subject to normalization, where the attribute appears in the document with a value which will + + + + + + + + + · + + + + + change as a result of normalization, or + + + + + + + + + · + + + + + element types with element content, if white space occurs directly within any instance of those types. + + + + · + + + This is the first item of a nested list + + + + + · + + + This is the second item of a nested list + + + + + · + + + This is the third item of a nested list + + + + + · + + + This is the fourth item of a nested list + + + + + · + + + This is the fifth item of a nested list + + + + + + + + + + + + + + + diff --git a/test/xml/bugtests/padding.fo b/test/xml/bugtests/padding.fo new file mode 100644 index 000000000..8475a5306 --- /dev/null +++ b/test/xml/bugtests/padding.fo @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + Extensible Markup Language (XML) 1.0 with padding + + + + Extensible Markup Language (XML) 1.0 without padding + + + + + This block-container has a top padding of 1 cm. + + + + + + bottom padding of 1 cm. + + + + + + left padding of 1 cm. + + + + + + right padding of 1 cm. + + + + + + This block-container has a before padding of 1 cm. + + + + + + after padding of 1 cm. + + + + + + start padding of 1 cm. + + + + + + end padding of 1 cm. + + + + + diff --git a/test/xml/bugtests/page-number.fo b/test/xml/bugtests/page-number.fo new file mode 100644 index 000000000..13fb110b9 --- /dev/null +++ b/test/xml/bugtests/page-number.fo @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + This is Page Number . + + + + diff --git a/test/xml/bugtests/rule.fo b/test/xml/bugtests/rule.fo new file mode 100644 index 000000000..c0a3032d6 --- /dev/null +++ b/test/xml/bugtests/rule.fo @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + leader-pattern="rule" rule-style="solid" rule-thickness="0.5pt" + + + + + + + + + + + + + + + + leader-pattern="rule" rule-style="dotted" rule-thickness="0.5pt" + + + + + + + + + + + + + + + + leader-pattern="rule" rule-dashed="dotted" rule-thickness="0.5pt" + + + + + + + + + + + + + + + + leader-pattern="rule" rule-style="double" rule-thickness="0.5pt" + + + + + + + + + + + + + + + + + diff --git a/test/xml/bugtests/simple-link.fo b/test/xml/bugtests/simple-link.fo new file mode 100644 index 000000000..75f22ee59 --- /dev/null +++ b/test/xml/bugtests/simple-link.fo @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + Link to font.pdf + + + + Link to Wilco International + + + + + diff --git a/test/xml/bugtests/space-treatment.fo b/test/xml/bugtests/space-treatment.fo new file mode 100644 index 000000000..29cf8e2df --- /dev/null +++ b/test/xml/bugtests/space-treatment.fo @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + The text below is in monospace font(useful for displayed formatted text, program code etc.) + + + +OWNER MR DHARAMVEER + SALECHA + +REFER. NO. 999 + +MAKE AUDI S4 QUATTRO +REG. NO BS 66961 SHEET NO 00 33 03 +OPTIONS FROM VIN X_200001 LUGGAGE NET ELECTRIC FRONT SEATS + AUTO HEADLAMP LEVEL SPORT SEATS TRIM-JACQUARD GRAPH + ALTERNATOR 120 AMP 4-SPEED AUTOMATIC SPORTS SUSPENSION + ANTI-LOCK BRAKES ELECT STABILITY PROG SUNROOF (ACCESSORY) + 2.7 LTR V6 + + + + diff --git a/test/xml/bugtests/space.fo b/test/xml/bugtests/space.fo new file mode 100644 index 000000000..f95567595 --- /dev/null +++ b/test/xml/bugtests/space.fo @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + space-after.optimum="1cm" + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + space-before.optimum="1cm" space-after.optimum="1cm" + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + space-before.optimum="1cm" space-after.optimum="1cm" + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + space-before.optimum="1cm" + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + This is a simple fo block. + + + + diff --git a/test/xml/bugtests/text-align.fo b/test/xml/bugtests/text-align.fo new file mode 100644 index 000000000..7efcf621a --- /dev/null +++ b/test/xml/bugtests/text-align.fo @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + This is a simple fo block. + + + This is a simple fo block with text aligned to start. + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + + + This is a simple fo block with text justified. + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + + + This is a simple fo block with text aligned to end. + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + dfdsfaaaaafdsfasdf fadsfadsssf fadsfdsfadsf dfadsfdfasdsfsd dsfadfdsfadsfadsfdf + + + + diff --git a/test/xml/bugtests/text-decoration.fo b/test/xml/bugtests/text-decoration.fo new file mode 100644 index 000000000..29668f2b6 --- /dev/null +++ b/test/xml/bugtests/text-decoration.fo @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + This is a simple fo text. + + This is a simple fo text and underlined. + + + This is a simple fo text and line-through. + + + + + diff --git a/test/xml/bugtests/text-indent.fo b/test/xml/bugtests/text-indent.fo new file mode 100644 index 000000000..3b8147cc6 --- /dev/null +++ b/test/xml/bugtests/text-indent.fo @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + This text is formatted into a left-justified paragraph. + The first line has an indent of 1 inch from the left. + + This text is formatted into a left-justified paragraph. + The first line has an indent of 1 inch from the left. + + + + This text is formatted into a left-justified paragraph. + The first line has an indent of 30% from the left. + + This text is formatted into a left-justified paragraph. + The first line has an indent of 30% inch from the left. + + + + diff --git a/test/xml/bugtests/word-spacing.fo b/test/xml/bugtests/word-spacing.fo new file mode 100644 index 000000000..09c65dd84 --- /dev/null +++ b/test/xml/bugtests/word-spacing.fo @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + In this text, spaces between words are normal. + In this text, spaces between words are normal. + In this text, spaces between words are normal. + In this text, spaces between words are normal. + In this text, spaces between words are normal. + + + + In this text, spaces between words are increased by 2pt. In this text, spaces between words are increased by 2pt. In this text, spaces between words are increased by 2pt. In this text, spaces between words are increased by 2pt. In this text, spaces between words are increased by 2pt. + + + In this text, spaces between words are increased by 6pt. + In this text, spaces between words are increased by 6pt. + In this text, spaces between words are increased by 6pt. + In this text, spaces between words are increased by 6pt. + In this text, spaces between words are increased by 6pt. + + + + In this text, spaces between words are increased by 0pt (i.e. normally spaced). + In this text, spaces between words are increased by 0pt (i.e. normally spaced). + In this text, spaces between words are increased by 0pt (i.e. normally spaced). + In this text, spaces between words are increased by 0pt (i.e. normally spaced). + In this text, spaces between words are increased by 0pt (i.e. normally spaced). + + + + In this text, spaces between words are reduced by -2pt In this text, spaces between words are reduced by -2pt In this text, spaces between words are reduced by -2pt In this text, spaces between words are reduced by -2pt In this text, spaces between words are reduced by -2pt + + + diff --git a/test/xml/bugtests/wrap.fo b/test/xml/bugtests/wrap.fo new file mode 100644 index 000000000..1e2639055 --- /dev/null +++ b/test/xml/bugtests/wrap.fo @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + This is a simple fo block.This is a simple fo block.This is a simple fo block. + This is a simple fo block.This is a simple fo block.This is a simple fo block. + This is a simple fo block.This is a simple fo block.This is a simple fo block. + This is a simple fo block.This is a simple fo block.This is a simple fo block. + + + This is a simple fo block.This is a simple fo block.This is a simple fo block. + This is a simple fo block.This is a simple fo block.This is a simple fo block. + This is a simple fo block.This is a simple fo block.This is a 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.This is simple fo block. + + + + -- cgit v1.2.3