Skip to content

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

@telkamp

Description

@telkamp

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"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions