Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web:pdftable [2019/05/22 05:54]
agcyphers [Methods]
web:pdftable [2020/01/15 19:26] (current)
agcyphers [Properties]
Line 8: Line 8:
 ==== Constants ==== ==== Constants ====
 ^ Name      ^ Value       ^ ^ Name      ^ Value       ^
-| OverflowEllipsize as [[http://​developer.xojo.com/​string|String]] | "​ellipsize"​ |  +| OverflowEllipsize as String | "​ellipsize"​ |  
-| OverflowLineBreak as [[http://​developer.xojo.com/​string|String]] | "​linebreak"​ |  +| OverflowLineBreak as String | "​linebreak"​ |  
-| OverflowNone as [[http://​developer.xojo.com/​string|String]] | "​false"​ | +| OverflowNone as String | "​false"​ | 
  
  
Line 20: Line 20:
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
 | AddCellStyle( Row as Integer, Column as Integer, theStyle as GraffitiWebPDFCellStyle ) | Applies a GraffitiWebPDFCellStyle to the cell specified by Row and Column. | | AddCellStyle( Row as Integer, Column as Integer, theStyle as GraffitiWebPDFCellStyle ) | Applies a GraffitiWebPDFCellStyle to the cell specified by Row and Column. |
-| AddColumn( Title as [[http://​developer.xojo.com/​string|String]], Width as [[http://​developer.xojo.com/​integer|Integer]] = -1 ) | Add a column to the table. +| AddColumn( Title as String, Width as Integer = -1 ) | Add a column to the table. 
-| AddRow( ParamArray Values as [[http://​developer.xojo.com/​string|String]] ) | Add a row to the table. ​ IE: AddRow( "​Column1",​ "​Column2",​ "​Column3"​ )+| AddRow( ParamArray Values as String ) | Add a row to the table. ​ IE: AddRow( "​Column1",​ "​Column2",​ "​Column3"​ )
 | Clone() as GraffitiWebPDFTable | Creates a clone of this object. | Clone() as GraffitiWebPDFTable | Creates a clone of this object.
 | Constructor( X as Integer = 0, Y as Integer = 0, TableWidth as Integer = 0, TableLineHeight as Integer = 20, PageSplit as Boolean = true ) | The constructor for the object. | Constructor( X as Integer = 0, Y as Integer = 0, TableWidth as Integer = 0, TableLineHeight as Integer = 20, PageSplit as Boolean = true ) | The constructor for the object.
Line 27: Line 27:
 ==== Properties ==== ==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
-| AvoidPageSplit ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | Try to reposition the table so that it avoids being split by page boundaries. | +| AvoidPageSplit | Boolean | False | Try to reposition the table so that it avoids being split by page boundaries. | 
-| CellAltBorder ​| [[http://​developer.xojo.com/​integer|Integer]] | 0 | Alertnate border width. | +| CellAltBorder | Integer | 0 | Alertnate border width. | 
-| CellAltBorderColor ​| [[http://​developer.xojo.com/​color|Color]] | &​cFFFFFF | Alternate border color. | +| CellAltBorderColor | Color | &​cFFFFFF | Alternate border color. | 
-| CellAltColor ​| [[http://​developer.xojo.com/​color|Color]] | &​cDCDCDC | Alternate background color. | +| CellAltColor | Color | &​cDCDCDC | Alternate background color. | 
-| CellAltTextColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Alternate text color. | +| CellAltTextColor | Color | &​c000000 | Alternate text color. | 
-| CellAltTextFont ​| [[http://​developer.xojo.com/​string|String]] | "​helvetica"​ | Alternate text font. | +| CellAltTextFont | String | "​helvetica"​ | Alternate text font. | 
-| CellAltTextFontStyle ​| [[http://​developer.xojo.com/​string|String]] | "​normal"​ | Alternate font style. | +| CellAltTextFontStyle | String | "​normal"​ | Alternate font style. | 
-| CellAltTextSize ​| [[http://​developer.xojo.com/​double|Double]] | 12 | Alternate text size. | +| CellAltTextSize | Double | 12 | Alternate text size. | 
-| CellBorder ​| [[http://​developer.xojo.com/​integer|Integer]] | 1 | Border width. | +| CellBorder | Integer | 1 | Border width. | 
-| CellBorderColor ​| [[http://​developer.xojo.com/​color|Color]] | &​cEEEEEE | Border color. | +| CellBorderColor | Color | &​cEEEEEE | Border color. | 
-| CellColor ​| [[http://​developer.xojo.com/​color|Color]] | &​cFFFFFF | Background color. | +| CellColor | Color | &​cFFFFFF | Background color. | 
-| CellPadding ​| [[http://​developer.xojo.com/​integer|Integer]] | 3 | Padding between cell border and text. | +| CellPadding | Integer | 3 | Padding between cell border and text. | 
-| CellTextColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c000000 | Text color. | +| CellTextColor | Color | &​c000000 | Text color. | 
-| CellTextFont ​| [[http://​developer.xojo.com/​string|String]] | "​helvetica"​ | Text font. | +| CellTextFont | String | "​helvetica"​ | Text font. | 
-| CellTextFontStyle ​| [[http://​developer.xojo.com/​string|String]] | "​normal"​ | Text style. | +| CellTextFontStyle | String | "​normal"​ | Text style. | 
-| CellTextSize ​| [[http://​developer.xojo.com/​double|Double]] | 12 | Text size. |+| CellTextSize | Double | 12 | Text size. |
 | Columns() | Pair | Nil | Columns of the table. ​ Column ID and Text as pair. | | Columns() | Pair | Nil | Columns of the table. ​ Column ID and Text as pair. |
-ExtendWidth ​[[http://​developer.xojo.com/boolean|Boolean]] | false | Extend the width of the table to fill the page. | +EndY Integer | 0 | The ending Y position for the table
-| HeaderBorder ​| [[http://​developer.xojo.com/​double|Double]] | 0 | Header border size. | +| ExtendWidth ​| Boolean | false | Extend the width of the table to fill the page. | 
-| HeaderBorderColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c34495e | Header border color. | +| HeaderBorder | Double | 0 | Header border size. | 
-| HeaderColor ​| [[http://​developer.xojo.com/​color|Color]] | &​c34495e | Header background color. | +| HeaderBorderColor | Color | &​c34495e | Header border color. | 
-| HeaderTextColor ​| [[http://​developer.xojo.com/​color|Color]] | &​cFFFFFF | Header text color. | +| HeaderColor | Color | &​c34495e | Header background color. | 
-| HeaderTextFont ​| [[http://​developer.xojo.com/​string|String]] | "​helvetica"​ | Header text font. | +| HeaderTextColor | Color | &​cFFFFFF | Header text color. | 
-| HeaderTextFontStyle ​| [[http://​developer.xojo.com/​string|String]] | "​bold"​ | Header text style. | +| HeaderTextFont | String | "​helvetica"​ | Header text font. | 
-| HeaderTextSize ​| [[http://​developer.xojo.com/​double|Double]] | 14 | Header text size (in points). | +| HeaderTextFontStyle | String | "​bold"​ | Header text style. | 
-| LineHeight ​| [[http://​developer.xojo.com/​integer|Integer]] | 20 | Height of each line (in points). | +| HeaderTextSize | Double | 14 | Header text size (in points). | 
-| MarginBottom ​| [[http://​developer.xojo.com/​integer|Integer]] | 40 | Space between the table and objects below it. | +| LineHeight | Integer | 20 | Height of each line (in points). | 
-| MarginLeft ​| [[http://​developer.xojo.com/​integer|Integer]] | 40 | Space between the table and objects to the left. | +| MarginBottom | Integer | 40 | Space between the table and objects below it. | 
-| MarginRight ​| [[http://​developer.xojo.com/​integer|Integer]] | 20 | Space between the table and objects to the right. | +| MarginLeft | Integer | 40 | Space between the table and objects to the left. | 
-| MarginTop ​| [[http://​developer.xojo.com/​integer|Integer]] | 50 | Space between the table and objects above it. | +| MarginRight | Integer | 20 | Space between the table and objects to the right. | 
-| OverflowStyle ​| [[http://​developer.xojo.com/​string|String]] | "​ellipsize"​ | How to display text that extends beyond the width of the cell. | +| MarginTop | Integer | 50 | Space between the table and objects above it. | 
-| Rows() ​| [[http://​developer.xojo.com/​dictionary|Dictionary]] | Nil | The rows of data to add to the table. ​ Must be an array of dictionaries with Column ID = Cell Value for each column. | +| OverflowStyle | String | "​ellipsize"​ | How to display text that extends beyond the width of the cell. | 
-| StartY ​| [[http://​developer.xojo.com/​integer|Integer]] | 0 | The beginning Y position within the document, where the table will be drawn. | +| Rows() | Dictionary | Nil | The rows of data to add to the table. ​ Must be an array of dictionaries with Column ID = Cell Value for each column. | 
 +| StartY | Integer | 0 | The beginning Y position within the document, where the table will be drawn. | 
  
 ==== Examples ==== ==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.