addColumnBreak
From ReporteRs v0.8.9
by David Gohel
Add a column break into a section
Add a column break into a section
Usage
addColumnBreak(doc, ...)# S3 method for docx
addColumnBreak(doc, ...)
Arguments
- doc
document object
- ...
further arguments passed to other methods
Details
addColumnBreak
only works with docx documents.
Value
a document object
See Also
Examples
# NOT RUN {
doc.filename = "add_col_break.docx"
doc = docx( )
doc = addSection(doc, ncol = 2, columns.only = TRUE )
doc = addParagraph( doc = doc, "Text 1.", "Normal" )
doc = addColumnBreak(doc )
doc = addParagraph( doc = doc, "Text 2.", "Normal" )
writeDoc( doc, file = doc.filename )
# }
Community examples
Looks like there are no examples yet.