⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 verticaltext.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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>&nbsp;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&nbsp;startX,                              float&nbsp;startY,                              float&nbsp;height,                              int&nbsp;maxLines,                              float&nbsp;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&nbsp;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&nbsp;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&nbsp;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>&nbsp;line,               <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A>&nbsp;text,               <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A>&nbsp;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&nbsp;startX,                      float&nbsp;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&nbsp;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&nbsp;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&nbsp;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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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">&nbsp;<A HREF="../../../../com/lowagie/text/pdf/Type3Glyph.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A>&nbsp;&nbsp;<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>  &nbsp;&nbsp;<A HREF="VerticalText.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -