summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGrzegorz Araminowicz <grzegorz.araminowicz@collabora.com>2019-08-30 10:20:38 +0200
committerGrzegorz Araminowicz <grzegorz.araminowicz@collabora.com>2019-09-02 12:38:31 +0200
commit6eb7dd4a2683fb4c28506a464317d7ee54cfe1de (patch)
treeefb2905d640dfcb080355afd228c0c76864026d9 /include
parent1485bcc796dd8bd53762368ec4a1345ddb7cda72 (diff)
SmartArt edit UI: add new node
First approach to adding new node. Currently it's possible only to add top-level node to the end of diagram. Change-Id: Icd9530ab2fb8987a1690ffc96c244cc845b72eba Reviewed-on: https://gerrit.libreoffice.org/78286 Tested-by: Jenkins Reviewed-by: Grzegorz Araminowicz <grzegorz.araminowicz@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/DiagramDataInterface.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/svx/DiagramDataInterface.hxx b/include/svx/DiagramDataInterface.hxx
index 9174a2b2fefe..aaa3a46968b3 100644
--- a/include/svx/DiagramDataInterface.hxx
+++ b/include/svx/DiagramDataInterface.hxx
@@ -38,6 +38,9 @@ public:
virtual std::vector<std::pair<OUString, OUString>>
getChildren(const OUString& rParentId) const = 0;
+ // add new top-level node to data model
+ virtual void addNode(const OUString& rText) = 0;
+
protected:
~DiagramDataInterface() throw() {}
};