Package org.apache.fop.render.rtf
Class TableAttributesConverter
- java.lang.Object
-
- org.apache.fop.render.rtf.TableAttributesConverter
-
public final class TableAttributesConverter extends java.lang.ObjectProvides methods to convert the attributes to RtfAttributes.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTableAttributesConverter()Constructor is private, because it's just a utility class.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static RtfAttributesconvertCellAttributes(TableCell fobj)Converts cell attributes to rtf attributes.(package private) static RtfAttributesconvertRowAttributes(TableRow fobj, RtfAttributes rtfatts)Converts table and row attributes to rtf attributes.(package private) static RtfAttributesconvertTableAttributes(Table fobj)Converts table-only attributes to rtf attributes.(package private) static RtfAttributesconvertTablePartAttributes(TablePart part)Converts table-only attributes to rtf attributes.
-
-
-
Method Detail
-
convertTableAttributes
static RtfAttributes convertTableAttributes(Table fobj) throws FOPException
Converts table-only attributes to rtf attributes.- Parameters:
fobj- the table for which the attributes are converted- Returns:
- All valid rtf attributes together
- Throws:
ConverterException- On convertion errorFOPException
-
convertTablePartAttributes
static RtfAttributes convertTablePartAttributes(TablePart part) throws FOPException
Converts table-only attributes to rtf attributes.- Parameters:
part- the table part for which the attributes are converted- Returns:
- All valid rtf attributes together
- Throws:
ConverterException- On convertion errorFOPException
-
convertCellAttributes
static RtfAttributes convertCellAttributes(TableCell fobj) throws FOPException
Converts cell attributes to rtf attributes.- Parameters:
fobj- FObj whose properties are to be converted- Returns:
- All valid rtf attributes together
- Throws:
ConverterException- On conversion errorFOPException
-
convertRowAttributes
static RtfAttributes convertRowAttributes(TableRow fobj, RtfAttributes rtfatts) throws FOPException
Converts table and row attributes to rtf attributes.- Parameters:
fobj- FObj to be converted- Returns:
- All valid rtf attributes together
- Throws:
ConverterException- On converion errorFOPException
-
-