odfSetPageStyle: Set the Page Style

Description Usage Arguments Details Examples

View source: R/odfSetPageStyle.R

Description

Insert a page break with a specified page style.

Usage

1
odfSetPageStyle(style="Standard")

Arguments

style

a character strig of length one that references a page style that is either contained in the style definitions or already used within the document.

Details

This function should be called in a code chunk in an odfWeave document at the point where a page break with a page style is desired. A common use would be to change the page to landscape mode, perhaps using the "RlandscapePage" style in order to display a table in landscape mode, and then to set it back to the standard style after generating the table.

Examples

1
2
3
4
## Not run: 
odfSetPageStyle("RlandscapePage")

## End(Not run)

odfWeave documentation built on May 30, 2017, 7:23 a.m.