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-ffa450edef68pull/34/head
destdir="${build.javadocs.dir}" | destdir="${build.javadocs.dir}" | ||||
author="true" | author="true" | ||||
version="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." | bottom="Copyright ${year} The Apache Software Foundation. All Rights Reserved." | ||||
overview="${src.dir}/java/org/apache/fop/overview.html" | overview="${src.dir}/java/org/apache/fop/overview.html" | ||||
use="true" | use="true" | ||||
<tag name="todo" scope="all" description="To do:"/> | <tag name="todo" scope="all" description="To do:"/> | ||||
<group title="Control and Startup"> | <group title="Control and Startup"> | ||||
<package name="org.apache.fop.apps"/> | <package name="org.apache.fop.apps"/> | ||||
<package name="org.apache.fop.cli"/> | |||||
<package name="org.apache.fop.configuration"/> | <package name="org.apache.fop.configuration"/> | ||||
<package name="org.apache.fop.messaging"/> | <package name="org.apache.fop.messaging"/> | ||||
<package name="org.apache.fop.servlet"/> | <package name="org.apache.fop.servlet"/> |
* Primary class that activates the FOP process for embedded usage. | * Primary class that activates the FOP process for embedded usage. | ||||
* <P> | * <P> | ||||
* JAXP is the standard method of embedding FOP in Java programs. | * 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 | * for samples (these are also available within the distribution in | ||||
* FOP_DIR\examples\embedding) | * FOP_DIR\examples\embedding) | ||||
* <P> | * <P> |
<HTML> | <HTML> | ||||
<TITLE>FOP Overview</TITLE> | |||||
<TITLE>Apache FOP Overview</TITLE> | |||||
<BODY> | <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> | including PDF and PostScript.</P> | ||||
<P>To more information, including general documentation, go to the <A | <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> | </BODY> | ||||
</HTML> | </HTML> |
} | } | ||||
} | } | ||||
/** @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. | * Clip a rectangular area. | ||||
* write a clipping operation given coordinates in the current | * write a clipping operation given coordinates in the current |
gen.useRGBColor(toColor(col)); | 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( | /** @see org.apache.fop.render.AbstractPathOrientedRenderer#drawBackAndBorders( | ||||
* Area, float, float, float, float) */ | * Area, float, float, float, float) */ | ||||
protected void drawBackAndBorders(Area area, float startx, float starty, | protected void drawBackAndBorders(Area area, float startx, float starty, |