|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.document.RtfProtectionSetting
public class RtfProtectionSetting
The RtfProtectionSetting handles document protection elements
Field Summary | |
---|---|
private static byte[] |
ANNOTPROT
Constant for Annotation/Comment protection controlword Mutually exclusive |
private static byte[] |
ENFORCEPROT
Constant for enforceprot controlword |
private static byte[] |
FORMPROT
Constant for Form protection controlword Mutually exclusive |
private static byte[] |
PROTLEVEL
Constant for protlevel controlword |
private static byte[] |
READONLYRECOMMENDED
Constant for enforceprot controlword. |
private static byte[] |
READPROT
Constant for read only rotection controlword Mutually exclusive - exception, can be combined with ANNOTPROT for backwards compatibility |
private static byte[] |
REVPROT
Constant for Revision protection controlword Mutually exclusive |
Fields inherited from class com.lowagie.text.rtf.RtfElement |
---|
document, inHeader, inTable |
Fields inherited from interface com.lowagie.text.rtf.RtfBasicElement |
---|
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR |
Constructor Summary | |
---|---|
RtfProtectionSetting(RtfDocument doc)
Constructs a RtfProtectionSetting belonging to a RtfDocument |
Method Summary | |
---|---|
void |
writeContent(OutputStream result)
Writes the RTF protection control words |
void |
writeDefinition(OutputStream result)
Writes the RTF protection control words |
Methods inherited from class com.lowagie.text.rtf.RtfElement |
---|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final byte[] FORMPROT
REVPROT
,
ANNOTPROT
,
READPROT
private static final byte[] REVPROT
FORMPROT
,
ANNOTPROT
,
READPROT
private static final byte[] ANNOTPROT
FORMPROT
,
REVPROT
,
READPROT
private static final byte[] READPROT
FORMPROT
,
REVPROT
,
ANNOTPROT
private static final byte[] PROTLEVEL
private static final byte[] ENFORCEPROT
private static final byte[] READONLYRECOMMENDED
Constructor Detail |
---|
public RtfProtectionSetting(RtfDocument doc)
RtfProtectionSetting
belonging to a RtfDocument
doc
- The RtfDocument
this RtfProtectionSetting
belongs toMethod Detail |
---|
public void writeContent(OutputStream result) throws IOException
writeContent
in interface RtfBasicElement
writeContent
in class RtfElement
result
- The OutputStream
to write the content to
IOException
public void writeDefinition(OutputStream result) throws IOException
IOException
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |