tableProperties-class: Class tableProperties

Description Details Objects from the Class Slots See Also Examples

Description

A tableProperties object is a representation of formatting properties of a R2DOC table.

Details

1
2
3
4
5
6
7
8
9
    -------------------------------------------
      GROUPED HEADER 1  |   GROUPED HEADER 1  |
    -------------------------------------------
    HEADER 1 | HEADER 2 | HEADER 3 | HEADER 4 |
    -------------------------------------------
    data[1,1]| data[1,2]| data[1,3]| data[1,2]|
    data[2,1]| data[2,2]| data[2,3]| data[2,2]|
          ...|       ...|       ...|       ...|
    -------------------------------------------

Objects from the Class

Objects can be created by calls of the form tableProperties(...).

Slots

header.text

Object from the class textProperties that represents text formatting properties for column headers

header.par

Object from the class parProperties that represents paragraph formatting properties for column headers

header.cell

Object from the class cellProperties that represents cell formatting properties for column headers

groupedheader.text

Object from the class textProperties that represents text formatting properties for column groupedheaders

groupedheader.par

Object from the class parProperties that represents paragraph formatting properties for column groupedheaders

groupedheader.cell

Object from the class cellProperties that represents cell formatting properties for column groupedheaders

double.text

Object from the class textProperties that represents text formatting properties for columns of type 'double'

double.par

Object from the class parProperties that represents paragraph formatting properties for columns of type 'double'

double.cell

Object from the class cellProperties that represents cell formatting properties for columns of type 'double'

integer.text

Object from the class textProperties that represents text formatting properties for columns of type 'integer'

integer.par

Object from the class parProperties that represents paragraph formatting properties for columns of type 'integer'

integer.cell

Object from the class cellProperties that represents cell formatting properties for columns of type 'integer'

percent.text

Object from the class textProperties that represents text formatting properties for columns of type 'percent'

percent.par

Object from the class parProperties that represents paragraph formatting properties for columns of type 'percent'

percent.cell

Object from the class cellProperties that represents cell formatting properties for columns of type 'percent'

character.text

Object from the class textProperties that represents text formatting properties for columns of type 'character'

character.par

Object from the class parProperties that represents paragraph formatting properties for columns of type 'character'

character.cell

Object from the class cellProperties that represents cell formatting properties for columns of type 'character'

date.text

Object from the class textProperties that represents text formatting properties for columns of type 'date'

date.par

Object from the class parProperties that represents paragraph formatting properties for columns of type 'date'

date.cell

Object from the class cellProperties that represents cell formatting properties for columns of type 'date'

datetime.text

Object from the class textProperties that represents text formatting properties for columns of type 'datetime'

datetime.par

Object from the class parProperties that represents paragraph formatting properties for columns of type 'datetime'

datetime.cell

Object from the class cellProperties that represents cell formatting properties for columns of type 'datetime'

percent.addsymbol

Object from the class character that represents the symbol to add after percent data as been formated (character, default to ”)

integer.digit

the minimum number of digits (to the left of the decimal point for data 'percent' and 'double') in formatting numerical data. Allowed values are integer.digit >=0.

fraction.double.digit

the minimum number of digits to the right of the decimal point in formatting 'double' data. Allowed values are fraction.double.digit >=0.

fraction.percent.digit

the minimum number of digits to the right of the decimal point in formatting 'percent' data. Allowed values are fraction.percent.digit >=0.

slots can be accessed directly but usage of tableProperties is strongly recommended as validation code has not been implemented yet.

See Also

parProperties, parProperties textProperties, textProperties cellProperties, cellProperties

Examples

1
tableProperties(header.text = textProperties(font.weight="bold"), header.par = parProperties( text.align = "center" ))

davidgohel/R2DOC documentation built on May 14, 2019, 11:11 p.m.