body_add_normal: Add a new paragraph with a Normal style

Description Usage Arguments Value Author(s) Examples

View source: R/officer.r

Description

Add a new paragraph with a Normal style

Usage

1
body_add_normal(x, value, style = "Normal", pos = "after")

Arguments

x

the rdocx object (created with the read_docx function of officer package)

value

a character string

style

a character string

pos

where to add the new element relative to the cursor, one of "after", "before", "on"

Value

a new rdocx object

Author(s)

David Hajage

Examples

1
2
3
4
5
6
## Not run: 
library(biostat2)
library(officer)
doc <- body_add_normal(doc, "Coucou")

## End(Not run)

eusebe/biostat2 documentation built on Dec. 27, 2019, 4:22 p.m.