Property | Defined By | ||
---|---|---|---|
alignment : int | VerticalText | ||
height : Number | VerticalText | ||
leading : Number
Sets the separation between the vertical lines. | VerticalText | ||
maxLines : int | VerticalText | ||
origin : Point | VerticalText |
Property | Defined By | ||
---|---|---|---|
_alignment : int = 0 | VerticalText | ||
chunks : Vector.<PdfChunk> | VerticalText | ||
currentChunkMarker : int = -1 | VerticalText | ||
currentStandbyChunk : PdfChunk | VerticalText | ||
_height : Number | VerticalText | ||
_leading : Number = 0 | VerticalText | ||
_maxLines : int | VerticalText | ||
_origin : Point | VerticalText | ||
splittedChunkText : String | VerticalText | ||
text : PdfContentByte | VerticalText |
Method | Defined By | ||
---|---|---|---|
VerticalText(content:PdfContentByte) | VerticalText | ||
VerticalText | |||
VerticalText | |||
go(simulate:Boolean = false):int
Outputs the lines to the document. | VerticalText | ||
setVerticalLayout(startX:Number, startY:Number, height:Number, maxLines:int, leading:Number):void
Sets the layout. | VerticalText |
Method | Defined By | ||
---|---|---|---|
createLine(width:Number):PdfLine
Creates a line from the chunk array. | VerticalText | ||
shortenChunkArray():void
Normalizes the list of chunks when the line is accepted. | VerticalText |
Constant | Defined By | ||
---|---|---|---|
NO_MORE_COLUMN : int = 2 [static] | VerticalText | ||
NO_MORE_TEXT : int = 1 [static] | VerticalText |
_alignment | property |
protected var _alignment:int = 0
_height | property |
protected var _height:Number
_leading | property |
protected var _leading:Number = 0
_maxLines | property |
protected var _maxLines:int
_origin | property |
protected var _origin:Point
alignment | property |
alignment:int
public function get alignment():int
public function set alignment(value:int):void
chunks | property |
protected var chunks:Vector.<PdfChunk>
currentChunkMarker | property |
protected var currentChunkMarker:int = -1
currentStandbyChunk | property |
protected var currentStandbyChunk:PdfChunk
height | property |
height:Number
public function get height():Number
public function set height(value:Number):void
leading | property |
leading:Number
Sets the separation between the vertical lines.
public function get leading():Number
public function set leading(value:Number):void
maxLines | property |
maxLines:int
public function get maxLines():int
public function set maxLines(value:int):void
origin | property |
origin:Point
public function get origin():Point
public function set origin(value:Point):void
splittedChunkText | property |
protected var splittedChunkText:String
text | property |
protected var text:PdfContentByte
VerticalText | () | Constructor |
addChunk | () | method |
addPhrase | () | method |
createLine | () | method |
protected function createLine(width:Number):PdfLine
Creates a line from the chunk array.
Parameters
width:Number — the width of the line
|
PdfLine — the line or null if no more chunks
|
go | () | method |
public function go(simulate:Boolean = false):int
Outputs the lines to the document. The output can be simulated.
Parameters
simulate:Boolean (default = false ) — true to simulate the writing to the document
|
int — returns the result of the operation. It can be NO_MORE_TEXT
and/or NO_MORE_COLUMN
|
setVerticalLayout | () | method |
public function setVerticalLayout(startX:Number, startY:Number, height:Number, maxLines:int, leading:Number):void
Sets the layout.
Parameters
startX:Number — the top right X line position
| |
startY:Number — the top right Y line position
| |
height:Number — the height of the lines
| |
maxLines:int — the maximum number of lines
| |
leading:Number — the separation between the lines
|
shortenChunkArray | () | method |
protected function shortenChunkArray():void
Normalizes the list of chunks when the line is accepted.
writeLine | () | method |
pdf_core function writeLine(line:PdfLine, text:PdfContentByte, graphics:PdfContentByte):void
Parameters
line:PdfLine | |
text:PdfContentByte | |
graphics:PdfContentByte |
NO_MORE_COLUMN | Constant |
public static const NO_MORE_COLUMN:int = 2
NO_MORE_TEXT | Constant |
public static const NO_MORE_TEXT:int = 1