summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGrzegorz Araminowicz <grzegorz.araminowicz@collabora.com>2019-08-18 16:23:51 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-08-23 09:53:09 +0200
commit5457ddf2f529daf5962abcba76dbaeccff0de826 (patch)
treedde8f794d3c9349874d8fb0d573ef906855d7580 /include
parent1aed241deb816b2a6b9f3f97978443939f61d076 (diff)
SmartArt: add Edit Diagram dialog
Currently it displays only text representation of diagram. Change-Id: I3ff12c4abf2ed32f68ea9d7437905afc13279e62 Reviewed-on: https://gerrit.libreoffice.org/77873 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/abstdlg.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/vcl/abstdlg.hxx b/include/vcl/abstdlg.hxx
index 365a8f6e04ed..0870a72fed62 100644
--- a/include/vcl/abstdlg.hxx
+++ b/include/vcl/abstdlg.hxx
@@ -35,6 +35,7 @@ namespace com { namespace sun { namespace star { namespace frame { class XModel;
namespace vcl { class Window; }
class Dialog;
class BitmapEx;
+class DiagramDataInterface;
namespace weld
{
class Dialog;
@@ -131,6 +132,13 @@ protected:
virtual ~AbstractTipOfTheDayDialog() override = default;
};
+/** Edit Diagram dialog */
+class VCL_DLLPUBLIC AbstractDiagramDialog : public VclAbstractDialog
+{
+protected:
+ virtual ~AbstractDiagramDialog() override = default;
+};
+
class VCL_DLLPUBLIC VclAbstractDialogFactory
{
public:
@@ -170,6 +178,10 @@ public:
// create info dialog to show tip-of-the-day
virtual VclPtr<AbstractTipOfTheDayDialog>
CreateTipOfTheDayDialog(weld::Window* pParent) = 0;
+
+ virtual VclPtr<AbstractDiagramDialog> CreateDiagramDialog(
+ weld::Window* pParent,
+ std::shared_ptr<DiagramDataInterface> pDiagramData) = 0;
};
#endif