📄 verticaltext.html
字号:
<A NAME="addText(com.lowagie.text.Chunk)"><!-- --></A><H3>addText</H3><PRE>public void <B>addText</B>(<A HREF="../../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A> chunk)</PRE><DL><DD>Adds a <CODE>Chunk</CODE> to the current text array.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>chunk</CODE> - the text</DL></DD></DL><HR><A NAME="setVerticalLayout(float, float, float, int, float)"><!-- --></A><H3>setVerticalLayout</H3><PRE>public void <B>setVerticalLayout</B>(float startX, float startY, float height, int maxLines, float leading)</PRE><DL><DD>Sets the layout.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>startX</CODE> - the top right X line position<DD><CODE>startY</CODE> - the top right Y line position<DD><CODE>height</CODE> - the height of the lines<DD><CODE>maxLines</CODE> - the maximum number of lines<DD><CODE>leading</CODE> - the separation between the lines</DL></DD></DL><HR><A NAME="setLeading(float)"><!-- --></A><H3>setLeading</H3><PRE>public void <B>setLeading</B>(float leading)</PRE><DL><DD>Sets the separation between the vertical lines.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>leading</CODE> - the vertical line separation</DL></DD></DL><HR><A NAME="getLeading()"><!-- --></A><H3>getLeading</H3><PRE>public float <B>getLeading</B>()</PRE><DL><DD>Gets the separation between the vertical lines.<P><DD><DL><DT><B>Returns:</B><DD>the vertical line separation</DL></DD></DL><HR><A NAME="createLine(float)"><!-- --></A><H3>createLine</H3><PRE>protected <A HREF="../../../../com/lowagie/text/pdf/PdfLine.html" title="class in com.lowagie.text.pdf">PdfLine</A> <B>createLine</B>(float width)</PRE><DL><DD>Creates a line from the chunk array.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the width of the line<DT><B>Returns:</B><DD>the line or null if no more chunks</DL></DD></DL><HR><A NAME="shortenChunkArray()"><!-- --></A><H3>shortenChunkArray</H3><PRE>protected void <B>shortenChunkArray</B>()</PRE><DL><DD>Normalizes the list of chunks when the line is accepted.<P><DD><DL></DL></DD></DL><HR><A NAME="go()"><!-- --></A><H3>go</H3><PRE>public int <B>go</B>()</PRE><DL><DD>Outputs the lines to the document. It is equivalent to <CODE>go(false)</CODE>.<P><DD><DL><DT><B>Returns:</B><DD>returns the result of the operation. It can be <CODE>NO_MORE_TEXT</CODE> and/or <CODE>NO_MORE_COLUMN</CODE></DL></DD></DL><HR><A NAME="go(boolean)"><!-- --></A><H3>go</H3><PRE>public int <B>go</B>(boolean simulate)</PRE><DL><DD>Outputs the lines to the document. The output can be simulated.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>simulate</CODE> - <CODE>true</CODE> to simulate the writing to the document<DT><B>Returns:</B><DD>returns the result of the operation. It can be <CODE>NO_MORE_TEXT</CODE> and/or <CODE>NO_MORE_COLUMN</CODE></DL></DD></DL><HR><A NAME="writeLine(com.lowagie.text.pdf.PdfLine, com.lowagie.text.pdf.PdfContentByte, com.lowagie.text.pdf.PdfContentByte)"><!-- --></A><H3>writeLine</H3><PRE>void <B>writeLine</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)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setOrigin(float, float)"><!-- --></A><H3>setOrigin</H3><PRE>public void <B>setOrigin</B>(float startX, float startY)</PRE><DL><DD>Sets the new text origin.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>startX</CODE> - the X coordinate<DD><CODE>startY</CODE> - the Y coordinate</DL></DD></DL><HR><A NAME="getOriginX()"><!-- --></A><H3>getOriginX</H3><PRE>public float <B>getOriginX</B>()</PRE><DL><DD>Gets the X coordinate where the next line will be written. This value will change after each call to <code>go()</code>.<P><DD><DL><DT><B>Returns:</B><DD>the X coordinate</DL></DD></DL><HR><A NAME="getOriginY()"><!-- --></A><H3>getOriginY</H3><PRE>public float <B>getOriginY</B>()</PRE><DL><DD>Gets the Y coordinate where the next line will be written.<P><DD><DL><DT><B>Returns:</B><DD>the Y coordinate</DL></DD></DL><HR><A NAME="getMaxLines()"><!-- --></A><H3>getMaxLines</H3><PRE>public int <B>getMaxLines</B>()</PRE><DL><DD>Gets the maximum number of available lines. This value will change after each call to <code>go()</code>.<P><DD><DL><DT><B>Returns:</B><DD>Value of property maxLines.</DL></DD></DL><HR><A NAME="setMaxLines(int)"><!-- --></A><H3>setMaxLines</H3><PRE>public void <B>setMaxLines</B>(int maxLines)</PRE><DL><DD>Sets the maximum number of lines.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>maxLines</CODE> - the maximum number of lines</DL></DD></DL><HR><A NAME="getHeight()"><!-- --></A><H3>getHeight</H3><PRE>public float <B>getHeight</B>()</PRE><DL><DD>Gets the height of the line<P><DD><DL><DT><B>Returns:</B><DD>the height</DL></DD></DL><HR><A NAME="setHeight(float)"><!-- --></A><H3>setHeight</H3><PRE>public void <B>setHeight</B>(float height)</PRE><DL><DD>Sets the height of the line<P><DD><DL><DT><B>Parameters:</B><DD><CODE>height</CODE> - the new height</DL></DD></DL><HR><A NAME="setAlignment(int)"><!-- --></A><H3>setAlignment</H3><PRE>public void <B>setAlignment</B>(int alignment)</PRE><DL><DD>Sets the alignment.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>alignment</CODE> - the alignment</DL></DD></DL><HR><A NAME="getAlignment()"><!-- --></A><H3>getAlignment</H3><PRE>public int <B>getAlignment</B>()</PRE><DL><DD>Gets the alignment.<P><DD><DL><DT><B>Returns:</B><DD>the alignment</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <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>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/lowagie/text/pdf/Type3Glyph.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A> <A HREF="../../../../com/lowagie/text/pdf/XfaForm.html" title="class in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/lowagie/text/pdf/VerticalText.html" target="_top"><B>FRAMES</B></A> <A HREF="VerticalText.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -