ReporteRs (version 0.8.5)

addPageBreak: Add a page break into a document object

Description

Add a page break into a document object

Usage

addPageBreak(doc, ...)

## S3 method for class '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
doc = docx( title = "title" )
doc = addPageBreak( doc )

Run the code above in your browser using DataLab