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

📄 columntext.html

📁 java编程java编程java编程java编程java编程java编程java编程
💻 HTML
📖 第 1 页 / 共 4 页
字号:
protected int <B>alignment</B></PRE>
<DL>
<DD>The column alignment. Default is left alignment.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="leftWall"><!-- --></A><H3>
leftWall</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">ArrayList</A> <B>leftWall</B></PRE>
<DL>
<DD>The left column bound.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="rightWall"><!-- --></A><H3>
rightWall</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">ArrayList</A> <B>rightWall</B></PRE>
<DL>
<DD>The right column bound.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="bidiLine"><!-- --></A><H3>
bidiLine</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/BidiLine.html">BidiLine</A> <B>bidiLine</B></PRE>
<DL>
<DD>The chunks that form the text.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="yLine"><!-- --></A><H3>
yLine</H3>
<PRE>
protected float <B>yLine</B></PRE>
<DL>
<DD>The current y line location. Text will be written at this line minus the leading.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="currentLeading"><!-- --></A><H3>
currentLeading</H3>
<PRE>
protected float <B>currentLeading</B></PRE>
<DL>
<DD>The leading for the current line.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="fixedLeading"><!-- --></A><H3>
fixedLeading</H3>
<PRE>
protected float <B>fixedLeading</B></PRE>
<DL>
<DD>The fixed text leading.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="multipliedLeading"><!-- --></A><H3>
multipliedLeading</H3>
<PRE>
protected float <B>multipliedLeading</B></PRE>
<DL>
<DD>The text leading that is multiplied by the biggest font size in the line.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="canvas"><!-- --></A><H3>
canvas</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A> <B>canvas</B></PRE>
<DL>
<DD>The <CODE>PdfContent</CODE> where the text will be written to.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="lineStatus"><!-- --></A><H3>
lineStatus</H3>
<PRE>
protected int <B>lineStatus</B></PRE>
<DL>
<DD>The line status when trying to fit a line to a column.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="indent"><!-- --></A><H3>
indent</H3>
<PRE>
protected float <B>indent</B></PRE>
<DL>
<DD>The first paragraph line indent.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="followingIndent"><!-- --></A><H3>
followingIndent</H3>
<PRE>
protected float <B>followingIndent</B></PRE>
<DL>
<DD>The following paragraph lines indent.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="rightIndent"><!-- --></A><H3>
rightIndent</H3>
<PRE>
protected float <B>rightIndent</B></PRE>
<DL>
<DD>The right paragraph lines indent.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="extraParagraphSpace"><!-- --></A><H3>
extraParagraphSpace</H3>
<PRE>
protected float <B>extraParagraphSpace</B></PRE>
<DL>
<DD>The extra space between paragraphs.
<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="rectangularWidth"><!-- --></A><H3>
rectangularWidth</H3>
<PRE>
protected float <B>rectangularWidth</B></PRE>
<DL>
<DD>The width of the line when the column is defined as a simple rectangle.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="spaceCharRatio"><!-- --></A><H3>
spaceCharRatio</H3>
<PRE>
private float <B>spaceCharRatio</B></PRE>
<DL>
<DD>Holds value of property spaceCharRatio.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="lastWasNewline"><!-- --></A><H3>
lastWasNewline</H3>
<PRE>
private boolean <B>lastWasNewline</B></PRE>
<DL>
<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="ColumnText(com.lowagie.text.pdf.PdfContentByte)"><!-- --></A><H3>
ColumnText</H3>
<PRE>
public <B>ColumnText</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A>&nbsp;canvas)</PRE>
<DL>
<DD>Creates a <CODE>ColumnText</CODE>.
<P>
<DT><B>Parameters:</B><DD><CODE>canvas</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>&nbsp;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>&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="convertColumn(float[])"><!-- --></A><H3>
convertColumn</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">ArrayList</A> <B>convertColumn</B>(float[]&nbsp;cLine)</PRE>
<DL>
<DD>Converts a sequence of lines representing one of the column bounds into an internal format. <p> Each array element will contain a <CODE>float[4]</CODE> representing the line x = ax + b.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cLine</CODE> - the column array<DT><B>Returns:</B><DD>the converted array</DL>
</DD>
</DL>
<HR>

