📄 pdfwriter.pdfbody.html
字号:
<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="flushObjStm()"><!-- --></A><H3>flushObjStm</H3><PRE>private void <B>flushObjStm</B>() throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="add(com.lowagie.text.pdf.PdfObject)"><!-- --></A><H3>add</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfIndirectObject.html" title="class in com.lowagie.text.pdf">PdfIndirectObject</A> <B>add</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> object) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Adds a <CODE>PdfObject</CODE> to the body. <P> This methods creates a <CODE>PdfIndirectObject</CODE> with a certain number, containing the given <CODE>PdfObject</CODE>. It also adds a <CODE>PdfCrossReference</CODE> for this object to an <CODE>ArrayList</CODE> that will be used to build the Cross-reference Table.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - a <CODE>PdfObject</CODE><DT><B>Returns:</B><DD>a <CODE>PdfIndirectObject</CODE><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="add(com.lowagie.text.pdf.PdfObject, boolean)"><!-- --></A><H3>add</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfIndirectObject.html" title="class in com.lowagie.text.pdf">PdfIndirectObject</A> <B>add</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> object, boolean inObjStm) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="getPdfIndirectReference()"><!-- --></A><H3>getPdfIndirectReference</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html" title="class in com.lowagie.text.pdf">PdfIndirectReference</A> <B>getPdfIndirectReference</B>()</PRE><DL><DD>Gets a PdfIndirectReference for an object that will be created in the future.<P><DD><DL><DT><B>Returns:</B><DD>a PdfIndirectReference</DL></DD></DL><HR><A NAME="getIndirectReferenceNumber()"><!-- --></A><H3>getIndirectReferenceNumber</H3><PRE>int <B>getIndirectReferenceNumber</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="add(com.lowagie.text.pdf.PdfObject, com.lowagie.text.pdf.PdfIndirectReference)"><!-- --></A><H3>add</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfIndirectObject.html" title="class in com.lowagie.text.pdf">PdfIndirectObject</A> <B>add</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> object, <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html" title="class in com.lowagie.text.pdf">PdfIndirectReference</A> ref) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Adds a <CODE>PdfObject</CODE> to the body given an already existing PdfIndirectReference. <P> This methods creates a <CODE>PdfIndirectObject</CODE> with the number given by <CODE>ref</CODE>, containing the given <CODE>PdfObject</CODE>. It also adds a <CODE>PdfCrossReference</CODE> for this object to an <CODE>ArrayList</CODE> that will be used to build the Cross-reference Table.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - a <CODE>PdfObject</CODE><DD><CODE>ref</CODE> - a <CODE>PdfIndirectReference</CODE><DT><B>Returns:</B><DD>a <CODE>PdfIndirectObject</CODE><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="add(com.lowagie.text.pdf.PdfObject, com.lowagie.text.pdf.PdfIndirectReference, boolean)"><!-- --></A><H3>add</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfIndirectObject.html" title="class in com.lowagie.text.pdf">PdfIndirectObject</A> <B>add</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> object, <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html" title="class in com.lowagie.text.pdf">PdfIndirectReference</A> ref, boolean inObjStm) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="add(com.lowagie.text.pdf.PdfObject, int)"><!-- --></A><H3>add</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfIndirectObject.html" title="class in com.lowagie.text.pdf">PdfIndirectObject</A> <B>add</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> object, int refNumber) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="add(com.lowagie.text.pdf.PdfObject, int, boolean)"><!-- --></A><H3>add</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfIndirectObject.html" title="class in com.lowagie.text.pdf">PdfIndirectObject</A> <B>add</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> object, int refNumber, boolean inObjStm) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="offset()"><!-- --></A><H3>offset</H3><PRE>int <B>offset</B>()</PRE><DL><DD>Returns the offset of the Cross-Reference table.<P><DD><DL><DT><B>Returns:</B><DD>an offset</DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>int <B>size</B>()</PRE><DL><DD>Returns the total number of objects contained in the CrossReferenceTable of this <CODE>Body</CODE>.<P><DD><DL><DT><B>Returns:</B><DD>a number of objects</DL></DD></DL><HR><A NAME="writeCrossReferenceTable(java.io.OutputStream, com.lowagie.text.pdf.PdfIndirectReference, com.lowagie.text.pdf.PdfIndirectReference, com.lowagie.text.pdf.PdfIndirectReference, com.lowagie.text.pdf.PdfObject, int)"><!-- --></A><H3>writeCrossReferenceTable</H3><PRE>void <B>writeCrossReferenceTable</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> os, <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html" title="class in com.lowagie.text.pdf">PdfIndirectReference</A> root, <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html" title="class in com.lowagie.text.pdf">PdfIndirectReference</A> info, <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html" title="class in com.lowagie.text.pdf">PdfIndirectReference</A> encryption, <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> fileID, int prevxref) throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Returns the CrossReferenceTable of the <CODE>Body</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>os</CODE> - <DD><CODE>root</CODE> - <DD><CODE>info</CODE> - <DD><CODE>encryption</CODE> - <DD><CODE>fileID</CODE> - <DD><CODE>prevxref</CODE> - <DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></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/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A> <A HREF="../../../../com/lowagie/text/pdf/PdfWriter.PdfBody.PdfCrossReference.html" title="class in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/lowagie/text/pdf/PdfWriter.PdfBody.html" target="_top"><B>FRAMES</B></A> <A HREF="PdfWriter.PdfBody.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: <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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -