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

📄 verticaltext.html

📁 java编程java编程java编程java编程java编程java编程java编程
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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">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>()       throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></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><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE> - on error</DL>
</DD>
</DL>
<HR>

<A NAME="go(boolean)"><!-- --></A><H3>
go</H3>
<PRE>
public int <B>go</B>(boolean&nbsp;simulate)       throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></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 writting 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><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE> - on error</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">PdfLine</A>&nbsp;line,               <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A>&nbsp;text,               <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A>&nbsp;graphics)         throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD><DL>
<DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE></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 writen. 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 writen.
<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 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>&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>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/lowagie/text/pdf/Type1Font.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="VerticalText.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&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>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -