LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
SfxStoringHelper Class Reference

#include <guisaveas.hxx>

Public Member Functions

 SfxStoringHelper ()
 
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 Public Member Functions

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)
 
static bool WarnUnacceptableFormat (const css::uno::Reference< css::frame::XModel > &xModel, std::u16string_view aOldUIName, const OUString &aDefExtension, bool rDefaultIsAlien)
 
static css::uno::Reference< css::awt::XWindow > GetModelXWindow (const css::uno::Reference< css::frame::XModel > &rModel)
 
static weld::WindowGetModelWindow (const css::uno::Reference< css::frame::XModel > &xModel)
 

Private Member Functions

css::uno::Reference< css::container::XNameAccess > const & GetFilterConfiguration ()
 
css::uno::Reference< css::container::XContainerQuery > const & GetFilterQuery ()
 
css::uno::Reference< css::frame::XModuleManager2 > const & GetModuleManager ()
 
void CallFinishGUIStoreModel ()
 

Static Private Member Functions

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)
 

Private Attributes

css::uno::Reference< css::container::XNameAccess > m_xFilterCFG
 
css::uno::Reference< css::container::XContainerQuery > m_xFilterQuery
 
css::uno::Reference< css::frame::XModuleManager2 > m_xModuleManager
 
std::shared_ptr< ModelData_Implm_xModelData
 
css::uno::Sequence< css::beans::PropertyValue > m_aArgsSequence
 
bool m_bRemote
 
bool m_bPreselectPassword
 
bool m_bDialogUsed
 
bool m_bSetStandardName
 
sal_Int16 m_nStoreMode
 

Friends

class ModelData_Impl
 

Detailed Description

Definition at line 49 of file guisaveas.hxx.

Constructor & Destructor Documentation

◆ SfxStoringHelper()

SfxStoringHelper::SfxStoringHelper ( )

Definition at line 1361 of file guisaveas.cxx.

Member Function Documentation

◆ CallFinishGUIStoreModel()

void SfxStoringHelper::CallFinishGUIStoreModel ( )
private

◆ CheckFilterOptionsAppearance()

bool SfxStoringHelper::CheckFilterOptionsAppearance ( const css::uno::Reference< css::container::XNameAccess > &  xFilterCFG,
const OUString &  aFilterName 
)
static

◆ FinishGUIStoreModel()

bool SfxStoringHelper::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 
)
staticprivate

◆ GetFilterConfiguration()

uno::Reference< container::XNameAccess > const & SfxStoringHelper::GetFilterConfiguration ( )
private

◆ GetFilterQuery()

uno::Reference< container::XContainerQuery > const & SfxStoringHelper::GetFilterQuery ( )
private

◆ GetModelWindow()

weld::Window * SfxStoringHelper::GetModelWindow ( const css::uno::Reference< css::frame::XModel > &  xModel)
static

◆ GetModelXWindow()

uno::Reference< awt::XWindow > SfxStoringHelper::GetModelXWindow ( const css::uno::Reference< css::frame::XModel > &  rModel)
static

Definition at line 1977 of file guisaveas.cxx.

References xController, xFrame, and xModel.

Referenced by ModelData_Impl::ExecuteFilterDialog_Impl(), and GetModelWindow().

◆ GetModuleManager()

uno::Reference< css::frame::XModuleManager2 > const & SfxStoringHelper::GetModuleManager ( )
private

◆ GUIStoreModel()

bool SfxStoringHelper::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 
)

◆ SetDocInfoState()

void SfxStoringHelper::SetDocInfoState ( const css::uno::Reference< css::frame::XModel > &  xModel,
const css::uno::Reference< css::document::XDocumentProperties > &  i_xOldDocInfo 
)
static

Definition at line 1887 of file guisaveas.cxx.

References TOOLS_INFO_EXCEPTION, and xModel.

Referenced by FinishGUIStoreModel().

◆ WarnUnacceptableFormat()

bool SfxStoringHelper::WarnUnacceptableFormat ( const css::uno::Reference< css::frame::XModel > &  xModel,
std::u16string_view  aOldUIName,
const OUString &  aDefExtension,
bool  rDefaultIsAlien 
)
static

Definition at line 1963 of file guisaveas.cxx.

References GetModelWindow(), RET_OK, weld::DialogController::run(), and xModel.

Referenced by ModelData_Impl::CheckFilter().

Friends And Related Function Documentation

◆ ModelData_Impl

friend class ModelData_Impl
friend

Definition at line 51 of file guisaveas.hxx.

Member Data Documentation

◆ m_aArgsSequence

css::uno::Sequence< css::beans::PropertyValue > SfxStoringHelper::m_aArgsSequence
private

Definition at line 59 of file guisaveas.hxx.

Referenced by CallFinishGUIStoreModel(), and GUIStoreModel().

◆ m_bDialogUsed

bool SfxStoringHelper::m_bDialogUsed
private

Definition at line 67 of file guisaveas.hxx.

Referenced by CallFinishGUIStoreModel(), and GUIStoreModel().

◆ m_bPreselectPassword

bool SfxStoringHelper::m_bPreselectPassword
private

Definition at line 66 of file guisaveas.hxx.

Referenced by CallFinishGUIStoreModel(), and GUIStoreModel().

◆ m_bRemote

bool SfxStoringHelper::m_bRemote
private

Definition at line 65 of file guisaveas.hxx.

Referenced by CallFinishGUIStoreModel(), and GUIStoreModel().

◆ m_bSetStandardName

bool SfxStoringHelper::m_bSetStandardName
private

Definition at line 68 of file guisaveas.hxx.

Referenced by CallFinishGUIStoreModel(), and GUIStoreModel().

◆ m_nStoreMode

sal_Int16 SfxStoringHelper::m_nStoreMode
private

Definition at line 69 of file guisaveas.hxx.

Referenced by CallFinishGUIStoreModel(), and GUIStoreModel().

◆ m_xFilterCFG

css::uno::Reference< css::container::XNameAccess > SfxStoringHelper::m_xFilterCFG
private

Definition at line 54 of file guisaveas.hxx.

Referenced by GetFilterConfiguration().

◆ m_xFilterQuery

css::uno::Reference< css::container::XContainerQuery > SfxStoringHelper::m_xFilterQuery
private

Definition at line 55 of file guisaveas.hxx.

Referenced by GetFilterQuery().

◆ m_xModelData

std::shared_ptr<ModelData_Impl> SfxStoringHelper::m_xModelData
private

Definition at line 58 of file guisaveas.hxx.

Referenced by CallFinishGUIStoreModel(), and GUIStoreModel().

◆ m_xModuleManager

css::uno::Reference< css::frame::XModuleManager2 > SfxStoringHelper::m_xModuleManager
private

Definition at line 56 of file guisaveas.hxx.

Referenced by GetModuleManager().


The documentation for this class was generated from the following files: