Packageorg.purepdf.pdf
Classpublic class PdfPRow
InheritancePdfPRow Inheritance Object



Public Properties
 PropertyDefined By
  calculated : Boolean
[read-only]
PdfPRow
  cells : Vector.<PdfPCell>
[read-only]
PdfPRow
  maxHeights : Number
PdfPRow
Protected Properties
 PropertyDefined By
  _calculated : Boolean = false
PdfPRow
  _cells : Vector.<PdfPCell>
PdfPRow
  extraHeights : Vector.<Number>
PdfPRow
  _maxHeight : Number = 0
PdfPRow
  widths : Vector.<Number>
PdfPRow
Public Methods
 MethodDefined By
  
PdfPRow
  
PdfPRow
  
fromCells(cells:Vector.<PdfPCell>):PdfPRow
[static]
PdfPRow
  
[static]
PdfPRow
  
getEventWidth(xPos:Number):Vector.<Number>
PdfPRow
  
PdfPRow
  
setColumn(ct:ColumnText, left:Number, bottom:Number, right:Number, top:Number):Number
[static]
PdfPRow
  
setExtraHeight(cell:int, height:Number):void
Sets an extra height for a cell.
PdfPRow
  
setWidths(widths:Vector.<Number>):Boolean
Sets the widths of the columns in the row.
PdfPRow
  
splitRow(table:PdfPTable, rowIndex:int, new_height:Number):PdfPRow
Splits a row to newHeight.
PdfPRow
  
writeBorderAndBackground(xPos:Number, yPos:Number, currentMaxHeight:Number, cell:PdfPCell, canvases:Vector.<PdfContentByte>):void
Writes the border and background of one cell in the row.
PdfPRow
  
writeCells(colStart:int, colEnd:int, xPos:Number, yPos:Number, canvases:Vector.<PdfContentByte>):void
PdfPRow
Protected Methods
 MethodDefined By
  
restoreCanvases(canvases:Vector.<PdfContentByte>):void
PdfPRow
  
saveAndRotateCanvases(canvases:Vector.<PdfContentByte>, a:Number, b:Number, c:Number, d:Number, e:Number, f:Number):void
PdfPRow
Public Constants
 ConstantDefined By
  BOTTOM_LIMIT : Number
[static]
PdfPRow
  RIGHT_LIMIT : Number = 20000
[static]
PdfPRow
Property Detail
_calculatedproperty
protected var _calculated:Boolean = false

_cellsproperty 
protected var _cells:Vector.<PdfPCell>

_maxHeightproperty 
protected var _maxHeight:Number = 0

calculatedproperty 
calculated:Boolean  [read-only]


Implementation
    public function get calculated():Boolean
cellsproperty 
cells:Vector.<PdfPCell>  [read-only]


Implementation
    public function get cells():Vector.<PdfPCell>
extraHeightsproperty 
protected var extraHeights:Vector.<Number>

maxHeightsproperty 
maxHeights:Number


Implementation
    public function get maxHeights():Number
    public function set maxHeights(value:Number):void
widthsproperty 
protected var widths:Vector.<Number>

Constructor Detail
PdfPRow()Constructor
public function PdfPRow()



Method Detail
calculateHeights()method
public function calculateHeights():Number

Returns
Number
fromCells()method 
public static function fromCells(cells:Vector.<PdfPCell>):PdfPRow

Parameters

cells:Vector.<PdfPCell>

Returns
PdfPRow
fromRow()method 
public static function fromRow(row:PdfPRow):PdfPRow

Parameters

row:PdfPRow

Returns
PdfPRow
getEventWidth()method 
public function getEventWidth(xPos:Number):Vector.<Number>

Parameters

xPos:Number

Returns
Vector.<Number>
initExtraHeights()method 
public function initExtraHeights():void

restoreCanvases()method 
protected function restoreCanvases(canvases:Vector.<PdfContentByte>):void

Parameters

canvases:Vector.<PdfContentByte>

saveAndRotateCanvases()method 
protected function saveAndRotateCanvases(canvases:Vector.<PdfContentByte>, a:Number, b:Number, c:Number, d:Number, e:Number, f:Number):void

Parameters

canvases:Vector.<PdfContentByte>
 
a:Number
 
b:Number
 
c:Number
 
d:Number
 
e:Number
 
f:Number

setColumn()method 
public static function setColumn(ct:ColumnText, left:Number, bottom:Number, right:Number, top:Number):Number

Parameters

ct:ColumnText
 
left:Number
 
bottom:Number
 
right:Number
 
top:Number

Returns
Number
setExtraHeight()method 
public function setExtraHeight(cell:int, height:Number):void

Sets an extra height for a cell.

Parameters

cell:int
 
height:Number

setWidths()method 
public function setWidths(widths:Vector.<Number>):Boolean

Sets the widths of the columns in the row.

Parameters

widths:Vector.<Number>

Returns
Boolean
splitRow()method 
public function splitRow(table:PdfPTable, rowIndex:int, new_height:Number):PdfPRow

Splits a row to newHeight. The returned row is the remainder. It will return null if the newHeight was so small that only an empty row would result.

Parameters

table:PdfPTable — the new height
 
rowIndex:int
 
new_height:Number

Returns
PdfPRow — the remainder row or null if the newHeight was so small that only an empty row would result
writeBorderAndBackground()method 
public function writeBorderAndBackground(xPos:Number, yPos:Number, currentMaxHeight:Number, cell:PdfPCell, canvases:Vector.<PdfContentByte>):void

Writes the border and background of one cell in the row.

Parameters

xPos:Number
 
yPos:Number
 
currentMaxHeight:Number
 
cell:PdfPCell
 
canvases:Vector.<PdfContentByte>

writeCells()method 
public function writeCells(colStart:int, colEnd:int, xPos:Number, yPos:Number, canvases:Vector.<PdfContentByte>):void

Parameters

colStart:int
 
colEnd:int
 
xPos:Number
 
yPos:Number
 
canvases:Vector.<PdfContentByte>

Constant Detail
BOTTOM_LIMITConstant
public static const BOTTOM_LIMIT:Number

RIGHT_LIMITConstant 
public static const RIGHT_LIMIT:Number = 20000