aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-10-27 06:51:15 +0000
committerJeremias Maerki <jeremias@apache.org>2005-10-27 06:51:15 +0000
commitdf9bf92c17ece2e070acdfc170db06c9f185eaf1 (patch)
tree6fb2c03b119d9fd899a3293ea79bfd1f504facab
parentbeb51aa385f0b9e0c5e02a4f0eae267a0958eff4 (diff)
downloadxmlgraphics-fop-df9bf92c17ece2e070acdfc170db06c9f185eaf1.tar.gz
xmlgraphics-fop-df9bf92c17ece2e070acdfc170db06c9f185eaf1.zip
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
-rw-r--r--build.xml5
-rw-r--r--src/java/org/apache/fop/apps/Fop.java2
-rw-r--r--src/java/org/apache/fop/overview.html6
-rw-r--r--src/java/org/apache/fop/render/pdf/PDFRenderer.java16
-rw-r--r--src/java/org/apache/fop/render/ps/PSRenderer.java20
5 files changed, 7 insertions, 42 deletions
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.
<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"/>
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.
* <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>
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 @@
<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
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,