]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Javadoc fixes.
authorJeremias Maerki <jeremias@apache.org>
Thu, 27 Oct 2005 06:51:15 +0000 (06:51 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 27 Oct 2005 06:51:15 +0000 (06:51 +0000)
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

build.xml
src/java/org/apache/fop/apps/Fop.java
src/java/org/apache/fop/overview.html
src/java/org/apache/fop/render/pdf/PDFRenderer.java
src/java/org/apache/fop/render/ps/PSRenderer.java

index b234dd1f31e043512d00e907d13cc15ecdbd5685..a3dc0f84b436444239bc781affc6b0f20fcaa42b 100644 (file)
--- 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.
       <tag name="todo" scope="all" description="To do:"/>
       <group title="Control and Startup">
         <package name="org.apache.fop.apps"/>
+        <package name="org.apache.fop.cli"/>
         <package name="org.apache.fop.configuration"/>
         <package name="org.apache.fop.messaging"/>
         <package name="org.apache.fop.servlet"/>
index c2befd8c77050c0faff9d6082792b13264a4dcaa..6c972185da6ec6a5041f5eb3231fd15d69c6c886 100644 (file)
@@ -32,7 +32,7 @@ import org.apache.fop.fo.FOTreeBuilder;
  * Primary class that activates the FOP process for embedded usage.
  * <P>
  * 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 <a href="http://xmlgraphics.apache.org/fop/embedding.html">embedding page</a>
  * for samples (these are also available within the distribution in 
  * FOP_DIR\examples\embedding)
  * <P>
index 5e22c32358a4a44e2a97886255b3fa5a31411609..0b1b58ce497443df756eb39739bdf4c323a0b6cd 100644 (file)
@@ -1,10 +1,10 @@
 <HTML>
-<TITLE>FOP Overview</TITLE>
+<TITLE>Apache FOP Overview</TITLE>
 <BODY>
-<P>FOP formats and renders XSL-FO input into a variety of output formats,
+<P>Apache FOP formats and renders XSL-FO input into a variety of output formats,
 including PDF and PostScript.</P>
 
 <P>To more information, including general documentation, go to the <A
-href="http://xml.apache.org/fop" target="fop-home">FOP Home Page</A>.</P>
+href="http://xmlgraphics.apache.org/fop/" target="fop-home">Apache FOP Home Page</A>.</P>
 </BODY>
 </HTML>
\ No newline at end of file
index ed129317b85c8ec69bb453fe2fd1a4bf6658b9a5..a2c7485c1af4b429b0d3fa6e7f1ed04291e1bbbb 100644 (file)
@@ -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
index 98599eeb42a401dc8345363f09a7f8aaf2e0e24f..5d72b8ca05c6b161c6b96048dc20145775d7c63d 100644 (file)
@@ -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,