📄 verticaltext.html
字号:
<CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/VerticalText.html#getOriginY()">getOriginY</A></B>()</CODE><BR> Gets the Y coordinate where the next line will be written.</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()">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" title="class in com.lowagie.text.pdf">PdfLine</A> line, <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A> text, <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A> graphics)</CODE><BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<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></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></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.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">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" title="class in com.lowagie.text.pdf">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" title="class in com.lowagie.text.pdf">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.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">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" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></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" title="class in com.lowagie.text.pdf">PdfContentByte</A> text)</PRE><DL><DD>Creates new VerticalText<P><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - the place where the text will be written to. Can be a template.</DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></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" title="class in com.lowagie.text">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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -