addPageBreak.RTF {rtf}R Documentation

Insert a page break into the RTF document optionally specifying new page settings

Description

Insert a page break into the RTF document optionally specifying new page settings.

Usage

## S3 method for class 'RTF'
addPageBreak(this, width=8.5, height=11, omi=c(1, 1, 1, 1), ...)

Arguments

this

An RTF object.

width

New page width in inches. optional.

height

New page height in inches. optional.

omi

A vector of page margins (botton, left, top, right) optional.

...

Not used.

Author(s)

Michael E. Schaffer

See Also

For more information see RTF.

Examples

 rtf<-RTF("test_addPageBreak.doc",width=8.5,height=11,font.size=10,omi=c(1,1,1,1))
 addPageBreak(rtf,width=11,height=8.5,omi=c(0.5,0.5,0.5,0.5))
 done(rtf)
 

[Package rtf version 0.4-14.1 Index]