summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorNickWingate <nick.wingate@collabora.com>2022-09-22 09:02:42 +0100
committerAndras Timar <andras.timar@collabora.com>2023-01-23 18:58:34 +0100
commit82d474a28ae3524740c38b3adcb0da3f2276075c (patch)
tree57ea360c593d90a6986cc4e43435f0255cd5f20b /sfx2/inc
parent56ecc91017367c0c34e0ca24139853db1319746f (diff)
Async PDFExport dialog and parent methods
Filter dialogs are all called generically from guisaveas.cxx in GUIStoreModel() Signed-off-by: NickWingate <nick.wingate@collabora.com> Change-Id: Idfbe85c09f84d4a7cf3f00b9704d5af94868a051 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140403 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144511 Tested-by: Jenkins
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/guisaveas.hxx32
1 files changed, 31 insertions, 1 deletions
diff --git a/sfx2/inc/guisaveas.hxx b/sfx2/inc/guisaveas.hxx
index c19f78e3fdf1..88a69711c8fd 100644
--- a/sfx2/inc/guisaveas.hxx
+++ b/sfx2/inc/guisaveas.hxx
@@ -31,8 +31,15 @@
#include <com/sun/star/frame/XModel.hpp>
#include <com/sun/star/frame/XModuleManager2.hpp>
+#include <comphelper/sequenceashashmap.hxx>
+
+#include <sfx2/bindings.hxx>
#include <sfx2/signaturestate.hxx>
+#include <svtools/dialogclosedlistener.hxx>
+
+#include <tools/urlobj.hxx>
+
namespace com::sun::star::document { class XDocumentProperties; }
@@ -48,10 +55,32 @@ private:
css::uno::Reference< css::container::XContainerQuery > m_xFilterQuery;
css::uno::Reference< css::frame::XModuleManager2 > m_xModuleManager;
+ std::shared_ptr<ModelData_Impl> m_xModelData;
+ css::uno::Sequence< css::beans::PropertyValue > m_aArgsSequence;
+
css::uno::Reference< css::container::XNameAccess > const & GetFilterConfiguration();
css::uno::Reference< css::container::XContainerQuery > const & GetFilterQuery();
css::uno::Reference< css::frame::XModuleManager2 > const & GetModuleManager();
+ bool m_xDialogUsed;
+ bool m_bRemote;
+ bool m_bPreselectPassword;
+ bool m_bDialogUsed;
+ bool m_bSetStandardName;
+ sal_Int16 m_nStoreMode;
+
+ DECL_LINK(FilterDialogClosedHdl, css::ui::dialogs::DialogClosedEvent*, void);
+
+ static bool FinishGUIStoreModel(::comphelper::SequenceAsHashMap::const_iterator& aFileNameIter,
+ ModelData_Impl& aModelData, bool bRemote, sal_Int16 nStoreMode,
+ css::uno::Sequence< css::beans::PropertyValue >& aFilterProps,
+ bool bSetStandardName, bool bPreselectPassword, bool bDialogUsed,
+ std::u16string_view aFilterFromMediaDescr, std::u16string_view aOldFilterName,
+ css::uno::Sequence< css::beans::PropertyValue >& aArgsSequence,
+ OUString aFilterName);
+
+ void CallFinishGUIStoreModel();
+
public:
SfxStoringHelper();
@@ -60,7 +89,8 @@ public:
std::u16string_view aSlotName,
css::uno::Sequence< css::beans::PropertyValue >& aArgsSequence,
bool bPreselectPassword,
- SignatureState nDocumentSignatureState );
+ SignatureState nDocumentSignatureState,
+ bool bIsAsync );
static bool CheckFilterOptionsAppearance(
const css::uno::Reference< css::container::XNameAccess >& xFilterCFG,