Lucas Mignone
Lucas Mignone

Reputation: 65

Editing text of an existing pptx in officer R package

I just want to know if there is a way to EDIT TEXT of an existing powerpoint presentation with officer package in R.

The base presentation must be edited with updated values monthly, while the images inside remains the same. I know I can locate the attributes of that text values with functions like layout_summary(), layout_properties(), slide_summary(), etc., but can't get a way to edit its values.

Thanks in advance,

Upvotes: 4

Views: 1174

Answers (1)

clairekelley
clairekelley

Reputation: 447

I solved this problem by creating a version of the powerpoint slides that contains the images and layout that I want, and any text that stays the same between each version (but does not include any of the text that needs to be edited). Then read that template version in and add text to it using any of the ph_with functions. This allows you to keep images an formatting, and control text.

Upvotes: 2

Related Questions