# Manipulation of Microsoft Word and PowerPoint Documents

## Documentation for package ‘officer’ version 0.3.5

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

## Help Pages

A B C D E F H 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

## -- B --

block_list | list of blocks
body_add_blocks | add a list of blocks into a document
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_end_section_columns | sections
body_end_section_columns_landscape | sections
body_end_section_continuous | sections
body_end_section_landscape | sections
body_end_section_portrait | sections
body_remove | remove an element
body_replace_all_text | Replace text anywhere in the document, or at a cursor
body_replace_img_at_bkm | replace text at a bookmark location
body_replace_text_at_bkm | replace text at a bookmark location
break_column_before | add a column break

## -- C --

change_styles | replace paragraphs styles
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_body_relationship | body xml document
docx_body_xml | body xml document
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 --

footers_replace_all_text | Replace text anywhere in the document, or at a cursor
footers_replace_img_at_bkm | replace text at a bookmark location
footers_replace_text_at_bkm | replace text at a bookmark location
format.external_img | external image
format.fpar | concatenate formatted text
format.fp_cell | Cell formatting properties
format.fp_text | Text formatting properties
format.ftext | 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

## -- H --

headers_replace_all_text | Replace text anywhere in the document, or at a cursor
headers_replace_img_at_bkm | replace text at a bookmark location
headers_replace_text_at_bkm | replace text at a bookmark location

## -- 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
location_eval | eval a location on the current slide

## -- M --

media_extract | Extract media from a document object
move_slide | move a slide

## -- 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_location | create a location for a placeholder
ph_location_fullsize | location of a full size element
ph_location_label | location of a named placeholder
ph_location_left | location of a left body element
ph_location_right | location of a right body element
ph_location_type | location of a placeholder type
ph_remove | remove shape
ph_slidelink | slide link to a placeholder
ph_with | add object into a new shape
ph_with.block_list | add object into a new shape
ph_with.character | add object into a new shape
ph_with.data.frame | add object into a new shape
ph_with.external_img | add object into a new shape
ph_with.factor | add object into a new shape
ph_with.gg | add object into a new shape
ph_with.logical | add object into a new shape
ph_with.numeric | add object into a new shape
ph_with.unordered_list | add object into a new shape
ph_with.xml_document | add object into a new shape
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.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 --

sanitize_images | remove unused media from a document
sections | sections
set_doc_properties | set document properties
sheet_select | select sheet
shortcuts | shortcuts for formatting properties
slide_size | open a connexion to a 'PowerPoint' file
slide_summary | get PowerPoint slide content in a tidy format
slip_in_column_break | add a column break
slip_in_footnote | append a footnote
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
stext | Word styled text
styles_info | read Word styles

## -- U --

unordered_list | unordered list
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