LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ModelData_Impl Class Reference
Collaboration diagram for ModelData_Impl:
[legend]

Public Member Functions

 ModelData_Impl (SfxStoringHelper &aOwner, uno::Reference< frame::XModel > xModel, const uno::Sequence< beans::PropertyValue > &aMediaDescr)
 
 ~ModelData_Impl ()
 
void FreeDocumentProps ()
 
uno::Reference< frame::XModel > const & GetModel () const
 
uno::Reference< frame::XStorable > const & GetStorable ()
 
uno::Reference< frame::XStorable2 > const & GetStorable2 ()
 
::comphelper::SequenceAsHashMapGetMediaDescr ()
 
bool IsRecommendReadOnly () const
 
const ::comphelper::SequenceAsHashMapGetDocProps ()
 
OUString const & GetModuleName ()
 
const ::comphelper::SequenceAsHashMapGetModuleProps ()
 
void CheckInteractionHandler ()
 
OUString GetDocServiceName ()
 
uno::Sequence< beans::PropertyValue > GetDocServiceDefaultFilterCheckFlags (SfxFilterFlags nMust, SfxFilterFlags nDont)
 
uno::Sequence< beans::PropertyValue > GetDocServiceAnyFilter (SfxFilterFlags nMust, SfxFilterFlags nDont)
 
uno::Sequence< beans::PropertyValue > GetPreselectedFilter_Impl (sal_Int16 nStoreMode)
 
uno::Sequence< beans::PropertyValue > GetDocServiceDefaultFilter ()
 
bool ExecuteFilterDialog_Impl (const OUString &aFilterName, bool bAsync)
 
sal_Int8 CheckSaveAcceptable (sal_Int8 nCurStatus)
 
sal_Int8 CheckStateForSave ()
 
sal_Int8 CheckFilter (const OUString &)
 
bool CheckFilterOptionsDialogExistence ()
 
bool OutputFileDialog (sal_Int16 nStoreMode, const ::comphelper::SequenceAsHashMap &aPreselectedFilterPropsHM, bool bSetStandardName, OUString &aSuggestedName, bool bPreselectPassword, OUString &aSuggestedDir, sal_Int16 nDialog, const OUString &rStandardDir, const css::uno::Sequence< OUString > &rDenyList)
 
bool ShowDocumentInfoDialog ()
 
OUString GetRecommendedDir (const OUString &aSuggestedDir)
 
OUString GetRecommendedName (const OUString &aSuggestedName, const OUString &aTypeName)
 

Static Public Member Functions

static OUString GetRecommendedExtension (const OUString &aTypeName)
 

Private Member Functions

 DECL_LINK (OptionsDialogClosedHdl, css::ui::dialogs::DialogClosedEvent *, void)
 

Private Attributes

SfxStoringHelperm_pOwner
 
uno::Reference< frame::XModel > m_xModel
 
uno::Reference< frame::XStorable > m_xStorable
 
uno::Reference< frame::XStorable2 > m_xStorable2
 
OUString m_aModuleName
 
std::unique_ptr<::comphelper::SequenceAsHashMapm_pDocumentPropsHM
 
std::unique_ptr<::comphelper::SequenceAsHashMapm_pModulePropsHM
 
uno::Reference< beans::XPropertyAccess > m_xFilterProperties
 
uno::Reference< ui::dialogs::XAsynchronousExecutableDialog > m_xFilterDialog
 
::comphelper::SequenceAsHashMap m_aMediaDescrHM
 
bool m_bRecommendReadOnly
 

Detailed Description

Definition at line 262 of file guisaveas.cxx.

Constructor & Destructor Documentation

◆ ModelData_Impl()

ModelData_Impl::ModelData_Impl ( SfxStoringHelper aOwner,
uno::Reference< frame::XModel >  xModel,
const uno::Sequence< beans::PropertyValue > &  aMediaDescr 
)

Definition at line 342 of file guisaveas.cxx.

References CheckInteractionHandler(), m_pOwner, m_xModel, and xModel.

◆ ~ModelData_Impl()

ModelData_Impl::~ModelData_Impl ( )

Member Function Documentation

◆ CheckFilter()

sal_Int8 ModelData_Impl::CheckFilter ( const OUString &  aFilterName)

◆ CheckFilterOptionsDialogExistence()

bool ModelData_Impl::CheckFilterOptionsDialogExistence ( )

◆ CheckInteractionHandler()

void ModelData_Impl::CheckInteractionHandler ( )

◆ CheckSaveAcceptable()

sal_Int8 ModelData_Impl::CheckSaveAcceptable ( sal_Int8  nCurStatus)

◆ CheckStateForSave()

sal_Int8 ModelData_Impl::CheckStateForSave ( )

◆ DECL_LINK()

ModelData_Impl::DECL_LINK ( OptionsDialogClosedHdl  ,
css::ui::dialogs::DialogClosedEvent *  ,
void   
)
private

◆ ExecuteFilterDialog_Impl()

bool ModelData_Impl::ExecuteFilterDialog_Impl ( const OUString &  aFilterName,
bool  bAsync 
)

◆ FreeDocumentProps()

void ModelData_Impl::FreeDocumentProps ( )

◆ GetDocProps()

const ::comphelper::SequenceAsHashMap & ModelData_Impl::GetDocProps ( )

◆ GetDocServiceAnyFilter()

uno::Sequence< beans::PropertyValue > ModelData_Impl::GetDocServiceAnyFilter ( SfxFilterFlags  nMust,
SfxFilterFlags  nDont 
)

