LibreOffice Module sfx2 (master) 1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
sfx2::DocumentInserter Class Reference

#include <docinsert.hxx>

Collaboration diagram for sfx2::DocumentInserter:
[legend]

Public Types

enum class  Mode {
  Insert ,
  InsertMulti ,
  Compare ,
  Merge
}
 

Public Member Functions

 DocumentInserter (weld::Window *pParent, OUString aFactory, const Mode mode=Mode::Insert)
 
 ~DocumentInserter ()
 
void StartExecuteModal (const Link< sfx2::FileDialogHelper *, void > &_rDialogClosedLink)
 
std::unique_ptr< SfxMediumCreateMedium (char const *pFallbackHack=nullptr)
 
SfxMediumList CreateMediumList ()
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (DialogClosedHdl, sfx2::FileDialogHelper *, void)
 

Private Attributes

weld::Windowm_pParent
 
OUString m_sDocFactory
 
OUString m_sFilter
 
Link< sfx2::FileDialogHelper *, void > m_aDialogClosedLink
 
FileDialogFlags const m_nDlgFlags
 
ErrCode m_nError
 
std::unique_ptr< sfx2::FileDialogHelperm_pFileDlg
 
std::shared_ptr< SfxItemSetm_xItemSet
 
std::vector< OUString > m_pURLList
 

Detailed Description

Definition at line 40 of file docinsert.hxx.

Member Enumeration Documentation

◆ Mode

enum class sfx2::DocumentInserter::Mode
strong
Enumerator
Insert 
InsertMulti 
Compare 
Merge 

Definition at line 59 of file docinsert.hxx.

Constructor & Destructor Documentation

◆ DocumentInserter()

sfx2::DocumentInserter::DocumentInserter ( weld::Window pParent,
OUString  aFactory,
const Mode  mode = Mode::Insert 
)

Definition at line 78 of file docinsert.cxx.

References ERRCODE_NONE, and mode.

◆ ~DocumentInserter()

sfx2::DocumentInserter::~DocumentInserter ( )

Definition at line 86 of file docinsert.cxx.

Member Function Documentation

◆ CreateMedium()

std::unique_ptr< SfxMedium > sfx2::DocumentInserter::CreateMedium ( char const *  pFallbackHack = nullptr)

◆ CreateMediumList()

SfxMediumList sfx2::DocumentInserter::CreateMediumList ( )

◆ DECL_DLLPRIVATE_LINK()

sfx2::DocumentInserter::DECL_DLLPRIVATE_LINK ( DialogClosedHdl  ,
sfx2::FileDialogHelper ,
void   
)
private

◆ StartExecuteModal()

void sfx2::DocumentInserter::StartExecuteModal ( const Link< sfx2::FileDialogHelper *, void > &  _rDialogClosedLink)

Member Data Documentation

◆ m_aDialogClosedLink

Link<sfx2::FileDialogHelper*,void> sfx2::DocumentInserter::m_aDialogClosedLink
private

Definition at line 46 of file docinsert.hxx.

Referenced by StartExecuteModal().

◆ m_nDlgFlags

FileDialogFlags const sfx2::DocumentInserter::m_nDlgFlags
private

Definition at line 48 of file docinsert.hxx.

Referenced by StartExecuteModal().

◆ m_nError

ErrCode sfx2::DocumentInserter::m_nError
private

Definition at line 49 of file docinsert.hxx.

Referenced by CreateMedium(), CreateMediumList(), and StartExecuteModal().

◆ m_pFileDlg

std::unique_ptr<sfx2::FileDialogHelper> sfx2::DocumentInserter::m_pFileDlg
private

Definition at line 52 of file docinsert.hxx.

Referenced by StartExecuteModal().

◆ m_pParent

weld::Window* sfx2::DocumentInserter::m_pParent
private

Definition at line 43 of file docinsert.hxx.

Referenced by StartExecuteModal().

◆ m_pURLList

std::vector<OUString> sfx2::DocumentInserter::m_pURLList
private

Definition at line 54 of file docinsert.hxx.

Referenced by CreateMedium(), and CreateMediumList().

◆ m_sDocFactory

OUString sfx2::DocumentInserter::m_sDocFactory
private

Definition at line 44 of file docinsert.hxx.

Referenced by CreateMedium(), CreateMediumList(), and StartExecuteModal().

◆ m_sFilter

OUString sfx2::DocumentInserter::m_sFilter
private

Definition at line 45 of file docinsert.hxx.

Referenced by CreateMedium(), and CreateMediumList().

◆ m_xItemSet

std::shared_ptr<SfxItemSet> sfx2::DocumentInserter::m_xItemSet
private

Definition at line 53 of file docinsert.hxx.

Referenced by CreateMedium(), and CreateMediumList().


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