From: Jeremias Maerki Date: Thu, 27 Oct 2005 06:51:15 +0000 (+0000) Subject: Javadoc fixes. X-Git-Tag: fop-0_90-alpha1~106 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=df9bf92c17ece2e070acdfc170db06c9f185eaf1;p=xmlgraphics-fop.git Javadoc fixes. Removed unused code in PDF and PS renderers (fixes javadoc warning). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328814 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build.xml b/build.xml index b234dd1f3..a3dc0f84b 100644 --- a/build.xml +++ b/build.xml @@ -776,8 +776,8 @@ list of possible build targets. destdir="${build.javadocs.dir}" author="true" version="true" - windowtitle="${NAME} API" - doctitle="Formatting Objects Processor (FOP)" + windowtitle="${Name} API" + doctitle="Apache Formatting Objects Processor (FOP)" bottom="Copyright ${year} The Apache Software Foundation. All Rights Reserved." overview="${src.dir}/java/org/apache/fop/overview.html" use="true" @@ -797,6 +797,7 @@ list of possible build targets. + diff --git a/src/java/org/apache/fop/apps/Fop.java b/src/java/org/apache/fop/apps/Fop.java index c2befd8c7..6c972185d 100644 --- a/src/java/org/apache/fop/apps/Fop.java +++ b/src/java/org/apache/fop/apps/Fop.java @@ -32,7 +32,7 @@ import org.apache.fop.fo.FOTreeBuilder; * Primary class that activates the FOP process for embedded usage. *

* JAXP is the standard method of embedding FOP in Java programs. - * Please check our embedding page (http://xml.apache.org/fop/embedding.html) + * Please check our embedding page * for samples (these are also available within the distribution in * FOP_DIR\examples\embedding) *

diff --git a/src/java/org/apache/fop/overview.html b/src/java/org/apache/fop/overview.html index 5e22c3235..0b1b58ce4 100644 --- a/src/java/org/apache/fop/overview.html +++ b/src/java/org/apache/fop/overview.html @@ -1,10 +1,10 @@ -FOP Overview +Apache FOP Overview -

FOP formats and renders XSL-FO input into a variety of output formats, +

Apache FOP formats and renders XSL-FO input into a variety of output formats, including PDF and PostScript.

To more information, including general documentation, go to the FOP Home Page.

+href="http://xmlgraphics.apache.org/fop/" target="fop-home">Apache FOP Home Page.

\ No newline at end of file diff --git a/src/java/org/apache/fop/render/pdf/PDFRenderer.java b/src/java/org/apache/fop/render/pdf/PDFRenderer.java index ed129317b..a2c7485c1 100644 --- a/src/java/org/apache/fop/render/pdf/PDFRenderer.java +++ b/src/java/org/apache/fop/render/pdf/PDFRenderer.java @@ -678,22 +678,6 @@ public class PDFRenderer extends AbstractPathOrientedRenderer { } } - /** @see org.apache.fop.render.AbstractPathOrientedRenderer#updateLineStyle(int) */ - private void updateLineStyle(int style) { - switch (style) { - case Constants.EN_DASHED: - currentStream.add("[3] 0 d\n"); - break; - case Constants.EN_DOTTED: - currentStream.add("[1 7] 0 d\n"); - break; - default: - // solid - currentStream.add("[] 0 d\n"); - break; - } - } - /** * Clip a rectangular area. * write a clipping operation given coordinates in the current diff --git a/src/java/org/apache/fop/render/ps/PSRenderer.java b/src/java/org/apache/fop/render/ps/PSRenderer.java index 98599eeb4..5d72b8ca0 100644 --- a/src/java/org/apache/fop/render/ps/PSRenderer.java +++ b/src/java/org/apache/fop/render/ps/PSRenderer.java @@ -367,26 +367,6 @@ public class PSRenderer extends AbstractPathOrientedRenderer { gen.useRGBColor(toColor(col)); } - /** @see org.apache.fop.render.AbstractPathOrientedRenderer#updateLineStyle(int) */ - protected void updateLineStyle(int style) { - try { - switch (style) { - case Constants.EN_DASHED: - gen.useDash("[3] 0"); - break; - case Constants.EN_DOTTED: - gen.useDash("[1 7] 0"); - break; - default: - // solid - gen.useDash("[] 0"); - break; - } - } catch (IOException ioe) { - handleIOTrouble(ioe); - } - } - /** @see org.apache.fop.render.AbstractPathOrientedRenderer#drawBackAndBorders( * Area, float, float, float, float) */ protected void drawBackAndBorders(Area area, float startx, float starty,