path: root/sw/
AgeCommit message (Collapse)AuthorFilesLines
4 daystdf#133271 sw textbox: handle TextRotateAngle shape propertyMiklos Vajna1-0/+1
Shape with btlr text direction is imported as TextPreRotateAngle=-270 from DOCX. Saving this to ODT turns the property name into TextRotateAngle and its type into double. Handle that as well to survive the ODF roundtrip of a shape+textbox where the textbox has a btlr text direction. (Also add a way to make multiple tests in a suite to be more independent from each other: depending on ordering, the new test made the old test fail. Calling ErrorRegistry::Reset() makes that go away.) Change-Id: Iea9212f3bbb01059caf3b0f2d809e48debf52953 Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Jenkins
2020-02-04tdf#130362 sw: fix anchoring of inline math objectsMiklos Vajna1-0/+72
Regression from a7528cd6f17ea5c5b29e7d607e54c62de0d9e7db (sw: insert image: set anchor to at-char by default, 2019-11-18), that defaulted to at-char anchoring for charts and images. What was not considered is that math objects had a previous as-char default (not to-para), and that is supposed to be unchanged. Change-Id: I2a91af6425035b48a0e47ad9b10939945855cd16 Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Jenkins