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... | |
Public Member Functions inherited from InsertObjectDialog_Impl | |
const css::uno::Reference< css::embed::XEmbeddedObject > & | GetObject () const |
virtual css::uno::Reference< css::io::XInputStream > | GetIconIfIconified (OUString *pGraphicMediaType) |
void | SetHelpId (const OUString &rHelpId) |
virtual bool | IsCreateNew () const |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | 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::Toggleable &, 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 Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Member Functions inherited from InsertObjectDialog_Impl | |
InsertObjectDialog_Impl (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, css::uno::Reference< css::embed::XStorage > xStorage) | |
Protected Attributes inherited from InsertObjectDialog_Impl | |
css::uno::Reference< css::embed::XEmbeddedObject > | m_xObj |
const css::uno::Reference< css::embed::XStorage > | m_xStorage |
comphelper::EmbeddedObjectContainer | aCnt |
Protected Attributes inherited from weld::GenericDialogController | |
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 130 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 362 of file insdlg.cxx.
References m_aIconMediaType, and m_aIconMetaFile.
|
inlineoverrideprivatevirtual |
Reimplemented from InsertObjectDialog_Impl.
Definition at line 68 of file insdlg.hxx.
References m_xRbNewObject.
Referenced by run().
|
overridevirtual |
Reimplemented from weld::DialogController.
Definition at line 154 of file insdlg.cxx.
References InsertObjectDialog_Impl::aCnt, aName, aURL, SvObjectServerList::Count(), comphelper::EmbeddedObjectContainer::CreateEmbeddedObject(), Application::CreateMessageDialog(), comphelper::EmbeddedObjectContainer::CreateUniqueObjectName(), CuiResId(), SfxViewFrame::Current(), DBG_ASSERT, SvObjectServerList::FillInsertObjects(), SvObjectServerList::Get(), Image::GetBitmapEx(), SvMemoryStream::GetData(), SvFileInformationManager::GetImage(), 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, comphelper::makePropertyValue(), INetURLObject::NONE, pS, RET_OK, weld::DialogController::run(), SO3_OUT_CLASSID, SvtResId(), SvMemoryStream::TellEnd(), WriteDIBBitmapEx(), and xFrame.
|
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 IsCreateNew(), and SvInsertOleDlg().
|
private |
Definition at line 56 of file insdlg.hxx.
Referenced by SvInsertOleDlg().