<A NAME="findLimitsPoint(java.util.ArrayList)"><!-- --></A><H3>
findLimitsPoint</H3>
<PRE>
protected float <B>findLimitsPoint</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">ArrayList</A>&nbsp;wall)</PRE>
<DL>
<DD>Finds the intersection between the <CODE>yLine</CODE> and the column. It will set the <CODE>lineStatus</CODE> apropriatly.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>wall</CODE> - the column to intersect<DT><B>Returns:</B><DD>the x coordinate of the intersection</DL>
</DD>
</DL>
<HR>

<A NAME="findLimitsOneLine()"><!-- --></A><H3>
findLimitsOneLine</H3>
<PRE>
protected float[] <B>findLimitsOneLine</B>()</PRE>
<DL>
<DD>Finds the intersection between the <CODE>yLine</CODE> and the two column bounds. It will set the <CODE>lineStatus</CODE> apropriatly.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a <CODE>float[2]</CODE>with the x coordinates of the intersection</DL>
</DD>
</DL>
<HR>

<A NAME="findLimitsTwoLines()"><!-- --></A><H3>
findLimitsTwoLines</H3>
<PRE>
protected float[] <B>findLimitsTwoLines</B>()</PRE>
<DL>
<DD>Finds the intersection between the <CODE>yLine</CODE>, the <CODE>yLine-leading</CODE>and the two column bounds. It will set the <CODE>lineStatus</CODE> apropriatly.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a <CODE>float[4]</CODE>with the x coordinates of the intersection</DL>
</DD>
</DL>
<HR>

<A NAME="setColumns(float[], float[])"><!-- --></A><H3>
setColumns</H3>
<PRE>
public void <B>setColumns</B>(float[]&nbsp;leftLine,                       float[]&nbsp;rightLine)</PRE>
<DL>
<DD>Sets the columns bounds. Each column bound is described by a <CODE>float[]</CODE> with the line points [x1,y1,x2,y2,...]. The array must have at least 4 elements.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>leftLine</CODE> - the left column bound<DD><CODE>rightLine</CODE> - the right column bound</DL>
</DD>
</DL>
<HR>

<A NAME="setSimpleColumn(com.lowagie.text.Phrase, float, float, float, float, float, int)"><!-- --></A><H3>
setSimpleColumn</H3>
<PRE>
public void <B>setSimpleColumn</B>(<A HREF="../../../../com/lowagie/text/Phrase.html">Phrase</A>&nbsp;phrase,                            float&nbsp;llx,                            float&nbsp;lly,                            float&nbsp;urx,                            float&nbsp;ury,                            float&nbsp;leading,                            int&nbsp;alignment)</PRE>
<DL>
<DD>Simplified method for rectangular columns.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>phrase</CODE> - a <CODE>Phrase</CODE><DD><CODE>llx</CODE> - the lower left x corner<DD><CODE>lly</CODE> - the lower left y corner<DD><CODE>urx</CODE> - the upper right x corner<DD><CODE>ury</CODE> - the upper right y corner<DD><CODE>leading</CODE> - the leading<DD><CODE>alignment</CODE> - the column alignment</DL>
</DD>
</DL>
<HR>

<A NAME="setSimpleColumn(float, float, float, float, float, int)"><!-- --></A><H3>
setSimpleColumn</H3>
<PRE>
public void <B>setSimpleColumn</B>(float&nbsp;llx,                            float&nbsp;lly,                            float&nbsp;urx,                            float&nbsp;ury,                            float&nbsp;leading,

⌨️ 快捷键说明

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