addFlexTable

0th

Percentile

Insert a FlexTable into a document object

Insert a FlexTable into a document object

Usage
addFlexTable(doc, flextable, ...)
Arguments
doc

document object

flextable

the FlexTable object

...

further arguments passed to other methods

Value

a document object

See Also

FlexTable

Aliases
  • addFlexTable
Examples
# NOT RUN {
data( data_ReporteRs )
myFlexTable = FlexTable( data = data_ReporteRs, span.columns="col1"
	, header.columns=TRUE, row.names=FALSE )
myFlexTable[ 1:2, 2:3] = textProperties( color="red" )
myFlexTable[ 3:4, 4:5] = parProperties( text.align="right" )
myFlexTable[ 1:2, 5:6] = cellProperties( background.color="#F2969F")
myFlexTable = setFlexCellContent( myFlexTable, 3, 6, pot("Hello"
	, format=textProperties(font.weight="bold") ) + pot("World"
	, format=textProperties(font.weight="bold", vertical.align="superscript") ) )
doc = addFlexTable( doc, myFlexTable )
# }
Documentation reproduced from package ReporteRs, version 0.5, License: GPL-3

Community examples

Looks like there are no examples yet.