protected var _alignment:int = 0
protected var _canvas:PdfContentByte
protected var _canvases:Vector.<PdfContentByte>
protected var _descender:Number = 0
protected var _extraParagraphSpace:Number = 0
protected var _followingIndent:Number = 0
protected var _indent:Number = 0
protected var _multipliedLeading:Number = 0
protected var _rightIndent:Number = 0
protected var _runDirection:int = 0
protected var _yLine:Number = 0
alignment:int
Implementation public function get alignment():int
public function set alignment(value:int):void
arabicOptions:int
[write-only]
Sets the arabic shaping options. The option can be AR_NOVOWEL,
AR_COMPOSEDTASHKEEL and AR_LIG.
Implementation public function set arabicOptions(value:int):void
See also
protected var bidiLine:BidiLine
canvas:PdfContentByte
Implementation public function get canvas():PdfContentByte
public function set canvas(value:PdfContentByte):void
canvases:Vector.<PdfContentByte>
Implementation public function get canvases():Vector.<PdfContentByte>
public function set canvases(value:Vector.<PdfContentByte>):void
protected var composite:Boolean = false
protected var compositeColumn:ColumnText
protected var compositeElements:Vector.<IElement>
protected var currentLeading:Number = 16
descender:Number
[read-only]
Implementation public function get descender():Number
extraParagraphSpace:Number
Implementation public function get extraParagraphSpace():Number
public function set extraParagraphSpace(value:Number):void
filledWidth:Number
Implementation public function get filledWidth():Number
public function set filledWidth(value:Number):void
protected var fixedLeading:Number = 16
followingIndent:Number
Implementation public function get followingIndent():Number
public function set followingIndent(value:Number):void
hasZeroHeightElement:Boolean
[read-only]
Checks if the element has a height of 0.
Implementation public function get hasZeroHeightElement():Boolean
indent:Number
Implementation public function get indent():Number
public function set indent(value:Number):void
leading:Number
[read-only]
Implementation public function get leading():Number
protected var leftWall:Vector.<Vector.<Number>>
protected var leftX:Number = 0
protected var lineStatus:int = 0
protected var listIdx:int = 0
protected var maxY:Number = 0
protected var minY:Number = 0
multipliedLeading:Number
[read-only]
Implementation public function get multipliedLeading():Number
protected var rectangularMode:Boolean = false
protected var rectangularWidth:Number = -1
rightIndent:Number
Implementation public function get rightIndent():Number
public function set rightIndent(value:Number):void
protected var rightWall:Vector.<Vector.<Number>>
protected var rightX:Number = 0
runDirection:int
Implementation public function get runDirection():int
public function set runDirection(value:int):void
spaceCharRatio:Number
Implementation public function get spaceCharRatio():Number
public function set spaceCharRatio(value:Number):void
useAscender:Boolean
Simplified method for rectangular columns
Implementation public function get useAscender():Boolean
public function set useAscender(value:Boolean):void
protected var waitPhrase:Phrase
yLine:Number
Implementation public function get yLine():Number
public function set yLine(value:Number):void
public function ColumnText(content:PdfContentByte)
Parameters public function addChunk(chunk:Chunk):void
Parameters
See also
Chunk
public function addElement(element:IElement):void
Adds an element. Supported elements are Paragraph,
List, PdfPTable, ImageElement and
Graphic.
It removes all the text placed with addText().
Parameters
public function addText(phrase:Phrase):void
Parameters
protected function convertColumn(cLine:Vector.<Number>):Vector.<Vector.<Number>>
Converts a sequence of lines representing one of the column bounds into
an internal format.
Parameters
ReturnsThrows | AssertionError
|
|
| RuntimeError
|
public static function duplicate(src:ColumnText):ColumnText
Parameters
Returns protected function findLimitsOneLine():Vector.<Number>
Finds the intersection between the yLine and the two
column bounds
Returns protected function findLimitsPoint(wall:Vector.<Vector.<Number>>):Number
Finds the intersection between the yLine and the column
Parameters
| wall:Vector.<Vector.<Number>> |
Returns protected function findLimitsTwoLines():Vector.<Number>
Finds the intersection between the yLine,
the yLine-leading and the two column bounds
Returns public static function getWidth(phrase:Phrase, runDirection:int, arabicOptions:int):Number
Gets the width that the line will occupy after writing.
Only the width of the first line is returned.
Parameters
| phrase:Phrase |
|
| runDirection:int |
|
| arabicOptions:int |
Returns public function go(simulate:Boolean = false):int
Outputs the lines to the document. The output can be simulated
Parameters
| simulate:Boolean (default = false )
|
ReturnsThrows protected function goComposite(simulate:Boolean):int
Parameters
ReturnsThrows public function setACopy(org:ColumnText):void
Parameters
public function setAlignment(value:int):void
Parameters
public function setColumns(leftLine:Vector.<Number>, rightLine:Vector.<Number>):void
Sets the columns bounds. Each column bound is described by a
Vector.<Number> with the line points [x1,y1,x2,y2,...].
The array must have at least 4 elements.
Parameters
| leftLine:Vector.<Number> |
|
| rightLine:Vector.<Number> |
public function setLeading(leading:Number, mul:Number = 0):void
Parameters
| leading:Number |
|
| mul:Number (default = 0 )
|
public function setSimpleColumn(llx:Number, lly:Number, urx:Number, ury:Number):void
Simplified method for rectangular columns.
Parameters
| llx:Number |
|
| lly:Number |
|
| urx:Number |
|
| ury:Number |
public function setSimpleColumn2(llx:Number, lly:Number, urx:Number, ury:Number, leading:Number, alignment:int):void
Simplified method for rectangular columns.
Parameters
| llx:Number — the lower left x corner
|
|
| lly:Number — the lower left y corner
|
|
| urx:Number — the upper right x corner
|
|
| ury:Number — the upper right y corner
|
|
| leading:Number — the leading
|
|
| alignment:int — the column alignment
|
pdf_core function setSimpleVars(org:ColumnText):void
Parameters
public function setText(phrase:Phrase):void
Parameters
public static function showTextAligned(canvas:PdfContentByte, alignment:int, phrase:Phrase, x:Number, y:Number, rotation:Number, runDirection:int = 0, arabicOptions:int = 0):void
Shows a line of text. Only the first line is written.
Parameters
| canvas:PdfContentByte — where the text is to be written to
|
|
| alignment:int — the alignment
|
|
| phrase:Phrase — the Phrase with the text
|
|
| x:Number — the x reference position
|
|
| y:Number — the y reference position
|
|
| rotation:Number — the rotation to be applied in degrees counterclockwise
|
|
| runDirection:int (default = 0 )
|
|
| arabicOptions:int (default = 0 )
|
public function updateFilledWidth(w:Number):void
Parameters
public static const GLOBAL_SPACE_CHAR_RATIO:Number = 0
protected const LINE_STATUS_NOLINE:int = 2
protected const LINE_STATUS_OFFLIMITS:int = 1
protected const LINE_STATUS_OK:int = 0
public static const NO_MORE_COLUMN:int = 2
public static const NO_MORE_TEXT:int = 1
public static const START_COLUMN:int = 0
Thu May 27 2010, 07:51 AM +02:00