ReporteRs (version 0.8.8)

addPageBreak: Add a page break into a document object

Description

Add a page break into a document object

Usage

addPageBreak(doc, ...)

# S3 method for docx addPageBreak(doc, ...)

Arguments

doc

document object

...

further arguments passed to other methods

Value

a document object

Details

addPageBreak only works with docx documents.

See addPageBreak.docx for examples.

See Also

docx

Examples

Run this code
# NOT RUN {
doc = docx( title = "title" )
doc = addPageBreak( doc )
# }

Run the code above in your browser using DataCamp Workspace