?? pdfline.html
字號:
<A NAME="height()"><!-- --></A><H3>
height</H3>
<PRE>
float <B>height</B>()</PRE>
<DL>
<DD>Returns the height of the line.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a value</DL>
</DD>
</DL>
<HR>
<A NAME="indentLeft()"><!-- --></A><H3>
indentLeft</H3>
<PRE>
float <B>indentLeft</B>()</PRE>
<DL>
<DD>Returns the left indentation of the line taking the alignment of the line into account.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a value</DL>
</DD>
</DL>
<HR>
<A NAME="hasToBeJustified()"><!-- --></A><H3>
hasToBeJustified</H3>
<PRE>
public boolean <B>hasToBeJustified</B>()</PRE>
<DL>
<DD>Checks if this line has to be justified.
<P>
<DD><DL>
<DT><B>Returns:</B><DD><CODE>true</CODE> if the alignment equals <VAR>ALIGN_JUSTIFIED</VAR> and there is some width left.</DL>
</DD>
</DL>
<HR>
<A NAME="resetAlignment()"><!-- --></A><H3>
resetAlignment</H3>
<PRE>
public void <B>resetAlignment</B>()</PRE>
<DL>
<DD>Resets the alignment of this line. <P> The alignment of the last line of for instance a <CODE>Paragraph</CODE> that has to be justified, has to be reset to <VAR>ALIGN_LEFT</VAR>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="widthLeft()"><!-- --></A><H3>
widthLeft</H3>
<PRE>
float <B>widthLeft</B>()</PRE>
<DL>
<DD>Returns the width that is left, after a maximum of characters is added to the line.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a value</DL>
</DD>
</DL>
<HR>
<A NAME="numberOfSpaces()"><!-- --></A><H3>
numberOfSpaces</H3>
<PRE>
int <B>numberOfSpaces</B>()</PRE>
<DL>
<DD>Returns the number of space-characters in this line.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a value</DL>
</DD>
</DL>
<HR>
<A NAME="setListItem(com.lowagie.text.ListItem)"><!-- --></A><H3>
setListItem</H3>
<PRE>
public void <B>setListItem</B>(<A HREF="../../../../com/lowagie/text/ListItem.html">ListItem</A> listItem)</PRE>
<DL>
<DD>Sets the listsymbol of this line. <P> This is only necessary for the first line of a <CODE>ListItem</CODE>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>listItem</CODE> - the list symbol</DL>
</DD>
</DL>
<HR>
<A NAME="listSymbol()"><!-- --></A><H3>
listSymbol</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A> <B>listSymbol</B>()</PRE>
<DL>
<DD>Returns the listsymbol of this line.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a <CODE>PdfChunk</CODE> if the line has a listsymbol; <CODE>null</CODE> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="listIndent()"><!-- --></A><H3>
listIndent</H3>
<PRE>
public float <B>listIndent</B>()</PRE>
<DL>
<DD>Return the indentation needed to show the listsymbol.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a value</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>Get the string representation of what is in this line.
<P>
<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>
<DT><B>Returns:</B><DD>a <CODE>String</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="isNewlineSplit()"><!-- --></A><H3>
isNewlineSplit</H3>
<PRE>
public boolean <B>isNewlineSplit</B>()</PRE>
<DL>
<DD>Checks if a newline caused the line split.
<P>
<DD><DL>
<DT><B>Returns:</B><DD><CODE>true</CODE> if a newline caused the line split</DL>
</DD>
</DL>
<HR>
<A NAME="getLastStrokeChunk()"><!-- --></A><H3>
getLastStrokeChunk</H3>
<PRE>
public int <B>getLastStrokeChunk</B>()</PRE>
<DL>
<DD>Gets the index of the last <CODE>PdfChunk</CODE> with metric attributes
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the last <CODE>PdfChunk</CODE> with metric attributes</DL>
</DD>
</DL>
<HR>
<A NAME="getChunk(int)"><!-- --></A><H3>
getChunk</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A> <B>getChunk</B>(int idx)</PRE>
<DL>
<DD>Gets a <CODE>PdfChunk</CODE> by index.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>idx</CODE> - the index<DT><B>Returns:</B><DD>the <CODE>PdfChunk</CODE> or null if beyond the array</DL>
</DD>
</DL>
<HR>
<A NAME="getOriginalWidth()"><!-- --></A><H3>
getOriginalWidth</H3>
<PRE>
public float <B>getOriginalWidth</B>()</PRE>
<DL>
<DD>Gets the original width of the line.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the original width of the line</DL>
</DD>
</DL>
<HR>
<A NAME="getMaxSize()"><!-- --></A><H3>
getMaxSize</H3>
<PRE>
float <B>getMaxSize</B>()</PRE>
<DL>
<DD>Gets the maximum size of all the fonts used in this line including images (if there are images in the line and if the leading has to be changed).
<P>
<DD><DL>
<DT><B>Returns:</B><DD>maximum size of all the fonts used in this line</DL>
</DD>
</DL>
<HR>
<A NAME="getMaxSizeSimple()"><!-- --></A><H3>
getMaxSizeSimple</H3>
<PRE>
float <B>getMaxSizeSimple</B>()</PRE>
<DL>
<DD>Gets the maximum size of all the fonts used in this line including images.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>maximum size of all the fonts used in this line</DL>
</DD>
</DL>
<HR>
<A NAME="isRTL()"><!-- --></A><H3>
isRTL</H3>
<PRE>
boolean <B>isRTL</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getWidthCorrected(float, float)"><!-- --></A><H3>
getWidthCorrected</H3>
<PRE>
public float <B>getWidthCorrected</B>(float charSpacing, float wordSpacing)</PRE>
<DL>
<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/PdfIndirectReference.html"><B>PREV CLASS</B></A>
<A HREF="../../../../com/lowagie/text/pdf/PdfLister.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="PdfLine.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 + -