summaryrefslogtreecommitdiff
path: root/include/sfx2/opengrf.hxx
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-02-06 17:48:51 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-02-08 16:42:14 +0100
commit38774ce79b4b24628c3a73f387489bf2498363f1 (patch)
treed305c9445581abe73fbb917dc010c8ffc88ba191 /include/sfx2/opengrf.hxx
parentc83d2ac99dc3da4ef85b193543a93e02e3858844 (diff)
tdf#86739 Option to set image anchor type in image insert dialog
This adds the selectbox to (hopefully) all filepickers: - LO native - GTK/GTK3 - KDE4 - KDE5 - Windows - macOS Change-Id: I01bd42b1ca18e0f691b879647a6cb1b62177d3ce Reviewed-on: https://gerrit.libreoffice.org/49311 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/sfx2/opengrf.hxx')
-rw-r--r--include/sfx2/opengrf.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sfx2/opengrf.hxx b/include/sfx2/opengrf.hxx
index 21c01426e3ca..775750c0895b 100644
--- a/include/sfx2/opengrf.hxx
+++ b/include/sfx2/opengrf.hxx
@@ -23,12 +23,17 @@
#include <vcl/graphicfilter.hxx>
#include <sfx2/dllapi.h>
+#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
+#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
+
struct SvxOpenGrf_Impl;
class SFX2_DLLPUBLIC SvxOpenGraphicDialog
{
public:
SvxOpenGraphicDialog(const OUString& rTitle, const vcl::Window* pPreferredParent);
+ SvxOpenGraphicDialog(const OUString& rTitle, const vcl::Window* pPreferredParent,
+ sal_Int16 nDialogType);
~SvxOpenGraphicDialog();
ErrCode Execute();
@@ -50,6 +55,8 @@ public:
OUString const & GetDetectedFilter() const;
void SetDetectedFilter(const OUString&);
+ css::uno::Reference<css::ui::dialogs::XFilePickerControlAccess> GetFilePickerControlAccess();
+
private:
SvxOpenGraphicDialog (const SvxOpenGraphicDialog&) = delete;
SvxOpenGraphicDialog& operator = ( const SvxOpenGraphicDialog & ) = delete;