LibreOffice Module svx (master) 1
|
#include <svdoole2.hxx>
Public Member Functions | |
OUString | GetStyleString () |
SdrOle2Obj (SdrModel &rSdrModel, bool bFrame_=false) | |
SdrOle2Obj (SdrModel &rSdrModel, SdrOle2Obj const &rSource) | |
SdrOle2Obj (SdrModel &rSdrModel, const svt::EmbeddedObjectRef &rNewObjRef, const OUString &rNewObjName, const tools::Rectangle &rNewRect) | |
const svt::EmbeddedObjectRef & | getEmbeddedObjectRef () const |
sal_Int64 | GetAspect () const |
bool | isInplaceActive () const |
bool | isUiActive () const |
void | SetAspect (sal_Int64 nAspect) |
void | SetGraphic (const Graphic &rGrf) |
void | ClearGraphic () |
const Graphic * | GetGraphic () const |
void | GetNewReplacement () |
Size | GetOrigObjSize (MapMode const *pTargetMapMode=nullptr) const |
void | setSuppressSetVisAreaSize (bool bNew) |
const OUString & | GetPersistName () const |
void | SetPersistName (const OUString &rPersistName, SvxOle2Shape *pCreator=nullptr) |
void | SetProgName (const OUString &rName) |
const OUString & | GetProgName () const |
bool | IsEmpty () const |
void | SetObjRef (const css::uno::Reference< css::embed::XEmbeddedObject > &rNewObjRef) |
css::uno::Reference< css::embed::XEmbeddedObject > const & | GetObjRef () const |
SVX_DLLPRIVATE css::uno::Reference< css::embed::XEmbeddedObject > const & | GetObjRef_NoInit () const |
void | AbandonObject () |
virtual void | handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage) override |
void | SetClosedObj (bool bIsClosed) |
Change the IsClosedObj attribute. More... | |
virtual rtl::Reference< SdrObject > | getFullDragClone () const override |
virtual void | TakeObjInfo (SdrObjTransformInfoRec &rInfo) const override |
virtual SdrObjKind | GetObjIdentifier () const override |
virtual OUString | TakeObjNameSingul () const override |
virtual OUString | TakeObjNamePlural () const override |
virtual rtl::Reference< SdrObject > | CloneSdrObject (SdrModel &rTargetModel) const override |
virtual void | NbcMove (const Size &rSize) override |
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model. More... | |
virtual void | NbcResize (const Point &rRef, const Fraction &xFact, const Fraction &yFact) override |
virtual void | NbcSetSnapRect (const tools::Rectangle &rRect) override |
virtual void | NbcSetLogicRect (const tools::Rectangle &rRect) override |
virtual void | SetGeoData (const SdrObjGeoData &rGeo) override |
bool | Unload () |
void | Connect (SvxOle2Shape *pCreator=nullptr) |
void | Disconnect () |
void | ObjectLoaded () |
css::uno::Reference< css::frame::XModel > | getXModel () const |
bool | IsChart () const |
bool | IsCalc () const |
bool | UpdateLinkURL_Impl () |
void | BreakFileLink_Impl () |
void | DisconnectFileLink_Impl () |
void | CheckFileLink_Impl () |
void | SetGraphicToObj (const Graphic &aGraphic) |
void | SetGraphicToObj (const css::uno::Reference< css::io::XInputStream > &xGrStream, const OUString &aMediaType) |
css::uno::Reference< css::frame::XModel > | GetParentXModel () const |
bool | CalculateNewScaling (Fraction &aScaleWidth, Fraction &aScaleHeight, Size &aObjAreaSize) |
bool | AddOwnLightClient () |
void | SetWindow (const css::uno::Reference< css::awt::XWindow > &_xWindow) |
virtual rtl::Reference< SdrObject > | DoConvertToPolyObj (bool bBezier, bool bAddText) const override |
Public Member Functions inherited from SdrRectObj | |
SdrRectObj (SdrModel &rSdrModel) | |
The corner radius parameter is dropped at some point. More... | |
SdrRectObj (SdrModel &rSdrModel, const tools::Rectangle &rRect) | |
SdrRectObj (SdrModel &rSdrModel, SdrObjKind eNewTextKind) | |
SdrRectObj (SdrModel &rSdrModel, SdrObjKind eNewTextKind, const tools::Rectangle &rRect) | |
SdrRectObj (SdrModel &rSdrModel, SdrRectObj const &rSource) | |
virtual void | TakeObjInfo (SdrObjTransformInfoRec &rInfo) const override |
virtual SdrObjKind | GetObjIdentifier () const override |
virtual void | TakeUnrotatedSnapRect (tools::Rectangle &rRect) const override |
virtual OUString | TakeObjNameSingul () const override |
virtual OUString | TakeObjNamePlural () const override |
virtual rtl::Reference< SdrObject > | CloneSdrObject (SdrModel &rTargetModel) const override |
virtual void | RecalcSnapRect () override |
Snap is not done on the BoundRect but if possible on logic coordinates (i.e. More... | |
virtual void | NbcSetSnapRect (const tools::Rectangle &rRect) override |
virtual void | NbcSetLogicRect (const tools::Rectangle &rRect) override |
virtual basegfx::B2DPolyPolygon | TakeXorPoly () const override |
The Xor-Polygon is required by the View to drag the object. More... | |
virtual sal_uInt32 | GetHdlCount () const override |
Via GetHdlCount the number of Handles can be retrieved. More... | |
virtual void | AddToHdlList (SdrHdlList &rHdlList) const override |
virtual bool | hasSpecialDrag () const override |
The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPoly(),...). More... | |
virtual bool | beginSpecialDrag (SdrDragStat &rDrag) const override |
virtual bool | applySpecialDrag (SdrDragStat &rDrag) override |
virtual OUString | getSpecialDragComment (const SdrDragStat &rDrag) const override |
virtual basegfx::B2DPolyPolygon | TakeCreatePoly (const SdrDragStat &rDrag) const override |
Polygon dragged by the user when creating the object. More... | |
virtual PointerStyle | GetCreatePointer () const override |
get the cursor/pointer that signals creating this object More... | |
virtual void | NbcMove (const Size &rSiz) override |
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model. More... | |
virtual void | NbcResize (const Point &rRef, const Fraction &xFact, const Fraction &yFact) override |
virtual void | NbcRotate (const Point &rRef, Degree100 nAngle, double sn, double cs) override |
virtual void | NbcMirror (const Point &rRef1, const Point &rRef2) override |
virtual void | NbcShear (const Point &rRef, Degree100 nAngle, double tn, bool bVShear) override |
virtual SdrGluePoint | GetVertexGluePoint (sal_uInt16 nNum) const override |
virtual SdrGluePoint | GetCornerGluePoint (sal_uInt16 nNum) const override |
virtual rtl::Reference< SdrObject > | DoConvertToPolyObj (bool bBezier, bool bAddText) const override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
Detects when a stylesheet is changed. More... | |
Public Member Functions inherited from SdrTextObj | |
const Point & | GetTextEditOffset () const |
void | SetTextEditOffset (const Point &rNew) |
bool | IsInEditMode () const |
void | SetTextLink (const OUString &rFileName, const OUString &rFilterName) |
void | ReleaseTextLink () |
bool | IsLinkedText () const |
bool | ReloadLinkedText (bool bForceLoad) |
bool | LoadText (const OUString &rFileName, rtl_TextEncoding eCharSet) |
virtual bool | AdjustTextFrameWidthAndHeight (tools::Rectangle &rR, bool bHgt=true, bool bWdt=true) const |
virtual bool | NbcAdjustTextFrameWidthAndHeight (bool bHgt=true, bool bWdt=true) |
virtual bool | AdjustTextFrameWidthAndHeight () |
bool | IsTextFrame () const |
bool | IsOutlText () const |
bool | IsAutoFit () const |
returns true if the PPT autofit of text into shape bounds is enabled. implies IsFitToSize()==false! More... | |
bool | IsFitToSize () const |
returns true if the old feature for fitting shape content should into shape is enabled. implies IsAutoFit()==false! More... | |
SdrTextObj * | GetNextLinkInChain () const |
void | SetNextLinkInChain (SdrTextObj *) |
SdrTextObj * | GetPrevLinkInChain () const |
bool | IsChainable () const |
bool | GetPreventChainable () const |
TextChain * | GetTextChain () const |
SdrObjKind | GetTextKind () const |
virtual bool | HasText () const override |
bool | IsTextEditActive () const |
virtual SdrText * | getActiveText () const |
returns the currently active text. More... | |
virtual SdrText * | getText (sal_Int32 nIndex) const override |
returns the nth available text. More... | |
virtual sal_Int32 | getTextCount () const override |
returns the number of texts available for this object. More... | |
virtual bool | IsReallyEdited () const |
returns true only if we are in edit mode and the user actually changed anything More... | |
virtual void | setActiveText (sal_Int32 nIndex) |
changes the current active text More... | |
virtual sal_Int32 | CheckTextHit (const Point &rPnt) const |
returns the index of the text that contains the given point or -1 More... | |
void | SetDisableAutoWidthOnDragging (bool bOn) |
void | NbcSetText (const OUString &rStr) |
void | SetText (const OUString &rStr) |
void | NbcSetText (SvStream &rInput, const OUString &rBaseURL, EETextFormat eFormat) |
void | SetText (SvStream &rInput, const OUString &rBaseURL, EETextFormat eFormat) |
virtual const Size & | GetTextSize () const |
void | FitFrameToTextSize () |
double | GetFontScale () const |
double | GetSpacingScale () const |
virtual void | TakeTextRect (SdrOutliner &rOutliner, tools::Rectangle &rTextRect, bool bNoEditText, tools::Rectangle *pAnchorRect, bool bLineWidth=true) const |
void | AdjustRectToTextDistance (tools::Rectangle &rAnchorRect) const |
virtual void | TakeTextAnchorRect (::tools::Rectangle &rAnchorRect) const |
const GeoStat & | GetGeoStat () const |
tools::Long | GetEckenradius () const |
virtual bool | IsAutoGrowHeight () const |
tools::Long | GetMinTextFrameHeight () const |
tools::Long | GetMaxTextFrameHeight () const |
virtual bool | IsAutoGrowWidth () const |
tools::Long | GetMinTextFrameWidth () const |
tools::Long | GetMaxTextFrameWidth () const |
css::drawing::TextFitToSizeType | GetFitToSize () const |
const tools::Rectangle & | GetGeoRect () const |
virtual bool | IsFontwork () const |
bool | IsHideContour () const |
bool | IsContourTextFrame () const |
SdrTextHorzAdjust | GetTextHorizontalAdjust (const SfxItemSet &rSet) const |
SdrTextHorzAdjust | GetTextHorizontalAdjust () const |
SdrTextVertAdjust | GetTextVerticalAdjust (const SfxItemSet &rSet) const |
SdrTextVertAdjust | GetTextVerticalAdjust () const |
tools::Long | GetTextLeftDistance () const |
Left inner spacing to borders More... | |
tools::Long | GetTextRightDistance () const |
Right inner spacing to borders More... | |
tools::Long | GetTextUpperDistance () const |
Top inner spacing to borders. More... | |
tools::Long | GetTextLowerDistance () const |
Bottom inner spacing to borders. More... | |
SdrTextAniKind | GetTextAniKind () const |
SdrTextAniDirection | GetTextAniDirection () const |
bool | HasTextColumnsNumber () const |
sal_Int16 | GetTextColumnsNumber () const |
void | SetTextColumnsNumber (sal_Int16 nColumns) |
bool | HasTextColumnsSpacing () const |
sal_Int32 | GetTextColumnsSpacing () const |
void | SetTextColumnsSpacing (sal_Int32 nSpacing) |
virtual void | handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage) override |
virtual void | TakeObjInfo (SdrObjTransformInfoRec &rInfo) const override |
virtual SdrObjKind | GetObjIdentifier () const override |
virtual void | TakeUnrotatedSnapRect (tools::Rectangle &rRect) const |
virtual OUString | TakeObjNameSingul () const override |
virtual OUString | TakeObjNamePlural () const override |
virtual rtl::Reference< SdrObject > | CloneSdrObject (SdrModel &rTargetModel) const override |
virtual basegfx::B2DPolyPolygon | TakeXorPoly () const override |
The Xor-Polygon is required by the View to drag the object. More... | |
virtual basegfx::B2DPolyPolygon | TakeContour () const override |
contour for TextToContour More... | |
virtual void | RecalcSnapRect () override |
Snap is not done on the BoundRect but if possible on logic coordinates (i.e. More... | |
virtual void | NbcSetSnapRect (const tools::Rectangle &rRect) override |
virtual void | NbcSetLogicRect (const tools::Rectangle &rRect) override |
virtual const tools::Rectangle & | GetLogicRect () const override |
virtual Degree100 | GetRotateAngle () const override |
virtual Degree100 | GetShearAngle (bool bVertical=false) const override |
virtual sal_uInt32 | GetSnapPointCount () const override |
snap to special points of an Object (polygon points, center of circle) More... | |
virtual Point | GetSnapPoint (sal_uInt32 i) const override |
virtual sal_uInt32 | GetHdlCount () const override |
Via GetHdlCount the number of Handles can be retrieved. More... | |
virtual void | AddToHdlList (SdrHdlList &rHdlList) const override |
virtual bool | hasSpecialDrag () const override |
The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPoly(),...). More... | |
virtual bool | applySpecialDrag (SdrDragStat &rDrag) override |
virtual OUString | getSpecialDragComment (const SdrDragStat &rDrag) const override |
virtual bool | BegCreate (SdrDragStat &rStat) override |
Every object must be able to create itself interactively. More... | |
virtual bool | MovCreate (SdrDragStat &rStat) override |
virtual bool | EndCreate (SdrDragStat &rStat, SdrCreateCmd eCmd) override |
virtual bool | BckCreate (SdrDragStat &rStat) override |
virtual void | BrkCreate (SdrDragStat &rStat) override |
virtual basegfx::B2DPolyPolygon | TakeCreatePoly (const SdrDragStat &rDrag) const override |
Polygon dragged by the user when creating the object. More... | |
virtual PointerStyle | GetCreatePointer () const override |
get the cursor/pointer that signals creating this object More... | |
virtual void | NbcMove (const Size &rSiz) override |
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model. More... | |
virtual void | NbcResize (const Point &rRef, const Fraction &xFact, const Fraction &yFact) override |
virtual void | NbcRotate (const Point &rRef, Degree100 nAngle, double sn, double cs) override |
virtual void | NbcMirror (const Point &rRef1, const Point &rRef2) override |
virtual void | NbcShear (const Point &rRef, Degree100 nAngle, double tn, bool bVShear) override |
virtual bool | HasTextEdit () const override |
virtual bool | BegTextEdit (SdrOutliner &rOutl) |
virtual void | TakeTextEditArea (Size *pPaperMin, Size *pPaperMax, tools::Rectangle *pViewInit, tools::Rectangle *pViewMin) const |
virtual void | EndTextEdit (SdrOutliner &rOutl) |
virtual EEAnchorMode | GetOutlinerViewAnchorMode () const |
virtual void | NbcSetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject) override |
void | NbcSetOutlinerParaObjectForText (std::optional< OutlinerParaObject > pTextObject, SdrText *pText) |
virtual OutlinerParaObject * | GetOutlinerParaObject () const override |
bool | CanCreateEditOutlinerParaObject () const |
std::optional< OutlinerParaObject > | CreateEditOutlinerParaObject () const |
virtual void | NbcReformatText () override |
virtual bool | CalcFieldValue (const SvxFieldItem &rField, sal_Int32 nPara, sal_uInt16 nPos, bool bEdit, std::optional< Color > &rpTxtColor, std::optional< Color > &rpFldColor, std::optional< FontLineStyle > &rpFldLineStyle, OUString &rRet) const |
virtual rtl::Reference< SdrObject > | DoConvertToPolyObj (bool bBezier, bool bAddText) const override |
void | SetTextEditOutliner (SdrOutliner *pOutl) |
void | SetupOutlinerFormatting (SdrOutliner &rOutl, tools::Rectangle &rPaintRect) const |
Setup given Outliner equivalently to SdrTextObj::Paint() More... | |
void | UpdateOutlinerFormatting (SdrOutliner &rOutl, tools::Rectangle &rPaintRect) const |
Update given Outliner equivalently to SdrTextObj::Paint() More... | |
void | ForceOutlinerParaObject () |
virtual bool | IsVerticalWriting () const |
virtual void | SetVerticalWriting (bool bVertical) |
bool | IsTopToBottom () const |
virtual void | onEditOutlinerStatusEvent (EditStatus *pEditStatus) |
called from the SdrObjEditView during text edit when the status of the edit outliner changes More... | |
void | onChainingEvent () |
called from the SdrObjEditView during text edit when a chain of boxes is to be updated More... | |
virtual bool | TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const override |
virtual void | TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon) override |
void | RemoveOutlinerCharacterAttribs (const std::vector< sal_uInt16 > &rCharWhichIds) |
iterates over the paragraphs of a given SdrObject and removes all hard set character attributes with the which ids contained in the given vector More... | |
GDIMetaFile * | GetTextScrollMetaFileAndRectangle (tools::Rectangle &rScrollRectangle, tools::Rectangle &rPaintRectangle) |
void | SetTextAnimationAllowed (bool bNew) |
void | SetObjectItemNoBroadcast (const SfxPoolItem &rItem) |
double | GetCameraZRotation () const |
void | impDecomposeContourTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrContourTextPrimitive2D &rSdrContourTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impDecomposePathTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrPathTextPrimitive2D &rSdrPathTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impDecomposeBlockTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrBlockTextPrimitive2D &rSdrBlockTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impDecomposeAutoFitTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D &rSdrAutofitTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impDecomposeStretchTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrStretchTextPrimitive2D &rSdrStretchTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impDecomposeChainedTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrChainedTextPrimitive2D &rSdrChainedTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impHandleChainingEventsDuringDecomposition (SdrOutliner &rOutliner) const |
void | impGetBlinkTextTiming (drawinglayer::animation::AnimationEntryList &rAnimList) const |
void | impGetScrollTextTiming (drawinglayer::animation::AnimationEntryList &rAnimList, double fFrameLength, double fTextLength) const |
virtual bool | IsSdrTextObj () const final |
Public Member Functions inherited from SdrAttrObj | |
bool | HasFill () const |
bool | HasLine () const |
virtual const tools::Rectangle & | GetSnapRect () const override |
Public Member Functions inherited from SdrObject | |
virtual const std::shared_ptr< svx::diagram::IDiagramHelper > & | getDiagramHelper () const |
bool | isDiagram () const |
const SdrObject * | getFillGeometryDefiningShape () const |
SdrObject (SdrModel &rSdrModel) | |
SdrObject (SdrModel &rSdrModel, SdrObject const &rSource) | |
virtual void SAL_CALL | acquire () noexcept override final |
virtual void SAL_CALL | release () noexcept override final |
SdrPage * | getSdrPageFromSdrObject () const |
SdrModel & | getSdrModelFromSdrObject () const |
virtual SdrObjList * | getChildrenOfSdrObject () const |
SdrObjList * | getParentSdrObjListFromSdrObject () const |
SdrObject * | getParentSdrObjectFromSdrObject () const |
virtual void | handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage) |
void | AddObjectUser (sdr::ObjectUser &rNewUser) |
void | RemoveObjectUser (sdr::ObjectUser &rOldUser) |
sdr::contact::ViewContact & | GetViewContact () const |
virtual sdr::properties::BaseProperties & | GetProperties () const |
void | ActionChanged () const |
void | SetRelativeWidth (double nValue) |
void | SetRelativeWidthRelation (sal_Int16 eValue) |
void | SetRelativeHeight (double nValue) |
void | SetRelativeHeightRelation (sal_Int16 eValue) |
const double * | GetRelativeWidth () const |
sal_Int16 | GetRelativeWidthRelation () const |
const double * | GetRelativeHeight () const |
sal_Int16 | GetRelativeHeightRelation () const |
virtual void | SetBoundAndSnapRectsDirty (bool bNotMyself=false, bool bRecursive=true) |
virtual void | SetBoundRectDirty () |
SfxItemPool & | GetObjectItemPool () const |
void | AddListener (SfxListener &rListener) |
void | RemoveListener (SfxListener &rListener) |
void | AddReference (SdrVirtObj &rVrtObj) |
void | DelReference (SdrVirtObj &rVrtObj) |
virtual SdrInventor | GetObjInventor () const |
virtual SdrObjKind | GetObjIdentifier () const |
virtual void | TakeObjInfo (SdrObjTransformInfoRec &rInfo) const |
virtual SdrLayerID | GetLayer () const |
virtual void | NbcSetLayer (SdrLayerID nLayer) |
virtual void | SetLayer (SdrLayerID nLayer) |
bool | isVisibleOnAnyOfTheseLayers (const SdrLayerIDSet &rSet) const |
void | SendUserCall (SdrUserCallType eUserCall, const tools::Rectangle &rBoundRect) const |
virtual void | SetName (const OUString &rStr, const bool bSetChanged=true) |
virtual const OUString & | GetName () const |
void | MakeNameUnique () |
void | MakeNameUnique (std::unordered_set< OUString > &rNameSet) |
virtual void | SetTitle (const OUString &rStr) |
virtual OUString | GetTitle () const |
virtual void | SetDescription (const OUString &rStr) |
virtual OUString | GetDescription () const |
virtual void | SetDecorative (bool isDecorative) |
virtual bool | IsDecorative () const |
bool | IsGroupObject () const |
virtual SdrObjList * | GetSubList () const |
sal_uInt32 | GetOrdNum () const |
The order number (aka ZOrder, aka z-index) determines whether a SdrObject is located above or below another. More... | |
void | SetOrdNum (sal_uInt32 nNum) |
void | GetGrabBagItem (css::uno::Any &rVal) const |
virtual void | SetGrabBagItem (const css::uno::Any &rVal) |
sal_uInt32 | GetNavigationPosition () const |
virtual const tools::Rectangle & | GetCurrentBoundRect () const |
virtual const tools::Rectangle & | GetLastBoundRect () const |
virtual void | RecalcBoundRect () |
void | BroadcastObjectChange () const |
const SfxBroadcaster * | GetBroadcaster () const |
virtual void | SetChanged () |
void | SingleObjectPainter (OutputDevice &rOut) const |
bool | LineGeometryUsageIsNecessary () const |
virtual bool | HasLimitedRotation () const |
virtual rtl::Reference< SdrObject > | CloneSdrObject (SdrModel &rTargetModel) const =0 |
SdrObject & | operator= (const SdrObject &rObj)=delete |
SdrObject & | operator= (SdrObject &&rObj)=delete |
virtual OUString | TakeObjNameSingul () const |
virtual OUString | TakeObjNamePlural () const |
virtual basegfx::B2DPolyPolygon | TakeXorPoly () const |
The Xor-Polygon is required by the View to drag the object. More... | |
virtual basegfx::B2DPolyPolygon | TakeContour () const |
contour for TextToContour More... | |
virtual sal_uInt32 | GetHdlCount () const |
Via GetHdlCount the number of Handles can be retrieved. More... | |
virtual void | AddToPlusHdlList (SdrHdlList &rHdlList, SdrHdl &rHdl) const |
virtual void | AddToHdlList (SdrHdlList &rHdlList) const |
virtual void | addCropHandles (SdrHdlList &rTarget) const |
virtual bool | hasSpecialDrag () const |
The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPoly(),...). More... | |
virtual bool | beginSpecialDrag (SdrDragStat &rDrag) const |
virtual bool | applySpecialDrag (SdrDragStat &rDrag) |
virtual OUString | getSpecialDragComment (const SdrDragStat &rDrag) const |
virtual basegfx::B2DPolyPolygon | getSpecialDragPoly (const SdrDragStat &rDrag) const |
virtual bool | supportsFullDrag () const |
virtual rtl::Reference< SdrObject > | getFullDragClone () const |
virtual bool | BegCreate (SdrDragStat &rStat) |
Every object must be able to create itself interactively. More... | |
virtual bool | MovCreate (SdrDragStat &rStat) |
virtual bool | EndCreate (SdrDragStat &rStat, SdrCreateCmd eCmd) |
virtual bool | BckCreate (SdrDragStat &rStat) |
virtual void | BrkCreate (SdrDragStat &rStat) |
virtual PointerStyle | GetCreatePointer () const |
get the cursor/pointer that signals creating this object More... | |
virtual basegfx::B2DPolyPolygon | TakeCreatePoly (const SdrDragStat &rDrag) const |
Polygon dragged by the user when creating the object. More... | |
virtual void | NbcMove (const Size &rSiz) |
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model. More... | |
virtual void | NbcResize (const Point &rRef, const Fraction &xFact, const Fraction &yFact) |
virtual void | NbcCrop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact) |
virtual void | NbcRotate (const Point &rRef, Degree100 nAngle, double sn, double cs)=0 |
void | NbcRotate (const Point &rRef, Degree100 nAngle) |
virtual void | NbcMirror (const Point &rRef1, const Point &rRef2) |
virtual void | NbcShear (const Point &rRef, Degree100 nAngle, double tn, bool bVShear) |
virtual void | Move (const Size &rSiz) |
virtual void | Resize (const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bUnsetRelative=true) |
virtual void | Crop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact) |
virtual void | Rotate (const Point &rRef, Degree100 nAngle, double sn, double cs) |
virtual void | Mirror (const Point &rRef1, const Point &rRef2) |
virtual void | Shear (const Point &rRef, Degree100 nAngle, double tn, bool bVShear) |
virtual void | NbcSetRelativePos (const Point &rPnt) |
The relative position of a SdrObject is the distance of the upper left corner of the logic bounding rectangle (SnapRect) to the anchor. More... | |
virtual void | SetRelativePos (const Point &rPnt) |
virtual Point | GetRelativePos () const |
void | ImpSetAnchorPos (const Point &rPnt) |
virtual void | NbcSetAnchorPos (const Point &rPnt) |
virtual void | SetAnchorPos (const Point &rPnt) |
virtual void | RecalcSnapRect () |
Snap is not done on the BoundRect but if possible on logic coordinates (i.e. More... | |
virtual const tools::Rectangle & | GetSnapRect () const |
virtual void | SetSnapRect (const tools::Rectangle &rRect) |
virtual void | NbcSetSnapRect (const tools::Rectangle &rRect) |
virtual const tools::Rectangle & | GetLogicRect () const |
virtual void | SetLogicRect (const tools::Rectangle &rRect) |
virtual void | NbcSetLogicRect (const tools::Rectangle &rRect) |
virtual void | AdjustToMaxRect (const tools::Rectangle &rMaxRect, bool bShrinkOnly=false) |
virtual Degree100 | GetRotateAngle () const |
virtual Degree100 | GetShearAngle (bool bVertical=false) const |
virtual sal_uInt32 | GetSnapPointCount () const |
snap to special points of an Object (polygon points, center of circle) More... | |
virtual Point | GetSnapPoint (sal_uInt32 i) const |
virtual bool | IsPolyObj () const |
virtual sal_uInt32 | GetPointCount () const |
virtual Point | GetPoint (sal_uInt32 i) const |
void | SetPoint (const Point &rPnt, sal_uInt32 i) |
virtual void | NbcSetPoint (const Point &rPnt, sal_uInt32 i) |
virtual std::unique_ptr< SdrObjGeoData > | GetGeoData () const |
virtual void | SetGeoData (const SdrObjGeoData &rGeo) |
const SfxItemSet & | GetMergedItemSet () const |
void | SetMergedItem (const SfxPoolItem &rItem) |
void | ClearMergedItem (const sal_uInt16 nWhich=0) |
void | SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false) |
const SfxPoolItem & | GetMergedItem (const sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetMergedItem (TypedWhichId< T > nWhich) const |
void | SetMergedItemSetAndBroadcast (const SfxItemSet &rSet, bool bClearAllItems=false) |
void | TakeNotPersistAttr (SfxItemSet &rAttr) const |
void | ApplyNotPersistAttr (const SfxItemSet &rAttr) |
void | NbcApplyNotPersistAttr (const SfxItemSet &rAttr) |
void | SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr) |
void | NbcSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr) |
SfxStyleSheet * | GetStyleSheet () const |
virtual bool | HasTextEdit () const |
void | SetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject) |
virtual void | NbcSetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject) |
virtual OutlinerParaObject * | GetOutlinerParaObject () const |
virtual void | NbcReformatText () |
void | BurnInStyleSheetAttributes () |
virtual bool | HasMacro () const |
virtual SdrObject * | CheckMacroHit (const SdrObjMacroHitRec &rRec) const |
virtual PointerStyle | GetMacroPointer (const SdrObjMacroHitRec &rRec) const |
virtual void | PaintMacro (OutputDevice &rOut, const tools::Rectangle &rDirtyRect, const SdrObjMacroHitRec &rRec) const |
virtual bool | DoMacro (const SdrObjMacroHitRec &rRec) |
bool | IsMacroHit (const SdrObjMacroHitRec &rRec) const |
virtual SdrGluePoint | GetVertexGluePoint (sal_uInt16 nNum) const |
virtual SdrGluePoint | GetCornerGluePoint (sal_uInt16 nNum) const |
virtual const SdrGluePointList * | GetGluePointList () const |
virtual SdrGluePointList * | ForceGluePointList () |
void | SetGlueReallyAbsolute (bool bOn) |
void | NbcRotateGluePoints (const Point &rRef, Degree100 nAngle, double sn, double cs) |
void | NbcMirrorGluePoints (const Point &rRef1, const Point &rRef2) |
void | NbcShearGluePoints (const Point &rRef, double tn, bool bVShear) |
virtual void | ConnectToNode (bool bTail1, SdrObject *pObj) |
virtual void | DisconnectFromNode (bool bTail1) |
virtual SdrObject * | GetConnectedNode (bool bTail1) const |
virtual void | SetContextWritingMode (const sal_Int16 _nContextWritingMode) |
virtual rtl::Reference< SdrObject > | DoConvertToPolyObj (bool bBezier, bool bAddText) const |
rtl::Reference< SdrObject > | ConvertToPolyObj (bool bBezier, bool bLineToArea) const |
rtl::Reference< SdrObject > | ConvertToContourObj (SdrObject *pRet, bool bForceLineDash=false) const |
bool | IsVirtualObj () const |
bool | IsClosedObj () const |
void | InsertedStateChange () |
bool | IsInserted () const |
bool | IsEdgeObj () const |
bool | Is3DObj () const |
bool | IsUnoObj () const |
void | SetMoveProtect (bool bProt) |
bool | IsMoveProtect () const |
void | SetResizeProtect (bool bProt) |
bool | IsResizeProtect () const |
void | SetPrintable (bool bPrn) |
bool | IsPrintable () const |
void | SetVisible (bool bVisible) |
bool | IsVisible () const |
void | SetMarkProtect (bool bProt) |
bool | IsMarkProtect () const |
virtual bool | IsSdrTextObj () const |
virtual bool | IsTextPath () const |
virtual bool | shouldKeepAspectRatio () const |
Whether the aspect ratio should be kept by default when resizing. More... | |
sal_uInt16 | GetUserDataCount () const |
SdrObjUserData * | GetUserData (sal_uInt16 nNum) const |
void | AppendUserData (std::unique_ptr< SdrObjUserData > pData) |
void | DeleteUserData (sal_uInt16 nNum) |
virtual css::uno::Reference< css::drawing::XShape > | getUnoShape () |
void | notifyShapePropertyChange (const svx::ShapePropertyProviderId _eProperty) const |
void | registerProvider (const svx::ShapePropertyProviderId _eProperty, std::unique_ptr< svx::PropertyValueProvider > propProvider) |
virtual bool | TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const |
virtual void | TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon) |
bool | IsInDestruction () const |
bool | HasFillStyle () const |
bool | HasLineStyle () const |
const tools::Rectangle & | GetBLIPSizeRectangle () const |
void | SetBLIPSizeRectangle (const tools::Rectangle &aRect) |
virtual bool | HasText () const |
bool | Equals (const SdrObject &) const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
virtual bool | IsTextBox () const |
Is this a textbox of a drawinglayer shape? More... | |
void | SetEmptyPresObj (bool bEpt) |
bool | IsEmptyPresObj () const |
void | SetNotVisibleAsMaster (bool bFlg) |
bool | IsNotVisibleAsMaster () const |
void | SetUserCall (SdrObjUserCall *pUser) |
SdrObjUserCall * | GetUserCall () const |
void | SetDoNotInsertIntoPageAutomatically (bool bSet) |
bool | IsDoNotInsertIntoPageAutomatically () const |
sal_uInt32 | GetOrdNumDirect () const |
bool | DoesSupportTextIndentingOnLineWidthChange () const |
const Point & | GetAnchorPos () const |
bool | LineIsOutsideGeometry () const |
void | SetNavigationPosition (const sal_uInt32 nPosition) |
virtual void | setUnoShape (const css::uno::Reference< css::drawing::XShape > &_rxUnoShape) |
Sets a new UNO representation of the shape. More... | |
const css::uno::WeakReference< css::drawing::XShape > & | getWeakUnoShape () const |
bool | setSuitableOutlinerBg (Outliner &rOutliner) const |
const Graphic * | getFillGraphic () const |
const OUString & | getHyperlink () const |
void | setHyperlink (const OUString &sHyperlink) |
void | ForceMetricToItemPoolMetric (basegfx::B2DPolyPolygon &rPolyPolygon) const noexcept |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
virtual sal_Int32 | getTextCount () const =0 |
Return the number of texts available for this object. More... | |
virtual SdrText * | getText (sal_Int32 nIndex) const =0 |
Return the nth available text. More... | |
Static Public Member Functions | |
static bool | CanUnloadRunningObj (const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, sal_Int64 nAspect) |
static bool | Unload (const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, sal_Int64 nAspect) |
static Graphic | GetEmptyOLEReplacementGraphic () |
Static Public Member Functions inherited from SdrTextObj | |
static void | impDecomposeBlockTextPrimitiveDirect (drawinglayer::primitive2d::Primitive2DContainer &rTarget, SdrOutliner &rOutliner, const basegfx::B2DHomMatrix &rNewTransformA, const basegfx::B2DHomMatrix &rNewTransformB, const basegfx::B2DRange &rClipRange) |
static bool | HasTextImpl (SdrOutliner const *pOutliner) |
returns false if the given pointer is NULL or if the given SdrOutliner contains no text. More... | |
Static Public Member Functions inherited from SdrObject | |
static SdrItemPool & | GetGlobalDrawObjectItemPool () |
template<class T > | |
static rtl::Reference< T > | Clone (T const &rObj, SdrModel &rTargetModel) |
static SdrObject * | getSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt) |
Protected Member Functions | |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () override |
virtual std::unique_ptr< sdr::properties::BaseProperties > | CreateObjectSpecificProperties () override |
virtual | ~SdrOle2Obj () override |
Protected Member Functions inherited from SdrRectObj | |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () override |
virtual std::unique_ptr< sdr::properties::BaseProperties > | CreateObjectSpecificProperties () override |
XPolygon | ImpCalcXPoly (const tools::Rectangle &rRect1, tools::Long nRad1) const |
void | SetXPolyDirty () |
virtual void | RecalcXPoly () |
Subclasses should override RecalcXPoly() by creating an XPolygon instance with new and assigning it to mpXPoly. More... | |
const XPolygon & | GetXPoly () const |
virtual void | RestoreGeoData (const SdrObjGeoData &rGeo) override |
virtual | ~SdrRectObj () override |
Protected Member Functions inherited from SdrTextObj | |
virtual std::unique_ptr< sdr::properties::BaseProperties > | CreateObjectSpecificProperties () override |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () override |
tools::Rectangle const & | getRectangle () const |
void | setRectangle (tools::Rectangle const &rRectangle) |
void | setRectangleSize (sal_Int32 nWidth, sal_Int32 nHeight) |
void | moveRectangle (sal_Int32 nXDelta, sal_Int32 nYDelta) |
void | moveRectanglePosition (sal_Int32 nX, sal_Int32 nY) |
virtual rtl::Reference< SdrObject > | getFullDragClone () const override |
SdrOutliner & | ImpGetDrawOutliner () const |
bool | ImpCanConvTextToCurve () const |
rtl::Reference< SdrPathObj > | ImpConvertMakeObj (const basegfx::B2DPolyPolygon &rPolyPolygon, bool bClosed, bool bBezier) const |
rtl::Reference< SdrObject > | ImpConvertAddText (rtl::Reference< SdrObject > pObj, bool bBezier) const |
void | ImpSetTextStyleSheetListeners () |
void | ImpCheckShear () |
tools::Rectangle | ImpDragCalcRect (const SdrDragStat &rDrag) const |
void | ImpSetTextEditParams () const |
void | SetTextSizeDirty () |
void | ImpSetContourPolygon (SdrOutliner &rOutliner, tools::Rectangle const &rAnchorRect, bool bLineWidth) const |
virtual std::unique_ptr< SdrObjGeoData > | NewGeoData () const override |
A derived class must override these 3 methods if it has own geometric data that must be saved for Undo. More... | |
virtual void | SaveGeoData (SdrObjGeoData &rGeo) const override |
virtual void | RestoreGeoData (const SdrObjGeoData &rGeo) override |
void | NbcSetEckenradius (tools::Long nRad) |
virtual void | AdaptTextMinSize () |
SdrTextObj (SdrModel &rSdrModel) | |
SdrTextObj (SdrModel &rSdrModel, const tools::Rectangle &rNewRect) | |
SdrTextObj (SdrModel &rSdrModel, SdrObjKind eNewTextKind) | |
SdrTextObj (SdrModel &rSdrModel, SdrObjKind eNewTextKind, const tools::Rectangle &rNewRect) | |
SdrTextObj (SdrModel &rSdrModel, SdrTextObj const &rSource) | |
virtual | ~SdrTextObj () override |
Protected Member Functions inherited from SdrAttrObj | |
virtual std::unique_ptr< sdr::properties::BaseProperties > | CreateObjectSpecificProperties () override |
sal_Int32 | ImpGetLineWdt () const |
Detects the width of the line. No line ->0. More... | |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
Detects when a stylesheet is changed. More... | |
SdrAttrObj (SdrModel &rSdrModel) | |
SdrAttrObj (SdrModel &rSdrModel, SdrAttrObj const &) | |
virtual | ~SdrAttrObj () override |
Protected Member Functions inherited from SdrObject | |
const tools::Rectangle & | getOutRectangle () const |
void | setOutRectangleConst (tools::Rectangle const &rRectangle) const |
void | setOutRectangle (tools::Rectangle const &rRectangle) |
void | resetOutRectangle () |
void | moveOutRectangle (sal_Int32 nXDelta, sal_Int32 nYDelta) |
virtual | ~SdrObject () override |
virtual std::unique_ptr< sdr::properties::BaseProperties > | CreateObjectSpecificProperties () |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () |
tools::Rectangle | ImpDragCalcRect (const SdrDragStat &rDrag) const |
OUString | ImpGetDescriptionStr (TranslateId pStrCacheID) const |
void | ImpForcePlusData () |
OUString | GetMetrStr (tools::Long nVal) const |
virtual std::unique_ptr< SdrObjGeoData > | NewGeoData () const |
A derived class must override these 3 methods if it has own geometric data that must be saved for Undo. More... | |
virtual void | SaveGeoData (SdrObjGeoData &rGeo) const |
virtual void | RestoreGeoData (const SdrObjGeoData &rGeo) |
const SfxItemSet & | GetObjectItemSet () const |
void | SetObjectItem (const SfxPoolItem &rItem) |
void | SetObjectItemSet (const SfxItemSet &rSet) |
const SfxPoolItem & | GetObjectItem (const sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetObjectItem (TypedWhichId< T > nWhich) const |
const SfxItemSet * | getBackgroundFillSet () const |
virtual void | InternalSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast) |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Member Functions inherited from svx::ITextProvider | |
~ITextProvider () | |
Private Member Functions | |
SVX_DLLPRIVATE void | Connect_Impl (SvxOle2Shape *pCreator=nullptr) |
SVX_DLLPRIVATE void | Disconnect_Impl () |
SVX_DLLPRIVATE void | AddListeners_Impl () |
SVX_DLLPRIVATE void | RemoveListeners_Impl () |
SVX_DLLPRIVATE void | GetObjRef_Impl () |
SVX_DLLPRIVATE rtl::Reference< SdrObject > | createSdrGrafObjReplacement (bool bAddText) const |
SVX_DLLPRIVATE void | ImpSetVisAreaSize () |
SVX_DLLPRIVATE void | Init () |
Private Attributes | |
std::unique_ptr< SdrOle2ObjImpl > | mpImpl |
Definition at line 47 of file svdoole2.hxx.
|
overrideprotectedvirtual |
Definition at line 818 of file svdoole2.cxx.
References Disconnect(), DisconnectFileLink_Impl(), and mpImpl.
SdrOle2Obj::SdrOle2Obj | ( | SdrModel & | rSdrModel, |
bool | bFrame_ = false |
||
) |
SdrOle2Obj::SdrOle2Obj | ( | SdrModel & | rSdrModel, |
SdrOle2Obj const & | rSource | ||
) |
Definition at line 743 of file svdoole2.cxx.
References CheckFileLink_Impl(), Connect(), comphelper::EmbeddedObjectContainer::CopyAndGetEmbeddedObject(), DBG_ASSERT, GetAspect(), comphelper::IEmbeddedHelper::getDocumentBaseURL(), comphelper::EmbeddedObjectContainer::GetEmbeddedObject(), comphelper::IEmbeddedHelper::getEmbeddedObjectContainer(), SdrModel::GetPersist(), SdrObject::getSdrModelFromSdrObject(), Init(), SdrObject::IsClosedObj(), SdrObject::IsEmptyPresObj(), mpImpl, and SetClosedObj().
SdrOle2Obj::SdrOle2Obj | ( | SdrModel & | rSdrModel, |
const svt::EmbeddedObjectRef & | rNewObjRef, | ||
const OUString & | rNewObjName, | ||
const tools::Rectangle & | rNewRect | ||
) |
Definition at line 785 of file svdoole2.cxx.
References GetAspect(), ImplIsMathObj(), Init(), SdrObject::m_bSizProt, cppu::OWeakObject::m_refCount, mpImpl, and SetClosedObj().
void SdrOle2Obj::AbandonObject | ( | ) |
Definition at line 1428 of file svdoole2.cxx.
References mpImpl, and SetObjRef().
|
private |
Definition at line 1141 of file svdoole2.cxx.
References getXModel(), and mpImpl.
Referenced by Connect(), Init(), and ObjectLoaded().
bool SdrOle2Obj::AddOwnLightClient | ( | ) |
Definition at line 1953 of file svdoole2.cxx.
References CalculateNewScaling(), Connect(), SfxInPlaceClient::GetClient(), SdrObject::getSdrModelFromSdrObject(), and mpImpl.
Referenced by SvxOle2Shape::getPropertyValueImpl(), and NbcResize().
void SdrOle2Obj::BreakFileLink_Impl | ( | ) |
Definition at line 959 of file svdoole2.cxx.
References DisconnectFileLink_Impl(), SdrObject::getSdrModelFromSdrObject(), mpImpl, and TOOLS_WARN_EXCEPTION.
Referenced by SdrEmbedObjectLink::Closed().
bool SdrOle2Obj::CalculateNewScaling | ( | Fraction & | aScaleWidth, |
Fraction & | aScaleHeight, | ||
Size & | aObjAreaSize | ||
) |
Definition at line 1924 of file svdoole2.cxx.
References Fraction, SdrTextObj::getRectangle(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetSize(), Size::Height(), mpImpl, Fraction::ReduceInaccurate(), and Size::Width().
Referenced by AddOwnLightClient(), and ImpSetVisAreaSize().
|
static |
void SdrOle2Obj::CheckFileLink_Impl | ( | ) |
Definition at line 994 of file svdoole2.cxx.
References sfx2::ClientOle, SdrEmbedObjectLink::Connect(), SdrObject::getSdrModelFromSdrObject(), sfx2::LinkManager::InsertFileLink(), mpImpl, SO3_IFRAME_CLASSID, and TOOLS_WARN_EXCEPTION.
Referenced by Connect_Impl(), GetObjRef_Impl(), and SdrOle2Obj().
void SdrOle2Obj::ClearGraphic | ( | ) |
Definition at line 866 of file svdoole2.cxx.
References SdrObject::BroadcastObjectChange(), mpImpl, and SdrObject::SetChanged().
Referenced by GetObjRef_Impl().
|
overridevirtual |
Reimplemented from SdrRectObj.
Definition at line 1483 of file svdoole2.cxx.
References SdrOle2Obj().
void SdrOle2Obj::Connect | ( | SvxOle2Shape * | pCreator = nullptr | ) |
Definition at line 889 of file svdoole2.cxx.
References AddListeners_Impl(), Connect_Impl(), SdrObject::IsEmptyPresObj(), and mpImpl.
Referenced by AddOwnLightClient(), GetObjRef_Impl(), handlePageChange(), SdrOle2Obj(), SetObjRef(), and SetPersistName().
|
private |
Definition at line 1055 of file svdoole2.cxx.
References CheckFileLink_Impl(), DBG_ASSERT, SvxOle2Shape::GetAndClearInitialFrameURL(), comphelper::EmbeddedObjectContainer::GetEmbeddedObject(), comphelper::IEmbeddedHelper::getEmbeddedObjectContainer(), SdrGlobalData::GetOLEObjCache(), GetSdrGlobalData(), SdrObject::getSdrModelFromSdrObject(), comphelper::EmbeddedObjectContainer::HasEmbeddedObject(), comphelper::EmbeddedObjectContainer::InsertEmbeddedObject(), OLEObjCache::InsertObj(), mpImpl, TOOLS_WARN_EXCEPTION, and svt::EmbeddedObjectRef::TryRunningState().
|
overrideprotectedvirtual |
Reimplemented from SdrRectObj.
Definition at line 701 of file svdoole2.cxx.
|
overrideprotectedvirtual |
Reimplemented from SdrRectObj.
Definition at line 708 of file svdoole2.cxx.
|
private |
Definition at line 1275 of file svdoole2.cxx.
References svtools::ColorConfig::GetColorValue(), GetEmptyOLEReplacementGraphic(), GetGraphic(), SdrObject::GetMergedItemSet(), SdrTextObj::GetOutlinerParaObject(), SdrObject::getSdrModelFromSdrObject(), SdrAttrObj::GetSnapRect(), SdrObject::GetStyleSheet(), svtools::ColorConfigValue::nColor, svtools::OBJECTBOUNDARIES, SdrObject::SdrRectObj, and SdrTextObj::TRGetBaseGeometry().
Referenced by DoConvertToPolyObj(), and getFullDragClone().
void SdrOle2Obj::Disconnect | ( | ) |
Definition at line 1159 of file svdoole2.cxx.
References Disconnect_Impl(), SdrObject::IsEmptyPresObj(), mpImpl, and RemoveListeners_Impl().
Referenced by handlePageChange(), SetObjRef(), and ~SdrOle2Obj().
|
private |
Definition at line 1197 of file svdoole2.cxx.
References comphelper::EmbeddedObjectContainer::CloseEmbeddedObject(), DisconnectFileLink_Impl(), SdrGlobalData::GetOLEObjCache(), GetSdrGlobalData(), SdrObject::getSdrModelFromSdrObject(), SdrObject::IsInDestruction(), mpImpl, comphelper::EmbeddedObjectContainer::RemoveEmbeddedObject(), OLEObjCache::RemoveObj(), and TOOLS_WARN_EXCEPTION.
Referenced by Disconnect().
void SdrOle2Obj::DisconnectFileLink_Impl | ( | ) |
Definition at line 983 of file svdoole2.cxx.
References SdrObject::getSdrModelFromSdrObject(), mpImpl, and sfx2::LinkManager::Remove().
Referenced by BreakFileLink_Impl(), Disconnect_Impl(), and ~SdrOle2Obj().
|
overridevirtual |
Reimplemented from SdrRectObj.
Definition at line 1334 of file svdoole2.cxx.
References createSdrGrafObjReplacement().
sal_Int64 SdrOle2Obj::GetAspect | ( | ) | const |
Definition at line 842 of file svdoole2.cxx.
References mpImpl.
Referenced by SvxOle2Shape::createLink(), SvxOle2Shape::createObject(), sdr::contact::ViewObjectContactOfSdrOle2Obj::createPrimitive2DSequence(), GetObjRef_Impl(), IMPL_LINK_NOARG(), ImpSetVisAreaSize(), NbcResize(), SdrOle2Obj(), SetObjRef(), and Unload().
const svt::EmbeddedObjectRef & SdrOle2Obj::getEmbeddedObjectRef | ( | ) | const |
Definition at line 837 of file svdoole2.cxx.
References mpImpl.
Referenced by sdr::contact::ViewObjectContactOfSdrOle2Obj::createPrimitive2DSequence().
|
static |
Definition at line 1984 of file svdoole2.cxx.
Referenced by drawinglayer::primitive2d::SdrOleContentPrimitive2D::create2DDecomposition(), and createSdrGrafObjReplacement().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 1411 of file svdoole2.cxx.
References createSdrGrafObjReplacement().
const Graphic * SdrOle2Obj::GetGraphic | ( | ) | const |
Definition at line 1700 of file svdoole2.cxx.
References mpImpl.
Referenced by createSdrGrafObjReplacement(), SdrEditView::DoImportMarkedMtf(), SdrExchangeView::GetObjGraphic(), SvxShape::getPropertyValueImpl(), and SvxOle2Shape::getPropertyValueImpl().
void SdrOle2Obj::GetNewReplacement | ( | ) |
Definition at line 1707 of file svdoole2.cxx.
References mpImpl.
Referenced by SdrEmbedObjectLink::DataChanged().
|
overridevirtual |
Reimplemented from SdrRectObj.
Definition at line 1459 of file svdoole2.cxx.
References mpImpl, OLE2, and OLEPluginFrame.
uno::Reference< embed::XEmbeddedObject > const & SdrOle2Obj::GetObjRef | ( | ) | const |
Definition at line 1856 of file svdoole2.cxx.
References GetObjRef_Impl(), and mpImpl.
Referenced by SdrEditView::CheckPossibilities(), SdrEmbedObjectLink::DataChanged(), SdrIFrameLink::DataChanged(), SvxOle2Shape::GetClassName_Impl(), SvxOle2Shape::getPropertyValueImpl(), getXModel(), ImpSetVisAreaSize(), NbcResize(), and SvxOle2Shape::resetModifiedState().
|
private |
Definition at line 1800 of file svdoole2.cxx.
References CheckFileLink_Impl(), ClearGraphic(), Connect(), GetAspect(), SdrGlobalData::GetOLEObjCache(), GetSdrGlobalData(), SdrObject::getSdrModelFromSdrObject(), ImplIsMathObj(), OLEObjCache::InsertObj(), SdrObject::IsEmptyPresObj(), mpImpl, SdrModel::SetChanged(), and SetClosedObj().
Referenced by GetObjRef(), and UpdateLinkURL_Impl().
uno::Reference< embed::XEmbeddedObject > const & SdrOle2Obj::GetObjRef_NoInit | ( | ) | const |
Definition at line 1713 of file svdoole2.cxx.
References mpImpl.
uno::Reference< frame::XModel > SdrOle2Obj::GetParentXModel | ( | ) | const |
Definition at line 1918 of file svdoole2.cxx.
References SdrObject::getSdrModelFromSdrObject().
Referenced by lcl_getFrame_throw().
const OUString & SdrOle2Obj::GetPersistName | ( | ) | const |
Definition at line 1435 of file svdoole2.cxx.
References mpImpl.
Referenced by SvxOle2Shape::GetClassName_Impl(), and SvxOle2Shape::getPropertyValueImpl().
const OUString & SdrOle2Obj::GetProgName | ( | ) | const |
Definition at line 879 of file svdoole2.cxx.
References mpImpl.
OUString SdrOle2Obj::GetStyleString | ( | ) |
Definition at line 808 of file svdoole2.cxx.
References mpImpl.
uno::Reference< frame::XModel > SdrOle2Obj::getXModel | ( | ) | const |
Definition at line 1867 of file svdoole2.cxx.
References GetObjRef(), mpImpl, and svt::EmbeddedObjectRef::TryRunningState().
Referenced by AddListeners_Impl(), ImpSetVisAreaSize(), and RemoveListeners_Impl().
Reimplemented from SdrTextObj.
Definition at line 1347 of file svdoole2.cxx.
References Connect(), Disconnect(), SdrTextObj::handlePageChange(), and mpImpl.
|
private |
Definition at line 1488 of file svdoole2.cxx.
References BottomRight, CalculateNewScaling(), Fraction, GetAspect(), SfxInPlaceClient::GetClient(), tools::Rectangle::GetHeight(), GetObjRef(), SdrTextObj::getRectangle(), SfxInPlaceClient::GetScaleHeight(), SfxInPlaceClient::GetScaleWidth(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetSize(), tools::Rectangle::GetWidth(), getXModel(), Size::Height(), IsChart(), OutputDevice::LogicToLogic(), mpImpl, SfxInPlaceClient::SetObjArea(), SfxInPlaceClient::SetObjAreaAndScale(), SdrTextObj::setRectangleSize(), tools::Rectangle::SetSize(), TopLeft, svt::EmbeddedObjectRef::TryRunningState(), VCLUnoHelper::UnoEmbed2VCLMapUnit(), and Size::Width().
Referenced by Init(), NbcMove(), NbcResize(), NbcSetLogicRect(), NbcSetSnapRect(), and SetGeoData().
|
private |
Definition at line 713 of file svdoole2.cxx.
References AddListeners_Impl(), Connect_Impl(), SdrObject::getSdrModelFromSdrObject(), ImpSetVisAreaSize(), IsChart(), and SdrObject::IsEmptyPresObj().
Referenced by SdrOle2Obj().
bool SdrOle2Obj::IsCalc | ( | ) | const |
Definition at line 1903 of file svdoole2.cxx.
References mpImpl, SO3_SC_CLASSID, SO3_SC_CLASSID_30, SO3_SC_CLASSID_40, SO3_SC_CLASSID_50, SO3_SC_CLASSID_60, SO3_SC_OLE_EMBED_CLASSID_60, and SO3_SC_OLE_EMBED_CLASSID_8.
bool SdrOle2Obj::IsChart | ( | ) | const |
Definition at line 1875 of file svdoole2.cxx.
References mpImpl.
Referenced by ImpSetVisAreaSize(), Init(), and NbcSetSnapRect().
bool SdrOle2Obj::IsEmpty | ( | ) | const |
Definition at line 884 of file svdoole2.cxx.
References mpImpl.
Referenced by SvxOle2Shape::createLink(), SvxOle2Shape::createObject(), SvxOle2Shape::GetClassName_Impl(), and SvxOle2Shape::resetModifiedState().
bool SdrOle2Obj::isInplaceActive | ( | ) | const |
Definition at line 847 of file svdoole2.cxx.
References mpImpl.
Referenced by SdrMarkView::SetMarkHandles().
bool SdrOle2Obj::isUiActive | ( | ) | const |
Definition at line 852 of file svdoole2.cxx.
References mpImpl.
Referenced by SdrMarkView::SetMarkHandles().
|
overridevirtual |
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model.
Derived classes should usually only override the Nbc methods. Nbc means "no broadcast".
Reimplemented from SdrRectObj.
Definition at line 1723 of file svdoole2.cxx.
References SdrObject::getSdrModelFromSdrObject(), ImpSetVisAreaSize(), and SdrRectObj::NbcMove().
|
overridevirtual |
Reimplemented from SdrRectObj.
Definition at line 1647 of file svdoole2.cxx.
References AddOwnLightClient(), GetAspect(), GetObjRef(), SdrObject::getSdrModelFromSdrObject(), ImpSetVisAreaSize(), mpImpl, and SdrRectObj::NbcResize().
|
overridevirtual |
Reimplemented from SdrRectObj.
Definition at line 1692 of file svdoole2.cxx.
References SdrObject::getSdrModelFromSdrObject(), ImpSetVisAreaSize(), and SdrRectObj::NbcSetLogicRect().
|
overridevirtual |
Reimplemented from SdrRectObj.
Definition at line 1676 of file svdoole2.cxx.
References tools::Rectangle::GetHeight(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetWidth(), ImpSetVisAreaSize(), IsChart(), mpImpl, and SdrRectObj::NbcSetSnapRect().
void SdrOle2Obj::ObjectLoaded | ( | ) |
Definition at line 1136 of file svdoole2.cxx.
References AddListeners_Impl().
|
private |
Definition at line 1174 of file svdoole2.cxx.
References getXModel(), mpImpl, nState, and TOOLS_WARN_EXCEPTION.
Referenced by Disconnect().
void SdrOle2Obj::SetAspect | ( | sal_Int64 | nAspect | ) |
Definition at line 832 of file svdoole2.cxx.
References mpImpl.
void SdrOle2Obj::SetClosedObj | ( | bool | bIsClosed | ) |
Change the IsClosedObj attribute.
bIsClosed | Whether the OLE object is closed, i.e. has opaque background |
Definition at line 1404 of file svdoole2.cxx.
References SdrObject::m_bClosedObj.
Referenced by GetObjRef_Impl(), SdrOle2Obj(), and SetObjRef().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1668 of file svdoole2.cxx.
References SdrObject::getSdrModelFromSdrObject(), ImpSetVisAreaSize(), and SdrObject::SetGeoData().
void SdrOle2Obj::SetGraphic | ( | const Graphic & | rGrf | ) |
Definition at line 857 of file svdoole2.cxx.
References SdrObject::BroadcastObjectChange(), mpImpl, and SdrObject::SetChanged().
void SdrOle2Obj::SetGraphicToObj | ( | const css::uno::Reference< css::io::XInputStream > & | xGrStream, |
const OUString & | aMediaType | ||
) |
void SdrOle2Obj::SetGraphicToObj | ( | const Graphic & | aGraphic | ) |
Definition at line 1885 of file svdoole2.cxx.
References mpImpl.
Referenced by SvxOle2Shape::setPropertyValueImpl().
void SdrOle2Obj::SetObjRef | ( | const css::uno::Reference< css::embed::XEmbeddedObject > & | rNewObjRef | ) |
Definition at line 1366 of file svdoole2.cxx.
References SdrObject::BroadcastObjectChange(), Connect(), DBG_ASSERT, Disconnect(), GetAspect(), ImplIsMathObj(), mpImpl, SdrObject::SetChanged(), SetClosedObj(), and SdrObject::SetResizeProtect().
Referenced by AbandonObject(), SvxOle2Shape::createLink(), and SvxOle2Shape::createObject().
void SdrOle2Obj::SetPersistName | ( | const OUString & | rPersistName, |
SvxOle2Shape * | pCreator = nullptr |
||
) |
Definition at line 1417 of file svdoole2.cxx.
References Connect(), DBG_ASSERT, mpImpl, and SdrObject::SetChanged().
Referenced by SvxOle2Shape::setPropertyValueImpl().
void SdrOle2Obj::SetProgName | ( | const OUString & | rName | ) |
Definition at line 874 of file svdoole2.cxx.
References mpImpl.
void SdrOle2Obj::setSuppressSetVisAreaSize | ( | bool | bNew | ) |
Definition at line 1718 of file svdoole2.cxx.
References mpImpl.
void SdrOle2Obj::SetWindow | ( | const css::uno::Reference< css::awt::XWindow > & | _xWindow | ) |
Definition at line 1989 of file svdoole2.cxx.
References mpImpl.
|
overridevirtual |
Reimplemented from SdrRectObj.
Definition at line 1440 of file svdoole2.cxx.
References SdrObjTransformInfoRec::bCanConvToContour, SdrObjTransformInfoRec::bCanConvToPath, SdrObjTransformInfoRec::bCanConvToPathLineToArea, SdrObjTransformInfoRec::bCanConvToPoly, SdrObjTransformInfoRec::bCanConvToPolyLineToArea, SdrObjTransformInfoRec::bEdgeRadiusAllowed, SdrObjTransformInfoRec::bMirror45Allowed, SdrObjTransformInfoRec::bMirror90Allowed, SdrObjTransformInfoRec::bMirrorFreeAllowed, SdrObjTransformInfoRec::bNoOrthoDesired, SdrObjTransformInfoRec::bRotate90Allowed, SdrObjTransformInfoRec::bRotateFreeAllowed, SdrObjTransformInfoRec::bShearAllowed, and SdrObjTransformInfoRec::bTransparenceAllowed.
|
overridevirtual |
Reimplemented from SdrRectObj.
Definition at line 1478 of file svdoole2.cxx.
References mpImpl, and SvxResId().
|
overridevirtual |
Reimplemented from SdrRectObj.
Definition at line 1464 of file svdoole2.cxx.
References aName, SdrObject::GetName(), mpImpl, sName, and SvxResId().
bool SdrOle2Obj::Unload | ( | ) |
Definition at line 1791 of file svdoole2.cxx.
References GetAspect(), mpImpl, and Unload().
Referenced by Unload().
|
static |
References Connect, Disconnect, and getXModel().
Referenced by OLEObjCache::UnloadObj().
bool SdrOle2Obj::UpdateLinkURL_Impl | ( | ) |
Definition at line 906 of file svdoole2.cxx.
References sfx2::LinkManager::GetDisplayNames(), GetObjRef_Impl(), SdrObject::getSdrModelFromSdrObject(), comphelper::makePropertyValue(), mpImpl, and TOOLS_WARN_EXCEPTION.
Referenced by SdrEmbedObjectLink::DataChanged().
|
private |
Definition at line 50 of file svdoole2.hxx.
Referenced by AbandonObject(), AddListeners_Impl(), AddOwnLightClient(), BreakFileLink_Impl(), CalculateNewScaling(), CheckFileLink_Impl(), ClearGraphic(), Connect(), Connect_Impl(), Disconnect(), Disconnect_Impl(), DisconnectFileLink_Impl(), GetAspect(), getEmbeddedObjectRef(), GetGraphic(), GetNewReplacement(), GetObjIdentifier(), GetObjRef(), GetObjRef_Impl(), GetObjRef_NoInit(), GetOrigObjSize(), GetPersistName(), GetProgName(), GetStyleString(), getXModel(), handlePageChange(), ImpSetVisAreaSize(), IsCalc(), IsChart(), IsEmpty(), isInplaceActive(), isUiActive(), NbcResize(), NbcSetSnapRect(), RemoveListeners_Impl(), SdrOle2Obj(), SetAspect(), SetGraphic(), SetGraphicToObj(), SetObjRef(), SetPersistName(), SetProgName(), setSuppressSetVisAreaSize(), SetWindow(), TakeObjNamePlural(), TakeObjNameSingul(), Unload(), UpdateLinkURL_Impl(), and ~SdrOle2Obj().