📄 permissions.html
字号:
<HR><A NAME="userPassword"><!-- --></A><H3>userPassword</H3><PRE>protected byte[] <B>userPassword</B></PRE><DL><DD>What is the user password?<P><DL></DL></DL><HR><A NAME="permissions"><!-- --></A><H3>permissions</H3><PRE>protected int <B>permissions</B></PRE><DL><DD>What are the document permissions?<P><DL></DL></DL><HR><A NAME="cryptoMode"><!-- --></A><H3>cryptoMode</H3><PRE>protected int <B>cryptoMode</B></PRE><DL><DD>How was the document encrypted?<P><DL></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="Permissions()"><!-- --></A><H3>Permissions</H3><PRE>public <B>Permissions</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="isEncrypted()"><!-- --></A><H3>isEncrypted</H3><PRE>public boolean <B>isEncrypted</B>()</PRE><DL><DD>Tells you if the document was encrypted.<P><DD><DL><DT><B>Returns:</B><DD>true is the document was encrypted</DL></DD></DL><HR><A NAME="setEncrypted(boolean)"><!-- --></A><H3>setEncrypted</H3><PRE>public void <B>setEncrypted</B>(boolean encrypted)</PRE><DL><DD>Setter for the encrypted variable.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>encrypted</CODE> - set this to true if the document was encrypted</DL></DD></DL><HR><A NAME="getOwnerPassword()"><!-- --></A><H3>getOwnerPassword</H3><PRE>public byte[] <B>getOwnerPassword</B>()</PRE><DL><DD>Returns the owner password of the PDF file (if any).<P><DD><DL><DT><B>Returns:</B><DD>the owner password that was provided upon opening the document</DL></DD></DL><HR><A NAME="setOwnerPassword(byte[])"><!-- --></A><H3>setOwnerPassword</H3><PRE>public void <B>setOwnerPassword</B>(byte[] ownerPassword)</PRE><DL><DD>Setter for the owner password.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ownerPassword</CODE> - the owner password</DL></DD></DL><HR><A NAME="getUserPassword()"><!-- --></A><H3>getUserPassword</H3><PRE>public byte[] <B>getUserPassword</B>()</PRE><DL><DD>Returns the user password (if any).<P><DD><DL><DT><B>Returns:</B><DD>the user password</DL></DD></DL><HR><A NAME="setUserPassword(byte[])"><!-- --></A><H3>setUserPassword</H3><PRE>public void <B>setUserPassword</B>(byte[] userPassword)</PRE><DL><DD>Setter for the user password.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>userPassword</CODE> - the user password of a PDF file</DL></DD></DL><HR><A NAME="getPermissions()"><!-- --></A><H3>getPermissions</H3><PRE>public int <B>getPermissions</B>()</PRE><DL><DD>Returns the permissions in the form of an int (each bit is a specific permission)<P><DD><DL><DT><B>Returns:</B><DD>the value for the permissions</DL></DD></DL><HR><A NAME="setPermissions(int)"><!-- --></A><H3>setPermissions</H3><PRE>public void <B>setPermissions</B>(int permissions)</PRE><DL><DD>Setter for the permissions.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>permissions</CODE> - the permissions in the form of an int</DL></DD></DL><HR><A NAME="getCryptoMode()"><!-- --></A><H3>getCryptoMode</H3><PRE>public int <B>getCryptoMode</B>()</PRE><DL><DD>Returns the crypto mode.<P><DD><DL><DT><B>Returns:</B><DD>the crypto mode</DL></DD></DL><HR><A NAME="setCryptoMode(int)"><!-- --></A><H3>setCryptoMode</H3><PRE>public void <B>setCryptoMode</B>(int cryptoMode)</PRE><DL><DD>Setter for the crypto mode<P><DD><DL><DT><B>Parameters:</B><DD><CODE>cryptoMode</CODE> - the crypto mode</DL></DD></DL><HR><A NAME="isAllowPrinting()"><!-- --></A><H3>isAllowPrinting</H3><PRE>public boolean <B>isAllowPrinting</B>()</PRE><DL><DD>Tells you if printing is allowed.<P><DD><DL><DT><B>Returns:</B><DD>true if printing is allowed</DL></DD></DL><HR><A NAME="isAllowModifyContents(boolean)"><!-- --></A><H3>isAllowModifyContents</H3><PRE>public boolean <B>isAllowModifyContents</B>(boolean decrypted)</PRE><DL><DD>Tells you if modifying the contents is allowed.<P><DD><DL><DT><B>Returns:</B><DD>true if modifying contents is allowed</DL></DD></DL><HR><A NAME="isAllowCopy(boolean)"><!-- --></A><H3>isAllowCopy</H3><PRE>public boolean <B>isAllowCopy</B>(boolean decrypted)</PRE><DL><DD>Tells you if copying is allowed.<P><DD><DL><DT><B>Returns:</B><DD>true if copying is allowed</DL></DD></DL><HR><A NAME="isAllowModifyAnnotations()"><!-- --></A><H3>isAllowModifyAnnotations</H3><PRE>public boolean <B>isAllowModifyAnnotations</B>()</PRE><DL><DD>Tells you if modifying annotations is allowed<P><DD><DL><DT><B>Returns:</B><DD>true if modifying annotations is allowed</DL></DD></DL><HR><A NAME="isAllowFillIn()"><!-- --></A><H3>isAllowFillIn</H3><PRE>public boolean <B>isAllowFillIn</B>()</PRE><DL><DD>Tells you if filling in forms is allowed.<P><DD><DL><DT><B>Returns:</B><DD>true if filling in forms is allowed</DL></DD></DL><HR><A NAME="isAllowScreenReaders()"><!-- --></A><H3>isAllowScreenReaders</H3><PRE>public boolean <B>isAllowScreenReaders</B>()</PRE><DL><DD>Tells you if modifying the layout for screenreaders is allowed.<P><DD><DL><DT><B>Returns:</B><DD>true if modifying the layout for screenreaders is allowed</DL></DD></DL><HR><A NAME="isAllowAssembly()"><!-- --></A><H3>isAllowAssembly</H3><PRE>public boolean <B>isAllowAssembly</B>()</PRE><DL><DD>Tells you if document assembly is allowed.<P><DD><DL><DT><B>Returns:</B><DD>true if document assembly is allowed</DL></DD></DL><HR><A NAME="isAllowDegradedPrinting()"><!-- --></A><H3>isAllowDegradedPrinting</H3><PRE>public boolean <B>isAllowDegradedPrinting</B>()</PRE><DL><DD>Tells you if degraded printing is allowed.<P><DD><DL><DT><B>Returns:</B><DD>true if degraded printing is allowed</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/rups/model/PdfFile.html" title="class in com.lowagie.rups.model"><B>PREV CLASS</B></A> <A HREF="../../../../com/lowagie/rups/model/ProgressDialog.html" title="class in com.lowagie.rups.model"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/lowagie/rups/model/Permissions.html" target="_top"><B>FRAMES</B></A> <A HREF="Permissions.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 + -