WrdPageBreak: Insert a Page Break

Description Usage Arguments Author(s) See Also Examples

View source: R/DescTools.r

Description

Insert a page break in a MS-Word (R) document at the position of the cursor.

Usage

1
WrdPageBreak(wrd = DescToolsOptions("lastWord"))

Arguments

wrd

the pointer to a word instance. Can be a new one, created by GetNewWrd() or an existing one, created by GetCurrWrd(). Default is the last created pointer stored in DescToolsOptions("lastWord").

Author(s)

Andri Signorell <andri@signorell.net>

See Also

WrdFont, WrdPlot, GetNewWrd, GetCurrWrd

Examples

1
2
3
4
5
6
7
## Not run:  # Windows-specific example
wrd <- GetNewWrd()
WrdText("This is text on page 1.\n\n")
WrdPageBreak()
WrdText("This is text on another page.\n\n")

## End(Not run)

DescTools documentation built on June 17, 2021, 5:12 p.m.