CWIS Developer Documentation
Public Member Functions | Public Attributes | List of all members
PSTable Class Reference

Public Member Functions

 PSTable (&$Document)
 
 XOrigin ($NewXOrigin=-1)
 
 YOrigin ($NewYOrigin=-1)
 
 XSize ($NewXSize=-1)
 
 YSize ($NewYSize=-1)
 
 NumCols ($NewNumCols=-1)
 
 NumRows ($NewNumRows=-1)
 
 ShadeColumnHeadings ($NewShadeColumnHeadings=-1)
 
 CellXPos ($Col)
 
 CellYPos ($Row)
 
 ColWidth ($Col, $Width=-1)
 
 RowHeight ($Row, $Width=-1)
 
 PrintTextInCell ($Row, $Col, $TextToPrint)
 
 PrintTable ()
 
 RecalcActualRowHeights ()
 
 RecalcActualColumnWidths ()
 

Public Attributes

 $XSize = 300
 
 $YSize = 300
 
 $AdjXSize = 300
 
 $AdjYSize = 300
 
 $NumCols = 3
 
 $NumRows = 3
 
 $RequestedColumnWidths
 
 $RequestedRowHeights
 
 $ColumnWidths
 
 $RowHeights
 
 $ColumnStartPoints
 
 $RowStartPoints
 
 $XOrigin = 100
 
 $YOrigin = 400
 
 $Doc
 
 $ShadeColumnHeadings = "FALSE"
 

Detailed Description

Definition at line 19 of file PSTable.php.

Member Function Documentation

PSTable::CellXPos (   $Col)

Definition at line 40 of file PSTable.php.

References XOrigin().

Referenced by PrintTextInCell().

Here is the caller graph for this function:

PSTable::CellYPos (   $Row)

Definition at line 41 of file PSTable.php.

References YOrigin().

Referenced by PrintTable(), and PrintTextInCell().

Here is the caller graph for this function:

PSTable::ColWidth (   $Col,
  $Width = -1 
)

Definition at line 44 of file PSTable.php.

References RecalcActualColumnWidths().

Referenced by PrintTable().

Here is the caller graph for this function:

PSTable::NumCols (   $NewNumCols = -1)

Definition at line 35 of file PSTable.php.

References $NumCols, and RecalcActualColumnWidths().

Referenced by PrintTable(), and RecalcActualColumnWidths().

Here is the caller graph for this function:

PSTable::NumRows (   $NewNumRows = -1)

Definition at line 36 of file PSTable.php.

References $NumRows, and RecalcActualRowHeights().

Referenced by PrintTable(), and RecalcActualRowHeights().

Here is the caller graph for this function:

PSTable::PrintTable ( )
PSTable::PrintTextInCell (   $Row,
  $Col,
  $TextToPrint 
)

Definition at line 75 of file PSTable.php.

References CellXPos(), and CellYPos().

PSTable::PSTable ( $Document)

Definition at line 24 of file PSTable.php.

PSTable::RecalcActualColumnWidths ( )

Definition at line 227 of file PSTable.php.

References $NumCols, NumCols(), and XSize().

Referenced by ColWidth(), NumCols(), and XSize().

Here is the caller graph for this function:

PSTable::RecalcActualRowHeights ( )

Definition at line 181 of file PSTable.php.

References $AdjYSize, $NumRows, $YSize, NumRows(), and YSize().

Referenced by NumRows(), RowHeight(), and YSize().

Here is the caller graph for this function:

PSTable::RowHeight (   $Row,
  $Width = -1 
)

Definition at line 59 of file PSTable.php.

References RecalcActualRowHeights().

Referenced by PrintTable().

Here is the caller graph for this function:

PSTable::ShadeColumnHeadings (   $NewShadeColumnHeadings = -1)

Definition at line 37 of file PSTable.php.

References $ShadeColumnHeadings.

Referenced by PrintTable().

Here is the caller graph for this function:

PSTable::XOrigin (   $NewXOrigin = -1)

Definition at line 31 of file PSTable.php.

References $XOrigin.

Referenced by CellXPos(), and PrintTable().

Here is the caller graph for this function:

PSTable::XSize (   $NewXSize = -1)

Definition at line 33 of file PSTable.php.

References $XSize, and RecalcActualColumnWidths().

Referenced by PrintTable(), and RecalcActualColumnWidths().

Here is the caller graph for this function:

PSTable::YOrigin (   $NewYOrigin = -1)

Definition at line 32 of file PSTable.php.

References $YOrigin.

Referenced by CellYPos(), and PrintTable().

Here is the caller graph for this function:

PSTable::YSize (   $NewYSize = -1)

Definition at line 34 of file PSTable.php.

References $YSize, and RecalcActualRowHeights().

Referenced by PrintTable(), and RecalcActualRowHeights().

Here is the caller graph for this function:

Member Data Documentation

PSTable::$AdjXSize = 300

Definition at line 274 of file PSTable.php.

PSTable::$AdjYSize = 300

Definition at line 275 of file PSTable.php.

Referenced by RecalcActualRowHeights().

PSTable::$ColumnStartPoints

Definition at line 290 of file PSTable.php.

PSTable::$ColumnWidths

Definition at line 286 of file PSTable.php.

PSTable::$Doc

Definition at line 298 of file PSTable.php.

PSTable::$NumCols = 3

Definition at line 278 of file PSTable.php.

Referenced by NumCols(), PrintTable(), and RecalcActualColumnWidths().

PSTable::$NumRows = 3

Definition at line 279 of file PSTable.php.

Referenced by NumRows(), PrintTable(), and RecalcActualRowHeights().

PSTable::$RequestedColumnWidths

Definition at line 282 of file PSTable.php.

PSTable::$RequestedRowHeights

Definition at line 283 of file PSTable.php.

PSTable::$RowHeights

Definition at line 287 of file PSTable.php.

PSTable::$RowStartPoints

Definition at line 291 of file PSTable.php.

PSTable::$ShadeColumnHeadings = "FALSE"

Definition at line 301 of file PSTable.php.

Referenced by ShadeColumnHeadings().

PSTable::$XOrigin = 100

Definition at line 294 of file PSTable.php.

Referenced by XOrigin().

PSTable::$XSize = 300

Definition at line 270 of file PSTable.php.

Referenced by XSize().

PSTable::$YOrigin = 400

Definition at line 295 of file PSTable.php.

Referenced by YOrigin().

PSTable::$YSize = 300

Definition at line 271 of file PSTable.php.

Referenced by RecalcActualRowHeights(), and YSize().


The documentation for this class was generated from the following file: