You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by he...@apache.org on 2012/08/13 11:00:44 UTC
svn commit: r1372327 - in
/xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder: ./ image/
print/
Author: helder
Date: Mon Aug 13 09:00:43 2012
New Revision: 1372327
URL: http://svn.apache.org/viewvc?rev=1372327&view=rev
Log:
Improvement:
Fix Javadoc embedded tables layout
(layout wasn't being displayed as expected).
General:
Lowercase several HTML tags
(for making the output more XHTML friendly).
Modified:
xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/SVGAbstractTranscoder.java
xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/XMLAbstractTranscoder.java
xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/ImageTranscoder.java
xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/JPEGTranscoder.java
xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/PNGTranscoder.java
xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/TIFFTranscoder.java
xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/print/PrintTranscoder.java
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/SVGAbstractTranscoder.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/SVGAbstractTranscoder.java?rev=1372327&r1=1372326&r2=1372327&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/SVGAbstractTranscoder.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/SVGAbstractTranscoder.java Mon Aug 13 09:00:43 2012
@@ -398,169 +398,201 @@ public abstract class SVGAbstractTransco
/**
* The image width key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_WIDTH</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Float</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">The width of the top most svg element</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the width of the image to create.</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_WIDTH</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">float</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">The width of the topmost svg element</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the width of the image to create.</td>
+ * </tr>
+ * </table> */
public static final TranscodingHints.Key KEY_WIDTH
= new LengthKey();
/**
* The image height key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_HEIGHT</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Float</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">The height of the top most svg element</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the height of the image to create.</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_HEIGHT</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Float</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">The height of the topmost svg element</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the height of the image to create.</td>
+ * </tr>
+ * </table>
+ */
public static final TranscodingHints.Key KEY_HEIGHT
= new LengthKey();
/**
* The maximum width of the image key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_MAX_WIDTH</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Float</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">The width of the top most svg element</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the maximum width of the image to create.
- * The value will set the maximum width of the image even when
- * bigger width is specified in a document or set with KEY_WIDTH.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_MAX_WIDTH</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Float</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">The width of the topmost svg element</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the maximum width of the image to create.
+ * The value will set the maximum width of the image even when a
+ * bigger width is specified in a document or set with KEY_WIDTH.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_MAX_WIDTH
= new LengthKey();
/**
* The maximux height of the image key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_MAX_HEIGHT</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Float</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">The height of the top most svg element</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the maximum height of the image to create.
- * The value will set the maximum height of the image even when
- * bigger height is specified in a document or set with KEY_HEIGHT.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_MAX_HEIGHT</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Float</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">The height of the topmost svg element</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the maximum height of the image to create.
+ * The value will set the maximum height of the image even when
+ * bigger height is specified in a document or set with KEY_HEIGHT.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_MAX_HEIGHT
= new LengthKey();
/**
* The area of interest key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_AOI</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Rectangle2D</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">The document's size</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the area of interest to render. The
- * rectangle coordinates must be specified in pixels and in the
- * document coordinates system.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_AOI</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Rectangle2D</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">The document's size</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the area of interest to render. The
+ * rectangle coordinates must be specified in pixels and in the
+ * document coordinates system.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_AOI
= new Rectangle2DKey();
/**
* The language key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_LANGUAGE</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">"en"</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the preferred language of the document.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_LANGUAGE</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">"en"</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the preferred language of the document.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_LANGUAGE
= new StringKey();
/**
* The media key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_MEDIA</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">"screen"</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the media to use with CSS.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_MEDIA</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">"screen"</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the media to use with CSS.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_MEDIA
= new StringKey();
@@ -568,97 +600,114 @@ public abstract class SVGAbstractTransco
/**
* The default font-family key.
*
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_DEFAULT_FONT_FAMILY</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">"Arial, Helvetica, sans-serif"</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Controls the default
- * value used by the CSS engine for the font-family property
- * when that property is unspecified.Specify the media to use with CSS.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_DEFAULT_FONT_FAMILY</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">"Arial, Helvetica, sans-serif"</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Controls the default
+ * value used by the CSS engine for the font-family property
+ * when that property is unspecified.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_DEFAULT_FONT_FAMILY
= new StringKey();
/**
* The alternate stylesheet key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_ALTERNATE_STYLESHEET</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">null</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the alternate style sheet title.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_ALTERNATE_STYLESHEET</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">null</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the alternate style sheet title.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_ALTERNATE_STYLESHEET
= new StringKey();
/**
* The user stylesheet URI key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_USER_STYLESHEET_URI</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">null</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the user style sheet.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_USER_STYLESHEET_URI</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">null</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the user style sheet.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_USER_STYLESHEET_URI
= new StringKey();
/**
* The number of millimeters in each pixel key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_PIXEL_UNIT_TO_MILLIMETER</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Float</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">0.264583</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the size of a px CSS unit in millimeters.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_PIXEL_UNIT_TO_MILLIMETER</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Float</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">0.264583</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the size of a px CSS unit in millimeters.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_PIXEL_UNIT_TO_MILLIMETER
= new FloatKey();
@@ -668,73 +717,87 @@ public abstract class SVGAbstractTransco
* @deprecated As of Batik Version 1.5b3
* @see #KEY_PIXEL_UNIT_TO_MILLIMETER
*
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_PIXEL_TO_MM</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Float</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">0.264583</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the size of a px CSS unit in millimeters.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_PIXEL_TO_MM</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Float</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">0.264583</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the size of a px CSS unit in millimeters.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_PIXEL_TO_MM
= KEY_PIXEL_UNIT_TO_MILLIMETER;
/**
* The 'onload' execution key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_EXECUTE_ONLOAD</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Boolean</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">false</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify if scripts added on the 'onload' event
- * attribute must be invoked.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_EXECUTE_ONLOAD</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Boolean</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">false</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify if scripts added on the 'onload' event
+ * attribute must be invoked.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_EXECUTE_ONLOAD
= new BooleanKey();
/**
* The snapshot time key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_SNAPSHOT_TIME</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Float</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">0</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specifies the document time to seek to before
- * rasterization. Only applies if {@link #KEY_EXECUTE_ONLOAD} is
- * set to <code>true</code>.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_SNAPSHOT_TIME</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Float</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">0</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specifies the document time to seek to before
+ * rasterization. Only applies if {@link #KEY_EXECUTE_ONLOAD} is
+ * set to <code>true</code>.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_SNAPSHOT_TIME
= new FloatKey();
@@ -743,26 +806,30 @@ public abstract class SVGAbstractTransco
* The set of supported script languages (i.e., the set of possible
* values for the <script> tag's type attribute).
*
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_ALLOWED_SCRIPT_TYPES</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String (Comma separated values)</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">text/ecmascript, application/java-archive</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specifies the allowed values for the type attribute
- * in the <script> element. This is a comma separated list. The
- * special value '*' means that all script types are allowed.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_ALLOWED_SCRIPT_TYPES</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String (Comma separated values)</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">text/ecmascript, application/java-archive</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specifies the allowed values for the type attribute
+ * in the <script> element. This is a comma separated list. The
+ * special value '*' means that all script types are allowed.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_ALLOWED_SCRIPT_TYPES
= new StringKey();
@@ -781,27 +848,31 @@ public abstract class SVGAbstractTransco
* Controls whether or not scripts can only be loaded from the
* same location as the document which references them.
*
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_CONSTRAIN_SCRIPT_ORIGIN</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">boolean</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">true</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">When set to true, script elements referencing
- * files from a different origin (server) than the document containing
- * the script element will not be loaded. When set to true, script elements
- * may reference script files from any origin.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_CONSTRAIN_SCRIPT_ORIGIN</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Boolean</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">true</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">When set to true, script elements referencing
+ * files from a different origin (server) than the document containing
+ * the script element will not be loaded. When set to true, script elements
+ * may reference script files from any origin.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_CONSTRAIN_SCRIPT_ORIGIN
= new BooleanKey();
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/XMLAbstractTranscoder.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/XMLAbstractTranscoder.java?rev=1372327&r1=1372326&r2=1372327&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/XMLAbstractTranscoder.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/XMLAbstractTranscoder.java Mon Aug 13 09:00:43 2012
@@ -181,119 +181,142 @@ public abstract class XMLAbstractTransco
/**
* XML parser classname key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_XML_PARSER_CLASSNAME</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">null</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">Yes</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the XML parser classname to use.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_XML_PARSER_CLASSNAME</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">null</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">Yes</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the XML parser classname to use.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_XML_PARSER_CLASSNAME
= new StringKey();
/**
* The validation mode of the XML parser.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_XML_PARSER_VALIDATING</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Boolean</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">false</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the validation mode of the XML parser.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_XML_PARSER_VALIDATING</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Boolean</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">false</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the validation mode of the XML parser.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_XML_PARSER_VALIDATING
= new BooleanKey();
/**
* Document element key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_DOCUMENT_ELEMENT</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">null</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">Yes</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the qualified name of the document
- * type to be created.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_DOCUMENT_ELEMENT</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">null</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">Yes</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the qualified name of the document
+ * type to be created.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_DOCUMENT_ELEMENT
= new StringKey();
/**
* Document element namespace URI key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_DOCUMENT_ELEMENT_NAMESPACE_URI</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">null</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">Yes</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- *
- * <TD VALIGN="TOP">Specify the namespace URI of the document
- * element.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_DOCUMENT_ELEMENT_NAMESPACE_URI</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">null</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">Yes</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the namespace URI of the document
+ * element.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_DOCUMENT_ELEMENT_NAMESPACE_URI
= new StringKey();
/**
* DOM Implementation key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_DOM_IMPLEMENTATION</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">null</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">Yes</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- *
- * <TD VALIGN="TOP">Specify the DOM Implementation to use.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_DOM_IMPLEMENTATION</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">null</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">Yes</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the DOM Implementation to use.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_DOM_IMPLEMENTATION
= new DOMImplementationKey();
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/ImageTranscoder.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/ImageTranscoder.java?rev=1372327&r1=1372326&r2=1372327&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/ImageTranscoder.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/ImageTranscoder.java Mon Aug 13 09:00:43 2012
@@ -206,25 +206,30 @@ public abstract class ImageTranscoder ex
/**
* The image background paint key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_BACKGROUND_COLOR</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Paint</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">null</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the background color to use.
- * The color is required by opaque image formats and is used by
- * image formats that support alpha channel.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_BACKGROUND_COLOR</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Paint</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">null</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the background color to use.
+ * The color is required by opaque image formats and is used by
+ * image formats that support alpha channel.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_BACKGROUND_COLOR
= new PaintKey();
@@ -232,38 +237,41 @@ public abstract class ImageTranscoder ex
/**
* The forceTransparentWhite key.
*
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_FORCE_TRANSPARENT_WHITE</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Boolean</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">false</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
-
- * <TD VALIGN="TOP">It controls whether the encoder should force
- * the image's fully transparent pixels to be fully transparent
- * white instead of fully transparent black. This is usefull when
- * the encoded file is displayed in a browser which does not
- * support transparency correctly and lets the image display with
- * a white background instead of a black background. <br />
- *
- * However, note that the modified image will display differently
- * over a white background in a viewer that supports
- * transparency.<br/>
- *
- * Not all Transcoders use this key (in particular some formats
- * can't preserve the alpha channel at all in which case this
- * is not used.
- * </TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_FORCE_TRANSPARENT_WHITE</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Boolean</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">false</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">It controls whether the encoder should force
+ * the image's fully transparent pixels to be fully transparent
+ * white instead of fully transparent black. This is useful when
+ * the encoded file is displayed in a browser which does not
+ * support transparency correctly and lets the image display with
+ * a white background instead of a black background.
+ * <br />
+ * However, note that the modified image will display differently
+ * over a white background in a viewer that supports
+ * transparency.
+ * <br/>
+ * Not all Transcoders use this key (in particular some formats
+ * can't preserve the alpha channel at all in which case this
+ * is not used).</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_FORCE_TRANSPARENT_WHITE
= new BooleanKey();
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/JPEGTranscoder.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/JPEGTranscoder.java?rev=1372327&r1=1372326&r2=1372327&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/JPEGTranscoder.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/JPEGTranscoder.java Mon Aug 13 09:00:43 2012
@@ -106,23 +106,28 @@ public class JPEGTranscoder extends Imag
/**
* The encoder quality factor key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_QUALITY</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Float (between 0 and 1)</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">1 (no lossy)</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">Recommended</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the JPEG image encoding quality.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_QUALITY</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Float (between 0 and 1)</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">1 (no lossy)</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">Recommended</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the JPEG image encoding quality.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_QUALITY
= new QualityKey();
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/PNGTranscoder.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/PNGTranscoder.java?rev=1372327&r1=1372326&r2=1372327&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/PNGTranscoder.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/PNGTranscoder.java Mon Aug 13 09:00:43 2012
@@ -152,27 +152,31 @@ public class PNGTranscoder extends Image
/**
* The gamma correction key.
*
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_GAMMA</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Float</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">PNGEncodeParam.INTENT_PERCEPTUAL</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Controls the gamma correction of the png image.
- * A value of zero for gamma disables the generation
- * of a gamma chunk. No value causes an sRGB chunk
- * to be generated.</TD>
- * </TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_GAMMA</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Float</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">PNGEncodeParam.INTENT_PERCEPTUAL</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Controls the gamma correction of the PNG image.
+ * A value of zero for gamma disables the generation
+ * of a gamma chunk. No value causes an sRGB chunk
+ * to be generated.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_GAMMA
= new FloatKey();
@@ -189,26 +193,30 @@ public class PNGTranscoder extends Image
* The color indexed image key to specify number of colors used in
* palette.
*
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_INDEXED</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Integer</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">none/true color image</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Turns on the reduction of the image to index
- * colors by specifying color bit depth, 1,2,4,8. The resultant
- * PNG will be an indexed PNG with color bit depth specified.</TD>
- * </TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_INDEXED</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Integer</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">none/true color image</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Turns on the reduction of the image to index
+ * colors by specifying color bit depth, 1, 2, 4 or 8. The resultant
+ * PNG will be an indexed PNG with color bit depth specified.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_INDEXED
= new IntegerKey();
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/TIFFTranscoder.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/TIFFTranscoder.java?rev=1372327&r1=1372326&r2=1372327&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/TIFFTranscoder.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/image/TIFFTranscoder.java Mon Aug 13 09:00:43 2012
@@ -145,55 +145,65 @@ public class TIFFTranscoder extends Imag
/**
* The forceTransparentWhite key.
*
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_FORCE_TRANSPARENT_WHITE</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Boolean</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">false</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">It controls whether the encoder should
- * force the image's fully transparent pixels to be fully transparent
- * white instead of fully transparent black. This is usefull when the
- * encoded TIFF is displayed in a viewer which does not support TIFF
- * transparency and lets the image display with a white background instead
- * of a black background. <br />
- *
- * However, note that the modified image will display differently
- * over a white background in a viewer that supports
- * transparency.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_FORCE_TRANSPARENT_WHITE</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Boolean</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">false</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">It controls whether the encoder should
+ * force the image's fully transparent pixels to be fully transparent
+ * white instead of fully transparent black. This is useful when the
+ * encoded TIFF is displayed in a viewer which does not support TIFF
+ * transparency and lets the image display with a white background instead
+ * of a black background.
+ * <br />
+ * However, note that the modified image will display differently
+ * over a white background in a viewer that supports
+ * transparency.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_FORCE_TRANSPARENT_WHITE
= ImageTranscoder.KEY_FORCE_TRANSPARENT_WHITE;
/**
* The compression method for the image.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_COMPRESSION_METHOD</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String ("none", "packbits", "jpeg" etc.)</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">"none" (no compression)</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">Recommended</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specify the compression method used to encode the image.</TD></TR>
- * </TABLE>
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_COMPRESSION_METHOD</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String ("none", "packbits", "jpeg" etc.)</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">"none" (no compression)</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">Recommended</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specify the compression method used to encode the image.</td>
+ * </tr>
+ * </table>
*/
public static final TranscodingHints.Key KEY_COMPRESSION_METHOD
= new StringKey();
Modified: xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/print/PrintTranscoder.java
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/print/PrintTranscoder.java?rev=1372327&r1=1372326&r2=1372327&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/print/PrintTranscoder.java (original)
+++ xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/print/PrintTranscoder.java Mon Aug 13 09:00:43 2012
@@ -404,230 +404,284 @@ public class PrintTranscoder extends SVG
/**
* The showPageDialog key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_SHOW_PAGE_DIALOG</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Boolean</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">false</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specifies whether or not the transcoder
- * should pop up a dialog box for selecting
- * the page format.</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_SHOW_PAGE_DIALOG</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Boolean</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">false</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specifies whether or not the transcoder
+ * should pop up a dialog box for selecting
+ * the page format.</td>
+ * </tr>
+ * </table>
+ */
public static final TranscodingHints.Key KEY_SHOW_PAGE_DIALOG
= new BooleanKey();
/**
* The showPrinterDialog key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_SHOW_PAGE_DIALOG</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Boolean</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">false</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specifies whether or not the transcoder
- * should pop up a dialog box for selecting
- * the printer. If the dialog box is not
- * shown, the transcoder will use the default
- * printer.</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_SHOW_PAGE_DIALOG</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Boolean</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">false</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specifies whether or not the transcoder
+ * should pop up a dialog box for selecting
+ * the printer. If the dialog box is not
+ * shown, the transcoder will use the default
+ * printer.</td>
+ * </tr>
+ * </table>
+ */
public static final TranscodingHints.Key KEY_SHOW_PRINTER_DIALOG
= new BooleanKey();
/**
* The pageWidth key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_PAGE_WIDTH</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Length</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">None</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">The width of the print page</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_PAGE_WIDTH</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Length</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">None</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">The width of the print page</td>
+ * </tr>
+ * </table>
+ */
public static final TranscodingHints.Key KEY_PAGE_WIDTH
= new LengthKey();
/**
* The pageHeight key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_PAGE_HEIGHT</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Length</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">None</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">The height of the print page</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_PAGE_HEIGHT</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Length</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">none</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">The height of the print page</td>
+ * </tr>
+ * </table>
+ */
public static final TranscodingHints.Key KEY_PAGE_HEIGHT
= new LengthKey();
/**
* The marginTop key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_MARGIN_TOP</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Length</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">None</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">The print page top margin</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_MARGIN_TOP</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Length</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">None</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">The print page top margin</td>
+ * </tr>
+ * </table> */
public static final TranscodingHints.Key KEY_MARGIN_TOP
= new LengthKey();
/**
* The marginRight key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_MARGIN_RIGHT</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Length</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">None</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">The print page right margin</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_MARGIN_RIGHT</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Length</TD>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">None</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">The print page right margin</td>
+ * </tr>
+ * </table>
+ */
public static final TranscodingHints.Key KEY_MARGIN_RIGHT
= new LengthKey();
/**
* The marginBottom key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_MARGIN_BOTTOM</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Length</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">None</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">The print page bottom margin</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_MARGIN_BOTTOM</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Length</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">None</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">The print page bottom margin</td>
+ * </tr>
+ * </table>
+ */
public static final TranscodingHints.Key KEY_MARGIN_BOTTOM
= new LengthKey();
/**
* The marginLeft key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_MARGIN_LEFT</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Length</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">None</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">The print page left margin</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_MARGIN_LEFT</td></tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Length</td></tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">None</td></tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td></tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">The print page left margin</td></tr>
+ * </table>
+ */
public static final TranscodingHints.Key KEY_MARGIN_LEFT
= new LengthKey();
/**
* The pageOrientation key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_PAGE_ORIENTATION</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">String</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">VALUE_PAGE_ORIENTATION_PORTRAIT</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">The print page's orientation</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_PAGE_ORIENTATION</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">String</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">VALUE_PAGE_ORIENTATION_PORTRAIT</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">The print page's orientation</td>
+ * </tr>
+ * </table>
+ */
public static final TranscodingHints.Key KEY_PAGE_ORIENTATION
= new StringKey();
/**
* The scaleToPage key.
- * <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="1">
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Key: </TH>
- * <TD VALIGN="TOP">KEY_SCALE_TO_PAGE</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Value: </TH>
- * <TD VALIGN="TOP">Boolean</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Default: </TH>
- * <TD VALIGN="TOP">true</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Required: </TH>
- * <TD VALIGN="TOP">No</TD></TR>
- * <TR>
- * <TH VALIGN="TOP" ALIGN="RIGHT"><P ALIGN="RIGHT">Description: </TH>
- * <TD VALIGN="TOP">Specifies whether or not the SVG images are scaled to
- * fit into the printed page</TD></TR>
- * </TABLE> */
+ * <table border="0" cellspacing="0" cellpadding="1">
+ * <tr>
+ * <th valign="top" align="right">Key:</th>
+ * <td valign="top">KEY_SCALE_TO_PAGE</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Value:</th>
+ * <td valign="top">Boolean</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Default:</th>
+ * <td valign="top">true</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Required:</th>
+ * <td valign="top">No</td>
+ * </tr>
+ * <tr>
+ * <th valign="top" align="right">Description:</th>
+ * <td valign="top">Specifies whether or not the SVG images are scaled to
+ * fit into the printed page</td>
+ * </tr>
+ * </table>
+ */
public static final TranscodingHints.Key KEY_SCALE_TO_PAGE
= new BooleanKey();