wdSection: Start a new section of the document.

Description Usage Arguments Author(s) Examples

Description

Start a section by: Adding a section break, switching to Heading1 style, adding the section title, adding a bookmark, adding a paragraph break, switching to Normal style.

Usage

1
2
wdSection(title, label = gsub("[.,-:?!@#+* ]", "_", paste("sec", title, sep = "_")),
newpage = FALSE, wdapp = .R2wd)

Arguments

title

section title

label

bookmark text (will be generated automatically if missing)

newpage

whether the section should start on a new page (doesn't work)

wdapp

handle to Word Application (usually not needed).

Author(s)

Christian Ritter

Examples

1
2
3
4
5
6
7
## Not run: 
wdGet()
wdTitle("R2wd a package to ... ")
wdSection("Introduction",newpage=TRUE)


## End(Not run)

R2wd documentation built on May 2, 2019, 8:54 a.m.