?? pdfchunk.html
字號:
</DL>
<HR>
<A NAME="getWidthCorrected(float, float)"><!-- --></A><H3>
getWidthCorrected</H3>
<PRE>
public float <B>getWidthCorrected</B>(float charSpacing, float wordSpacing)</PRE>
<DL>
<DD>Gets the width of the <CODE>PdfChunk</CODE> taking into account the extra character and word spacing.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>charSpacing</CODE> - the extra character spacing<DD><CODE>wordSpacing</CODE> - the extra word spacing<DT><B>Returns:</B><DD>the calculated width</DL>
</DD>
</DL>
<HR>
<A NAME="trimLastSpace()"><!-- --></A><H3>
trimLastSpace</H3>
<PRE>
public float <B>trimLastSpace</B>()</PRE>
<DL>
<DD>Trims the last space.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the width of the space trimmed, otherwise 0</DL>
</DD>
</DL>
<HR>
<A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>
getAttribute</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A> <B>getAttribute</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> name)</PRE>
<DL>
<DD>Gets an attribute. The search is made in <CODE>attributes</CODE> and <CODE>noStroke</CODE>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the attribute key<DT><B>Returns:</B><DD>the attribute value or null if not found</DL>
</DD>
</DL>
<HR>
<A NAME="isAttribute(java.lang.String)"><!-- --></A><H3>
isAttribute</H3>
<PRE>
boolean <B>isAttribute</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> name)</PRE>
<DL>
<DD>Checks if the attribute exists.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the attribute key<DT><B>Returns:</B><DD><CODE>true</CODE> if the attribute exists</DL>
</DD>
</DL>
<HR>
<A NAME="isStroked()"><!-- --></A><H3>
isStroked</H3>
<PRE>
boolean <B>isStroked</B>()</PRE>
<DL>
<DD>Checks if this <CODE>PdfChunk</CODE> needs some special metrics handling.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><CODE>true</CODE> if this <CODE>PdfChunk</CODE> needs some special metrics handling.</DL>
</DD>
</DL>
<HR>
<A NAME="isImage()"><!-- --></A><H3>
isImage</H3>
<PRE>
boolean <B>isImage</B>()</PRE>
<DL>
<DD>Checks if there is an image in the <CODE>PdfChunk</CODE>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><CODE>true</CODE> if an image is present</DL>
</DD>
</DL>
<HR>
<A NAME="getImage()"><!-- --></A><H3>
getImage</H3>
<PRE>
<A HREF="../../../../com/lowagie/text/Image.html">Image</A> <B>getImage</B>()</PRE>
<DL>
<DD>Gets the image in the <CODE>PdfChunk</CODE>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the image or <CODE>null</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setImageOffsetX(float)"><!-- --></A><H3>
setImageOffsetX</H3>
<PRE>
void <B>setImageOffsetX</B>(float offsetX)</PRE>
<DL>
<DD>Sets the image offset in the x direction
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>offsetX</CODE> - the image offset in the x direction</DL>
</DD>
</DL>
<HR>
<A NAME="getImageOffsetX()"><!-- --></A><H3>
getImageOffsetX</H3>
<PRE>
float <B>getImageOffsetX</B>()</PRE>
<DL>
<DD>Gets the image offset in the x direction
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the image offset in the x direction</DL>
</DD>
</DL>
<HR>
<A NAME="setImageOffsetY(float)"><!-- --></A><H3>
setImageOffsetY</H3>
<PRE>
void <B>setImageOffsetY</B>(float offsetY)</PRE>
<DL>
<DD>Sets the image offset in the y direction
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>offsetY</CODE> - the image offset in the y direction</DL>
</DD>
</DL>
<HR>
<A NAME="getImageOffsetY()"><!-- --></A><H3>
getImageOffsetY</H3>
<PRE>
float <B>getImageOffsetY</B>()</PRE>
<DL>
<DD>Gets the image offset in the y direction
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Gets the image offset in the y direction</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(java.lang.String)"><!-- --></A><H3>
setValue</H3>
<PRE>
void <B>setValue</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> value)</PRE>
<DL>
<DD>sets the value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>toString</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#toString()">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isSpecialEncoding()"><!-- --></A><H3>
isSpecialEncoding</H3>
<PRE>
boolean <B>isSpecialEncoding</B>()</PRE>
<DL>
<DD>Tells you if this string is in Chinese, Japanese, Korean or Identity-H.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getEncoding()"><!-- --></A><H3>
getEncoding</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>getEncoding</B>()</PRE>
<DL>
<DD>Gets the encoding of this string.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>a <CODE>String</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="length()"><!-- --></A><H3>
length</H3>
<PRE>
int <B>length</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isSplitCharacter(char)"><!-- --></A><H3>
isSplitCharacter</H3>
<PRE>
public boolean <B>isSplitCharacter</B>(char c)</PRE>
<DL>
<DD>Checks if a character can be used to split a <CODE>PdfString</CODE>. <P> for the moment every character less than or equal to SPACE and the character '-' are 'splitCharacters'.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/SplitCharacter.html#isSplitCharacter(char)">isSplitCharacter</A></CODE> in interface <CODE><A HREF="../../../../com/lowagie/text/SplitCharacter.html">SplitCharacter</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the character that has to be checked<DT><B>Returns:</B><DD><CODE>true</CODE> if the character can be used to split a string, <CODE>false</CODE> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isExtSplitCharacter(char)"><!-- --></A><H3>
isExtSplitCharacter</H3>
<PRE>
boolean <B>isExtSplitCharacter</B>(char c)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="trim(java.lang.String)"><!-- --></A><H3>
trim</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>trim</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> string)</PRE>
<DL>
<DD>Removes all the <VAR>' '</VAR> and <VAR>'-'</VAR>-characters on the right of a <CODE>String</CODE>. <P>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>string</CODE> - the <CODE>String<CODE> that has to be trimmed.<DT><B>Returns:</B><DD>the trimmed <CODE>String</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="changeLeading()"><!-- --></A><H3>
changeLeading</H3>
<PRE>
public boolean <B>changeLeading</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getCharWidth(char)"><!-- --></A><H3>
getCharWidth</H3>
<PRE>
float <B>getCharWidth</B>(char c)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="noPrint(char)"><!-- --></A><H3>
noPrint</H3>
<PRE>
public static boolean <B>noPrint</B>(char c)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<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>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/lowagie/text/pdf/PdfCell.html"><B>PREV CLASS</B></A>
<A HREF="../../../../com/lowagie/text/pdf/PdfColor.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="PdfChunk.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | <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>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -