summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorArmin Le Grand (Allotropia) <Armin.Le.Grand@me.com>2022-03-04 16:51:07 +0100
committerArmin Le Grand <Armin.Le.Grand@me.com>2022-03-04 22:10:10 +0100
commit9c526b557e264280cb0c9da704245494f5ec5af3 (patch)
tree2ea8393b8ea5a7e24088b116320fb9bfaeb1f136 /include/svx
parent35428625b70829ba56da99fafe205b24b0018ace (diff)
Advanced Diagram support: Allow reLayout without keeping oox::Shape
Goal is to minimize dependencies on oox classes. For that pupose I redesigned the Diagram class to work without remembering an oox::Shape at all. For reLayout, a new temporary one is created and used. That was a bit tricky, I needed to find out what data at the oox::Shape is needed to sucessfully do that with the not-originally-imported one. Another necessary change was to move the DiagramFontHeights adapting mechanism away from oox::Shape, too. It fits better to Diagram class. That way it can also be used for reLayout and the oox::Shape gets a little bit smaller, too. This opens the path to move needed Mode-Data Diagam core claasses to other libs where changing/im/exPorting them will be possible. Change-Id: I40bc4b190d2abc797f5c56f9e476d22155d21422 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131004 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdogrp.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdogrp.hxx b/include/svx/svdogrp.hxx
index d4ea77746019..176892fdd8ac 100644
--- a/include/svx/svdogrp.hxx
+++ b/include/svx/svdogrp.hxx
@@ -40,7 +40,7 @@ public:
virtual ~IDiagramHelper();
// re-create XShapes
- virtual void reLayout() = 0;
+ virtual void reLayout(SdrObjGroup& rTarget) = 0;
// get text representation of data tree
virtual OUString getString() const = 0;