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

📄 pdfdictionary.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
PAGE</H3><PRE>public static final <A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A> <B>PAGE</B></PRE><DL><DD>This is a possible type of dictionary<P><DL></DL></DL><HR><A NAME="PAGES"><!-- --></A><H3>PAGES</H3><PRE>public static final <A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A> <B>PAGES</B></PRE><DL><DD>This is a possible type of dictionary<P><DL></DL></DL><HR><A NAME="CATALOG"><!-- --></A><H3>CATALOG</H3><PRE>public static final <A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A> <B>CATALOG</B></PRE><DL><DD>This is a possible type of dictionary<P><DL></DL></DL><HR><A NAME="dictionaryType"><!-- --></A><H3>dictionaryType</H3><PRE>private <A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A> <B>dictionaryType</B></PRE><DL><DD>This is the type of this dictionary<P><DL></DL></DL><HR><A NAME="hashMap"><!-- --></A><H3>hashMap</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A> <B>hashMap</B></PRE><DL><DD>This is the hashmap that contains all the values and keys of the dictionary<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="PdfDictionary()"><!-- --></A><H3>PdfDictionary</H3><PRE>public <B>PdfDictionary</B>()</PRE><DL><DD>Constructs an empty <CODE>PdfDictionary</CODE>-object.<P></DL><HR><A NAME="PdfDictionary(com.lowagie.text.pdf.PdfName)"><!-- --></A><H3>PdfDictionary</H3><PRE>public <B>PdfDictionary</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A>&nbsp;type)</PRE><DL><DD>Constructs a <CODE>PdfDictionary</CODE>-object of a certain type.<P><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - a <CODE>PdfName</CODE></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="toPdf(com.lowagie.text.pdf.PdfWriter, java.io.OutputStream)"><!-- --></A><H3>toPdf</H3><PRE>public void <B>toPdf</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                  <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>&nbsp;os)           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 PDF representation of this <CODE>PdfDictionary</CODE>.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfObject.html#toPdf(com.lowagie.text.pdf.PdfWriter, java.io.OutputStream)">toPdf</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - for backwards compatibility<DD><CODE>os</CODE> - the outputstream to write the bytes to.<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="put(com.lowagie.text.pdf.PdfName, com.lowagie.text.pdf.PdfObject)"><!-- --></A><H3>put</H3><PRE>public void <B>put</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A>&nbsp;key,                <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A>&nbsp;value)</PRE><DL><DD>Adds a <CODE>PdfObject</CODE> and its key to the <CODE>PdfDictionary</CODE>. If the value is <CODE>null</CODE> or <CODE>PdfNull</CODE> the key is deleted.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - key of the entry (a <CODE>PdfName</CODE>)<DD><CODE>value</CODE> - value of the entry (a <CODE>PdfObject</CODE>)</DL></DD></DL><HR><A NAME="putEx(com.lowagie.text.pdf.PdfName, com.lowagie.text.pdf.PdfObject)"><!-- --></A><H3>putEx</H3><PRE>public void <B>putEx</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A>&nbsp;key,                  <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A>&nbsp;value)</PRE><DL><DD>Adds a <CODE>PdfObject</CODE> and its key to the <CODE>PdfDictionary</CODE>. If the value is null it does nothing.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - key of the entry (a <CODE>PdfName</CODE>)<DD><CODE>value</CODE> - value of the entry (a <CODE>PdfObject</CODE>)</DL></DD></DL><HR><A NAME="remove(com.lowagie.text.pdf.PdfName)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A>&nbsp;key)</PRE><DL><DD>Removes a <CODE>PdfObject</CODE> and its key from the <CODE>PdfDictionary</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - key of the entry (a <CODE>PdfName</CODE>)</DL></DD></DL><HR><A NAME="get(com.lowagie.text.pdf.PdfName)"><!-- --></A><H3>get</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> <B>get</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A>&nbsp;key)</PRE><DL><DD>Gets a <CODE>PdfObject</CODE> with a certain key from the <CODE>PdfDictionary</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - key of the entry (a <CODE>PdfName</CODE>)<DT><B>Returns:</B><DD>the previous </CODE>PdfObject</CODE> corresponding with the <VAR>key</VAR></DL></DD></DL><HR><A NAME="isFont()"><!-- --></A><H3>isFont</H3><PRE>public boolean <B>isFont</B>()</PRE><DL><DD>Checks if a <CODE>Dictionary</CODE> is of the type FONT.<P><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if it is, <CODE>false</CODE> if it isn't.</DL></DD></DL><HR><A NAME="isPage()"><!-- --></A><H3>isPage</H3><PRE>public boolean <B>isPage</B>()</PRE><DL><DD>Checks if a <CODE>Dictionary</CODE> is of the type PAGE.<P><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if it is, <CODE>false</CODE> if it isn't.</DL></DD></DL><HR><A NAME="isPages()"><!-- --></A><H3>isPages</H3><PRE>public boolean <B>isPages</B>()</PRE><DL><DD>Checks if a <CODE>Dictionary</CODE> is of the type PAGES.<P><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if it is, <CODE>false</CODE> if it isn't.</DL></DD></DL><HR><A NAME="isCatalog()"><!-- --></A><H3>isCatalog</H3><PRE>public boolean <B>isCatalog</B>()</PRE><DL><DD>Checks if a <CODE>Dictionary</CODE> is of the type CATALOG.<P><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if it is, <CODE>false</CODE> if it isn't.</DL></DD></DL><HR><A NAME="isOutlineTree()"><!-- --></A><H3>isOutlineTree</H3><PRE>public boolean <B>isOutlineTree</B>()</PRE><DL><DD>Checks if a <CODE>Dictionary</CODE> is of the type OUTLINES.<P><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if it is, <CODE>false</CODE> if it isn't.</DL></DD></DL><HR><A NAME="merge(com.lowagie.text.pdf.PdfDictionary)"><!-- --></A><H3>merge</H3><PRE>public void <B>merge</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html" title="class in com.lowagie.text.pdf">PdfDictionary</A>&nbsp;other)</PRE><DL><DD><DL>

⌨️ 快捷键说明

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