addPageBreak-methods: Insert a page break into the docx document

Description Usage Arguments Examples

Description

Insert a page break into the Docx object.

Usage

1
2
  ## S4 method for signature 'Docx'
addPageBreak(x)

Arguments

x

the Docx to use

Examples

1
2
3
4
5
# example 1
doc <- new("Docx", title = "My example" )
doc <- addPageBreak(doc)
doc <- addParagraph( doc, value = "Hello", stylename = "Normal")
writeDoc( doc, "example.docx" )

davidgohel/R2DOCX documentation built on May 14, 2019, 11:13 p.m.