body_bookmark

0th

Percentile

add bookmark

Add a bookmark at the cursor location. The bookmark is added on the first run of text in the current paragraph.

Usage
body_bookmark(x, id)
Arguments
x

an rdocx object

id

bookmark name

Aliases
  • body_bookmark
Examples
# NOT RUN {
# cursor_bookmark ----
library(magrittr)

doc <- read_docx() %>%
  body_add_par("centered text", style = "centered") %>%
  body_bookmark("text_to_replace")
# }
Documentation reproduced from package officer, version 0.3.5, License: GPL-3

Community examples

Looks like there are no examples yet.