com.lowagie.text.rtf.document
Class RtfProtectionSetting
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.document.RtfProtectionSetting
- All Implemented Interfaces:
- RtfBasicElement, RtfElementInterface
public class RtfProtectionSetting
- extends RtfElement
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RtfProtectionSetting
public RtfProtectionSetting(RtfDocument doc)
- Constructs a
RtfProtectionSetting belonging to a RtfDocument
- Parameters:
doc - The RtfDocument this RtfProtectionSetting belongs to- Since:
- 2.1.1
writeContent
public void writeContent(OutputStream result)
throws IOException
- Writes the RTF protection control words
- Specified by:
writeContent in interface RtfBasicElement- Specified by:
writeContent in class RtfElement
- Parameters:
result - The OutputStream to write the content to
- Throws:
IOException- Since:
- 2.1.1
writeDefinition
public void writeDefinition(OutputStream result)
throws IOException
- Writes the RTF protection control words
- Throws:
IOException- Since:
- 2.1.1
Copyright © 2012. All Rights Reserved.