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

border and padding attributes are ignored when style is used for text_frame #16

Open
telkamp opened this issue Jul 5, 2021 · 0 comments

Comments

@telkamp
Copy link

telkamp commented Jul 5, 2021

The border and padding attributes are ignored when the style is used for a text_frame (Frame.text_frame).
I seems that these attributes can only be used for table-cells, see https://github.com/jdum/odfdo/blob/master/odfdo/style.py#L461

Workaround: Define fo attributes directly using **{"fo:border": "none", "fo:padding": "0cm"}

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

1 participant