📄 pdfcopy.html
字号:
</DL>
<HR>
<A NAME="addPage(com.lowagie.text.pdf.PdfImportedPage)"><!-- --></A><H3>
addPage</H3>
<PRE>
public void <B>addPage</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfImportedPage.html">PdfImportedPage</A> iPage) 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>Add an imported page to our output
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>iPage</CODE> - an imported page<DT><B>Throws:</B><DD><CODE>IOException,</CODE> - BadPdfFormatException<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="copyAcroForm(com.lowagie.text.pdf.PdfReader)"><!-- --></A><H3>
copyAcroForm</H3>
<PRE>
public void <B>copyAcroForm</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfReader.html">PdfReader</A> reader) 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>Copy the acroform for an input document. Note that you can only have one, we make no effort to merge them.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The reader of the input file that is being copied<DT><B>Throws:</B><DD><CODE>IOException,</CODE> - BadPdfFormatException<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="getCatalog(com.lowagie.text.pdf.PdfIndirectReference)"><!-- --></A><H3>
getCatalog</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html">PdfDictionary</A> <B>getCatalog</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html">PdfIndirectReference</A> rootObj)</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html#getCatalog(com.lowagie.text.pdf.PdfIndirectReference)">getCatalog</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html">PdfWriter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="close()"><!-- --></A><H3>
close</H3>
<PRE>
public void <B>close</B>()</PRE>
<DL>
<DD>Signals that the <CODE>Document</CODE> was closed and that no other <CODE>Elements</CODE> will be added. <P> The pages-tree is built and written to the outputstream. A Catalog is constructed, as well as an Info-object, the referencetable is composed and everything is written to the outputstream embedded in a Trailer.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/DocListener.html#close()">close</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/DocListener.html">DocListener</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html#close()">close</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html">PdfWriter</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="add(com.lowagie.text.pdf.PdfImage)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html">PdfIndirectReference</A> <B>add</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfImage.html">PdfImage</A> pdfImage)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html">PdfWriter</A></CODE></B></DD>
<DD>Writes a <CODE>PdfImage</CODE> to the outputstream.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html#add(com.lowagie.text.pdf.PdfImage)">add</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>pdfImage</CODE> - the image to be added<DT><B>Returns:</B><DD>a <CODE>PdfIndirectReference</CODE> to the encapsulated image</DL>
</DD>
</DL>
<HR>
<A NAME="add(com.lowagie.text.pdf.PdfOutline)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html">PdfIndirectReference</A> <B>add</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfOutline.html">PdfOutline</A> outline)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addAnnotation(com.lowagie.text.pdf.PdfAnnotation)"><!-- --></A><H3>
addAnnotation</H3>
<PRE>
public void <B>addAnnotation</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfAnnotation.html">PdfAnnotation</A> annot)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html">PdfWriter</A></CODE></B></DD>
<DD>Adds a <CODE>PdfAnnotation</CODE> or a <CODE>PdfFormField</CODE> to the document. Only the top parent of a <CODE>PdfFormField</CODE> needs to be added.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html#addAnnotation(com.lowagie.text.pdf.PdfAnnotation)">addAnnotation</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>annot</CODE> - the <CODE>PdfAnnotation</CODE> or the <CODE>PdfFormField</CODE> to add</DL>
</DD>
</DL>
<HR>
<A NAME="add(com.lowagie.text.pdf.PdfPage, com.lowagie.text.pdf.PdfContents)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html">PdfIndirectReference</A> <B>add</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPage.html">PdfPage</A> page, <A HREF="../../../../com/lowagie/text/pdf/PdfContents.html">PdfContents</A> contents)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html">PdfWriter</A></CODE></B></DD>
<DD>Adds some <CODE>PdfContents</CODE> to this Writer. <P> The document has to be open before you can begin to add content to the body of the document.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html#add(com.lowagie.text.pdf.PdfPage, com.lowagie.text.pdf.PdfContents)">add</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>page</CODE> - the <CODE>PdfPage</CODE> to add<DD><CODE>contents</CODE> - the <CODE>PdfContents</CODE> of the page<DT><B>Returns:</B><DD>a <CODE>PdfIndirectReference</CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<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>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/lowagie/text/pdf/PdfContents.html"><B>PREV CLASS</B></A>
<A HREF="../../../../com/lowagie/text/pdf/PdfCopy.IndirectReferences.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="PdfCopy.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <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>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -