public class RtfStylesheetList extends RtfElement implements RtfExtendedElement
document, inHeader, inTable
CLOSE_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, setRtfDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setInHeader, setInTable, setRtfDocument
public RtfStylesheetList(RtfDocument doc)
doc
- The RtfDocument this RtfStylesheetList belongs to.public void writeContent(OutputStream out) throws IOException
writeContent
in interface RtfBasicElement
writeContent
in class RtfElement
out
- The OutputStream
to write the content toIOException
public 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 RtfExtendedElement
result
- The OutputStream
to write the element definition toIOException
Copyright © 2015. All rights reserved.