com.lowagie.text.rtf.style
public class RtfStylesheetList extends RtfElement implements RtfExtendedElement
Version: $Id: RtfStylesheetList.java 3440 2008-05-25 18:16:48Z howard_s $
| 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.
|
| void | writeContent(OutputStream out)
unused |
| void | writeDefinition(OutputStream result)
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.