Description Usage Arguments See Also Examples
Create a tableProperties
object without using new("tableProperties", ...)
.
1 2 3 4 5 6 7 8 9 10 | tableProperties( header.text = textProperties(font.weight="bold"), header.par = parProperties( text.align = "center" ), header.cell = cellProperties()
, groupedheader.text = textProperties(font.weight="bold"), groupedheader.par = parProperties( text.align = "center" ), groupedheader.cell = cellProperties()
, double.text = textProperties(), double.par = parProperties( text.align = "right" ), double.cell = cellProperties()
, integer.text = textProperties(), integer.par = parProperties( text.align = "right" ), integer.cell = cellProperties()
, percent.text = textProperties(), percent.par = parProperties( text.align = "right" ), percent.cell = cellProperties()
, character.text = textProperties(), character.par = parProperties( text.align = "left" ), character.cell = cellProperties()
, date.text = textProperties(font.style="italic"), date.par = parProperties( text.align = "center" ), date.cell = cellProperties()
, datetime.text = textProperties(font.style="italic"), datetime.par = parProperties( text.align = "center" ), datetime.cell = cellProperties()
, percent.addsymbol = "%", integer.digit = 2L, fraction.double.digit = 2L, fraction.percent.digit = 2L, data.cell, data.par, data.text
)
|
header.text |
Object from the class |
header.par |
Object from the class |
header.cell |
Object from the class |
groupedheader.text |
Object from the class |
groupedheader.par |
Object from the class |
groupedheader.cell |
Object from the class |
double.text |
Object from the class |
double.par |
Object from the class |
double.cell |
Object from the class |
integer.text |
Object from the class |
integer.par |
Object from the class |
integer.cell |
Object from the class |
percent.text |
Object from the class |
percent.par |
Object from the class |
percent.cell |
Object from the class |
character.text |
Object from the class |
character.par |
Object from the class |
character.cell |
Object from the class |
date.text |
Object from the class |
date.par |
Object from the class |
date.cell |
Object from the class |
datetime.text |
Object from the class |
datetime.par |
Object from the class |
datetime.cell |
Object from the class |
percent.addsymbol |
Object from the class |
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. |
data.cell |
Object from the class |
data.par |
Object from the class |
data.text |
Object from the class |
parProperties
textProperties
cellProperties
tableProperties object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | tableProperties(header.text = textProperties(font.weight="bold")
, header.par = parProperties( text.align = "center" ))
# creation of another tableProperties
header.cellProperties = cellProperties( border.left.width = 0, border.right.width = 0
, border.bottom.width = 1, border.top.width = 0
, padding = 3 )
data.cellProperties = cellProperties( border.left.width = 0, border.right.width = 0
, border.bottom.width = 1, border.top.width = 0
, padding = 2 )
header.textProperties = textProperties( font.size = 10, font.weight = "bold" )
data.textProperties = textProperties( font.size = 10 )
leftPar = parProperties( text.align = "left", padding.left = 4, padding.right = 4)
rightPar = parProperties( text.align = "right", padding.left = 4, padding.right = 4)
centerPar = parProperties( text.align = "center", padding.left = 4, padding.right = 4)
my.formats = tableProperties(
character.par = leftPar
, percent.par = rightPar
, double.par = rightPar
, integer.par = rightPar
, groupedheader.par = centerPar
, groupedheader.text = header.textProperties
, groupedheader.cell = header.cellProperties
, header.cell = header.cellProperties
, header.par = centerPar
, header.text = header.textProperties
, data.cell = data.cellProperties
, data.text = data.textProperties
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.