Class RtfLeader


  • public class RtfLeader
    extends RtfContainer
    Generates the leader in RTF.
    • Field Detail

      • LEADER_TABLEAD

        public static final java.lang.String LEADER_TABLEAD
        Private attribute: tab style
        See Also:
        Constant Field Values
      • LEADER_USETAB

        public static final java.lang.String LEADER_USETAB
        Private attribute: tab usage indicator
        See Also:
        Constant Field Values
      • LEADER_WIDTH

        public static final java.lang.String LEADER_WIDTH
        Private attribute: leader width
        See Also:
        Constant Field Values
      • LEADER_DOTTED

        public static final java.lang.String LEADER_DOTTED
        Dotted underline
        See Also:
        Constant Field Values
      • LEADER_MIDDLEDOTTED

        public static final java.lang.String LEADER_MIDDLEDOTTED
        Dashed underline
        See Also:
        Constant Field Values
      • LEADER_HYPHENS

        public static final java.lang.String LEADER_HYPHENS
        Heavy wave underline
        See Also:
        Constant Field Values
      • LEADER_UNDERLINE

        public static final java.lang.String LEADER_UNDERLINE
        Dash-dot-dotted underline
        See Also:
        Constant Field Values
      • LEADER_EQUAL

        public static final java.lang.String LEADER_EQUAL
        Double underline
        See Also:
        Constant Field Values
      • LEADER_THICK

        public static final java.lang.String LEADER_THICK
        Thick underline
        See Also:
        Constant Field Values
      • LEADER_TAB_DOTTED

        public static final java.lang.String LEADER_TAB_DOTTED
        Leader dots
        See Also:
        Constant Field Values
      • LEADER_TAB_MIDDLEDOTTED

        public static final java.lang.String LEADER_TAB_MIDDLEDOTTED
        Leader middle dots
        See Also:
        Constant Field Values
      • LEADER_TAB_HYPHENS

        public static final java.lang.String LEADER_TAB_HYPHENS
        Leader hyphens
        See Also:
        Constant Field Values
      • LEADER_TAB_UNDERLINE

        public static final java.lang.String LEADER_TAB_UNDERLINE
        Leader underline
        See Also:
        Constant Field Values
      • LEADER_TAB_EQUAL

        public static final java.lang.String LEADER_TAB_EQUAL
        Leader equal sign
        See Also:
        Constant Field Values
      • LEADER_TAB_THICK

        public static final java.lang.String LEADER_TAB_THICK
        Leader thick line
        See Also:
        Constant Field Values
      • LEADER_IGNORE_STYLE

        public static final java.lang.String LEADER_IGNORE_STYLE
        Resets to default properties
        See Also:
        Constant Field Values
      • LEADER_RULE_THICKNESS

        public static final java.lang.String LEADER_RULE_THICKNESS
        Font size determines rule thickness
        See Also:
        Constant Field Values
      • LEADER_PATTERN_WIDTH

        public static final java.lang.String LEADER_PATTERN_WIDTH
        Expansion or compression of the space between characters in twips
        See Also:
        Constant Field Values
      • LEADER_ZERO_WIDTH

        public static final java.lang.String LEADER_ZERO_WIDTH
        Zero-width break opportunity
        See Also:
        Constant Field Values
      • LEADER_STANDARD_WIDTH

        public static final int LEADER_STANDARD_WIDTH
        Standard leader width
        See Also:
        Constant Field Values
      • LEADER_UP

        public static final java.lang.String LEADER_UP
        Move up 4 half-points
        See Also:
        Constant Field Values
      • LEADER_EXPAND

        public static final java.lang.String LEADER_EXPAND
        Negative expansion
        See Also:
        Constant Field Values
      • LEADER_TAB_VALUE

        public static final java.lang.String LEADER_TAB_VALUE
        Tab
        See Also:
        Constant Field Values
      • LEADER_TAB_RIGHT

        public static final java.lang.String LEADER_TAB_RIGHT
        Right-aligned tab
        See Also:
        Constant Field Values
      • LEADER_TAB_WIDTH

        public static final java.lang.String LEADER_TAB_WIDTH
        Tab width
        See Also:
        Constant Field Values
    • Constructor Detail

      • RtfLeader

        RtfLeader​(RtfContainer parent,
                  java.io.Writer w,
                  RtfAttributes attrs)
           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • writeRtfContent

        protected void writeRtfContent()
                                throws java.io.IOException
        write RTF code of all our children
        Overrides:
        writeRtfContent in class RtfContainer
        Throws:
        java.io.IOException - for I/O problems
      • isEmpty

        public boolean isEmpty()
        Overrides:
        isEmpty in class RtfContainer
        Returns:
        true if this element would generate no "useful" RTF content, i.e. (for RtfContainer) true if it has no children where isEmpty() is false