public class RtfProtectionSetting extends RtfElement
document, inHeader, inTable
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR
Constructor and Description |
---|
RtfProtectionSetting(RtfDocument doc)
Constructs a
RtfProtectionSetting belonging to a RtfDocument |
Modifier and Type | Method and Description |
---|---|
void |
writeContent(OutputStream result)
Writes the RTF protection control words
|
void |
writeDefinition(OutputStream result)
Writes the RTF protection control words
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
public RtfProtectionSetting(RtfDocument doc)
RtfProtectionSetting
belonging to a RtfDocumentdoc
- The RtfDocument
this RtfProtectionSetting
belongs topublic void writeContent(OutputStream result) throws IOException
writeContent
in interface RtfBasicElement
writeContent
in class RtfElement
result
- The OutputStream
to write the content toIOException
public void writeDefinition(OutputStream result) throws IOException
IOException
Copyright © 2015. All rights reserved.