📄 chunk.html
字号:
<BR> Gets the font of this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#getHorizontalScaling()">getHorizontalScaling</A></B>()</CODE><BR> Gets the horizontal scaling.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/pdf/HyphenationEvent.html" title="interface in com.lowagie.text.pdf">HyphenationEvent</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#getHyphenation()">getHyphenation</A></B>()</CODE><BR> Returns the hyphenation (if present).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Image.html" title="class in com.lowagie.text">Image</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#getImage()">getImage</A></B>()</CODE><BR> Returns the image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#getTextRise()">getTextRise</A></B>()</CODE><BR> Gets the text displacement relative to the baseline.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#getWidthPoint()">getWidthPoint</A></B>()</CODE><BR> Gets the width of the Chunk in points.</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/Chunk.html#hasAttributes()">hasAttributes</A></B>()</CODE><BR> Checks the attributes of this <CODE>Chunk</CODE>.</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/Chunk.html#isContent()">isContent</A></B>()</CODE><BR> Checks if this element is a content object.</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/Chunk.html#isEmpty()">isEmpty</A></B>()</CODE><BR> Checks is this <CODE>Chunk</CODE> is empty.</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/Chunk.html#isNestable()">isNestable</A></B>()</CODE><BR> Checks if this element is nestable.</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/Chunk.html#process(com.lowagie.text.ElementListener)">process</A></B>(<A HREF="../../../com/lowagie/text/ElementListener.html" title="interface in com.lowagie.text">ElementListener</A> listener)</CODE><BR> Processes the element by adding it (or the different parts) to an <CODE> ElementListener</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setAction(com.lowagie.text.pdf.PdfAction)">setAction</A></B>(<A HREF="../../../com/lowagie/text/pdf/PdfAction.html" title="class in com.lowagie.text.pdf">PdfAction</A> action)</CODE><BR> Sets an action for this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setAnchor(java.lang.String)">setAnchor</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> url)</CODE><BR> Sets an anchor for this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setAnchor(java.net.URL)">setAnchor</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A> url)</CODE><BR> Sets an anchor for this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setAnnotation(com.lowagie.text.pdf.PdfAnnotation)">setAnnotation</A></B>(<A HREF="../../../com/lowagie/text/pdf/PdfAnnotation.html" title="class in com.lowagie.text.pdf">PdfAnnotation</A> annotation)</CODE><BR> Sets a generic annotation to this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setAttribute(java.lang.String, java.lang.Object)">setAttribute</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE><BR> Sets an arbitrary attribute.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setAttributes(java.util.HashMap)">setAttributes</A></B>(<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> attributes)</CODE><BR> Sets the attributes all at once.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setBackground(java.awt.Color)">setBackground</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> color)</CODE><BR> Sets the color of the background <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setBackground(java.awt.Color, float, float, float, float)">setBackground</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A> color, float extraLeft, float extraBottom, float extraRight, float extraTop)</CODE><BR> Sets the color and the size of the background <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setFont(com.lowagie.text.Font)">setFont</A></B>(<A HREF="../../../com/lowagie/text/Font.html" title="class in com.lowagie.text">Font</A> font)</CODE><BR> Sets the font of this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setGenericTag(java.lang.String)">setGenericTag</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> text)</CODE><BR> Sets the generic tag <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setHorizontalScaling(float)">setHorizontalScaling</A></B>(float scale)</CODE><BR> Sets the text horizontal scaling.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setHyphenation(com.lowagie.text.pdf.HyphenationEvent)">setHyphenation</A></B>(<A HREF="../../../com/lowagie/text/pdf/HyphenationEvent.html" title="interface in com.lowagie.text.pdf">HyphenationEvent</A> hyphenation)</CODE><BR> sets the hyphenation engine to this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setLocalDestination(java.lang.String)">setLocalDestination</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE><BR> Sets a local destination for this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setLocalGoto(java.lang.String)">setLocalGoto</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE><BR> Sets a local goto for this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setNewPage()">setNewPage</A></B>()</CODE><BR> Sets a new page tag..</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setRemoteGoto(java.lang.String, int)">setRemoteGoto</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> filename, int page)</CODE><BR> Sets a goto for a remote destination for this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setRemoteGoto(java.lang.String, java.lang.String)">setRemoteGoto</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> filename, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE><BR> Sets a goto for a remote destination for this <CODE>Chunk</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setSkew(float, float)">setSkew</A></B>(float alpha, float beta)</CODE><BR> Skews the text to simulate italic and other effects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setSplitCharacter(com.lowagie.text.SplitCharacter)">setSplitCharacter</A></B>(<A HREF="../../../com/lowagie/text/SplitCharacter.html" title="interface in com.lowagie.text">SplitCharacter</A> splitCharacter)</CODE><BR> Sets the split characters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Chunk.html#setTextRenderMode(int, float, java.awt.Color)">setTextRenderMode</A></B>(int mode, float strokeWidth,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -