addPageBreak: Add a page break into a document object

Description Usage Arguments Details Value See Also Examples

View source: R/addPageBreak.docx.R

Description

Add a page break into a document object

Usage

1
2
3
4
addPageBreak(doc, ...)

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

Arguments

doc

document object

...

further arguments passed to other methods

Details

addPageBreak only works with docx documents.

See addPageBreak.docx for examples.

Value

a document object

See Also

docx

Examples

1
2
3
4
if( check_valid_java_version() ){
doc = docx( title = "title" )
doc = addPageBreak( doc )
}

davidgohel/ReporteRs documentation built on March 23, 2020, 11 p.m.