Class RtfProtectionSetting
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.document.RtfProtectionSetting
- All Implemented Interfaces:
RtfBasicElement
The RtfProtectionSetting handles document protection elements
- Since:
- 2.1.1
- Version:
- $Id: RtfProtectionSetting.java 3580 2008-08-06 15:52:00Z howard_s $
- Author:
- Howard Shank (hgshank@yahoo.com)
-
Field Summary
Fields inherited from class RtfElement
document, inHeader, inTableFields inherited from interface RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aRtfProtectionSettingbelonging to a RtfDocument -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteContent(OutputStream result) Writes the RTF protection control wordsvoidwriteDefinition(OutputStream result) Writes the RTF protection control wordsMethods inherited from class RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
-
Constructor Details
-
RtfProtectionSetting
Constructs aRtfProtectionSettingbelonging to a RtfDocument- Parameters:
doc- TheRtfDocumentthisRtfProtectionSettingbelongs to- Since:
- 2.1.1
-
-
Method Details
-
writeContent
Writes the RTF protection control words- Specified by:
writeContentin interfaceRtfBasicElement- Specified by:
writeContentin classRtfElement- Parameters:
result- TheOutputStreamto write the content to- Throws:
IOException- Since:
- 2.1.1
-
writeDefinition
Writes the RTF protection control words- Throws:
IOException- Since:
- 2.1.1
-