Browse Source

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
pull/34/head
Jeremias Maerki 18 years ago
parent
commit
315296cb82

+ 3
- 2
build.xml View File

@@ -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"/>

+ 1
- 1
src/java/org/apache/fop/apps/Fop.java View 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>

+ 3
- 3
src/java/org/apache/fop/overview.html View 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>

+ 0
- 16
src/java/org/apache/fop/render/pdf/PDFRenderer.java View 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

+ 0
- 20
src/java/org/apache/fop/render/ps/PSRenderer.java View 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,

Loading…
Cancel
Save