From e8d7053fbfcdc3beddedc1fc4ccddf9152761dc9 Mon Sep 17 00:00:00 2001 From: fotis Date: Mon, 8 Jan 2001 20:14:15 +0000 Subject: [PATCH] adds to script creation of html documentation git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193955 13f79535-47bb-0310-9956-ffa450edef68 --- docs/xml-docs/fop/implemented.xml | 27 +++++++++++++++++++-------- docs/xml-docs/fop/limitations.xml | 7 +++++++ docs/xml-docs/fop/readme.xml | 4 ++-- docs/xml-docs/makedoc.bat | 10 ++++++++-- docs/xml-docs/makedoc.sh | 6 ++++-- 5 files changed, 40 insertions(+), 14 deletions(-) diff --git a/docs/xml-docs/fop/implemented.xml b/docs/xml-docs/fop/implemented.xml index c6aa8af75..86b0dd8aa 100644 --- a/docs/xml-docs/fop/implemented.xml +++ b/docs/xml-docs/fop/implemented.xml @@ -43,6 +43,7 @@ -

Not implemented: bidi-override, character, initial-property-set, inline-container

+

Not implemented: bidi-override, initial-property-set, inline-container

-

Not implemented: table-and-caption, table-caption, table-header, table-footer

+

Not implemented: table-and-caption, table-caption

@@ -130,7 +133,10 @@
  • bottom
  • break-after
  • break-before
  • +
  • character
  • color
  • +
  • column-count
  • +
  • column-gap
  • column-width
  • country
  • end-indent
  • @@ -152,7 +158,7 @@
  • keep-with-next (broken)
  • language
  • leader-alignment (not value "page")
  • -
  • leader-length (no percentage values)
  • +
  • leader-length (see limitations)
  • leader-pattern (not value "use-content")
  • leader-pattern-width
  • left
  • @@ -163,6 +169,7 @@
  • margin-top (only on pages and regions)
  • master-name
  • maximum-repeats
  • +
  • number-columns-spanned
  • odd-or-even
  • padding (only one value allowed)
  • padding-after
  • @@ -182,11 +189,15 @@
  • ref-id
  • region-name
  • right
  • +
  • rule-style
  • rule-thickness
  • space-after.optimum
  • space-before.optimum
  • +
  • span
  • src
  • start-indent
  • +
  • table-omit-footer-at-break
  • +
  • table-omit-header-at-break
  • text-align
  • text-align-last
  • textdecoration (only value "underline")
  • diff --git a/docs/xml-docs/fop/limitations.xml b/docs/xml-docs/fop/limitations.xml index d293c824d..e56c1a5e4 100644 --- a/docs/xml-docs/fop/limitations.xml +++ b/docs/xml-docs/fop/limitations.xml @@ -9,6 +9,13 @@ in features, sometimes it does so only in a limited way.

    + +

    Only the property leader-length.optimum is used, so for all purposes you can use + "leader-length" instead. leader-length.minimum/maximum should be honored + for line-justification, but this does not happen. +

    +
    +

    Only works for table of contents without any problems. The case where the page number doesn't fit on a line isn't handled, and any text on the same line and after the page-number might not diff --git a/docs/xml-docs/fop/readme.xml b/docs/xml-docs/fop/readme.xml index add186b17..c95748d0b 100644 --- a/docs/xml-docs/fop/readme.xml +++ b/docs/xml-docs/fop/readme.xml @@ -20,7 +20,7 @@ like XT or Xalan) or can be passed in memory as a DOM Document or (in the case of XT) SAX events.

    -

    The latest version of Fop is 0.15 and it supports the xsl:fo candidate release. +

    The latest version of Fop is 0.16 and it supports the xsl:fo candidate release. You can download Fop including a precompiled version, the source code and many example files to get you started. Pointers to introductions into xsl:fo can be found in the @@ -41,7 +41,7 @@

    The goals of the Apache XML FOP Project are to deliver an XSL FO->PDF formatter that is compliant to at least the Basic - conformance level described in the 27 March 2000 XSL WD, and that complies with the 11 March 1999 Portable Document + conformance level described in the W3C Candidate Recommendation 21 November 2000, and that complies with the 11 March 1999 Portable Document Format Specification (Version 1.3) from Adobe Systems.

    diff --git a/docs/xml-docs/makedoc.bat b/docs/xml-docs/makedoc.bat index 5f370ddec..eac7a1ac3 100755 --- a/docs/xml-docs/makedoc.bat +++ b/docs/xml-docs/makedoc.bat @@ -1,16 +1,20 @@ +REM creates pdf and html documentation @echo off -echo Building Fop documentation (pdf) +echo Building Fop documentation (pdf,html) echo ---------------- if "%JAVA_HOME%" == "" goto error -set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;..\..\lib\ant.jar;..\..\lib\xml.jar;..\..\lib\w3c.jar;..\..\lib;..\..\build\fop.jar +set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;..\..\lib\ant.jar;..\..\lib\xml.jar;..\..\lib\w3c.jar;..\..\lib;..\..\build\fop.jar;..\..\lib\stylebook.jar set ANT_HOME=.\lib %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5 + +%JAVA_HOME%\bin\java.exe -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.stylebook.StyleBook "targetDirectory=../html-docs/" fop.xml style/ + goto end :error @@ -23,3 +27,5 @@ echo location of the Java Virtual Machine you want to use. rem set LOCALCLASSPATH= + + diff --git a/docs/xml-docs/makedoc.sh b/docs/xml-docs/makedoc.sh index 340b0eb44..92b813171 100755 --- a/docs/xml-docs/makedoc.sh +++ b/docs/xml-docs/makedoc.sh @@ -1,7 +1,7 @@ #!/bin/sh #This file should be executable echo -echo "Converting Fop's xml documentation into a pdf file" +echo "Converting Fop's xml documentation into a pdf file, creating html docs" echo "----------------" echo @@ -13,7 +13,7 @@ if [ "$JAVA_HOME" = "" ] ; then exit 1 fi -LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:../../lib/ant.jar:../../lib/xml.jar:../../lib/w3c.jar:../../lib:../../build/fop.jar +LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:../../lib/ant.jar:../../lib/xml.jar:../../lib/w3c.jar:../../lib:../../build/fop.jar:../../lib\stylebook.jar ANT_HOME=../../lib echo Building with classpath $CLASSPATH:$LOCALCLASSPATH @@ -23,3 +23,5 @@ echo Starting Ant... echo $JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH:$CLASSPATH" org.apache.tools.ant.Main $* + +$JAVA_HOME/bin/java -classpath "$LOCALCLASSPATH:$CLASSPATH" org.apache.stylebook.StyleBook "targetDirectory=../html-docs/" fop.xml style/ -- 2.39.5