📄 rtfprotection.html
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="LEVEL_NONE"><!-- --></A><H3>LEVEL_NONE</H3><PRE>public static final int <B>LEVEL_NONE</B></PRE><DL><DD>Default for protection level.<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.document.RtfProtection.LEVEL_NONE">Constant Field Values</A></DL></DL><HR><A NAME="LEVEL_REVPROT"><!-- --></A><H3>LEVEL_REVPROT</H3><PRE>public static final int <B>LEVEL_REVPROT</B></PRE><DL><DD>REVPROT Mutually exclusive This document is protected for revisions. The user can edit the document, but revision marking cannot be disabled.<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.document.RtfProtection.LEVEL_REVPROT">Constant Field Values</A></DL></DL><HR><A NAME="LEVEL_ANNOTPROT"><!-- --></A><H3>LEVEL_ANNOTPROT</H3><PRE>public static final int <B>LEVEL_ANNOTPROT</B></PRE><DL><DD>ANNNOTPROT Mutually exclusive This document is protected for comments (annotations). The user cannot edit the document but can insert comments (annotations).<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.document.RtfProtection.LEVEL_ANNOTPROT">Constant Field Values</A></DL></DL><HR><A NAME="LEVEL_FORMPROT"><!-- --></A><H3>LEVEL_FORMPROT</H3><PRE>public static final int <B>LEVEL_FORMPROT</B></PRE><DL><DD>FORMPROT Mutually exclusive Document is protected for forms. see also \allprot (forms controlword)<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.document.RtfProtection.LEVEL_FORMPROT">Constant Field Values</A></DL></DL><HR><A NAME="LEVEL_READPROT"><!-- --></A><H3>LEVEL_READPROT</H3><PRE>public static final int <B>LEVEL_READPROT</B></PRE><DL><DD>READPROT Mutually exclusive but can be combined with ANNOTPROT for backward compatibility Document is protected for editing, except areas marked as exceptions by \protstart and\protend<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.document.RtfProtection.LEVEL_READPROT">Constant Field Values</A></DL></DL><HR><A NAME="STYLELOCK"><!-- --></A><H3>STYLELOCK</H3><PRE>public static final int <B>STYLELOCK</B></PRE><DL><DD>STYLELOCK The document contains styles and formatting restrictions.<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.document.RtfProtection.STYLELOCK">Constant Field Values</A></DL></DL><HR><A NAME="STYLELOCKENFORCED"><!-- --></A><H3>STYLELOCKENFORCED</H3><PRE>public static final int <B>STYLELOCKENFORCED</B></PRE><DL><DD>STYLELOCKENFORCED The styles and formatting restrictions are being enforced.<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.document.RtfProtection.STYLELOCKENFORCED">Constant Field Values</A></DL></DL><HR><A NAME="STYLELOCKBACKCOMP"><!-- --></A><H3>STYLELOCKBACKCOMP</H3><PRE>public static final int <B>STYLELOCKBACKCOMP</B></PRE><DL><DD>STYLELOCKBACKCOMP Style lockdown backward compatibility flag, indicating we emitted protection keywords to get documents with styles and formatting restrictions to behave in a reasonable way when opened by older versions.<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.document.RtfProtection.STYLELOCKBACKCOMP">Constant Field Values</A></DL></DL><HR><A NAME="AUTOFMTOVERRIDE"><!-- --></A><H3>AUTOFMTOVERRIDE</H3><PRE>public static final int <B>AUTOFMTOVERRIDE</B></PRE><DL><DD>STYLELOCKBACKCOMP Allow AutoFormat to override styles and formatting restrictions. When style protection is on, the user cannot add direct formatting. This setting allows AutoFormat actions to apply direct formatting when needed.<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.rtf.document.RtfProtection.AUTOFMTOVERRIDE">Constant Field Values</A></DL></DL><HR><A NAME="initialCodeArray"><!-- --></A><H3>initialCodeArray</H3><PRE>private static final int[] <B>initialCodeArray</B></PRE><DL><DD><code>initialCodeArray</code> Table from ECMA-376 Specification<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD></DL></DL><HR><A NAME="encryptionMatrix"><!-- --></A><H3>encryptionMatrix</H3><PRE>private static final int[][] <B>encryptionMatrix</B></PRE><DL><DD><code>encryptionMatrix</code> Table from ECMA-376 Specification<P><DL><DT><B>Since:</B></DT> <DD>2.1.1</DD></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="RtfProtection()"><!-- --></A><H3>RtfProtection</H3><PRE>public <B>RtfProtection</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="generateHash(java.lang.String)"><!-- --></A><H3>generateHash</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>generateHash</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> pwd)</PRE><DL><DD><code>generateHash</code> generates the password hash from a clear text string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pwd</CODE> - Clear text string input<DT><B>Returns:</B><DD>hex encoded password hash<DT><B>Since:</B></DT> <DD>2.1.1</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/lowagie/text/rtf/document/RtfPageSetting.html" title="class in com.lowagie.text.rtf.document"><B>PREV CLASS</B></A> <A HREF="../../../../../com/lowagie/text/rtf/document/RtfProtectionSetting.html" title="class in com.lowagie.text.rtf.document"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/lowagie/text/rtf/document/RtfProtection.html" target="_top"><B>FRAMES</B></A> <A HREF="RtfProtection.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -