LibreOffice Module svx (master) 1
|
Whoever creates his own objects must set a link in the SdrObjFactory class. More...
#include <svdobj.hxx>
Static Public Member Functions | |
static rtl::Reference< SdrObject > | MakeNewObject (SdrModel &rSdrModel, SdrInventor nInventor, SdrObjKind nObjIdentifier, const tools::Rectangle *pSnapRect=nullptr) |
static void | InsertMakeObjectHdl (Link< SdrObjCreatorParams, rtl::Reference< SdrObject > > const &rLink) |
static void | RemoveMakeObjectHdl (Link< SdrObjCreatorParams, rtl::Reference< SdrObject > > const &rLink) |
Private Member Functions | |
SdrObjFactory ()=delete | |
Static Private Member Functions | |
static SVX_DLLPRIVATE rtl::Reference< SdrObject > | CreateObjectFromFactory (SdrModel &rSdrModel, SdrInventor nInventor, SdrObjKind nIdentifier) |
Whoever creates his own objects must set a link in the SdrObjFactory class.
The handler must have the following signature: void Hdl(SdrObjFactory*) He must take a look at the referenced instance's nInventor and nIdentifier values, and must create a new drawing object instance accordingly. He must also make the pNewObj pointer reference to this instance.
Definition at line 1022 of file svdobj.hxx.
|
privatedelete |
|
staticprivate |
Definition at line 3221 of file svdobj.cxx.
References i, and ImpGetUserMakeObjHdl().
Referenced by MakeNewObject().
|
static |
Definition at line 3421 of file svdobj.cxx.
References ImpGetUserMakeObjHdl().
Referenced by E3dObjFactory::E3dObjFactory(), and FmFormObjFactory::FmFormObjFactory().
|
static |
Definition at line 3279 of file svdobj.cxx.
References basegfx::B2DPolygon::append(), tools::Rectangle::Bottom(), tools::Rectangle::BottomRight(), Caption, CircleArc, CircleCut, CircleOrEllipse, CircleSection, CreateObjectFromFactory(), CustomShape, Default, Edge, FreehandFill, FreehandLine, Graphic, Group, tools::Rectangle::Left(), Line, Measure, Media, NewFrame, NONE, OLE2, OLEPluginFrame, OutlineText, Page, PathFill, PathLine, PathPoly, PathPolyLine, Polygon, PolyLine, Rectangle, tools::Rectangle::Right(), Table, Text, TitleText, tools::Rectangle::Top(), tools::Rectangle::TopLeft(), ToSdrCircKind(), and UNO.
Referenced by SvxDrawPage::CreateSdrObject_(), SdrCreateView::ImpBegCreateObj(), SdrEditView::ImpDismantleOneObject(), FmXFormView::implCreateXFormsControl(), and SdrCreateView::SetCurrentObj().
|
static |
Definition at line 3432 of file svdobj.cxx.
References ImpGetUserMakeObjHdl().