# Manipulation of Microsoft Word and PowerPoint Documents

## Documentation for package ‘officer’ version 0.2.2

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A B C D E F L M O P R S U W

officer-package | officer: Manipulate Microsoft Word and PowerPoint Documents

## -- A --

add_sheet | add a sheet
add_slide | add a slide
annotate_base | annotate PowerPoint base document
as.data.frame.external_img | external image
as.data.frame.fpar | concatenate formatted text
as.data.frame.fp_text | Text formatting properties

## -- B --

body_add_break | add page break
body_add_docx | insert an external docx
body_add_fpar | add fpar
body_add_gg | add ggplot
body_add_img | add image
body_add_par | add paragraph of text
body_add_table | add table
body_add_toc | add table of content
body_add_xml | add an xml string as document element
body_bookmark | add bookmark
body_default_section | add section
body_end_section | add section
body_remove | remove an element
body_replace_all_text | Replace text anywhere in the document, or at a cursor
body_replace_at | replace text at a bookmark location
break_column_before | add section

## -- C --

color_scheme | color scheme
cursor_backward | set cursor in an rdocx object
cursor_begin | set cursor in an rdocx object
cursor_bookmark | set cursor in an rdocx object
cursor_end | set cursor in an rdocx object
cursor_forward | set cursor in an rdocx object
cursor_reach | set cursor in an rdocx object

## -- D --

dim.external_img | external image
dim.fp_par | Paragraph formatting properties
docx_bookmarks | List Word bookmarks
docx_dim | Word page layout
docx_reference_img | add images into an rdocx object
docx_show_chunk | Show underlying text tag structure
docx_summary | get Word content in a tidy format
doc_properties | read document properties

## -- E --

external_img | external image

## -- F --

format.external_img | external image
format.fpar | concatenate formatted text
format.fp_border | border properties object
format.fp_cell | Cell formatting properties
format.fp_text | Text formatting properties
format.ftext | formatted text
fortify_fpar | concatenate formatted text
fpar | concatenate formatted text
fp_border | border properties object
fp_cell | Cell formatting properties
fp_par | Paragraph formatting properties
fp_sign | object unique signature
fp_text | Text formatting properties
ftext | formatted text

## -- L --

layout_properties | slide layout properties
layout_summary | presentation layouts summary
length.rdocx | open a connection to a 'Word' file
length.rpptx | open a connexion to a 'PowerPoint' file
length.rxlsx | open a connexion to an 'Excel' file

## -- M --

media_extract | Extract media from a document object

## -- O --

officer | officer: Manipulate Microsoft Word and PowerPoint Documents
on_slide | change current slide

## -- P --

pack_folder | compress a folder
ph_add_fpar | append fpar
ph_add_par | append paragraph
ph_add_text | append text
ph_empty | add a new empty shape
ph_empty_at | add a new empty shape
ph_from_xml | add an xml string as new shape
ph_from_xml_at | add an xml string as new shape
ph_hyperlink | hyperlink a placeholder
ph_remove | remove shape
ph_slidelink | slide link to a placeholder
ph_with_fpars_at | add multiple formated paragraphs
ph_with_gg | add ggplot to a pptx presentation
ph_with_gg_at | add ggplot to a pptx presentation
ph_with_img | add image
ph_with_img_at | add image
ph_with_table | add table
ph_with_table_at | add table
ph_with_text | add text into a new shape
ph_with_ul | add unordered list to a pptx presentation
pptx_summary | get PowerPoint content in a tidy format
print.fpar | concatenate formatted text
print.fp_cell | Cell formatting properties
print.fp_par | Paragraph formatting properties
print.fp_text | Text formatting properties
print.ftext | formatted text
print.rdocx | open a connection to a 'Word' file
print.rpptx | open a connexion to a 'PowerPoint' file
print.rxlsx | open a connexion to an 'Excel' file

## -- R --

read_docx | open a connection to a 'Word' file
read_pptx | open a connexion to a 'PowerPoint' file
read_xlsx | open a connexion to an 'Excel' file
remove_slide | remove a slide

## -- S --

set_doc_properties | set document properties
sheet_select | select sheet
shortcuts | shortcuts for formatting properties
slide_summary | get PowerPoint slide content in a tidy format
slip_in_img | append an image
slip_in_seqfield | append seq field
slip_in_text | append text
slip_in_xml | add a wml string into a Word document
styles_info | read Word styles

## -- U --

unpack_folder | Extract files from a zip file
update.fpar | concatenate formatted text
update.fp_border | border properties object
update.fp_cell | Cell formatting properties
update.fp_par | Paragraph formatting properties
update.fp_text | Text formatting properties

## -- W --

wml_link_images | transform an xml string with images references