?? pdfchunk.html
字號:
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html#setImageOffsetX(float)">setImageOffsetX</A></B>(float offsetX)</CODE>
<BR>
Sets the image offset in the x direction</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html#setImageOffsetY(float)">setImageOffsetY</A></B>(float offsetY)</CODE>
<BR>
Sets the image offset in the y direction</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html#setValue(java.lang.String)">setValue</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> value)</CODE>
<BR>
sets the value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) <A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html#split(float)">split</A></B>(float width)</CODE>
<BR>
Splits this <CODE>PdfChunk</CODE> if it's too long for the given width. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html#toString()">toString</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html#trim(java.lang.String)">trim</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> string)</CODE>
<BR>
Removes all the <VAR>' '</VAR> and <VAR>'-'</VAR>-characters on the right of a <CODE>String</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/pdf/PdfChunk.html#trimLastSpace()">trimLastSpace</A></B>()</CODE>
<BR>
Trims the last space.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) <A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html#truncate(float)">truncate</A></B>(float width)</CODE>
<BR>
Truncates this <CODE>PdfChunk</CODE> if it's too long for the given width. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html#width()">width</A></B>()</CODE>
<BR>
Returns the width of this <CODE>PdfChunk</CODE>.</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#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="keysAttributes"><!-- --></A><H3>
keysAttributes</H3>
<PRE>
private static final <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> <B>keysAttributes</B></PRE>
<DL>
<DD>The allowed attributes in variable <CODE>attributes</CODE>.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="keysNoStroke"><!-- --></A><H3>
keysNoStroke</H3>
<PRE>
private static final <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> <B>keysNoStroke</B></PRE>
<DL>
<DD>The allowed attributes in variable <CODE>noStroke</CODE>.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="value"><!-- --></A><H3>
value</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>value</B></PRE>
<DL>
<DD>The value of this object.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="encoding"><!-- --></A><H3>
encoding</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>encoding</B></PRE>
<DL>
<DD>The encoding.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="font"><!-- --></A><H3>
font</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfFont.html">PdfFont</A> <B>font</B></PRE>
<DL>
<DD>The font for this <CODE>PdfChunk</CODE>.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="splitCharacter"><!-- --></A><H3>
splitCharacter</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/SplitCharacter.html">SplitCharacter</A> <B>splitCharacter</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="attributes"><!-- --></A><H3>
attributes</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> <B>attributes</B></PRE>
<DL>
<DD>Metric attributes. <P> This attributes require the mesurement of characters widths when rendering such as underline.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="noStroke"><!-- --></A><H3>
noStroke</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/HashMap.html">HashMap</A> <B>noStroke</B></PRE>
<DL>
<DD>Non metric attributes. <P> This attributes do not require the mesurement of characters widths when rendering such as Color.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="newlineSplit"><!-- --></A><H3>
newlineSplit</H3>
<PRE>
protected boolean <B>newlineSplit</B></PRE>
<DL>
<DD><CODE>true</CODE> if the chunk split was cause by a newline.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="image"><!-- --></A><H3>
image</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/Image.html">Image</A> <B>image</B></PRE>
<DL>
<DD>The image in this <CODE>PdfChunk</CODE>, if it has one
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="offsetX"><!-- --></A><H3>
offsetX</H3>
<PRE>
protected float <B>offsetX</B></PRE>
<DL>
<DD>The offset in the x direction for the image
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="offsetY"><!-- --></A><H3>
offsetY</H3>
<PRE>
protected float <B>offsetY</B></PRE>
<DL>
<DD>The offset in the y direction for the image
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="changeLeading"><!-- --></A><H3>
changeLeading</H3>
<PRE>
protected boolean <B>changeLeading</B></PRE>
<DL>
<DD>Indicates if the height and offset of the Image has to be taken into account
<P>
<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="PdfChunk(java.lang.String, com.lowagie.text.pdf.PdfChunk)"><!-- --></A><H3>
PdfChunk</H3>
<PRE>
<B>PdfChunk</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> string, <A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A> other)</PRE>
<DL>
<DD>Constructs a <CODE>PdfChunk</CODE>-object.
<P>
<DT><B>Parameters:</B><DD><CODE>string</CODE> - the content of the <CODE>PdfChunk</CODE>-object</DL>
<HR>
<A NAME="PdfChunk(com.lowagie.text.Chunk, com.lowagie.text.pdf.PdfAction)"><!-- --></A><H3>
PdfChunk</H3>
<PRE>
<B>PdfChunk</B>(<A HREF="../../../../com/lowagie/text/Chunk.html">Chunk</A> chunk, <A HREF="../../../../com/lowagie/text/pdf/PdfAction.html">PdfAction</A> action)</PRE>
<DL>
<DD>Constructs a <CODE>PdfChunk</CODE>-object.
<P>
<DT><B>Parameters:</B><DD><CODE>chunk</CODE> - the original <CODE>Chunk</CODE>-object<DD><CODE>action</CODE> - the <CODE>PdfAction</CODE> if the <CODE>Chunk</CODE> comes from an <CODE>Anchor</CODE></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="getWord(java.lang.String, int)"><!-- --></A><H3>
getWord</H3>
<PRE>
protected int <B>getWord</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> text, int start)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="split(float)"><!-- --></A><H3>
split</H3>
<PRE>
<A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A> <B>split</B>(float width)</PRE>
<DL>
<DD>Splits this <CODE>PdfChunk</CODE> if it's too long for the given width. <P> Returns <VAR>null</VAR> if the <CODE>PdfChunk</CODE> wasn't truncated.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>width</CODE> - a given width<DT><B>Returns:</B><DD>the <CODE>PdfChunk</CODE> that doesn't fit into the width.</DL>
</DD>
</DL>
<HR>
<A NAME="truncate(float)"><!-- --></A><H3>
truncate</H3>
<PRE>
<A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A> <B>truncate</B>(float width)</PRE>
<DL>
<DD>Truncates this <CODE>PdfChunk</CODE> if it's too long for the given width. <P> Returns <VAR>null</VAR> if the <CODE>PdfChunk</CODE> wasn't truncated.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>width</CODE> - a given width<DT><B>Returns:</B><DD>the <CODE>PdfChunk</CODE> that doesn't fit into the width.</DL>
</DD>
</DL>
<HR>
<A NAME="font()"><!-- --></A><H3>
font</H3>
<PRE>
<A HREF="../../../../com/lowagie/text/pdf/PdfFont.html">PdfFont</A> <B>font</B>()</PRE>
<DL>
<DD>Returns the font of this <CODE>Chunk</CODE>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a <CODE>PdfFont</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="color()"><!-- --></A><H3>
color</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html">Color</A> <B>color</B>()</PRE>
<DL>
<DD>Returns the color of this <CODE>Chunk</CODE>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a <CODE>Color</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="width()"><!-- --></A><H3>
width</H3>
<PRE>
float <B>width</B>()</PRE>
<DL>
<DD>Returns the width of this <CODE>PdfChunk</CODE>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a width</DL>
</DD>
</DL>
<HR>
<A NAME="isNewlineSplit()"><!-- --></A><H3>
isNewlineSplit</H3>
<PRE>
public boolean <B>isNewlineSplit</B>()</PRE>
<DL>
<DD>Checks if the <CODE>PdfChunk</CODE> split was caused by a newline.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><CODE>true</CODE> if the <CODE>PdfChunk</CODE> split was caused by a newline.</DL>
</DD>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -