简体   繁体   中英

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,

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM