com.lowagie.text.rtf.style
public class RtfStylesheetList extends RtfElement implements RtfExtendedElement
Version: $Id: RtfStylesheetList.java 2776 2007-05-23 20:01:40Z hallm $
| 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[] | write()
unused |
| void | writeContent(OutputStream out)
unused |
| byte[] | writeDefinition()
Writes the definition of the stylesheet list. |
| 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.
Deprecated: replaced by writeContent
unusedDeprecated: replaced by writeDefinition
Writes the definition of the stylesheet list.