From 86bc5b8a5ff3e731afe25a3c13592d9fe95b87d0 Mon Sep 17 00:00:00 2001 From: William Victor Mote Date: Sat, 30 Nov 2002 06:41:37 +0000 Subject: [PATCH] white-space and line-ending fixes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195682 13f79535-47bb-0310-9956-ffa450edef68 --- docs/examples/advanced/cid-fonts.fo | 120 ++--- docs/examples/build.xml | 182 ++++---- docs/examples/fo/blockcontainer.fo | 4 +- docs/examples/fo/border.fo | 100 ++-- docs/examples/fo/bordershorthand.fo | 98 ++-- docs/examples/fo/character.fo | 54 +-- docs/examples/fo/corresprop.fo | 170 +++---- docs/examples/fo/fonts.fo | 18 +- docs/examples/fo/hyphen.fo | 194 ++++---- docs/examples/fo/images.fo | 40 +- docs/examples/fo/inhprop.fo | 102 ++--- docs/examples/fo/instream.fo | 16 +- docs/examples/fo/leader.fo | 358 +++++++-------- docs/examples/fo/link.fo | 272 +++++------ docs/examples/fo/list.fo | 688 ++++++++++++++-------------- docs/examples/fo/newlinktest.fo | 8 +- docs/examples/fo/normal.fo | 266 +++++------ docs/examples/fo/normalex.fo | 74 +-- docs/examples/fo/pdfoutline.fo | 344 +++++++------- docs/examples/fo/readme.fo | 340 +++++++------- docs/examples/fo/simple.fo | 44 +- docs/examples/fo/table.fo | 132 +++--- docs/examples/fo/tableunits.fo | 44 +- docs/examples/fo/textdeko.fo | 54 +-- 24 files changed, 1861 insertions(+), 1861 deletions(-) diff --git a/docs/examples/advanced/cid-fonts.fo b/docs/examples/advanced/cid-fonts.fo index b84d17e23..90ce3c952 100644 --- a/docs/examples/advanced/cid-fonts.fo +++ b/docs/examples/advanced/cid-fonts.fo @@ -75,55 +75,55 @@ Adding Fonts to FOP - When building PDF files, FOP normally supports only the base 14 font - package defined in the Adobe PDF specification. That includes the + When building PDF files, FOP normally supports only the base 14 font + package defined in the Adobe PDF specification. That includes the following fonts: Helvetica, Times, Courier, Symbol and ZapfDingbats. - Font support in FOP can be extended by the addition of font metric - files (written in XML) created from Adobe Type 1 fonts and Truetype + Font support in FOP can be extended by the addition of font metric + files (written in XML) created from Adobe Type 1 fonts and Truetype fonts. No other font types (Type 3, etc.) are supported at this time. Adding additional Type 1 fonts - + As mentioned above you need an XML file containing font metrics to be able to use an additional font. FOP contains a tool that can generate - such a font metrics file from a PFM file, which normally comes with the + such a font metrics file from a PFM file, which normally comes with the font file. Generating a font metrics file - + Run the class org.apache.fop.fonts.apps.PFMReader to generate the XML file. - java org.apache.fop.fonts.apps.PFMReader pfm-file xml-file @@ -141,15 +141,15 @@ Register the fonts within FOP - + Edit conf/userconfig.xml and add entries for the font if the fonts section, ie: - Adding additional TrueType fonts @@ -176,10 +176,10 @@ - Generating a font metrics file + Generating a font metrics file @@ -191,7 +191,7 @@ Create metrics for the fontfile. We'll use MS Gothic as an example: - java org.apache.fop.fonts.apps.TTFReader C:\WINNT\Fonts\msgothic.ttf msgothic.xml @@ -199,10 +199,10 @@ - TrueType collections + TrueType collections @@ -219,7 +219,7 @@ Example on generating metrics for a .ttc file: - java org.apache.fop.fonts.apps.TTFReader -ttcname "MS Mincho" msmincho.ttc msminch.xml @@ -227,10 +227,10 @@ - Register the fonts within FOP + Register the fonts within FOP @@ -241,12 +241,12 @@ - Embedding fonts + Embedding fonts @@ -256,16 +256,16 @@ - Example embedding MSGothic + Example embedding MSGothic - This example will use the Microsoft Gothic TrueType font. This is the font used to render this examples + This example will use the Microsoft Gothic TrueType font. This is the font used to render this examples given in the last section of this file. If you don't have it installed, you can download an installer at @@ -275,12 +275,12 @@ Setup your classpath to run FOP: - C:\Fop-0.18.1> set CLASSPATH=fop.jar;lib\xerces-1.2.3.jar;lib\xalan-2.0.0.jar;lib\batik.jar @@ -289,13 +289,13 @@ C:\Fop-0.18.1> set CLASSPATH=fop.jar;lib\xerces-1.2.3.jar;lib\xalan-2.0.0.jar;li Create the metrics file: - C:\Fop-0.18.1> java org.apache.fop.fonts.apps.TTFReader c:\WINNT\Fonts\msgothic.ttf msgothic.xml @@ -317,8 +317,8 @@ This font contains no embedding license restrictions Edit the msgothic.xml file and set the font-name to "MSGothic". @@ -326,13 +326,13 @@ This font contains no embedding license restrictions Edit conf/userconfig.xml and add the following to the <fonts> section: - - ]]> - + Now you can use MSGothic in your .fo files by setting font-family="MSGothic". You'll need to start FOP specifying the config file as in this example: - java -jar fop.jar -c conf/userconfig.xml -fo myfo.fo -pdf mypdf.pdf @@ -354,10 +354,10 @@ This font contains no embedding license restrictions Examples from JMDict Japanese glossary: diff --git a/docs/examples/build.xml b/docs/examples/build.xml index 1bd1fbcb5..215679c88 100644 --- a/docs/examples/build.xml +++ b/docs/examples/build.xml @@ -1,99 +1,99 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/docs/examples/fo/blockcontainer.fo b/docs/examples/fo/blockcontainer.fo index c46821887..2abe4d329 100644 --- a/docs/examples/fo/blockcontainer.fo +++ b/docs/examples/fo/blockcontainer.fo @@ -70,7 +70,7 @@ BC:B III - + The areas are stacked normally but the orientation of the area is rotated 180 degrees clockwise. @@ -81,7 +81,7 @@ 180 degrees. - + different writing mode diff --git a/docs/examples/fo/border.fo b/docs/examples/fo/border.fo index 1e89e221f..7bef67c7c 100644 --- a/docs/examples/fo/border.fo +++ b/docs/examples/fo/border.fo @@ -1,75 +1,75 @@ + margin-right="0.5cm" margin-left="0.5cm" margin-bottom="0.5cm" margin-top="0.75cm" + page-width="21cm" page-height="29.7cm" master-name="first"> + margin-right="2.5cm" margin-left="2.5cm" margin-bottom="2cm" margin-top="1cm" + page-width="21cm" page-height="29.7cm" master-name="rest"> - - - - - - - - - + + + + + + + + + - PX7.net - + PX7.net + - 44 Liberty St - + 44 Liberty St + - Newburyport, MA 01950 - + Newburyport, MA 01950 + - 978-462-1152 - + 978-462-1152 + - Sales Receipt - + Sales Receipt + - + - DATE - + DATE + - 01/01/2000 - + 01/01/2000 + - SALE # - + SALE # + - 1 - + 1 + - + - SOLD TO - + SOLD TO + @@ -77,37 +77,37 @@ - SHIP TO - + SHIP TO + - + - PMT METHOD - + PMT METHOD + - Check - + Check + - CHECK # - + CHECK # + - 1234 - + 1234 + - - + + diff --git a/docs/examples/fo/bordershorthand.fo b/docs/examples/fo/bordershorthand.fo index fc5d5b5d2..6c5282846 100644 --- a/docs/examples/fo/bordershorthand.fo +++ b/docs/examples/fo/bordershorthand.fo @@ -1,8 +1,8 @@ - @@ -10,23 +10,23 @@ Below fo:root there is always - @@ -37,9 +37,9 @@ Below fo:root there is always @@ -47,14 +47,14 @@ Below fo:root there is always - - - - - - + + + + + + @@ -65,32 +65,32 @@ Below fo:root there is always - + > Border and Padding Shorthand Tests - p. - + - - Border and Padding Shorthand Tests + Border and Padding Shorthand Tests - @@ -106,25 +106,25 @@ In this example, padding and border properties are specified using absolute pro padding-left, padding-right, padding-top, and padding-bottom, etc. According to the specification, a request for the absolute (top, bottom, left, right) versions of these properties should use the relative ones if they are specified. - + border-top="rgb(100,100,100) 1pt + 1pt dashed" + border-bottom="2pt rgb(200,200,200) solid" + border-left="solid 1pt" border-right="solid 1pt"> In this example, padding and border properties are specified using shorthand properties: padding, border-width, border-color. According to the specification, a request for the absolute (top, bottom, left, right) versions of these properties should use the relative ones if they are specified. - + border-after-color="rgb(200,200,200)"> In this example, padding and border properties are specified using writing-mode relative properties: padding-before, padding-after, padding-start, and padding-end, etc. According to the specification, a request for the absolute (top, bottom, left, right) versions of these properties should use the relative ones if they are specified. - -In this example, padding and border properties are specified using + border-after-color="rgb(100,100,100)"> +In this example, padding and border properties are specified using shorthand and writing-mode relative properties: padding-before, padding-after, padding-start, and padding-end, etc. According to the specification, a request for the absolute (top, bottom, left, right) versions of these properties should use the relative ones if they are specified. diff --git a/docs/examples/fo/character.fo b/docs/examples/fo/character.fo index b3f9a0e63..8771baa3c 100644 --- a/docs/examples/fo/character.fo +++ b/docs/examples/fo/character.fo @@ -1,29 +1,29 @@ - - @@ -35,25 +35,25 @@ - - -1. Why ? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. -Why TI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. +1. Why ? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. +Why TI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. @@ -77,13 +77,13 @@ Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. - -1. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. -Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. +1. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. +Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. @@ -92,8 +92,8 @@ Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. - diff --git a/docs/examples/fo/corresprop.fo b/docs/examples/fo/corresprop.fo index 93de9f06d..565e35fe5 100644 --- a/docs/examples/fo/corresprop.fo +++ b/docs/examples/fo/corresprop.fo @@ -1,8 +1,8 @@ - @@ -10,23 +10,23 @@ Below fo:root there is always - @@ -37,9 +37,9 @@ Below fo:root there is always @@ -47,14 +47,14 @@ Below fo:root there is always - - - - - - + + + + + + @@ -65,19 +65,19 @@ Below fo:root there is always - Corresponding Property Tests - p. - + - - - - - - This block has a start-indent of 1cm and no borders or padding. It has + start-indent="1cm"> + This block has a start-indent of 1cm and no borders or padding. It has no margin-left set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. - - + - This block has a margin-left of 1cm and no borders or padding. It has + margin-left="1cm"> + This block has a margin-left of 1cm and no borders or padding. It has no start-indent set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. - - + - This block has a start-indent of 1cm, padding-left of 4mm and border-left-width of 1mm. It has + start-indent="1cm" + padding-left="4mm" border-left-width="1mm"> + This block has a start-indent of 1cm, padding-left of 4mm and border-left-width of 1mm. It has no margin-left set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. - - + - This block has a margin-left of 5mm, padding-left of 4mm and border-left-width of 1mm. (Margin is outside the border rectangle.) It has + margin-left="5mm" + padding-left="4mm" border-left-width="1mm"> + This block has a margin-left of 5mm, padding-left of 4mm and border-left-width of 1mm. (Margin is outside the border rectangle.) It has no start-indent set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. - + + break-before="page"> End-indent tests - - This block has an end-indent of 1cm and no borders or padding. It has + end-indent="1cm"> + This block has an end-indent of 1cm and no borders or padding. It has no margin-right set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. - - + - This block has a margin-right of 1cm and no borders or padding. It has + margin-right="1cm"> + This block has a margin-right of 1cm and no borders or padding. It has no end-indent set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. - - + - This block has an end-indent of 1cm, padding-end of 4mm and border-end-width of 1mm. It has + end-indent="1cm" + padding-end="4mm" border-end-width="1mm"> + This block has an end-indent of 1cm, padding-end of 4mm and border-end-width of 1mm. It has no margin-right set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. - - + - This block has a margin-right of 5mm, padding-right of 4mm and + margin-right="5mm" + padding-right="4mm" border-right-width="1mm"> + This block has a margin-right of 5mm, padding-right of 4mm and border-right-width of 1mm. (Margin is outside the border rectangle.) It has no end-indent set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. - - + - This block has a margin-right of 5mm, padding-end of 4mm and + margin-right="5mm" + padding-end="4mm" border-end-width="1mm"> + This block has a margin-right of 5mm, padding-end of 4mm and border-end-width of 1mm. (Margin is outside the border rectangle.) It has no end-indent set. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text. Here is some more text to fill out the block. Here is some more text to fill out the block. Here is some more text to fill out the block. - + diff --git a/docs/examples/fo/fonts.fo b/docs/examples/fo/fonts.fo index d4af207a2..7501104a2 100644 --- a/docs/examples/fo/fonts.fo +++ b/docs/examples/fo/fonts.fo @@ -4,12 +4,12 @@ - @@ -111,7 +111,7 @@ Courier - ZapfDingbats: + ZapfDingbats: ✁ ✂ ✃ ✄ ☎ ✆ ✇ @@ -178,12 +178,12 @@ Courier - Some special characters: + Some special characters: Euro ( dec 8364, hex 20AC): € - + diff --git a/docs/examples/fo/hyphen.fo b/docs/examples/fo/hyphen.fo index 73995e534..bd5d426ee 100644 --- a/docs/examples/fo/hyphen.fo +++ b/docs/examples/fo/hyphen.fo @@ -1,29 +1,29 @@ - - @@ -35,25 +35,25 @@ - - - Hyphenation tests + Hyphenation tests - - - - - 1. Warum TEI? - Die Verwendungszeit elektronischer Editionen wird von mehreren - Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu - ihrer Darstellung verwendet werden, der etwas längeren der - Betriebssysteme, unter denen die Darstellungsprogramme laufen, - der logischen Einrichtung des Datenträgers, auf dem sich die - Edition befindet, und dessen physischer Dauer. Um die besonders - unangenehme Abhängigkeit elektronischer Texte von bestimmten - Programmen und Betriebssystemen zu vermeiden, haben - Wissenschaftler ein Textauszeichnungssystem für philologische - Belange entwickelt, das nach dem Entwicklerteam "Text Encoding - Initiative" (TEI) genannt wird (1). + Die Verwendungszeit elektronischer Editionen wird von mehreren + Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu + ihrer Darstellung verwendet werden, der etwas längeren der + Betriebssysteme, unter denen die Darstellungsprogramme laufen, + der logischen Einrichtung des Datenträgers, auf dem sich die + Edition befindet, und dessen physischer Dauer. Um die besonders + unangenehme Abhängigkeit elektronischer Texte von bestimmten + Programmen und Betriebssystemen zu vermeiden, haben + Wissenschaftler ein Textauszeichnungssystem für philologische + Belange entwickelt, das nach dem Entwicklerteam "Text Encoding + Initiative" (TEI) genannt wird (1). - - Das Auszeichnungssystem TEI ist eine Anwendung der Metasprache - zur Beschreibung programmunabhängiger Auszeichnungssysteme SGML - (Standard Generalized Markup Language), so wie auch HTML, mit - dem die meisten Texte des Internets zur Zeit ausgezeichnet - sind, eine Anwendung von SGML ist. Daten, die entsprechend den - TEI-Richtlinien ausgezeichnet worden sind, können also mit - jedem Programm, das SGML-Daten verarbeiten kann, dargestellt, + Das Auszeichnungssystem TEI ist eine Anwendung der Metasprache + zur Beschreibung programmunabhängiger Auszeichnungssysteme SGML + (Standard Generalized Markup Language), so wie auch HTML, mit + dem die meisten Texte des Internets zur Zeit ausgezeichnet + sind, eine Anwendung von SGML ist. Daten, die entsprechend den + TEI-Richtlinien ausgezeichnet worden sind, können also mit + jedem Programm, das SGML-Daten verarbeiten kann, dargestellt, umgewandelt oder durchsucht werden. (2) - - - Verwendet wurde für die Auszeichnung 'teilite', das eine - Teilmenge des gesamten Auszeichnungssystems TEI bietet, aber - auf einige der komplexeren Merkmale verzichtet und deshalb auch - eine einfache Konvertierung der Daten zu neueren Metasprachen - für Auszeichnungssysteme wie XML, einer Teilmenge von SGML, + + Verwendet wurde für die Auszeichnung 'teilite', das eine + Teilmenge des gesamten Auszeichnungssystems TEI bietet, aber + auf einige der komplexeren Merkmale verzichtet und deshalb auch + eine einfache Konvertierung der Daten zu neueren Metasprachen + für Auszeichnungssysteme wie XML, einer Teilmenge von SGML, ermöglicht. - SGML-Programme mit der Leistungsfähigkeit von Folio Views sind - z.Zt. noch relativ teuer, daher wurde für die vorliegende - Edition der Weg gewählt, den Text doppelt auf die CD zu legen: - Einmal für die sofortige Nutzung mit einer komfortablen - Oberfläche und einmal ohne Software in einem Format, das seine - langfristige Verwendbarkeit garantiert. + SGML-Programme mit der Leistungsfähigkeit von Folio Views sind + z.Zt. noch relativ teuer, daher wurde für die vorliegende + Edition der Weg gewählt, den Text doppelt auf die CD zu legen: + Einmal für die sofortige Nutzung mit einer komfortablen + Oberfläche und einmal ohne Software in einem Format, das seine + langfristige Verwendbarkeit garantiert. Das Nachstehende soll einige Hinweise zur Einrichtung der TEI- - Dateien geben, um deren weitere Verwendung zu erleichtern. + Dateien geben, um deren weitere Verwendung zu erleichtern. - + Allaire JRun. Lue juttu. - - Italian + Italian + degli account utente come i profili. - - Bekendtgørelsens regler hindrer ikke import, salg og anvendelse af produkter, der pÃ¥ tidspunktet for @@ -316,11 +316,11 @@ bl.a. bekendtgørelse nr. 807 af 2. december 1986 om begrænsning af motorbenzins indhold af blyforbindelser og benzen. - Import og salg af produkter, der indeholder kemiske forbindelser af bly, er forbudt fra 1. marts 2001. - Uanset forbudet i stk. + Uanset forbudet i stk. 1 er import og salg af produkter, der indeholder kemiske forbindelser af bly, fortsat tilladt for de produktkategorier, som er nævnt i bilag 1 til denne bekendtgørelse, indtil de i bilaget anførte @@ -329,8 +329,8 @@ - - - + Av forstÃ¥elige grunner har Ã¥ret 1814 vært av de mest omdiskuterte i norsk historieforskning. Med denne bibliografien vil man for første gang fÃ¥ en samlet oversikt over den viktigste @@ -358,16 +358,16 @@ historieinteressert publikum. I denne korte historiografien vil det bli gjort re hvordan dette spennende Ã¥ret er blitt forstÃ¥tt og fortolket av norske og nordiske historikere gjennom fem ulike tidsepoker. - + Litteraturen om 1814 kan klassifiseres pÃ¥ flere mÃ¥ter. Grovt sett gÃ¥r det et skille mellom tre genrer: historiske oversiktsverker, historiske spesialstudier, erindringer og dagbøker og kilde- og dokumentutgivelser. Av oversiktsverker peker de store Norgeshistoriene seg ut -med sin relativt omfattende behandling av 1814: Nevnes kan +med sin relativt omfattende behandling av 1814: Nevnes kan Norges historie fremstillet for -det norske folk, bd. VI.1 (1913), -Det norske folks liv og historie bd. VII (1933), -VÃ¥rt folks historie bd. 6 (1964), -Cappelens Norges historie bd. 9 (1978) og +det norske folk, bd. VI.1 (1913), +Det norske folks liv og historie bd. VII (1933), +VÃ¥rt folks historie bd. 6 (1964), +Cappelens Norges historie bd. 9 (1978) og Aschehougs Norgeshistorie bd. 7 (1996). Disse oversiktene er i vesentlig grad bygd pÃ¥ den omfattende spesiallitteraturen i bok- eller artikkelform som har et meget vidt spenn, fra biografier over lokale Eidsvollsmenn til krigshistoriske analyser av felttoget. Mye tidligere skjult @@ -375,10 +375,10 @@ kunnskap er dessuten blitt hentet ut fra dagbøkene til sentrale aktører. Endel lange rekken av kildeutgivelser hatt stor betydning for forskningen omkring 1814 og bidratt til Ã¥ endre forskningsbildet flere ganger. - -1814-1864 + +1814-1864 - + Det norske samfunnet etter 1814 ble rekonstruert pÃ¥ den nye Grunnlovens grunn, og vernet om den stod sentralt i den politiske kampen de neste 25 Ã¥rene. Til tross for dette mÃ¥ man kunne si at dokumentasjonen av hva som egentlig hadde skjedd i 1814 i mange Ã¥r forble temmelig @@ -391,7 +391,7 @@ aksept av union og svenskekonge i et høstlig og tÃ¥ketungt Christiania. Det var Grunnloven av 4. november 1814 som gjaldt og regulerte det norske samfunnet, supplert av Riksakten av 1815. - + Riksforsamlingens forhandlinger i 1814 ble utgitt i 6 hefter allerede samme Ã¥r av de valgte redaktører, professor Georg Sverdrup, professor Ludvig Stoud Platou og tollprokurør Christopher Omsen. At de ikke ble reprodusert i de følgende Ã¥r, hadde sammenheng med den @@ -401,22 +401,22 @@ Grunnloven som en indirekte underkjenning av unionsverket og kongens politiske a Etter pÃ¥trykk fra ham prøvde norske myndigheter Ã¥ sette en stopper for offentlig feiring av 17. mai helt frem til midten av 1830-Ã¥rene. - + Rimeligvis ble da forholdet til Danmark snarere enn forholdet til Sverige ett av de første alvorlige stridsspørsmÃ¥l i perioden. Presten og Eidsvollsmannen Nicolai Wergeland ble -beryktet for den danskfiendtlige og unionsvennlige posisjon han inntok i boken +beryktet for den danskfiendtlige og unionsvennlige posisjon han inntok i boken En sandfærdig Beretning om Danmarks politiske Forbrydelser imod Kongeriget Norge (anonymt, 1816) som fulgte nasjonalhistorien helt opp til Kielfreden. Skriftet vakte debatt og kraftige reaksjoner ikke minst blant det gamle selvstendighetsparti. Blant annet publiserte Christian Magnus Falsen to motskrifter i 1817. Falsen prøvde ogsÃ¥ Ã¥ popularisere Grunnlovens innhold -for den mindre "oplyste" borgerklasse og allmue gjennom skriftet +for den mindre "oplyste" borgerklasse og allmue gjennom skriftet Norges Grundlov gjennemgaaet i Spørgs-maal og Svar (1818, forkortet versjon 1825). Men det mÃ¥ kunne pÃ¥stÃ¥s at den mer detaljerte historien om grunnlovsverkets tilblivelse og første fase lenge ble stÃ¥ende i noe av et halvmørke bÃ¥de for det alminnelige folk og for de nye generasjoner, og at dette skyldtes den politiske situasjonen. Det var Nicolai Wergeland som leverte selve -pionerarbeidet blant de personlige kildesamlingene, +pionerarbeidet blant de personlige kildesamlingene, Fortrolige Breve til en Ven, Skrevne fra Eidsvold i Aaret 1814 (anonymt, 1830). Men det var først da det unionspolitiske klimaet mildnet etter 1837 at det ble Ã¥pnet for en grundigere historisk analyse av Grunnlovens diff --git a/docs/examples/fo/images.fo b/docs/examples/fo/images.fo index b25cafae7..29fcc3c2f 100644 --- a/docs/examples/fo/images.fo +++ b/docs/examples/fo/images.fo @@ -4,28 +4,28 @@ - - + margin-top="75pt" margin-bottom="25pt" margin-left="100pt" margin-right="50pt"> + + - - + margin-top="75pt" margin-bottom="25pt" margin-left="50pt" margin-right="100pt"> + + - - - - - - - + + + + + + + @@ -33,9 +33,9 @@ - - - + + + @@ -80,4 +80,4 @@ A. Appendix - + diff --git a/docs/examples/fo/inhprop.fo b/docs/examples/fo/inhprop.fo index 81e8cf730..766c3b694 100644 --- a/docs/examples/fo/inhprop.fo +++ b/docs/examples/fo/inhprop.fo @@ -1,8 +1,8 @@ - @@ -10,23 +10,23 @@ Below fo:root there is always - @@ -37,9 +37,9 @@ Below fo:root there is always @@ -47,14 +47,14 @@ Below fo:root there is always - - - - - - + + + + + + @@ -65,19 +65,19 @@ Below fo:root there is always - Property Function Tests - p. - + - - - Function: object from-parent( NCName) + Function: object from-parent( NCName) - The from-parent function returns a computed value of the property whose name matches the argument specified. The value returned is that @@ -120,9 +120,9 @@ the property. It is an error if arguments matching a shorthand property are used in any other way. - Here is a nested block with font-size = + Here is a nested block with font-size = from-parent(font-size) - 2pt. Since its parent has font-size=12pt, that should mean 10pt. It should keep the line height of 1.25em, which means 12.5pt leading. It's @@ -130,13 +130,13 @@ space-before value is set to the space-after value from its parent. Note that neither of these are inheritable. Does it look right? + background-color="black" color="rgb(50%,50%,50%)"> Here is a nested block with text 2pt larger than its parent (that should be 14pt). This parent is indented 1cm on both start and end directions with respect to the values from its parent (which aren't @@ -156,17 +156,17 @@ sizes. In this block, we'll put an object whose font-size is 2 pt bigger than its parent's font-size. - An outer block with 12 pt text on 14 pt leading, default color + background-color="rgb(50%,50%,50%)"> + An outer block with 12 pt text on 14 pt leading, default color and 50% grey background color. Test inherited color changes with nested blocks. - - Interchange color and background color using from-parent function. + + Interchange color and background color using from-parent function. diff --git a/docs/examples/fo/instream.fo b/docs/examples/fo/instream.fo index 74667a8f3..20a740109 100644 --- a/docs/examples/fo/instream.fo +++ b/docs/examples/fo/instream.fo @@ -8,10 +8,10 @@ This is used to show how foreign objects are placed in a line area. - Some block text to separate instream objects. + Some block text to separate instream objects. - Some text before + Some text before @@ -20,10 +20,10 @@ - and some after the svg element. + and some after the svg element. - A text line below the instream object. + A text line below the instream object. @@ -37,10 +37,10 @@ - A text line below the block. + A text line below the block. - A text line with an instream foreign object that is before the line break. + A text line with an instream foreign object that is before the line break. @@ -53,7 +53,7 @@ With some text on the next line. With a bit more text to go over the to the next line. - A text line with an instream foreign object that is after the line break. + A text line with an instream foreign object that is after the line break. With some text on the next line. With a bit @@ -67,7 +67,7 @@ With some text on the next line. With a bit more text to go over the to the next line. - A text line with an instream foreign object that is over the line break. + A text line with an instream foreign object that is over the line break. With some text diff --git a/docs/examples/fo/leader.fo b/docs/examples/fo/leader.fo index 0fd310980..cc378b31a 100644 --- a/docs/examples/fo/leader.fo +++ b/docs/examples/fo/leader.fo @@ -8,11 +8,11 @@ @@ -29,8 +29,8 @@ - - - fo:leader is mainly used a) in table-of-contents to generate sequences of "." glyphs that separate titles from page numbers - b) to create entry fields in fill-in-the-blank forms c) to create horizontal rules for use as separators. You - define the look and use of fo:leader with the property "leader-pattern". It can have the following values: a) space. This - just creates an space. b) dots. This creates a sequence of "." c) rule. This creates a line. d) use-content. This creates a - repeating pattern of the content of fo:leader. + fo:leader is mainly used a) in table-of-contents to generate sequences of "." glyphs that separate titles from page numbers + b) to create entry fields in fill-in-the-blank forms c) to create horizontal rules for use as separators. You + define the look and use of fo:leader with the property "leader-pattern". It can have the following values: a) space. This + just creates an space. b) dots. This creates a sequence of "." c) rule. This creates a line. d) use-content. This creates a + repeating pattern of the content of fo:leader. - - The dimensions of fo:leader are determined by the compound property leader-length. It consists of the + The dimensions of fo:leader are determined by the compound property leader-length. It consists of the 3 sub values: leader-length.minimum (default = 0), leader-length.optimum (default = 12pt), leader-length.maximum - (default = 100%). If you want to make sure, that leader-length has a fixed size, you should use the compound - property (p.e. leader-length="5cm"). If you want to fill the rest of the remaining space with dots in a table of - content, you can use the default values. + (default = 100%). If you want to make sure, that leader-length has a fixed size, you should use the compound + property (p.e. leader-length="5cm"). If you want to fill the rest of the remaining space with dots in a table of + content, you can use the default values. - - leader with leader-pattern="space" + leader with leader-pattern="space" - Entry 1 - Entry 1 + p. 12 - Entry 2 - Entry 2 + p. 24 - Left side - Left side + middle - right side - - - There are two properties which allow you to specify the looks of the dotted line. First - "leader-pattern-width". It specifies the length of one dot and the space up to the next dot. + There are two properties which allow you to specify the looks of the dotted line. First + "leader-pattern-width". It specifies the length of one dot and the space up to the next dot. Second leader-alignment. It can be used to make sure, the dots in different lines are parallel (only value "reference-area" - is supported). + is supported). - Entry 1 - Entry 1 + p. 12 - Entry 2 - Entry 2 + p. 24 - - Entry 1 - Entry 1 + p. 12 - Entry 2 - Entry 2 + p. 24 - Entry 1 - Entry 1 + p. 12 - Entry 2 - Entry 2 + p. 24 - - Using fo:leader with leader-pattern="dots" in a list + Using fo:leader with leader-pattern="dots" in a list - Entry 1 - Entry 1 + p. 12 - Entry 2 - Entry 2 + p. 24 - Entry 3 is longer - Entry 3 is longer + p. 36 - Entry 4 is even longer - Entry 4 is even longer + p. 48 @@ -223,16 +223,16 @@ - 1 - 1 + p. 12 - Entry 2 - Entry 2 + p. 24 @@ -240,16 +240,16 @@ - Entry 3 is longer - Entry 3 is longer + p. 36 - Entry 4 is even longer - Entry 4 is even longer + p. 48 @@ -259,27 +259,27 @@ - - + · - + - Entry 1 - Entry 1 + p. 12 @@ -293,12 +293,12 @@ · - + - Entry 2 - Entry 2 + p. 24 @@ -306,10 +306,10 @@ - + - Entry 1 - - + @@ -338,8 +338,8 @@ Entry 2 - - + @@ -349,8 +349,8 @@ Entry 3 - - + @@ -366,15 +366,15 @@ + space-after.optimum="12pt"> Table of Content - shows the use of leader properties in combination to build a table of content. - Following values are used for the leader: + space-after.optimum="12pt"> + shows the use of leader properties in combination to build a table of content. + Following values are used for the leader: leader-pattern="dots" leader-pattern-width="8pt" leader-alignment="reference-area" @@ -391,7 +391,7 @@ A) - This is some longer sample textThis is some longer sample text @@ -401,7 +401,7 @@ B) - Some textSome text @@ -410,7 +410,7 @@ C) - TextText @@ -419,7 +419,7 @@ D) - This text is even longer than the first entry This text is even longer than the first entry @@ -428,7 +428,7 @@ E) - Shorter text exampleShorter text example @@ -443,8 +443,8 @@ - - text before the rule (start) - - text before the rule (center) - - text before the rule (end) - - - Here are some fo:leader with the property rule and different rule styles - (solid, dashed, dotted, double, groove, ridge the last one with colored backgrounds + Here are some fo:leader with the property rule and different rule styles + (solid, dashed, dotted, double, groove, ridge the last one with colored backgrounds to the effect) - - + + leader-length="6cm"/> + space-after.optimum="12pt"> - @@ -534,8 +534,8 @@ - + @@ -543,8 +543,8 @@ - + @@ -552,8 +552,8 @@ - + - + - - - + + leader-length="6cm"/> - - + - - + - - + - - - + + leader-length="25%"/> - - + - - + - - + @@ -675,47 +675,47 @@ + space-after.optimum="12pt"> Using leader in combination with justified text - Here is some longer text. Here is some longer text. - Here is some longer text. Here comes the leader (dots width 8pt): - Here is some longer text. Here is some longer text. + Here is some longer text. Here comes the leader (dots width 8pt): + Here is some longer text. Here is some longer text. - Here is some longer text. Here is some longer text. Here is some longer text. + leader-length="5cm"/>Here is some longer text. Here is some longer text. + Here is some longer text. Here is some longer text. Here is some longer text. - Here is some longer text. Here is some longer text. - Here is some longer text. Here comes the leader (dots width 5pt): - Here is some longer text. Here is some longer text. + Here is some longer text. Here comes the leader (dots width 5pt): + Here is some longer text. Here is some longer text. - Here is some longer text. Here is some longer text. Here is some longer text. + leader-length="5cm"/>Here is some longer text. Here is some longer text. + Here is some longer text. Here is some longer text. Here is some longer text. - Here is some longer text. Here is some longer text. - Here is some longer text. Here comes the leader (dots): - Here is some longer text. Here is some longer text. - Here is some longer text. Here is some longer text. Here is some longer text. + Here is some longer text. Here is some longer text. + Here is some longer text. Here comes the leader (dots): + Here is some longer text. Here is some longer text. + Here is some longer text. Here is some longer text. Here is some longer text. - Here is some longer text. Here is some longer text. - Here is some longer text. Here comes the leader (rule): - Here is some longer text. Here is some longer text. - Here is some longer text. Here is some longer text. Here is some longer text. + Here is some longer text. Here is some longer text. + Here is some longer text. Here comes the leader (rule): + Here is some longer text. Here is some longer text. + Here is some longer text. Here is some longer text. Here is some longer text. - Here is some longer text. Here is some longer text. - Here is some longer text. Here comes the leader (space): - Here is some longer text. Here is some longer text. - Here is some longer text. Here is some longer text. Here is some longer text. + Here is some longer text. Here is some longer text. + Here is some longer text. Here comes the leader (space): + Here is some longer text. Here is some longer text. + Here is some longer text. Here is some longer text. Here is some longer text. diff --git a/docs/examples/fo/link.fo b/docs/examples/fo/link.fo index e44efcc27..805d258f4 100644 --- a/docs/examples/fo/link.fo +++ b/docs/examples/fo/link.fo @@ -2,144 +2,144 @@ - - - - - - - - - - - - - - - - - - 0. Normal text without link - - - - - 1. normal.pdf - - - - --- - - - - 2. A one line example (text-align='start'): normal.pdf - - - - --- - - - - 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 normal.pdf - - - - --- - - - - 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 normal.pdf - - - - --- - - - - 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 normal.pdf - - - - --- - - - - 6. A multiline text (text-align='justify'). 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 normal.pdf - - - - --- - - - - 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 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 normal.pdf - - - - - 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 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 normal.pdf - - - - - 9. Linking to a specific page of an external: - extensive.pdf, Page 2. - - - + + + + + + + + + + + + + + + + + + 0. Normal text without link + + + + + 1. normal.pdf + + + + --- + + + + 2. A one line example (text-align='start'): normal.pdf + + + + --- + + + + 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 normal.pdf + + + + --- + + + + 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 normal.pdf + + + + --- + + + + 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 normal.pdf + + + + --- + + + + 6. A multiline text (text-align='justify'). 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 normal.pdf + + + + --- + + + + 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 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 normal.pdf + + + + + 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 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 normal.pdf + + + + + 9. Linking to a specific page of an external: + extensive.pdf, Page 2. + + + - - + + diff --git a/docs/examples/fo/list.fo b/docs/examples/fo/list.fo index 27a30623e..52fce53ac 100644 --- a/docs/examples/fo/list.fo +++ b/docs/examples/fo/list.fo @@ -1,31 +1,31 @@ - - @@ -37,21 +37,21 @@ @@ -62,8 +62,8 @@ font-family and size, line-heigth etc. --> - - A simple list with bullets in list-item-label @@ -84,14 +84,14 @@ - + - + here is text in the list item body @@ -105,7 +105,7 @@ - + here is text in the list item body @@ -119,7 +119,7 @@ - + here is text in the list item body @@ -133,7 +133,7 @@ - + here is text in the list item body @@ -147,7 +147,7 @@ - + here is text in the list item body @@ -159,12 +159,12 @@ - @@ -186,14 +186,14 @@ - [other list items...] + [other list items...] ]]> - + @@ -203,62 +203,62 @@ - Doing it better - - The distance between the bullets and the list text in the example on the - previous page is too large. You can define this distance and some more. Here is + The distance between the bullets and the list text in the example on the + previous page is too large. You can define this distance and some more. Here is an overview how to specify what aspects of a list - image from the w3c xsl working draft 18.10.2000 (full info in list2.fo) - - This is the same list with a defined provisional-distance-between-starts (0.3cm) and + This is the same list with a defined provisional-distance-between-starts (0.3cm) and provisional-label-separation (0.15cm). - - + - + here is text in the list item body @@ -272,7 +272,7 @@ - + here is text in the list item body @@ -286,7 +286,7 @@ - + here is text in the list item body @@ -298,12 +298,12 @@ - @@ -338,35 +338,35 @@ - - A simple list with text before and after + A simple list with text before and after - - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - + - + here is text in the list item body @@ -380,7 +380,7 @@ - + here is text in the list item body @@ -394,7 +394,7 @@ - + here is text in the list item body @@ -408,7 +408,7 @@ - + here is text in the list item body @@ -422,7 +422,7 @@ - + here is text in the list item body @@ -434,45 +434,45 @@ - - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - - A list with longer text + A list with longer text - + - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -483,13 +483,13 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -500,13 +500,13 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -517,13 +517,13 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -534,13 +534,13 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -551,8 +551,8 @@ - @@ -560,13 +560,13 @@ - - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. @@ -579,7 +579,7 @@ label 1) - + here is text in the list item body @@ -593,7 +593,7 @@ lab. 2) - + here is text in the list item body @@ -607,7 +607,7 @@ lab. 3) - + here is text in the list item body @@ -621,7 +621,7 @@ lab. 4) - + here is text in the list item body @@ -635,7 +635,7 @@ lab. 5) - + here is text in the list item body @@ -647,14 +647,14 @@ - - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. @@ -662,27 +662,27 @@ - - A long list + A long list - + - + here is text in the list item body @@ -696,7 +696,7 @@ - + here is text in the list item body @@ -710,7 +710,7 @@ - + here is text in the list item body @@ -724,7 +724,7 @@ - + here is text in the list item body @@ -738,7 +738,7 @@ - + here is text in the list item body @@ -752,7 +752,7 @@ - + here is text in the list item body @@ -766,7 +766,7 @@ - + here is text in the list item body @@ -780,7 +780,7 @@ - + here is text in the list item body @@ -794,7 +794,7 @@ - + here is text in the list item body @@ -808,7 +808,7 @@ - + here is text in the list item body @@ -822,7 +822,7 @@ - + here is text in the list item body @@ -836,7 +836,7 @@ - + here is text in the list item body @@ -850,7 +850,7 @@ - + here is text in the list item body @@ -864,7 +864,7 @@ - + here is text in the list item body @@ -878,7 +878,7 @@ - + here is text in the list item body @@ -892,7 +892,7 @@ - + here is text in the list item body @@ -906,7 +906,7 @@ - + here is text in the list item body @@ -920,7 +920,7 @@ - + here is text in the list item body @@ -934,7 +934,7 @@ - + here is text in the list item body @@ -948,7 +948,7 @@ - + here is text in the list item body @@ -962,7 +962,7 @@ - + here is text in the list item body @@ -976,7 +976,7 @@ - + here is text in the list item body @@ -990,7 +990,7 @@ - + here is text in the list item body @@ -1004,7 +1004,7 @@ - + here is text in the list item body @@ -1018,7 +1018,7 @@ - + here is text in the list item body @@ -1032,7 +1032,7 @@ - + here is text in the list item body @@ -1046,7 +1046,7 @@ - + here is text in the list item body @@ -1060,7 +1060,7 @@ - + here is text in the list item body @@ -1074,7 +1074,7 @@ - + here is text in the list item body @@ -1088,7 +1088,7 @@ - + here is text in the list item body @@ -1102,7 +1102,7 @@ - + here is text in the list item body @@ -1116,7 +1116,7 @@ - + here is text in the list item body @@ -1130,7 +1130,7 @@ - + here is text in the list item body @@ -1144,7 +1144,7 @@ - + here is text in the list item body @@ -1158,7 +1158,7 @@ - + here is text in the list item body @@ -1172,7 +1172,7 @@ - + here is text in the list item body @@ -1186,7 +1186,7 @@ - + here is text in the list item body @@ -1200,7 +1200,7 @@ - + here is text in the list item body @@ -1214,7 +1214,7 @@ - + here is text in the list item body @@ -1228,7 +1228,7 @@ - + here is text in the list item body @@ -1242,7 +1242,7 @@ - + here is text in the list item body @@ -1256,7 +1256,7 @@ - + here is text in the list item body @@ -1270,7 +1270,7 @@ - + here is text in the list item body @@ -1284,7 +1284,7 @@ - + here is text in the list item body @@ -1298,7 +1298,7 @@ - + here is text in the list item body @@ -1312,7 +1312,7 @@ - + here is text in the list item body @@ -1326,7 +1326,7 @@ - + here is text in the list item body @@ -1340,7 +1340,7 @@ - + here is text in the list item body @@ -1354,7 +1354,7 @@ - + here is text in the list item body @@ -1368,7 +1368,7 @@ - + here is text in the list item body @@ -1382,7 +1382,7 @@ - + here is text in the list item body @@ -1396,7 +1396,7 @@ - + here is text in the list item body @@ -1409,7 +1409,7 @@ - + here is text in the list item body @@ -1423,7 +1423,7 @@ - + here is text in the list item body @@ -1437,7 +1437,7 @@ - + here is text in the list item body @@ -1451,7 +1451,7 @@ - + here is text in the list item body @@ -1465,7 +1465,7 @@ - + here is text in the list item body @@ -1479,7 +1479,7 @@ - + here is text in the list item body @@ -1493,7 +1493,7 @@ - + here is text in the list item body @@ -1507,7 +1507,7 @@ - + here is text in the list item body @@ -1521,7 +1521,7 @@ - + here is text in the list item body @@ -1535,7 +1535,7 @@ - + here is text in the list item body @@ -1549,7 +1549,7 @@ - + here is text in the list item body @@ -1563,7 +1563,7 @@ - + here is text in the list item body @@ -1577,7 +1577,7 @@ - + here is text in the list item body @@ -1591,7 +1591,7 @@ - + here is text in the list item body @@ -1605,7 +1605,7 @@ - + here is text in the list item body @@ -1619,7 +1619,7 @@ - + here is text in the list item body @@ -1633,7 +1633,7 @@ - + here is text in the list item body @@ -1647,7 +1647,7 @@ - + here is text in the list item body @@ -1661,7 +1661,7 @@ - + here is text in the list item body @@ -1675,7 +1675,7 @@ - + here is text in the list item body @@ -1689,7 +1689,7 @@ - + here is text in the list item body @@ -1703,7 +1703,7 @@ - + here is text in the list item body @@ -1717,7 +1717,7 @@ - + here is text in the list item body @@ -1731,7 +1731,7 @@ - + here is text in the list item body @@ -1745,7 +1745,7 @@ - + here is text in the list item body @@ -1759,7 +1759,7 @@ - + here is text in the list item body @@ -1772,7 +1772,7 @@ - + here is text in the list item body @@ -1786,7 +1786,7 @@ - + here is text in the list item body @@ -1800,7 +1800,7 @@ - + here is text in the list item body @@ -1814,7 +1814,7 @@ - + here is text in the list item body @@ -1828,7 +1828,7 @@ - + here is text in the list item body @@ -1842,7 +1842,7 @@ - + here is text in the list item body @@ -1856,7 +1856,7 @@ - + here is text in the list item body @@ -1870,7 +1870,7 @@ - + here is text in the list item body @@ -1884,7 +1884,7 @@ - + here is text in the list item body @@ -1898,7 +1898,7 @@ - + here is text in the list item body @@ -1912,7 +1912,7 @@ - + here is text in the list item body @@ -1926,7 +1926,7 @@ - + here is text in the list item body @@ -1940,7 +1940,7 @@ - + here is text in the list item body @@ -1955,39 +1955,39 @@ - - A nested list with justified text + A nested list with justified text - - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - + - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -1998,7 +1998,7 @@ - + here comes a nested list with numbers @@ -2013,7 +2013,7 @@ 1.) - + nested list item @@ -2026,12 +2026,12 @@ 2.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2042,7 +2042,7 @@ 3.) - + nested list item @@ -2055,12 +2055,12 @@ 4.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2071,7 +2071,7 @@ 5.) - + nested list item @@ -2092,11 +2092,11 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -2107,7 +2107,7 @@ - + here is text in the list item body @@ -2121,11 +2121,11 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -2134,33 +2134,33 @@ - - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - - + @@ -2170,7 +2170,7 @@ - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. here is text in the list item body. here is text in the list item body. @@ -2220,44 +2220,44 @@ ]]> - + - - A long nested list + A long nested list - - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - + - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -2268,11 +2268,11 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -2283,11 +2283,11 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -2298,11 +2298,11 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -2313,11 +2313,11 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -2328,11 +2328,11 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -2343,7 +2343,7 @@ - + here comes a nested list with numbers @@ -2358,7 +2358,7 @@ 1.) - + nested list item @@ -2371,12 +2371,12 @@ 2.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2387,7 +2387,7 @@ 3.) - + nested list item @@ -2400,12 +2400,12 @@ 4.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2416,7 +2416,7 @@ 5.) - + nested list item @@ -2429,12 +2429,12 @@ 6.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2445,12 +2445,12 @@ 7.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2461,12 +2461,12 @@ 8.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2477,12 +2477,12 @@ 9.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2493,12 +2493,12 @@ 10.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2509,12 +2509,12 @@ 11.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2525,12 +2525,12 @@ 12.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2541,12 +2541,12 @@ 13.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2557,12 +2557,12 @@ 14.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2573,12 +2573,12 @@ 15.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2589,12 +2589,12 @@ 16.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2605,12 +2605,12 @@ 17.) - + - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. - nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. + nested list item with more text. nested list item with more text. @@ -2628,11 +2628,11 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -2643,7 +2643,7 @@ - + here is text in the list item body @@ -2657,11 +2657,11 @@ - + - here is text in the list item body. here is text in the list item body. - here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. + here is text in the list item body. here is text in the list item body. @@ -2671,14 +2671,14 @@ - - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. - This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. + This is normal text. This is normal text. This is normal text. This is normal text. This is normal text. diff --git a/docs/examples/fo/newlinktest.fo b/docs/examples/fo/newlinktest.fo index afefe6bf2..6fa0588d5 100644 --- a/docs/examples/fo/newlinktest.fo +++ b/docs/examples/fo/newlinktest.fo @@ -3,9 +3,9 @@ @@ -44,7 +44,7 @@ the case of XT) SAX events. - FOP is part of Apache's XML project. The homepage of FOP is + FOP is part of Apache's XML project. The homepage of FOP is http://xml.apache.org/fop diff --git a/docs/examples/fo/normal.fo b/docs/examples/fo/normal.fo index 0959b4020..6576e70a0 100644 --- a/docs/examples/fo/normal.fo +++ b/docs/examples/fo/normal.fo @@ -9,141 +9,141 @@ Below fo:root there is always - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - XML Recommendation - p. - - - - - - - - Extensible Markup Language (XML) 1.0 - - - - - Abstract - - - - - 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. - - - - - Status of this document - - - - - This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a - W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from - another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its - widespread deployment. This enhances the functionality and interoperability of the Web. - - - - - This document specifies a syntax created by subsetting an existing, widely used international text processing standard - (Standard Generalized Markup Language, ISO 8879:1986(E) as amended and corrected) for use on the World Wide Web. It - is a product of the W3C XML Activity, details of which can be found at http://www.w3.org/XML. A list of current W3C - Recommendations and other technical documents can be found at http://www.w3.org/TR. - - - + + + + + + + + + + XML Recommendation - p. + + + + + + + + Extensible Markup Language (XML) 1.0 + + + + + Abstract + + + + + 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. + + + + + Status of this document + + + + + This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a + W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from + another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its + widespread deployment. This enhances the functionality and interoperability of the Web. + + + + + This document specifies a syntax created by subsetting an existing, widely used international text processing standard + (Standard Generalized Markup Language, ISO 8879:1986(E) as amended and corrected) for use on the World Wide Web. It + is a product of the W3C XML Activity, details of which can be found at http://www.w3.org/XML. A list of current W3C + Recommendations and other technical documents can be found at http://www.w3.org/TR. + + + diff --git a/docs/examples/fo/normalex.fo b/docs/examples/fo/normalex.fo index 00e3e5b7e..9f063ee34 100644 --- a/docs/examples/fo/normalex.fo +++ b/docs/examples/fo/normalex.fo @@ -1,8 +1,8 @@ - @@ -10,22 +10,22 @@ Below fo:root there is always - @@ -37,9 +37,9 @@ Below fo:root there is always @@ -47,14 +47,14 @@ Below fo:root there is always - - - - - - + + + + + + @@ -65,19 +65,19 @@ Below fo:root there is always - XML Recommendation - p. - + - - - @@ -110,8 +110,8 @@ Below fo:root there is always - - @@ -133,15 +133,15 @@ Below fo:root there is always - This document specifies a syntax created by subsetting an existing, widely used international text processing standard (Standard Generalized Markup Language, ISO 8879:1986(E) as amended and corrected) for use on the World Wide Web. It is a product of the W3C XML Activity, details of which can be found at http://www.w3.org/XML. A list of current W3C - Recommendations and other technical documents can be found at http://www.w3.org/TR. + Recommendations and other technical documents can be found at http://www.w3.org/TR. diff --git a/docs/examples/fo/pdfoutline.fo b/docs/examples/fo/pdfoutline.fo index caebf85ea..027a87bd5 100644 --- a/docs/examples/fo/pdfoutline.fo +++ b/docs/examples/fo/pdfoutline.fo @@ -1,29 +1,29 @@ + xmlns:fox="http://xml.apache.org/fop/extensions"> @@ -32,11 +32,11 @@ This files shows next to the trivial usage of fo:block and fo:inline examples of @@ -44,21 +44,21 @@ This files shows next to the trivial usage of fo:block and fo:inline examples of - - - - - - + + + + + + - + @@ -141,7 +141,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. A) +A) What is FOP? FOP is the world's first print formatter driven by XSL formatting objects. It is a Java 1.1 application that reads a formatting object @@ -151,14 +151,14 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. - FOP is part of Apache's XML project. The homepage of FOP is + FOP is part of Apache's XML project. The homepage of FOP is http://xml.apache.org/fop - B) + B) Downloading FOP The latest release version is FOP 0.14 @@ -168,12 +168,12 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. Documentation can be downloaded here as HMTL file () - or + or as PDF file () . - To run FOP from the command line, see Running FOP. If you are interested in + To run FOP from the command line, see Running FOP. If you are interested in embedding FOP in a Java application of your own, see Embedding FOP. You can also download the source code v. 0.14 @@ -183,40 +183,40 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. C) + C) Running FOP - + 1) Prerequisites Following software must be installed: a) Java 1.1.x or later - For the fo-file viewer mode of FOP (see below) you must have the swing classes installed. - From Java 1.2 on (aka Java 2) they are part of the standard java distribution. + For the fo-file viewer mode of FOP (see below) you must have the swing classes installed. + From Java 1.2 on (aka Java 2) they are part of the standard java distribution. If you use Java 1.1.x you must seperately include the swing classes, which can be found at the Sun website (http://java.sun.com/products/jfc/#download-swing) - . + . - b) An XML parser which supports SAX and DOM like + b) An XML parser which supports SAX and DOM like Xerces-J (http://xml.apache.org/xerces-j/index.html) . - c) If you have to produce the flow objects files, which are the input for FOP, - you need a transformation utility to create this files from your xml files. - Normally this is an XSLT stylesheet processor like + c) If you have to produce the flow objects files, which are the input for FOP, + you need a transformation utility to create this files from your xml files. + Normally this is an XSLT stylesheet processor like XT (http://www.jclark.com/xml/xt.html) - + or XALAN (http://xml.apache.org/xalan/index.html) - . + . - - + + 2) Starting FOP as an standalone application There are three ways to run FOP from the command line. a) Batch processing formatting objects (fo) files: @@ -225,34 +225,34 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. java org.apache.fop.apps.CommandLine xml-file xsl-file pdf-file c) Previewing the fo-file: java org.apache.fop.apps.AWTCommandLine fo-file - Each method uses next to the fop classes other packages. The following describes + Each method uses next to the fop classes other packages. The following describes each method in detail. - + a) Method One - One is to first use an XSLT engine to produce the formatting object tree as an + One is to first use an XSLT engine to produce the formatting object tree as an XML document and then running the class org.apache.fop.apps.CommandLine with the - formatting object file name and PDF filename as arguments. You will need to include - FOP and your XML Parser in your classpath and so you might invoke + formatting object file name and PDF filename as arguments. You will need to include + FOP and your XML Parser in your classpath and so you might invoke java -cp fop_x_xx_x.jar;xerces.jar org.apache.fop.apps.CommandLine fo-file pdf-file - If your SAX Parser is other than Xerces, you will need to set the property - org.xml.sax.parser to the SAX Parser class to use. The following example shows - the command line, if you use XP, the XML parser from James Clark: + If your SAX Parser is other than Xerces, you will need to set the property + org.xml.sax.parser to the SAX Parser class to use. The following example shows + the command line, if you use XP, the XML parser from James Clark: java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver -cp fop_x_xx_x.jar;sax.jar;xt.jar;xp.jar;xerces.jar org.apache.fop.apps.AWTCommandLine formatting-tree-file pdf-file (You have to include xerces.jar or another xml parser which supports DOM in your classpath.) - - + + b) Method Two - Rather than performing transformation with an XSLT before invoking FOP, it is - possible, if you use XT as your XSLT engine, to just call FOP and have it call - XT for you. To do this, run the class org.apache.fop.apps.CommandLine with the - source XML file name, XSL file name and PDF file name as arguments. You will - need to include FOP, SAX, your SAX Parser and XT in your classpath and so you might - invoke + Rather than performing transformation with an XSLT before invoking FOP, it is + possible, if you use XT as your XSLT engine, to just call FOP and have it call + XT for you. To do this, run the class org.apache.fop.apps.CommandLine with the + source XML file name, XSL file name and PDF file name as arguments. You will + need to include FOP, SAX, your SAX Parser and XT in your classpath and so you might + invoke java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver -cp fop_x_xx_x.jar;xt.jar;xerces.jar @@ -260,26 +260,26 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. Again, if your SAX Parser is other than Xerces, you will need to set the property org.xml.sax.parser to the SAX Parser class to use. - - + + c) Method Three - If you already produced the FO file, you can preview the results of your - transformation without using any pdf viewer by invoking FOP with the viewer - application. You will need to include FOP and your XML Parser in your classpath + If you already produced the FO file, you can preview the results of your + transformation without using any pdf viewer by invoking FOP with the viewer + application. You will need to include FOP and your XML Parser in your classpath java -cp fop_x_xx_x.jar;xerces.jar org.apache.fop.apps.AWTCommandLine fo-file - The viewer uses the swing classes. - Note: If you are using java 2 or later (i.e. jdk 1.2. or later) you can put all - needed jar files into the subdirectory jdk1.2.x\jre\lib\ext (windows example). Then - FOP can be started without classpath: + The viewer uses the swing classes. + Note: If you are using java 2 or later (i.e. jdk 1.2. or later) you can put all + needed jar files into the subdirectory jdk1.2.x\jre\lib\ext (windows example). Then + FOP can be started without classpath: java org.apache.fop.apps.CommandLine fo-file pdf-file - - - - 3) Running FOP on MacOS - + + + + 3) Running FOP on MacOS + Ensure that you have a recent MRJ, and that you have downloaded and unpacked the XP and SAX distributions. The xp.jar and sax.jar files work as is on MacOS. @@ -295,25 +295,25 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. Once both are added (the FOP jarfile will already be in the list), click Run. A "stdout" window will appear and display FOP runtime messages. - - - + + + 4) Problems - If you have problems running FOP, please have a look at the + If you have problems running FOP, please have a look at the FOP FAQ (faq.html) . If you don't find a solution there, - you can ask for help on the list fop-dev@xml.apache.org. Maybe it's bug and - maybe somebody is already working on it. + you can ask for help on the list fop-dev@xml.apache.org. Maybe it's bug and + maybe somebody is already working on it. - - D) + + D) Embedding FOP - Instantiate org.apache.fop.apps.Driver. Once this class is + Instantiate org.apache.fop.apps.Driver. Once this class is instantiated, methods are called to set the Renderer to use, the (possibly multiple) ElementMapping(s) to use and the PrintWriter to use to output the results of the @@ -349,10 +349,10 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. E) + E) What's Implemented? Also see STATUS for what is being worked on. - + 1) Formatting Objects @@ -580,9 +580,9 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. - - + + 2) Properties @@ -914,20 +914,20 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. - - - F) + + + F) Limitations - Although FOP implements the above listed fo objects and properties, sometimes it does so - only in a limited way. + Although FOP implements the above listed fo objects and properties, sometimes it does so + only in a limited way. - + list-block - The fo working draft allows describes two ways to markup lists.The list-block must have as + The fo working draft allows describes two ways to markup lists.The list-block must have as children either: 1) pairs of fo:list-item-label and fo:list-item-body formatting objects, or 2) fo:list-item formatting objects. At the moment FOP only implements the second way. Therefore a list has a basic structure like this: @@ -937,55 +937,52 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. <fo:list-item-body><fo:block></fo:block></fo:list-item-body> </fo:list-item> </fo:list-block> - - + + Padding - Padding works in conjunction with indents and spaces. It is only implemented + Padding works in conjunction with indents and spaces. It is only implemented for blocks. At the moment padding can't be used to make extra space (indents+spaces must be used), but only to control how much the background-color extends beyond the content rectangle. - - - + + + Tables - There two limitations for tables: 1) FOP needs you to explicitly specify column widths + There two limitations for tables: 1) FOP needs you to explicitly specify column widths 2) Cells have to contain block-level FOs. They can't contain straight character data. - A working basic example of a table looks like this: + A working basic example of a table looks like this: <fo:table> - <fo:table-column column-width="150pt"/> - <fo:table-column column-width="150pt"/> - <fo:table-body font-size="10pt" font-family="sans-serif"> - <fo:table-row> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - </fo:table-row> - </fo:table-body> + <fo:table-column column-width="150pt"/> + <fo:table-column column-width="150pt"/> + <fo:table-body font-size="10pt" font-family="sans-serif"> + <fo:table-row> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + </fo:table-row> + </fo:table-body> </fo:table> - - - @@ -993,7 +990,10 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. G) + + + + G) Bugs see STATUS file @@ -1002,30 +1002,30 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. H) + H) Compiling FOP - + 1. Prerequisites - + a) Java 1.1.x or later If you use Java 1.1.x you must also seperately include the swing classes, which can be found at the Sun website (http://java.sun.com/products/jfc/#download-swing) - . From Java 1.2 on (aka Java 2) they are part of the standard - distribution. + . From Java 1.2 on (aka Java 2) they are part of the standard + distribution. - - + + b) An XML parser - An XML parser which supports DOM like + An XML parser which supports DOM like Xerces-J (http://xml.apache.org/xerces-j/index.html) . - - + + c) XT from James Clark Some of the Java source code in FOP is generated from XML using XSLT. XT must be used to generate this code. @@ -1041,50 +1041,50 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. XT relies on an sax parser like XP (also J. Clark), which can be - downloaded at James + downloaded at James Clark's Website (http://www.jclark.com/xml/xp/index.html) - - + + d) make - Under windows it has been reported that the use of the cygnus solutions port - of the GNU utilities works. You can find it at + Under windows it has been reported that the use of the cygnus solutions port + of the GNU utilities works. You can find it at Cygnus Solutions (http://sourceware.cygnus.com/cygwin/) - - - + + + Compiling FOP on MacOS - + We strongly recommend the use of Codewarrior Java. This Readme will contain a link to more information in the near future. - - I) + + I) Getting involved - 1. Subscribe to fop-dev@xml.apache.org by sending an email + 1. Subscribe to fop-dev@xml.apache.org by sending an email to fop-dev-subscribe@xml.apache.org - 2. Read the archives to fop-dev to get an idea of the issues being + 2. Read the archives to fop-dev to get an idea of the issues being discussed. - 3. Subscribe to fop-cvs@xml.apache.org by sending an email to - fop-cvs-subscribe@xml.apache.org (it is important + 3. Subscribe to fop-cvs@xml.apache.org by sending an email to + fop-cvs-subscribe@xml.apache.org (it is important that you follow changes being made). 4. Try :-) to wrap your head around the XSL working draft. 5. Get CVS working on your system. 6. Ask, on fop-dev, any questions you have at all about the code, design, etc. - 7. When you feel comfortable modifying the code, send diffs to + 7. When you feel comfortable modifying the code, send diffs to fop-dev with your contributions. 8. Have fun! @@ -1093,7 +1093,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. J) + J) FOP Relevant Specifications @@ -1105,7 +1105,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. XML Recommendation (http://www.w3.org/TR/REC-xml) - + @@ -1207,13 +1207,13 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. K) + K) Licence ============================================================================ The Apache Software License, Version 1.1 ============================================================================ Copyright (C) 1999 The Apache Software Foundation. All rights reserved. - Redistribution and use in source and binary forms, with or without modification, + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. @@ -1240,7 +1240,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. 5. Products derived from this software may not be called "Apache", nor may "Apache" appear in their name, without prior written permission of the Apache Software Foundation. - + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE @@ -1252,11 +1252,11 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. - + This software consists of voluntary contributions made by many individuals on behalf of the Apache Software Foundation and was originally created by - James Tauber <jtauber@jtauber.com>. For more information on the Apache + James Tauber <jtauber@jtauber.com>. For more information on the Apache Software Foundation, please see http://www.apache.org/ (http://www.apache.org/) @@ -1273,7 +1273,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -A) +A) @@ -1285,7 +1285,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -B) +B) @@ -1297,7 +1297,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -C) +C) @@ -1309,7 +1309,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -D) +D) @@ -1321,7 +1321,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -E) +E) @@ -1333,7 +1333,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -F) +F) @@ -1345,7 +1345,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -G) +G) @@ -1357,7 +1357,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -H) +H) @@ -1369,7 +1369,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -I) +I) @@ -1381,7 +1381,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -J) +J) @@ -1393,7 +1393,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -K) +K) diff --git a/docs/examples/fo/readme.fo b/docs/examples/fo/readme.fo index 3f9118e14..fd9e58c61 100644 --- a/docs/examples/fo/readme.fo +++ b/docs/examples/fo/readme.fo @@ -1,14 +1,14 @@ @@ -17,11 +17,11 @@ This files shows next to the trivial usage of fo:block and fo:inline examples of @@ -30,11 +30,11 @@ This files shows next to the trivial usage of fo:block and fo:inline examples of @@ -42,14 +42,14 @@ This files shows next to the trivial usage of fo:block and fo:inline examples of - - - - - - + + + + + + @@ -68,7 +68,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. FOP: An Open-Source XSL Formatter and Renderer -A) +A) What is FOP? FOP is the world's first print formatter driven by XSL formatting objects. It is a Java 1.1 application that reads a formatting object @@ -78,13 +78,13 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. - FOP is part of Apache's XML project. The homepage of FOP is + FOP is part of Apache's XML project. The homepage of FOP is http://xml.apache.org/fop - B) + B) Downloading FOP The latest release version is FOP 0.14 @@ -94,12 +94,12 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. Documentation can be downloaded here as HMTL file () - or + or as PDF file () . - To run FOP from the command line, see Running FOP. If you are interested in + To run FOP from the command line, see Running FOP. If you are interested in embedding FOP in a Java application of your own, see Embedding FOP. You can also download the source code v. 0.14 @@ -111,40 +111,40 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. C) + C) Running FOP - + 1) Prerequisites Following software must be installed: a) Java 1.1.x or later - For the fo-file viewer mode of FOP (see below) you must have the swing classes installed. - From Java 1.2 on (aka Java 2) they are part of the standard java distribution. + For the fo-file viewer mode of FOP (see below) you must have the swing classes installed. + From Java 1.2 on (aka Java 2) they are part of the standard java distribution. If you use Java 1.1.x you must seperately include the swing classes, which can be found at the Sun website (http://java.sun.com/products/jfc/#download-swing) - . + . - b) An XML parser which supports SAX and DOM like + b) An XML parser which supports SAX and DOM like Xerces-J (http://xml.apache.org/xerces-j/index.html) . - c) If you have to produce the flow objects files, which are the input for FOP, - you need a transformation utility to create this files from your xml files. - Normally this is an XSLT stylesheet processor like + c) If you have to produce the flow objects files, which are the input for FOP, + you need a transformation utility to create this files from your xml files. + Normally this is an XSLT stylesheet processor like XT (http://www.jclark.com/xml/xt.html) - + or XALAN (http://xml.apache.org/xalan/index.html) - . + . - - + + 2) Starting FOP as an standalone application There are three ways to run FOP from the command line. a) Batch processing formatting objects (fo) files: @@ -153,34 +153,34 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. java org.apache.fop.apps.CommandLine xml-file xsl-file pdf-file c) Previewing the fo-file: java org.apache.fop.apps.AWTCommandLine fo-file - Each method uses next to the fop classes other packages. The following describes + Each method uses next to the fop classes other packages. The following describes each method in detail. - + a) Method One - One is to first use an XSLT engine to produce the formatting object tree as an + One is to first use an XSLT engine to produce the formatting object tree as an XML document and then running the class org.apache.fop.apps.CommandLine with the - formatting object file name and PDF filename as arguments. You will need to include - FOP and your XML Parser in your classpath and so you might invoke + formatting object file name and PDF filename as arguments. You will need to include + FOP and your XML Parser in your classpath and so you might invoke java -cp fop_x_xx_x.jar;xerces.jar org.apache.fop.apps.CommandLine fo-file pdf-file - If your SAX Parser is other than Xerces, you will need to set the property - org.xml.sax.parser to the SAX Parser class to use. The following example shows - the command line, if you use XP, the XML parser from James Clark: + If your SAX Parser is other than Xerces, you will need to set the property + org.xml.sax.parser to the SAX Parser class to use. The following example shows + the command line, if you use XP, the XML parser from James Clark: java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver -cp fop_x_xx_x.jar;sax.jar;xt.jar;xp.jar;xerces.jar org.apache.fop.apps.AWTCommandLine formatting-tree-file pdf-file (You have to include xerces.jar or another xml parser which supports DOM in your classpath.) - - + + b) Method Two - Rather than performing transformation with an XSLT before invoking FOP, it is - possible, if you use XT as your XSLT engine, to just call FOP and have it call - XT for you. To do this, run the class org.apache.fop.apps.CommandLine with the - source XML file name, XSL file name and PDF file name as arguments. You will - need to include FOP, SAX, your SAX Parser and XT in your classpath and so you might - invoke + Rather than performing transformation with an XSLT before invoking FOP, it is + possible, if you use XT as your XSLT engine, to just call FOP and have it call + XT for you. To do this, run the class org.apache.fop.apps.CommandLine with the + source XML file name, XSL file name and PDF file name as arguments. You will + need to include FOP, SAX, your SAX Parser and XT in your classpath and so you might + invoke java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver -cp fop_x_xx_x.jar;xt.jar;xerces.jar @@ -188,26 +188,26 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. Again, if your SAX Parser is other than Xerces, you will need to set the property org.xml.sax.parser to the SAX Parser class to use. - - + + c) Method Three - If you already produced the FO file, you can preview the results of your - transformation without using any pdf viewer by invoking FOP with the viewer - application. You will need to include FOP and your XML Parser in your classpath + If you already produced the FO file, you can preview the results of your + transformation without using any pdf viewer by invoking FOP with the viewer + application. You will need to include FOP and your XML Parser in your classpath java -cp fop_x_xx_x.jar;xerces.jar org.apache.fop.apps.AWTCommandLine fo-file - The viewer uses the swing classes. - Note: If you are using java 2 or later (i.e. jdk 1.2. or later) you can put all - needed jar files into the subdirectory jdk1.2.x\jre\lib\ext (windows example). Then - FOP can be started without classpath: + The viewer uses the swing classes. + Note: If you are using java 2 or later (i.e. jdk 1.2. or later) you can put all + needed jar files into the subdirectory jdk1.2.x\jre\lib\ext (windows example). Then + FOP can be started without classpath: java org.apache.fop.apps.CommandLine fo-file pdf-file - - - - 3) Running FOP on MacOS - + + + + 3) Running FOP on MacOS + Ensure that you have a recent MRJ, and that you have downloaded and unpacked the XP and SAX distributions. The xp.jar and sax.jar files work as is on MacOS. @@ -223,25 +223,25 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. Once both are added (the FOP jarfile will already be in the list), click Run. A "stdout" window will appear and display FOP runtime messages. - - - + + + 4) Problems - If you have problems running FOP, please have a look at the + If you have problems running FOP, please have a look at the FOP FAQ (faq.html) . If you don't find a solution there, - you can ask for help on the list fop-dev@xml.apache.org. Maybe it's bug and - maybe somebody is already working on it. + you can ask for help on the list fop-dev@xml.apache.org. Maybe it's bug and + maybe somebody is already working on it. - - D) + + D) Embedding FOP - Instantiate org.apache.fop.apps.Driver. Once this class is + Instantiate org.apache.fop.apps.Driver. Once this class is instantiated, methods are called to set the Renderer to use, the (possibly multiple) ElementMapping(s) to use and the PrintWriter to use to output the results of the @@ -277,10 +277,10 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. E) + E) What's Implemented? Also see STATUS for what is being worked on. - + 1) Formatting Objects @@ -508,9 +508,9 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. - - + + 2) Properties @@ -842,20 +842,20 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. - - - F) + + + F) Limitations - Although FOP implements the above listed fo objects and properties, sometimes it does so - only in a limited way. + Although FOP implements the above listed fo objects and properties, sometimes it does so + only in a limited way. - + list-block - The fo working draft allows describes two ways to markup lists.The list-block must have as + The fo working draft allows describes two ways to markup lists.The list-block must have as children either: 1) pairs of fo:list-item-label and fo:list-item-body formatting objects, or 2) fo:list-item formatting objects. At the moment FOP only implements the second way. Therefore a list has a basic structure like this: @@ -865,55 +865,52 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. <fo:list-item-body><fo:block></fo:block></fo:list-item-body> </fo:list-item> </fo:list-block> - - + + Padding - Padding works in conjunction with indents and spaces. It is only implemented + Padding works in conjunction with indents and spaces. It is only implemented for blocks. At the moment padding can't be used to make extra space (indents+spaces must be used), but only to control how much the background-color extends beyond the content rectangle. - - - + + + Tables - There two limitations for tables: 1) FOP needs you to explicitly specify column widths + There two limitations for tables: 1) FOP needs you to explicitly specify column widths 2) Cells have to contain block-level FOs. They can't contain straight character data. - A working basic example of a table looks like this: + A working basic example of a table looks like this: <fo:table> - <fo:table-column column-width="150pt"/> - <fo:table-column column-width="150pt"/> - <fo:table-body font-size="10pt" font-family="sans-serif"> - <fo:table-row> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - <fo:table-cell> - <fo:block>text</fo:block> - </fo:table-cell> - </fo:table-row> - </fo:table-body> + <fo:table-column column-width="150pt"/> + <fo:table-column column-width="150pt"/> + <fo:table-body font-size="10pt" font-family="sans-serif"> + <fo:table-row> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + </fo:table-row> + <fo:table-row> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + <fo:table-cell> + <fo:block>text</fo:block> + </fo:table-cell> + </fo:table-row> + </fo:table-body> </fo:table> - - - @@ -921,7 +918,10 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. G) + + + + G) Bugs see STATUS file @@ -930,30 +930,30 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. H) + H) Compiling FOP - + 1. Prerequisites - + a) Java 1.1.x or later If you use Java 1.1.x you must also seperately include the swing classes, which can be found at the Sun website (http://java.sun.com/products/jfc/#download-swing) - . From Java 1.2 on (aka Java 2) they are part of the standard - distribution. + . From Java 1.2 on (aka Java 2) they are part of the standard + distribution. - - + + b) An XML parser - An XML parser which supports DOM like + An XML parser which supports DOM like Xerces-J (http://xml.apache.org/xerces-j/index.html) . - - + + c) XT from James Clark Some of the Java source code in FOP is generated from XML using XSLT. XT must be used to generate this code. @@ -969,50 +969,50 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. XT relies on an sax parser like XP (also J. Clark), which can be - downloaded at James + downloaded at James Clark's Website (http://www.jclark.com/xml/xp/index.html) - - + + d) make - Under windows it has been reported that the use of the cygnus solutions port - of the GNU utilities works. You can find it at + Under windows it has been reported that the use of the cygnus solutions port + of the GNU utilities works. You can find it at Cygnus Solutions (http://sourceware.cygnus.com/cygwin/) - - - + + + Compiling FOP on MacOS - + We strongly recommend the use of Codewarrior Java. This Readme will contain a link to more information in the near future. - - I) + + I) Getting involved - 1. Subscribe to fop-dev@xml.apache.org by sending an email + 1. Subscribe to fop-dev@xml.apache.org by sending an email to fop-dev-subscribe@xml.apache.org - 2. Read the archives to fop-dev to get an idea of the issues being + 2. Read the archives to fop-dev to get an idea of the issues being discussed. - 3. Subscribe to fop-cvs@xml.apache.org by sending an email to - fop-cvs-subscribe@xml.apache.org (it is important + 3. Subscribe to fop-cvs@xml.apache.org by sending an email to + fop-cvs-subscribe@xml.apache.org (it is important that you follow changes being made). 4. Try :-) to wrap your head around the XSL working draft. 5. Get CVS working on your system. 6. Ask, on fop-dev, any questions you have at all about the code, design, etc. - 7. When you feel comfortable modifying the code, send diffs to + 7. When you feel comfortable modifying the code, send diffs to fop-dev with your contributions. 8. Have fun! @@ -1021,7 +1021,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. J) + J) FOP Relevant Specifications @@ -1033,7 +1033,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. XML Recommendation (http://www.w3.org/TR/REC-xml) - + @@ -1135,13 +1135,13 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. K) + K) Licence ============================================================================ The Apache Software License, Version 1.1 ============================================================================ Copyright (C) 1999 The Apache Software Foundation. All rights reserved. - Redistribution and use in source and binary forms, with or without modification, + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. @@ -1168,7 +1168,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. 5. Products derived from this software may not be called "Apache", nor may "Apache" appear in their name, without prior written permission of the Apache Software Foundation. - + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE @@ -1180,11 +1180,11 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. - + This software consists of voluntary contributions made by many individuals on behalf of the Apache Software Foundation and was originally created by - James Tauber <jtauber@jtauber.com>. For more information on the Apache + James Tauber <jtauber@jtauber.com>. For more information on the Apache Software Foundation, please see http://www.apache.org/ (http://www.apache.org/) @@ -1201,7 +1201,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -A) +A) @@ -1213,7 +1213,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -B) +B) @@ -1225,7 +1225,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -C) +C) @@ -1237,7 +1237,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -D) +D) @@ -1249,7 +1249,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -E) +E) @@ -1261,7 +1261,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -F) +F) @@ -1273,7 +1273,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -G) +G) @@ -1285,7 +1285,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -H) +H) @@ -1297,7 +1297,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -I) +I) @@ -1309,7 +1309,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -J) +J) @@ -1321,7 +1321,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. -K) +K) diff --git a/docs/examples/fo/simple.fo b/docs/examples/fo/simple.fo index 27c4fd962..12cc43010 100644 --- a/docs/examples/fo/simple.fo +++ b/docs/examples/fo/simple.fo @@ -1,29 +1,29 @@ - - @@ -35,21 +35,21 @@ @@ -60,8 +60,8 @@ font-family and size, line-heigth etc. --> - - @@ -84,8 +84,8 @@ - diff --git a/docs/examples/fo/table.fo b/docs/examples/fo/table.fo index 3d7e268b1..0f5d7cf1c 100644 --- a/docs/examples/fo/table.fo +++ b/docs/examples/fo/table.fo @@ -5,12 +5,12 @@ - @@ -24,8 +24,8 @@ - - A simple table, 3 columns, 4 rows - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - + @@ -79,28 +79,28 @@ - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - - A table with borders + A table with borders - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - - + + @@ -132,29 +132,29 @@ - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - + - - A table with thick borders + A table with thick borders - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - - + + @@ -186,16 +186,16 @@ - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - + - @@ -204,11 +204,11 @@ - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - - + + @@ -240,15 +240,15 @@ - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - @@ -257,11 +257,11 @@ - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - - + + @@ -293,8 +293,8 @@ - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. @@ -328,27 +328,27 @@ - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - - 5 tables with borders + 5 tables with borders - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - + @@ -369,7 +369,7 @@ - + @@ -389,16 +389,16 @@ - this is normal text. this is normal text. this is normal text. - this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. + this is normal text. this is normal text. this is normal text. - A Contents table diff --git a/docs/examples/fo/tableunits.fo b/docs/examples/fo/tableunits.fo index 502e676fc..cfc672d67 100644 --- a/docs/examples/fo/tableunits.fo +++ b/docs/examples/fo/tableunits.fo @@ -5,12 +5,12 @@ - @@ -25,7 +25,7 @@ Table unit tests + border="thick solid red">Table unit tests @@ -45,7 +45,7 @@ - Some text to make this cell + Some text to make this cell deeper than the others to check out the aliignment properties. Centered Bottom aligned @@ -74,7 +74,7 @@ The next table has width=100% on the table no column widths specified on the tab - Some text to make this cell + Some text to make this cell deeper than the others to check out the aliignment properties. Centered Bottom aligned @@ -87,13 +87,13 @@ The next table has fixed column widths=13cm, ipd.optimum=12cm and ipd.max = 100% + inline-progression-dimension.maximum="100%"> - Some text to make this cell + Some text to make this cell deeper than the others to check out the aliignment properties. Centered Bottom aligned @@ -104,13 +104,13 @@ The next table has fixed column widths=16.5cm, ipd.optimum=14cm and ipd.max = 10 + inline-progression-dimension.maximum="100%"> - Some text to make this cell + Some text to make this cell deeper than the others to check out the aliignment properties. Centered Bottom aligned @@ -128,7 +128,7 @@ has column-width="from-parent('width') div 3". - Some text to make this cell + Some text to make this cell deeper than the others to check out the aliignment properties. Centered Bottom aligned @@ -142,13 +142,13 @@ middle column has a fixed width; the other two have default width. + inline-progression-dimension="15cm"> - Some text to make this cell + Some text to make this cell deeper than the others to check out the aliignment properties. Centered Bottom aligned @@ -166,7 +166,7 @@ The next table specifies neither width nor inline-progression-dimenion. - Some text to make this cell + Some text to make this cell deeper than the others to check out the aliignment properties. Centered Bottom aligned @@ -180,13 +180,13 @@ specifies a column width of 5cm on the middle column only.. + inline-progression-dimension.minimum="10cm"> - Some text to make this cell + Some text to make this cell deeper than the others to check out the aliignment properties. Centered Bottom aligned @@ -200,14 +200,14 @@ specifies a column width of 5cm on the middle column only.. + inline-progression-dimension.minimum="10cm" + inline-progression-dimension.maximum="17cm"> - Some text to make this cell + Some text to make this cell deeper than the others to check out the aliignment properties. Centered Bottom aligned diff --git a/docs/examples/fo/textdeko.fo b/docs/examples/fo/textdeko.fo index af9f0dfb0..01bbe4293 100644 --- a/docs/examples/fo/textdeko.fo +++ b/docs/examples/fo/textdeko.fo @@ -8,11 +8,11 @@ @@ -21,11 +21,11 @@ @@ -33,14 +33,14 @@ - - - - - - + + + + + + @@ -72,22 +72,22 @@ underline]]> - This is simple test of the text-decorationunderline. - This is simple test with a bigger font-size. - @@ -224,22 +224,22 @@ - This is simple test with a bigger font-size. - This is simple test with a monospaced font. - -- 2.39.5