?? verticaltext.html
字號:
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/VerticalText.html#go()">go</A></B>()</CODE>
<BR>
Outputs the lines to the document. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/VerticalText.html#go(boolean)">go</A></B>(boolean simulate)</CODE>
<BR>
Outputs the lines to the document. </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/pdf/VerticalText.html#setAlignment(int)">setAlignment</A></B>(int alignment)</CODE>
<BR>
Sets the alignment.</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/pdf/VerticalText.html#setHeight(float)">setHeight</A></B>(float height)</CODE>
<BR>
Sets the height of the line</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/pdf/VerticalText.html#setLeading(float)">setLeading</A></B>(float leading)</CODE>
<BR>
Sets the separation between the vertical lines.</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/pdf/VerticalText.html#setMaxLines(int)">setMaxLines</A></B>(int maxLines)</CODE>
<BR>
Sets the maximum number of lines.</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/pdf/VerticalText.html#setOrigin(float, float)">setOrigin</A></B>(float startX, float startY)</CODE>
<BR>
Sets the new text origin.</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/pdf/VerticalText.html#setVerticalLayout(float, float, float, int, float)">setVerticalLayout</A></B>(float startX, float startY, float height, int maxLines, float leading)</CODE>
<BR>
Sets the layout.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/VerticalText.html#shortenChunkArray()">shortenChunkArray</A></B>()</CODE>
<BR>
Normalizes the list of chunks when the line is accepted.</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/VerticalText.html#writeLine(com.lowagie.text.pdf.PdfLine, com.lowagie.text.pdf.PdfContentByte, com.lowagie.text.pdf.PdfContentByte)">writeLine</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfLine.html">PdfLine</A> line, <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A> text, <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A> graphics)</CODE>
<BR>
</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#toString()">toString</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="NO_MORE_TEXT"><!-- --></A><H3>
NO_MORE_TEXT</H3>
<PRE>
public static final int <B>NO_MORE_TEXT</B></PRE>
<DL>
<DD>Signals that there are no more text available.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.VerticalText.NO_MORE_TEXT">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="NO_MORE_COLUMN"><!-- --></A><H3>
NO_MORE_COLUMN</H3>
<PRE>
public static final int <B>NO_MORE_COLUMN</B></PRE>
<DL>
<DD>Signals that there is no more column.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.VerticalText.NO_MORE_COLUMN">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="chunks"><!-- --></A><H3>
chunks</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">ArrayList</A> <B>chunks</B></PRE>
<DL>
<DD>The chunks that form the text.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="text"><!-- --></A><H3>
text</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A> <B>text</B></PRE>
<DL>
<DD>The <CODE>PdfContent</CODE> where the text will be written to.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="alignment"><!-- --></A><H3>
alignment</H3>
<PRE>
protected int <B>alignment</B></PRE>
<DL>
<DD>The column alignment. Default is left alignment.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="currentChunkMarker"><!-- --></A><H3>
currentChunkMarker</H3>
<PRE>
protected int <B>currentChunkMarker</B></PRE>
<DL>
<DD>Marks the chunks to be eliminated when the line is written.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="currentStandbyChunk"><!-- --></A><H3>
currentStandbyChunk</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A> <B>currentStandbyChunk</B></PRE>
<DL>
<DD>The chunk created by the splitting.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="splittedChunkText"><!-- --></A><H3>
splittedChunkText</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> <B>splittedChunkText</B></PRE>
<DL>
<DD>The chunk created by the splitting.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="leading"><!-- --></A><H3>
leading</H3>
<PRE>
protected float <B>leading</B></PRE>
<DL>
<DD>The leading
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="startX"><!-- --></A><H3>
startX</H3>
<PRE>
protected float <B>startX</B></PRE>
<DL>
<DD>The X coordinate.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="startY"><!-- --></A><H3>
startY</H3>
<PRE>
protected float <B>startY</B></PRE>
<DL>
<DD>The Y coordinate.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="maxLines"><!-- --></A><H3>
maxLines</H3>
<PRE>
protected int <B>maxLines</B></PRE>
<DL>
<DD>The maximum number of vertical lines.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="height"><!-- --></A><H3>
height</H3>
<PRE>
protected float <B>height</B></PRE>
<DL>
<DD>The height of the text.
<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="VerticalText(com.lowagie.text.pdf.PdfContentByte)"><!-- --></A><H3>
VerticalText</H3>
<PRE>
public <B>VerticalText</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A> text)</PRE>
<DL>
<DD>Creates new VerticalText
<P>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the place where the text will be written to. Can be a template.</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="addText(com.lowagie.text.Phrase)"><!-- --></A><H3>
addText</H3>
<PRE>
public void <B>addText</B>(<A HREF="../../../../com/lowagie/text/Phrase.html">Phrase</A> phrase)</PRE>
<DL>
<DD>Adds a <CODE>Phrase</CODE> to the current text array.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>phrase</CODE> - the text</DL>
</DD>
</DL>
<HR>
<A NAME="addText(com.lowagie.text.Chunk)"><!-- --></A><H3>
addText</H3>
<PRE>
public void <B>addText</B>(<A HREF="../../../../com/lowagie/text/Chunk.html">Chunk</A> chunk)</PRE>
<DL>
<DD>Adds a <CODE>Chunk</CODE> to the current text array.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -