⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pdfcopy.html

📁 java编程java编程java编程java编程java编程java编程java编程
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DL>
</DL>
</DL>
<HR>

<A NAME="indirectMap"><!-- --></A><H3>
indirectMap</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> <B>indirectMap</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="currentObjectNum"><!-- --></A><H3>
currentObjectNum</H3>
<PRE>
protected int <B>currentObjectNum</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="reader"><!-- --></A><H3>
reader</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfReader.html">PdfReader</A> <B>reader</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>

<A NAME="acroForm"><!-- --></A><H3>
acroForm</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html">PdfIndirectReference</A> <B>acroForm</B></PRE>
<DL>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="PdfCopy(com.lowagie.text.Document, java.io.OutputStream)"><!-- --></A><H3>
PdfCopy</H3>
<PRE>
public <B>PdfCopy</B>(<A HREF="../../../../com/lowagie/text/Document.html">Document</A>&nbsp;document,               <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/OutputStream.html">OutputStream</A>&nbsp;os)        throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD>Constructor
<P>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - <DD><CODE>os</CODE> - outputstream</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getImportedPage(com.lowagie.text.pdf.PdfReader, int)"><!-- --></A><H3>
getImportedPage</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/pdf/PdfImportedPage.html">PdfImportedPage</A> <B>getImportedPage</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfReader.html">PdfReader</A>&nbsp;reader,                                       int&nbsp;pageNumber)</PRE>
<DL>
<DD>Grabs a page from the input document
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html#getImportedPage(com.lowagie.text.pdf.PdfReader, int)">getImportedPage</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html">PdfWriter</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - the reader of the document<DD><CODE>pageNumber</CODE> - which page to get<DT><B>Returns:</B><DD>the page</DL>
</DD>
</DL>
<HR>

<A NAME="copyIndirect(com.lowagie.text.pdf.PRIndirectReference)"><!-- --></A><H3>
copyIndirect</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html">PdfIndirectReference</A> <B>copyIndirect</B>(<A HREF="../../../../com/lowagie/text/pdf/PRIndirectReference.html">PRIndirectReference</A>&nbsp;in)                                     throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>,                                            <A HREF="../../../../com/lowagie/text/pdf/BadPdfFormatException.html">BadPdfFormatException</A></PRE>
<DL>
<DD>Translate a PRIndirectReference to a PdfIndirectReference In addition, translates the object numbers, and copies the referenced object to the output file. NB: PRIndirectReferences (and PRIndirectObjects) really need to know what file they came from, because each file has its own namespace. The translation we do from their namespace to ours is *at best* heuristic, and guaranteed to fail under some circumstances.
<P>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/BadPdfFormatException.html">BadPdfFormatException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="copyDictionary(com.lowagie.text.pdf.PdfDictionary)"><!-- --></A><H3>
copyDictionary</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html">PdfDictionary</A> <B>copyDictionary</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html">PdfDictionary</A>&nbsp;in)                                throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>,                                       <A HREF="../../../../com/lowagie/text/pdf/BadPdfFormatException.html">BadPdfFormatException</A></PRE>
<DL>
<DD>Translate a PRDictionary to a PdfDictionary. Also translate all of the objects contained in it.
<P>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/BadPdfFormatException.html">BadPdfFormatException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="copyStream(com.lowagie.text.pdf.PRStream)"><!-- --></A><H3>
copyStream</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfStream.html">PdfStream</A> <B>copyStream</B>(<A HREF="../../../../com/lowagie/text/pdf/PRStream.html">PRStream</A>&nbsp;in)                        throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>,                               <A HREF="../../../../com/lowagie/text/pdf/BadPdfFormatException.html">BadPdfFormatException</A></PRE>
<DL>
<DD>Translate a PRStream to a PdfStream. The data part copies itself.
<P>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/BadPdfFormatException.html">BadPdfFormatException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="copyArray(com.lowagie.text.pdf.PdfArray)"><!-- --></A><H3>
copyArray</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfArray.html">PdfArray</A> <B>copyArray</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfArray.html">PdfArray</A>&nbsp;in)                      throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>,                             <A HREF="../../../../com/lowagie/text/pdf/BadPdfFormatException.html">BadPdfFormatException</A></PRE>
<DL>
<DD>Translate a PRArray to a PdfArray. Also translate all of the objects contained in it
<P>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/BadPdfFormatException.html">BadPdfFormatException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="copyObject(com.lowagie.text.pdf.PdfObject)"><!-- --></A><H3>
copyObject</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html">PdfObject</A> <B>copyObject</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfObject.html">PdfObject</A>&nbsp;in)                        throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A>,                               <A HREF="../../../../com/lowagie/text/pdf/BadPdfFormatException.html">BadPdfFormatException</A></PRE>
<DL>
<DD>Translate a PR-object to a Pdf-object
<P>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/BadPdfFormatException.html">BadPdfFormatException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setFromIPage(com.lowagie.text.pdf.PdfImportedPage)"><!-- --></A><H3>
setFromIPage</H3>
<PRE>
protected int <B>setFromIPage</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfImportedPage.html">PdfImportedPage</A>&nbsp;iPage)</PRE>
<DL>
<DD>convenience method. Given an importedpage, set our "globals"
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setFromReader(com.lowagie.text.pdf.PdfReader)"><!-- --></A><H3>
setFromReader</H3>
<PRE>
protected void <B>setFromReader</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfReader.html">PdfReader</A>&nbsp;reader)</PRE>
<DL>
<DD>convenience method. Given a reader, set our "globals"
<P>
<DD><DL>
</DL>
</DD>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -