LibreOffice Module sfx2 (master) 1
|
#include <docinsert.hxx>
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< SfxMedium > | CreateMedium (char const *pFallbackHack=nullptr) |
SfxMediumList | CreateMediumList () |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (DialogClosedHdl, sfx2::FileDialogHelper *, void) | |
Private Attributes | |
weld::Window * | m_pParent |
OUString | m_sDocFactory |
OUString | m_sFilter |
Link< sfx2::FileDialogHelper *, void > | m_aDialogClosedLink |
FileDialogFlags const | m_nDlgFlags |
ErrCode | m_nError |
std::unique_ptr< sfx2::FileDialogHelper > | m_pFileDlg |
std::shared_ptr< SfxItemSet > | m_xItemSet |
std::vector< OUString > | m_pURLList |
Definition at line 40 of file docinsert.hxx.
|
strong |
Enumerator | |
---|---|
Insert | |
InsertMulti | |
Compare | |
Merge |
Definition at line 59 of file docinsert.hxx.
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.
sfx2::DocumentInserter::~DocumentInserter | ( | ) |
Definition at line 86 of file docinsert.cxx.
std::unique_ptr< SfxMedium > sfx2::DocumentInserter::CreateMedium | ( | char const * | pFallbackHack = nullptr | ) |
Definition at line 104 of file docinsert.cxx.
References CheckPasswd_Impl(), DBG_ASSERT, ERRCODE_ABORT, ERRCODE_NONE, m_nError, m_pURLList, m_sDocFactory, m_sFilter, m_xItemSet, SFX_STREAM_READONLY, and SfxGetpApp().
SfxMediumList sfx2::DocumentInserter::CreateMediumList | ( | ) |
Definition at line 140 of file docinsert.cxx.
References CheckPasswd_Impl(), SfxFilterMatcher::DetectFilter(), ERRCODE_ABORT, ERRCODE_NONE, m_nError, m_pURLList, m_sDocFactory, m_sFilter, m_xItemSet, SFX_STREAM_READONLY, and SfxGetpApp().
|
private |
void sfx2::DocumentInserter::StartExecuteModal | ( | const Link< sfx2::FileDialogHelper *, void > & | _rDialogClosedLink | ) |
Definition at line 90 of file docinsert.cxx.
References ERRCODE_NONE, sfx2::FileDialogHelper::InsertDoc, LINK, m_aDialogClosedLink, m_nDlgFlags, m_nError, m_pFileDlg, m_pParent, and m_sDocFactory.
|
private |
Definition at line 46 of file docinsert.hxx.
Referenced by StartExecuteModal().
|
private |
Definition at line 48 of file docinsert.hxx.
Referenced by StartExecuteModal().
|
private |
Definition at line 49 of file docinsert.hxx.
Referenced by CreateMedium(), CreateMediumList(), and StartExecuteModal().
|
private |
Definition at line 52 of file docinsert.hxx.
Referenced by StartExecuteModal().
|
private |
Definition at line 43 of file docinsert.hxx.
Referenced by StartExecuteModal().
|
private |
Definition at line 54 of file docinsert.hxx.
Referenced by CreateMedium(), and CreateMediumList().
|
private |
Definition at line 44 of file docinsert.hxx.
Referenced by CreateMedium(), CreateMediumList(), and StartExecuteModal().
|
private |
Definition at line 45 of file docinsert.hxx.
Referenced by CreateMedium(), and CreateMediumList().
|
private |
Definition at line 53 of file docinsert.hxx.
Referenced by CreateMedium(), and CreateMediumList().