20#ifndef INCLUDED_SFX2_INC_GUISAVEAS_HXX
21#define INCLUDED_SFX2_INC_GUISAVEAS_HXX
27#include <com/sun/star/uno/Sequence.hxx>
28#include <com/sun/star/beans/PropertyValue.hpp>
29#include <com/sun/star/container/XNameAccess.hpp>
30#include <com/sun/star/container/XContainerQuery.hpp>
31#include <com/sun/star/frame/XModel.hpp>
32#include <com/sun/star/frame/XModuleManager2.hpp>
62 css::uno::Reference< css::container::XContainerQuery >
const &
GetFilterQuery();
63 css::uno::Reference< css::frame::XModuleManager2 >
const &
GetModuleManager();
73 css::uno::Sequence< css::beans::PropertyValue >& aFilterProps,
74 bool bSetStandardName,
bool bPreselectPassword,
bool bDialogUsed,
75 std::u16string_view aFilterFromMediaDescr, std::u16string_view aOldFilterName,
76 css::uno::Sequence< css::beans::PropertyValue >& aArgsSequence,
77 OUString aFilterName);
85 const css::uno::Reference< css::frame::XModel >& xModel,
86 std::u16string_view aSlotName,
87 css::uno::Sequence< css::beans::PropertyValue >& aArgsSequence,
88 bool bPreselectPassword,
93 const css::uno::Reference< css::container::XNameAccess >& xFilterCFG,
94 const OUString& aFilterName );
98 const css::uno::Reference< css::frame::XModel >& xModel,
99 const css::uno::Reference< css::document::XDocumentProperties>& i_xOldDocInfo );
102 const css::uno::Reference< css::frame::XModel >& xModel,
103 std::u16string_view aOldUIName,
104 const OUString& aDefExtension,
105 bool rDefaultIsAlien );
107 static css::uno::Reference<css::awt::XWindow>
GetModelXWindow(
const css::uno::Reference<css::frame::XModel>& rModel);
static css::uno::Reference< css::awt::XWindow > GetModelXWindow(const css::uno::Reference< css::frame::XModel > &rModel)
css::uno::Reference< css::container::XContainerQuery > const & GetFilterQuery()
css::uno::Reference< css::container::XNameAccess > const & GetFilterConfiguration()
css::uno::Reference< css::container::XNameAccess > m_xFilterCFG
bool GUIStoreModel(const css::uno::Reference< css::frame::XModel > &xModel, std::u16string_view aSlotName, css::uno::Sequence< css::beans::PropertyValue > &aArgsSequence, bool bPreselectPassword, SignatureState nDocumentSignatureState, bool bIsAsync)
static bool WarnUnacceptableFormat(const css::uno::Reference< css::frame::XModel > &xModel, std::u16string_view aOldUIName, const OUString &aDefExtension, bool rDefaultIsAlien)
static weld::Window * GetModelWindow(const css::uno::Reference< css::frame::XModel > &xModel)
static bool CheckFilterOptionsAppearance(const css::uno::Reference< css::container::XNameAccess > &xFilterCFG, const OUString &aFilterName)
static void SetDocInfoState(const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::document::XDocumentProperties > &i_xOldDocInfo)
css::uno::Reference< css::container::XContainerQuery > m_xFilterQuery
bool m_bPreselectPassword
css::uno::Reference< css::frame::XModuleManager2 > const & GetModuleManager()
void CallFinishGUIStoreModel()
css::uno::Reference< css::frame::XModuleManager2 > m_xModuleManager
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)
css::uno::Sequence< css::beans::PropertyValue > m_aArgsSequence
std::shared_ptr< ModelData_Impl > m_xModelData
SequenceAsHashMapBase::const_iterator const_iterator