Interface RtfBasicElement

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static byte[] CLOSE_GROUP
      Constant for the end of an rtf group
      static byte[] COMMA_DELIMITER
      Constant for a comma delimiter in rtf
      static byte[] DELIMITER
      Constant for a delimiter in rtf
      static byte[] OPEN_GROUP
      Constant for the beginning of a rtf group
      static double TWIPS_FACTOR
      The factor to use for translating from iText to rtf measurements
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setInHeader​(boolean inHeader)
      Sets whether this RtfBasicElement is in a header
      void setInTable​(boolean inTable)
      Sets whether this RtfBasicElement is in a table
      void setRtfDocument​(RtfDocument doc)
      Sets the RtfDocument this RtfElement belongs to
      void writeContent​(java.io.OutputStream out)
      Writes the element content to the given output stream.
    • Field Detail

      • OPEN_GROUP

        static final byte[] OPEN_GROUP
        Constant for the beginning of a rtf group
      • CLOSE_GROUP

        static final byte[] CLOSE_GROUP
        Constant for the end of an rtf group
      • DELIMITER

        static final byte[] DELIMITER
        Constant for a delimiter in rtf
      • COMMA_DELIMITER

        static final byte[] COMMA_DELIMITER
        Constant for a comma delimiter in rtf
      • TWIPS_FACTOR

        static final double TWIPS_FACTOR
        The factor to use for translating from iText to rtf measurements
        See Also:
        Constant Field Values
    • Method Detail

      • writeContent

        void writeContent​(java.io.OutputStream out)
                   throws java.io.IOException
        Writes the element content to the given output stream.
        Parameters:
        out - The OutputStream to write the content to
        Throws:
        java.io.IOException
      • setRtfDocument

        void setRtfDocument​(RtfDocument doc)
        Sets the RtfDocument this RtfElement belongs to
        Parameters:
        doc - The @link{com.lowagie.text.rtf.document.RtfDocument} this RtfElement belongs to
      • setInTable

        void setInTable​(boolean inTable)
        Sets whether this RtfBasicElement is in a table
        Parameters:
        inTable - Whether this RtfBasicElement is in a table
      • setInHeader

        void setInHeader​(boolean inHeader)
        Sets whether this RtfBasicElement is in a header
        Parameters:
        inHeader - Whether this RtfBasicElement is in a header