◆ GetDocServiceDefaultFilter()

uno::Sequence< beans::PropertyValue > ModelData_Impl::GetDocServiceDefaultFilter ( )

◆ GetDocServiceDefaultFilterCheckFlags()

uno::Sequence< beans::PropertyValue > ModelData_Impl::GetDocServiceDefaultFilterCheckFlags ( SfxFilterFlags  nMust,
SfxFilterFlags  nDont 
)

◆ GetDocServiceName()

OUString ModelData_Impl::GetDocServiceName ( )

◆ GetMediaDescr()

::comphelper::SequenceAsHashMap & ModelData_Impl::GetMediaDescr ( )
inline

◆ GetModel()

uno::Reference< frame::XModel > const & ModelData_Impl::GetModel ( ) const

◆ GetModuleName()

OUString const & ModelData_Impl::GetModuleName ( )

Definition at line 410 of file guisaveas.cxx.

References SfxStoringHelper::GetModuleManager(), m_aModuleName, m_pOwner, and m_xModel.

Referenced by GetModuleProps().

◆ GetModuleProps()

const ::comphelper::SequenceAsHashMap & ModelData_Impl::GetModuleProps ( )

◆ GetPreselectedFilter_Impl()

uno::Sequence< beans::PropertyValue > ModelData_Impl::GetPreselectedFilter_Impl ( sal_Int16  nStoreMode)

◆ GetRecommendedDir()

OUString ModelData_Impl::GetRecommendedDir ( const OUString &  aSuggestedDir)

◆ GetRecommendedExtension()

OUString ModelData_Impl::GetRecommendedExtension ( const OUString &  aTypeName)
static

◆ GetRecommendedName()

OUString ModelData_Impl::GetRecommendedName ( const OUString &  aSuggestedName,
const OUString &  aTypeName 
)

◆ GetStorable()

uno::Reference< frame::XStorable > const & ModelData_Impl::GetStorable ( )

◆ GetStorable2()

uno::Reference< frame::XStorable2 > const & ModelData_Impl::GetStorable2 ( )

Definition at line 390 of file guisaveas.cxx.

References m_xModel, and m_xStorable2.

Referenced by SfxStoringHelper::GUIStoreModel().

◆ IsRecommendReadOnly()

bool ModelData_Impl::IsRecommendReadOnly ( ) const
inline

Definition at line 297 of file guisaveas.cxx.

References m_bRecommendReadOnly.

Referenced by SfxStoringHelper::FinishGUIStoreModel().

◆ OutputFileDialog()

bool ModelData_Impl::OutputFileDialog ( sal_Int16  nStoreMode,
const ::comphelper::SequenceAsHashMap aPreselectedFilterPropsHM,
bool  bSetStandardName,
OUString &  aSuggestedName,
bool  bPreselectPassword,
OUString &  aSuggestedDir,
sal_Int16  nDialog,
const OUString &  rStandardDir,
const css::uno::Sequence< OUString > &  rDenyList 
)

◆ ShowDocumentInfoDialog()

bool ModelData_Impl::ShowDocumentInfoDialog ( )

Member Data Documentation

◆ m_aMediaDescrHM

::comphelper::SequenceAsHashMap ModelData_Impl::m_aMediaDescrHM
private

Definition at line 276 of file guisaveas.cxx.

Referenced by CheckInteractionHandler(), and GetMediaDescr().

◆ m_aModuleName

OUString ModelData_Impl::m_aModuleName
private

Definition at line 269 of file guisaveas.cxx.

Referenced by GetModuleName().

◆ m_bRecommendReadOnly

bool ModelData_Impl::m_bRecommendReadOnly
private

Definition at line 278 of file guisaveas.cxx.

Referenced by IsRecommendReadOnly(), and OutputFileDialog().

◆ m_pDocumentPropsHM

std::unique_ptr<::comphelper::SequenceAsHashMap> ModelData_Impl::m_pDocumentPropsHM
private

Definition at line 270 of file guisaveas.cxx.

Referenced by FreeDocumentProps(), GetDocProps(), and ~ModelData_Impl().

◆ m_pModulePropsHM

std::unique_ptr<::comphelper::SequenceAsHashMap> ModelData_Impl::m_pModulePropsHM
private

Definition at line 271 of file guisaveas.cxx.

Referenced by GetModuleProps(), and ~ModelData_Impl().

◆ m_pOwner

SfxStoringHelper* ModelData_Impl::m_pOwner
private

◆ m_xFilterDialog

uno::Reference<ui::dialogs::XAsynchronousExecutableDialog> ModelData_Impl::m_xFilterDialog
private

Definition at line 274 of file guisaveas.cxx.

Referenced by ExecuteFilterDialog_Impl().

◆ m_xFilterProperties

uno::Reference<beans::XPropertyAccess> ModelData_Impl::m_xFilterProperties
private

Definition at line 273 of file guisaveas.cxx.

Referenced by ExecuteFilterDialog_Impl(), and ~ModelData_Impl().

◆ m_xModel

uno::Reference< frame::XModel > ModelData_Impl::m_xModel
private

◆ m_xStorable

uno::Reference< frame::XStorable > ModelData_Impl::m_xStorable
private

Definition at line 266 of file guisaveas.cxx.

Referenced by GetStorable().

◆ m_xStorable2

uno::Reference< frame::XStorable2 > ModelData_Impl::m_xStorable2
private

Definition at line 267 of file guisaveas.cxx.

Referenced by GetStorable2().


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