Renaming placeholder labels #587
-
My institutional powerpoint template has many duplicate placeholder labels. It looks like my two options are: 1) Use the location IDs instead or 2) Manually relabel these in the template before importing. I'd love to avoid either of these as there are 87 placeholders throughout the template, 20 of which are not unique at the layout level. I can modify the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
the development version now has a new function Note that this version has not yet been released to CRAN. You can install the development version to see if it works for you. devtools::install_github("davidgohel/officer") |
Beta Was this translation helpful? Give feedback.
Hi @kathrine-mcaulay,
the development version now has a new function
layout_dedupe_ph_labels()
which partially does what you want. While it does not allow custom renaming of duplicate placeholder labels, it will automatically create unique ph labels. See #589.Note that this version has not yet been released to CRAN. You can install the development version to see if it works for you.