LibreOffice Module cui (master)
1
|
#include <insdlg.hxx>
Public Member Functions | |
SvInsertOleDlg (weld::Window *pParent, const css::uno::Reference< css::embed::XStorage > &xStorage, const SvObjectServerList *pServers) | |
virtual short | run () override |
css::uno::Reference< css::io::XInputStream > | GetIconIfIconified (OUString *pGraphicMediaType) override |
get replacement for the iconified embedded object and the mediatype of the replacement More... | |
![]() | |
const css::uno::Reference< css::embed::XEmbeddedObject > & | GetObject () const |
void | SetHelpId (const OString &rHelpId) |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
const Dialog * | getConstDialog () const |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OString &rHelpId) |
OString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
DECL_LINK (DoubleClickHdl, weld::TreeView &, bool) | |
DECL_LINK (BrowseHdl, weld::Button &, void) | |
DECL_LINK (RadioHdl, weld::Button &, void) | |
bool | IsCreateNew () const override |
Private Attributes | |
const SvObjectServerList * | m_pServers |
css::uno::Sequence< sal_Int8 > | m_aIconMetaFile |
OUString | m_aIconMediaType |
std::unique_ptr< weld::RadioButton > | m_xRbNewObject |
std::unique_ptr< weld::RadioButton > | m_xRbObjectFromfile |
std::unique_ptr< weld::Frame > | m_xObjectTypeFrame |
std::unique_ptr< weld::TreeView > | m_xLbObjecttype |
std::unique_ptr< weld::Frame > | m_xFileFrame |
std::unique_ptr< weld::Entry > | m_xEdFilepath |
std::unique_ptr< weld::Button > | m_xBtnFilepath |
std::unique_ptr< weld::CheckButton > | m_xCbFilelink |
std::unique_ptr< weld::CheckButton > | m_xCbAsIcon |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
InsertObjectDialog_Impl (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const css::uno::Reference< css::embed::XStorage > &xStorage) | |
![]() | |
css::uno::Reference< css::embed::XEmbeddedObject > | m_xObj |
const css::uno::Reference< css::embed::XStorage > | m_xStorage |
comphelper::EmbeddedObjectContainer | aCnt |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 48 of file insdlg.hxx.
SvInsertOleDlg::SvInsertOleDlg | ( | weld::Window * | pParent, |
const css::uno::Reference< css::embed::XStorage > & | xStorage, | ||
const SvObjectServerList * | pServers | ||
) |
Definition at line 122 of file insdlg.cxx.
References LINK, m_xBtnFilepath, m_xLbObjecttype, m_xRbNewObject, and m_xRbObjectFromfile.
|
private |
|
private |
|
private |
|
overridevirtual |
get replacement for the iconified embedded object and the mediatype of the replacement
Reimplemented from InsertObjectDialog_Impl.
Definition at line 312 of file insdlg.cxx.
References m_aIconMediaType, and m_aIconMetaFile.
|
inlineoverrideprivatevirtual |
Reimplemented from InsertObjectDialog_Impl.
Definition at line 68 of file insdlg.hxx.
Referenced by run().
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 146 of file insdlg.cxx.
References InsertObjectDialog_Impl::aCnt, aName, aURL, SvObjectServerList::Count(), comphelper::EmbeddedObjectContainer::CreateEmbeddedObject(), Application::CreateMessageDialog(), comphelper::EmbeddedObjectContainer::CreateUniqueObjectName(), DBG_ASSERT, SvObjectServerList::FillInsertObjects(), SvObjectServerList::Get(), Image::GetBitmapEx(), SvGlobalName::GetByteSequence(), SvObjectServer::GetClassName(), SvMemoryStream::GetData(), SvFileInformationManager::GetImage(), INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), i, comphelper::EmbeddedObjectContainer::InsertEmbeddedLink(), comphelper::EmbeddedObjectContainer::InsertEmbeddedObject(), IsCreateNew(), m_aIconMediaType, m_aIconMetaFile, m_pServers, m_xCbAsIcon, m_xCbFilelink, weld::GenericDialogController::m_xDialog, m_xEdFilepath, m_xLbObjecttype, InsertObjectDialog_Impl::m_xObj, InsertObjectDialog_Impl::m_xStorage, INetURLObject::NONE, pS, RET_OK, weld::DialogController::run(), INetURLObject::SetSmartProtocol(), INetURLObject::SetSmartURL(), SO3_OUT_CLASSID, SvtResId(), SvMemoryStream::TellEnd(), and WriteDIBBitmapEx().
|
private |
Definition at line 53 of file insdlg.hxx.
Referenced by GetIconIfIconified(), and run().
|
private |
Definition at line 52 of file insdlg.hxx.
Referenced by GetIconIfIconified(), and run().
|
private |
Definition at line 50 of file insdlg.hxx.
Referenced by run().
|
private |
Definition at line 61 of file insdlg.hxx.
Referenced by SvInsertOleDlg().
|
private |
Definition at line 63 of file insdlg.hxx.
Referenced by run().
|
private |
Definition at line 62 of file insdlg.hxx.
Referenced by run().
|
private |
Definition at line 60 of file insdlg.hxx.
Referenced by run().
|
private |
Definition at line 59 of file insdlg.hxx.
|
private |
Definition at line 58 of file insdlg.hxx.
Referenced by run(), and SvInsertOleDlg().
|
private |
Definition at line 57 of file insdlg.hxx.
|
private |
Definition at line 55 of file insdlg.hxx.
Referenced by SvInsertOleDlg().
|
private |
Definition at line 56 of file insdlg.hxx.
Referenced by SvInsertOleDlg().