Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slide abstraction #15

Open
mattfidler opened this issue Sep 9, 2024 · 2 comments
Open

Slide abstraction #15

mattfidler opened this issue Sep 9, 2024 · 2 comments

Comments

@mattfidler
Copy link

mattfidler commented Sep 9, 2024

Sometimes slides duplicate labels within the same slide, see:

image

Which duplicates Content Placeholder 2

image

This means ph_label won't work to access these elements. Can you specify id instead in the yaml file to access these properties?

@john-harrold
Copy link
Owner

I'll keep this open and think about it. However any changes will be probably take a while.

In the meantime you can rename the placeholders. On Windows go to View -> Slide Master then you can go to Home -> Arrange -> Selection Page and I think you can rename them there. There is something similar on OS X. The development version of officer has this new function called layout_dedupe_ph_labels() which will do this for you.

davidgohel/officer#589

@john-harrold
Copy link
Owner

john-harrold commented Sep 25, 2024

This (the link below) is timely. I think if it is implemented it (and the dedupe function) can solve the problem. Both should be in the next CRAN release if markheckmann implements it.

davidgohel/officer#610 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants