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

Enable copying of a run's font #1309

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

luissantosHCIT
Copy link

See issue #1308 for details.

My commits here present my suggested solution.
Feel free to request improvements to solution.

Thank you!

Allowing copying of another run's font by adding @font.setter definition to font property.
Allowing copying of another run's font settings by adding @color.setter definition to color property in Font class.
Created formatting property based on Steve Canny's suggestion to enable a more comprehensive preservation of the run's formatting.

Seems to work well this way.
Oops, forgot to move the copy import below _future_
@luissantosHCIT
Copy link
Author

Hello, it has been a long time and no one has commented as to whether this PR has merit.
Since the time I opened, I have noticed that other classes could benefit from having a simple interface to do the formatting copying (all of these rPr kind of objects).

Should I pursue this further or should I simply have this as a patch set in my systems that I would need to apply post upgrades?
What could I do to get this kind of change to an acceptable state if you think there is benefits to my proposed changes?

Thank you for your time and effort!

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

Successfully merging this pull request may close these issues.

1 participant