Class RtfLeader
- java.lang.Object
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfLeader
-
public class RtfLeader extends RtfContainer
Generates the leader in RTF.
-
-
Field Summary
Fields Modifier and Type Field Description private RtfAttributes
attrs
static java.lang.String
LEADER_DOTTED
Dotted underlinestatic java.lang.String
LEADER_EQUAL
Double underlinestatic java.lang.String
LEADER_EXPAND
Negative expansionstatic java.lang.String
LEADER_HYPHENS
Heavy wave underlinestatic java.lang.String
LEADER_IGNORE_STYLE
Resets to default propertiesstatic java.lang.String
LEADER_MIDDLEDOTTED
Dashed underlinestatic java.lang.String
LEADER_PATTERN_WIDTH
Expansion or compression of the space between characters in twipsstatic java.lang.String
LEADER_RULE_THICKNESS
Font size determines rule thicknessstatic int
LEADER_STANDARD_WIDTH
Standard leader widthstatic java.lang.String
LEADER_TAB_DOTTED
Leader dotsstatic java.lang.String
LEADER_TAB_EQUAL
Leader equal signstatic java.lang.String
LEADER_TAB_HYPHENS
Leader hyphensstatic java.lang.String
LEADER_TAB_MIDDLEDOTTED
Leader middle dotsstatic java.lang.String
LEADER_TAB_RIGHT
Right-aligned tabstatic java.lang.String
LEADER_TAB_THICK
Leader thick linestatic java.lang.String
LEADER_TAB_UNDERLINE
Leader underlinestatic java.lang.String
LEADER_TAB_VALUE
Tabstatic java.lang.String
LEADER_TAB_WIDTH
Tab widthstatic java.lang.String
LEADER_TABLEAD
Private attribute: tab stylestatic java.lang.String
LEADER_THICK
Thick underlinestatic java.lang.String
LEADER_UNDERLINE
Dash-dot-dotted underlinestatic java.lang.String
LEADER_UP
Move up 4 half-pointsstatic java.lang.String
LEADER_USETAB
Private attribute: tab usage indicatorstatic java.lang.String
LEADER_WIDTH
Private attribute: leader widthstatic java.lang.String
LEADER_ZERO_WIDTH
Zero-width break opportunity-
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
-
-
Constructor Summary
Constructors Constructor Description RtfLeader(RtfContainer parent, java.io.Writer w, RtfAttributes attrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
protected void
writeRtfContent()
write RTF code of all our children-
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, containsText, dump, findChildren, getChildCount, getChildren, getOptions, okToWriteRtf, setChildren, setOptions, toString
-
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
-
-
-
Field Detail
-
attrs
private RtfAttributes attrs
-
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 classRtfContainer
- Throws:
java.io.IOException
- for I/O problems
-
isEmpty
public boolean isEmpty()
- Overrides:
isEmpty
in classRtfContainer
- 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
-
-