chprop.parProperties

0th

Percentile

Modify paragraph formatting properties

Modify an object of class parProperties.

Usage
# S3 method for parProperties
chprop(object, text.align, padding.bottom, padding.top,
  padding.left, padding.right, padding, ...)
Arguments
object

parProperties object to modify

...

further arguments - not used

text.align

text alignment - a single character value, expected value is one of 'left', 'right', 'center', 'justify'.

padding.bottom

paragraph bottom padding - 0 or positive integer value.

padding.top

paragraph top padding - 0 or positive integer value.

padding.left

paragraph left padding - 0 or positive integer value.

padding.right

paragraph right padding - 0 or positive integer value.

padding

paragraph padding - 0 or positive integer value. Argument padding overwrites arguments padding.bottom, padding.top, padding.left, padding.right.

Value

a parProperties object

See Also

cellProperties, parProperties, textProperties , chprop.cellProperties, chprop.textProperties , FlexTable, tableProperties

Aliases
  • chprop.parProperties
Examples
# NOT RUN {
#START_TAG_TEST
parProp = parProperties()

parProp01 = chprop( parProp, text.align = "center" )
parProp02 = chprop( parProp, padding.bottom = 2 )
parProp03 = chprop( parProp, padding.top = 2 )
parProp04 = chprop( parProp, padding.left = 2 )
parProp05 = chprop( parProp, padding = 2 )

parProp06 = chprop( parProp, padding = 2, text.align = "center" )
#STOP_TAG_TEST
# }
Documentation reproduced from package ReporteRs, version 0.5.8, License: GPL-3

Community examples

Looks like there are no examples yet.