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
Generates the leader in RTF.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDotted underlinestatic final StringDouble underlinestatic final StringNegative expansionstatic final StringHeavy wave underlinestatic final StringResets to default propertiesstatic final StringDashed underlinestatic final StringExpansion or compression of the space between characters in twipsstatic final StringFont size determines rule thicknessstatic final intStandard leader widthstatic final StringLeader dotsstatic final StringLeader equal signstatic final StringLeader hyphensstatic final StringLeader middle dotsstatic final StringRight-aligned tabstatic final StringLeader thick linestatic final StringLeader underlinestatic final StringTabstatic final StringTab widthstatic final StringPrivate attribute: tab stylestatic final StringThick underlinestatic final StringDash-dot-dotted underlinestatic final StringMove up 4 half-pointsstatic final StringPrivate attribute: tab usage indicatorstatic final StringPrivate attribute: leader widthstatic final StringZero-width break opportunityFields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()protected voidwrite RTF code of all our childrenMethods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, findChildren, getChildCount, getChildren, okToWriteRtf, setChildren, setOptions, toStringMethods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getParentOfClass, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Field Details
-
LEADER_TABLEAD
Private attribute: tab style- See Also:
-
LEADER_USETAB
Private attribute: tab usage indicator- See Also:
-
LEADER_WIDTH
Private attribute: leader width- See Also:
-
LEADER_DOTTED
Dotted underline- See Also:
-
LEADER_MIDDLEDOTTED
Dashed underline- See Also:
-
LEADER_HYPHENS
Heavy wave underline- See Also:
-
LEADER_UNDERLINE
Dash-dot-dotted underline- See Also:
-
LEADER_EQUAL
Double underline- See Also:
-
LEADER_THICK
Thick underline- See Also:
-
LEADER_TAB_DOTTED
Leader dots- See Also:
-
LEADER_TAB_MIDDLEDOTTED
Leader middle dots- See Also:
-
LEADER_TAB_HYPHENS
Leader hyphens- See Also:
-
LEADER_TAB_UNDERLINE
Leader underline- See Also:
-
LEADER_TAB_EQUAL
Leader equal sign- See Also:
-
LEADER_TAB_THICK
Leader thick line- See Also:
-
LEADER_IGNORE_STYLE
Resets to default properties- See Also:
-
LEADER_RULE_THICKNESS
Font size determines rule thickness- See Also:
-
LEADER_PATTERN_WIDTH
Expansion or compression of the space between characters in twips- See Also:
-
LEADER_ZERO_WIDTH
Zero-width break opportunity- See Also:
-
LEADER_STANDARD_WIDTH
public static final int LEADER_STANDARD_WIDTHStandard leader width- See Also:
-
LEADER_UP
Move up 4 half-points- See Also:
-
LEADER_EXPAND
Negative expansion- See Also:
-
LEADER_TAB_VALUE
Tab- See Also:
-
LEADER_TAB_RIGHT
Right-aligned tab- See Also:
-
LEADER_TAB_WIDTH
Tab width- See Also:
-
-
Method Details
-
writeRtfContent
write RTF code of all our children- Overrides:
writeRtfContentin classRtfContainer- Throws:
IOException- for I/O problems
-
isEmpty
public boolean isEmpty()- Overrides:
isEmptyin 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
-