|
|||||||||
| Home >> All >> org >> jfor >> jfor >> [ converter overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jfor.jfor.converter
Class TableAttributesConverter

java.lang.Objectorg.jfor.jfor.converter.TableAttributesConverter
- public class TableAttributesConverter
- extends java.lang.Object
Provides methods to convert the attributes (padding) to RtfAttributes.
| Constructor Summary | |
private |
TableAttributesConverter()
Constructor. |
| Method Summary | |
private static void |
addBottomPadding(org.jfor.jfor.rtflib.rtfdoc.RtfAttributes result,
int twips,
boolean cell)
Adds the bottom padding attribute to the rtf attributes. |
private static void |
addLeftPadding(org.jfor.jfor.rtflib.rtfdoc.RtfAttributes result,
int twips,
boolean cell)
Adds the left padding attribute to the rtf attributes. |
private static void |
addRightPadding(org.jfor.jfor.rtflib.rtfdoc.RtfAttributes result,
int twips,
boolean cell)
Adds the right padding attribute to the rtf attributes. |
private static void |
addTopPadding(org.jfor.jfor.rtflib.rtfdoc.RtfAttributes result,
int twips,
boolean cell)
Adds the top padding attribute to the rtf attributes. |
private static org.jfor.jfor.rtflib.rtfdoc.RtfAttributes |
convertAttributes(org.xml.sax.Attributes attrs,
org.jfor.jfor.rtflib.rtfdoc.RtfAttributes defaultAttributes,
boolean cell)
Converts xsl:fo attributes to RTF table/row/cell attributes. |
(package private) static org.jfor.jfor.rtflib.rtfdoc.RtfAttributes |
convertCellAttributes(org.xml.sax.Attributes attrs,
org.jfor.jfor.rtflib.rtfdoc.RtfAttributes defaultAttributes)
Converts cell attributes to rtf attributes. |
(package private) static org.jfor.jfor.rtflib.rtfdoc.RtfAttributes |
convertRowAttributes(org.xml.sax.Attributes attrs,
org.jfor.jfor.rtflib.rtfdoc.RtfAttributes defaultAttributes)
Converts table and row attributes to rtf attributes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
TableAttributesConverter
private TableAttributesConverter()
- Constructor.
| Method Detail |
convertCellAttributes
static org.jfor.jfor.rtflib.rtfdoc.RtfAttributes convertCellAttributes(org.xml.sax.Attributes attrs, org.jfor.jfor.rtflib.rtfdoc.RtfAttributes defaultAttributes) throws ConverterException
- Converts cell attributes to rtf attributes.
convertRowAttributes
static org.jfor.jfor.rtflib.rtfdoc.RtfAttributes convertRowAttributes(org.xml.sax.Attributes attrs, org.jfor.jfor.rtflib.rtfdoc.RtfAttributes defaultAttributes) throws ConverterException
- Converts table and row attributes to rtf attributes.
convertAttributes
private static org.jfor.jfor.rtflib.rtfdoc.RtfAttributes convertAttributes(org.xml.sax.Attributes attrs, org.jfor.jfor.rtflib.rtfdoc.RtfAttributes defaultAttributes, boolean cell) throws ConverterException
- Converts xsl:fo attributes to RTF table/row/cell attributes.
addTopPadding
private static void addTopPadding(org.jfor.jfor.rtflib.rtfdoc.RtfAttributes result, int twips, boolean cell)
- Adds the top padding attribute to the rtf attributes.
addLeftPadding
private static void addLeftPadding(org.jfor.jfor.rtflib.rtfdoc.RtfAttributes result, int twips, boolean cell)
- Adds the left padding attribute to the rtf attributes.
addBottomPadding
private static void addBottomPadding(org.jfor.jfor.rtflib.rtfdoc.RtfAttributes result, int twips, boolean cell)
- Adds the bottom padding attribute to the rtf attributes.
addRightPadding
private static void addRightPadding(org.jfor.jfor.rtflib.rtfdoc.RtfAttributes result, int twips, boolean cell)
- Adds the right padding attribute to the rtf attributes.
|
|||||||||
| Home >> All >> org >> jfor >> jfor >> [ converter overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jfor.jfor.converter.TableAttributesConverter