public class RtfStylesheetList extends RtfElement implements RtfExtendedElement
document, inHeader, inTableCLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR| Constructor and Description |
|---|
RtfStylesheetList(RtfDocument doc)
Constructs a new RtfStylesheetList for the RtfDocument.
|
| Modifier and Type | Method and Description |
|---|---|
RtfParagraphStyle |
getRtfParagraphStyle(String styleName)
Gets the RtfParagraphStyle with the given name.
|
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.
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetInHeader, setInTable, setRtfDocumentpublic RtfStylesheetList(RtfDocument doc)
doc - The RtfDocument this RtfStylesheetList belongs to.public void writeContent(OutputStream out) throws IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementout - The OutputStream to write the content toIOExceptionpublic void registerParagraphStyle(RtfParagraphStyle rtfParagraphStyle)
rtfParagraphStyle - The RtfParagraphStyle to add.public RtfParagraphStyle getRtfParagraphStyle(String styleName)
styleName - The name of the RtfParagraphStyle to get.public void writeDefinition(OutputStream result) throws IOException
writeDefinition in interface RtfExtendedElementresult - The OutputStream to write the element definition toIOExceptionCopyright © 2015. All rights reserved.