summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2022-04-04 01:55:29 +0200
committerRegina Henschel <rb.henschel@t-online.de>2022-04-04 20:21:14 +0200
commit1ad58c77352e418124387b804b18da2aeea22c8b (patch)
tree34450806390b65778b7a16239a0421614e9b668a /xmloff
parent0225f1dd04e49191bbf1fa787bb15d1617ab996c (diff)
tdf#100391 calculate true textarea rect for custGeom
Without the fix the attributes for <a:rect> were set to 'l', 't', 'r' and 'b'. That means that the textarea rectangle equals the shape rectangle. That is the default and works for many shapes. But 'Puzzle' has a smaller textarea rectangle, for example. Because the values in draw:text-areas are relative to the internal coordinate system given by draw:viewBox in ODF, but the values in <a:rect> are relative to the shape coordinate system in OOXML, we cannot simple write the current absolute values but need to calculate them depending on actual width and height. For that we need guides. The patch introduces a guide list. Currently the list contains only the guides for the textarea rectangle, but it can be extended when export of handles will be implemented one day. Change-Id: I1050627ef6459ab5f8fafa939d7905122870c903 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132489 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'xmloff')
0 files changed, 0 insertions, 0 deletions