Class TableAttributesConverter

java.lang.Object
org.apache.fop.render.rtf.TableAttributesConverter

public final class TableAttributesConverter extends Object
Provides methods to convert the attributes to RtfAttributes.
  • Constructor Details

    • TableAttributesConverter

      private TableAttributesConverter()
      Constructor is private, because it's just a utility class.
  • Method Details

    • 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
    • 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
    • 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
    • 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