Open telkamp opened 3 years ago
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
border
padding
Frame.text_frame
Workaround: Define fo attributes directly using **{"fo:border": "none", "fo:padding": "0cm"}
**{"fo:border": "none", "fo:padding": "0cm"}
The
border
andpadding
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#L461Workaround: Define fo attributes directly using
**{"fo:border": "none", "fo:padding": "0cm"}