Learn R Programming

odfWeave (version 0.8.4)

odfSetPageStyle: Set the Page Style

Description

Insert a page break with a specified page style.

Usage

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

Run this code
## Not run: 
# odfSetPageStyle("RlandscapePage")
# ## End(Not run)

Run the code above in your browser using DataLab