?? pdfreader.html
字號:
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#getSafeFile()">getSafeFile</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#isRebuilt()">isRebuilt</A></B>()</CODE>
<BR>
Checks if the document had errors and was rebuilt.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#iteratePages(com.lowagie.text.pdf.PdfDictionary)">iteratePages</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html">PdfDictionary</A> page)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#LZWDecode(byte[])">LZWDecode</A></B>(byte[] in)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#popPageAttributes()">popPageAttributes</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#pushPageAttributes(com.lowagie.text.pdf.PdfDictionary)">pushPageAttributes</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html">PdfDictionary</A> nodePages)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../com/lowagie/text/pdf/PdfArray.html">PdfArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#readArray()">readArray</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html">PdfDictionary</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#readDictionary()">readDictionary</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#readDocObj()">readDocObj</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#readPages()">readPages</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#readPdf()">readPdf</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html">PdfObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#readPRObject()">readPRObject</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#readXref()">readXref</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#readXrefSection()">readXrefSection</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfReader.html#rebuildXref()">rebuildXref</A></B>()</CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="pageInhCandidates"><!-- --></A><H3>
pageInhCandidates</H3>
<PRE>
static final <A HREF="../../../../com/lowagie/text/pdf/PdfName.html">PdfName</A>[] <B>pageInhCandidates</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="tokens"><!-- --></A><H3>
tokens</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PRTokeniser.html">PRTokeniser</A> <B>tokens</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="xref"><!-- --></A><H3>
xref</H3>
<PRE>
protected int[] <B>xref</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="xrefObj"><!-- --></A><H3>
xrefObj</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html">PdfObject</A>[] <B>xrefObj</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="trailer"><!-- --></A><H3>
trailer</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html">PdfDictionary</A> <B>trailer</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="pages"><!-- --></A><H3>
pages</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html">PdfDictionary</A>[] <B>pages</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="catalog"><!-- --></A><H3>
catalog</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html">PdfDictionary</A> <B>catalog</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="pageRefs"><!-- --></A><H3>
pageRefs</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PRIndirectReference.html">PRIndirectReference</A>[] <B>pageRefs</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="acroForm"><!-- --></A><H3>
acroForm</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PRAcroForm.html">PRAcroForm</A> <B>acroForm</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="pageInh"><!-- --></A><H3>
pageInh</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">ArrayList</A> <B>pageInh</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="pagesCount"><!-- --></A><H3>
pagesCount</H3>
<PRE>
protected int <B>pagesCount</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="encrypted"><!-- --></A><H3>
encrypted</H3>
<PRE>
protected boolean <B>encrypted</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="rebuilt"><!-- --></A><H3>
rebuilt</H3>
<PRE>
protected boolean <B>rebuilt</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="PdfReader(java.lang.String)"><!-- --></A><H3>
PdfReader</H3>
<PRE>
public <B>PdfReader</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> filename) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Reads and parses a PDF document.
<P>
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - the file name of the document<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE> - on error</DL>
<HR>
<A NAME="PdfReader(byte[])"><!-- --></A><H3>
PdfReader</H3>
<PRE>
public <B>PdfReader</B>(byte[] pdfIn) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Reads and parses a PDF document.
<P>
<DT><B>Parameters:</B><DD><CODE>pdfIn</CODE> - the byte array with the document<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE> - on error</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="getSafeFile()"><!-- --></A><H3>
getSafeFile</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/pdf/RandomAccessFileOrArray.html">RandomAccessFileOrArray</A> <B>getSafeFile</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPdfReaderInstance(com.lowagie.text.pdf.PdfWriter)"><!-- --></A><H3>
getPdfReaderInstance</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfReaderInstance.html">PdfReaderInstance</A> <B>getPdfReaderInstance</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html">PdfWriter</A> writer)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getNumberOfPages()"><!-- --></A><H3>
getNumberOfPages</H3>
<PRE>
public int <B>getNumberOfPages</B>()</PRE>
<DL>
<DD>Gets the number of pages in the document.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the number of pages in the document</DL>
</DD>
</DL>
<HR>
<A NAME="getCatalog()"><!-- --></A><H3>
getCatalog</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html">PdfDictionary</A> <B>getCatalog</B>()</PRE>
<DL>
<DD>Returns the document's catalog
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getAcroForm()"><!-- --></A><H3>
getAcroForm</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/pdf/PRAcroForm.html">PRAcroForm</A> <B>getAcroForm</B>()</PRE>
<DL>
<DD>Returns the document's acroform, if it has one
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPageRotation(int)"><!-- --></A><H3>
getPageRotation</H3>
<PRE>
public int <B>getPageRotation</B>(int index)</PRE>
<DL>
<DD>Gets the page rotation. This value can be 0, 90, 180 or 270.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the page number. The first page is 1<DT><B>Returns:</B><DD>the page rotation</DL>
</DD>
</DL>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -