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 TypeFieldDescriptionprivate RtfAttributesstatic 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 RtfElement
attrib, parent, writer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()protected voidwrite RTF code of all our childrenMethods inherited from class RtfContainer
addChild, containsText, dump, findChildren, getChildCount, getChildren, getOptions, okToWriteRtf, setChildren, setOptions, toStringMethods inherited from class RtfElement
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Field Details
-
attrs
-
LEADER_TABLEAD
-
LEADER_USETAB
-
LEADER_WIDTH
-
LEADER_DOTTED
-
LEADER_MIDDLEDOTTED
-
LEADER_HYPHENS
-
LEADER_UNDERLINE
-
LEADER_EQUAL
-
LEADER_THICK
-
LEADER_TAB_DOTTED
-
LEADER_TAB_MIDDLEDOTTED
-
LEADER_TAB_HYPHENS
-
LEADER_TAB_UNDERLINE
-
LEADER_TAB_EQUAL
-
LEADER_TAB_THICK
-
LEADER_IGNORE_STYLE
-
LEADER_RULE_THICKNESS
-
LEADER_PATTERN_WIDTH
Expansion or compression of the space between characters in twips- See Also:
-
LEADER_ZERO_WIDTH
-
LEADER_STANDARD_WIDTH
public static final int LEADER_STANDARD_WIDTHStandard leader width- See Also:
-
LEADER_UP
-
LEADER_EXPAND
-
LEADER_TAB_VALUE
-
LEADER_TAB_RIGHT
-
LEADER_TAB_WIDTH
-
-
Constructor Details
-
RtfLeader
RtfLeader(RtfContainer parent, Writer w, RtfAttributes attrs) throws IOException - Throws:
IOException
-
-
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
-