com.lowagie.text.rtf.style
public class RtfStylesheetList extends RtfElement implements RtfExtendedElement
Version: $Revision: 1.2 $
Field Summary | |
---|---|
boolean | defaultsLoaded
Whether the default settings have been loaded. |
HashMap | styleMap
The HashMap containing the RtfParagraphStyles. |
Constructor Summary | |
---|---|
RtfStylesheetList(RtfDocument doc)
Constructs a new RtfStylesheetList for the RtfDocument.
|
Method Summary | |
---|---|
RtfParagraphStyle | getRtfParagraphStyle(String styleName)
Gets the RtfParagraphStyle with the given name. |
void | registerDefaultStyles()
Registers all default styles. |
void | registerParagraphStyle(RtfParagraphStyle rtfParagraphStyle)
Register a RtfParagraphStyle with this RtfStylesheetList.
|
byte[] | writeDefinition()
Writes the definition of the stylesheet list. |
Parameters: doc The RtfDocument this RtfStylesheetList belongs to.
Parameters: styleName The name of the RtfParagraphStyle to get.
Returns: The RtfParagraphStyle with the given name or null.
Parameters: rtfParagraphStyle The RtfParagraphStyle to add.