Packageorg.purepdf.pdf
Classpublic class PdfLine
InheritancePdfLine Inheritance it.sephiroth.utils.ObjectHash



Public Properties
 PropertyDefined By
  alignment : int
[read-only]
PdfLine
  ascender : Number
[read-only]
PdfLine
  descender : Number
[read-only]
PdfLine
  extraIndent : Number
[write-only]
PdfLine
  hasToBeJustified : Boolean
[read-only]
PdfLine
  height : Number
[read-only]
PdfLine
  isNewlineSplit : Boolean
[read-only]
PdfLine
  isRTL : Boolean
[read-only] Creates a PdfLine object.
PdfLine
  lastStrokeChunk : int
[read-only] Gets the index of the last PdfChunk with metric attributes
PdfLine
  left : Number
[read-only]
PdfLine
  lengthUtf32 : int
[read-only] Returns the length of a line in UTF32 characters
PdfLine
  listIndent : Number
[read-only]
PdfLine
  listItem : ListItem
[write-only]
PdfLine
  listSymbol : Chunk
[read-only]
PdfLine
  numberOfSpaces : int
[read-only]
PdfLine
  originalWidth : Number
[read-only]
PdfLine
  right : Number
[read-only]
PdfLine
  separatorCount : int
[read-only] Gets the number of separators in the line
PdfLine
  size : int
[read-only]
PdfLine
  widthLeft : Number
[read-only]
PdfLine
Protected Properties
 PropertyDefined By
  _alignment : int = 0
PdfLine
  _height : Number = 0
PdfLine
  _isRTL : Boolean = false
PdfLine
  _left : Number = 0
PdfLine
  line : Vector.<PdfChunk>
PdfLine
  _listSymbol : Chunk = null
PdfLine
  _newlineSplit : Boolean = false
PdfLine
  _originalWidth : Number = 0
PdfLine
  _right : Number = 0
PdfLine
  symbolIndent : Number = 0
PdfLine
  _width : Number = 0
PdfLine
Public Methods
 MethodDefined By
  
PdfLine($left:Number, $right:Number, $alignment:int, $height:Number)
PdfLine
  
PdfLine
  
create(left:Number, originalWidth:Number, remainingWidth:Number, alignment:int, newlineSplit:Boolean, line:Vector.<PdfChunk>, isRTL:Boolean):PdfLine
[static]
PdfLine
  
PdfLine
  
getMaxSize():Vector.<Number>
Gets the difference between the "normal" leading and the maximum size (for instance when there are images in the chunk).
PdfLine
  
iterator():Iterator
PdfLine
  
PdfLine
  
toString():String
PdfLine
Property Detail
_alignmentproperty
protected var _alignment:int = 0

_heightproperty 
protected var _height:Number = 0

_isRTLproperty 
protected var _isRTL:Boolean = false

_leftproperty 
protected var _left:Number = 0

_listSymbolproperty 
protected var _listSymbol:Chunk = null

_newlineSplitproperty 
protected var _newlineSplit:Boolean = false

_originalWidthproperty 
protected var _originalWidth:Number = 0

_rightproperty 
protected var _right:Number = 0

_widthproperty 
protected var _width:Number = 0

alignmentproperty 
alignment:int  [read-only]


Implementation
    public function get alignment():int
ascenderproperty 
ascender:Number  [read-only]


Implementation
    public function get ascender():Number
descenderproperty 
descender:Number  [read-only]


Implementation
    public function get descender():Number
extraIndentproperty 
extraIndent:Number  [write-only]


Implementation
    public function set extraIndent(value:Number):void
hasToBeJustifiedproperty 
hasToBeJustified:Boolean  [read-only]


Implementation
    public function get hasToBeJustified():Boolean
heightproperty 
height:Number  [read-only]


Implementation
    public function get height():Number
indentLeftproperty 
indentLeft:Number  [read-only]


Implementation
    pdf_core function get indentLeft():Number
isNewlineSplitproperty 
isNewlineSplit:Boolean  [read-only]


Implementation
    public function get isNewlineSplit():Boolean
isRTLproperty 
isRTL:Boolean  [read-only]

Creates a PdfLine object.


Implementation
    public function get isRTL():Boolean
lastStrokeChunkproperty 
lastStrokeChunk:int  [read-only]

Gets the index of the last PdfChunk with metric attributes


Implementation
    public function get lastStrokeChunk():int
leftproperty 
left:Number  [read-only]


Implementation
    public function get left():Number
lengthUtf32property 
lengthUtf32:int  [read-only]

Returns the length of a line in UTF32 characters


Implementation
    public function get lengthUtf32():int
lineproperty 
protected var line:Vector.<PdfChunk>

listIndentproperty 
listIndent:Number  [read-only]


Implementation
    public function get listIndent():Number
listItemproperty 
listItem:ListItem  [write-only]


Implementation
    public function set listItem(value:ListItem):void
listSymbolproperty 
listSymbol:Chunk  [read-only]


Implementation
    public function get listSymbol():Chunk
numberOfSpacesproperty 
numberOfSpaces:int  [read-only]


Implementation
    public function get numberOfSpaces():int
originalWidthproperty 
originalWidth:Number  [read-only]


Implementation
    public function get originalWidth():Number
rightproperty 
right:Number  [read-only]


Implementation
    public function get right():Number
separatorCountproperty 
separatorCount:int  [read-only]

Gets the number of separators in the line


Implementation
    public function get separatorCount():int
sizeproperty 
size:int  [read-only]


Implementation
    public function get size():int
symbolIndentproperty 
protected var symbolIndent:Number = 0

widthLeftproperty 
widthLeft:Number  [read-only]


Implementation
    public function get widthLeft():Number
Constructor Detail
PdfLine()Constructor
public function PdfLine($left:Number, $right:Number, $alignment:int, $height:Number)



Parameters
$left:Number
 
$right:Number
 
$alignment:int
 
$height:Number
Method Detail
add()method
public function add(chunk:PdfChunk):PdfChunk

Parameters

chunk:PdfChunk

Returns
PdfChunk
create()method 
public static function create(left:Number, originalWidth:Number, remainingWidth:Number, alignment:int, newlineSplit:Boolean, line:Vector.<PdfChunk>, isRTL:Boolean):PdfLine

Parameters

left:Number
 
originalWidth:Number
 
remainingWidth:Number
 
alignment:int
 
newlineSplit:Boolean
 
line:Vector.<PdfChunk>
 
isRTL:Boolean

Returns
PdfLine
getChunk()method 
public function getChunk(idx:int):PdfChunk

Parameters

idx:int

Returns
PdfChunk
getMaxSize()method 
public function getMaxSize():Vector.<Number>

Gets the difference between the "normal" leading and the maximum size (for instance when there are images in the chunk).

Returns
Vector.<Number>
iterator()method 
public function iterator():Iterator

Returns
Iterator
resetAlignment()method 
public function resetAlignment():void

toString()method 
public function toString():String

Returns
String