LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SdrGrafObj Class Reference

This class represents an embedded or linked bitmap graphic object. More...

#include <svdograf.hxx>

Inheritance diagram for SdrGrafObj:
[legend]
Collaboration diagram for SdrGrafObj:
[legend]

Public Member Functions

 SdrGrafObj (SdrModel &rSdrModel)
 
 SdrGrafObj (SdrModel &rSdrModel, const Graphic &rGrf)
 
 SdrGrafObj (SdrModel &rSdrModel, const Graphic &rGrf, const tools::Rectangle &rRect)
 
void SetGraphicObject (const GraphicObject &rGrfObj)
 
const GraphicObjectGetGraphicObject (bool bForceSwapIn=false) const
 
const GraphicObjectGetReplacementGraphicObject () const
 
void NbcSetGraphic (const Graphic &rGrf)
 
void SetGraphic (const Graphic &rGrf)
 
const GraphicGetGraphic () const
 
Graphic GetTransformedGraphic (SdrGrafObjTransformsAttrs nTransformFlags=SdrGrafObjTransformsAttrs::ALL) const
 
GraphicType GetGraphicType () const
 
GraphicAttr GetGraphicAttr (SdrGrafObjTransformsAttrs nTransformFlags=SdrGrafObjTransformsAttrs::ALL) const
 
bool IsAnimated () const
 
bool IsEPS () const
 
MapMode GetGrafPrefMapMode () const
 
Size GetGrafPrefSize () const
 
void SetGrafStreamURL (const OUString &rGraphicStreamURL)
 
OUString const & GetGrafStreamURL () const
 
Size getOriginalSize () const
 
void SetGraphicLink (const OUString &rFileName, const OUString &rReferer, const OUString &rFilterName)
 
void ReleaseGraphicLink ()
 
bool IsLinkedGraphic () const
 
const OUString & GetFileName () const
 
void StartAnimation ()
 
virtual void TakeObjInfo (SdrObjTransformInfoRec &rInfo) const override
 
virtual sal_uInt16 GetObjIdentifier () const override
 
virtual OUString TakeObjNameSingul () const override
 
virtual OUString TakeObjNamePlural () const override
 
virtual SdrGrafObjCloneSdrObject (SdrModel &rTargetModel) const override
 
SdrGrafObjoperator= (const SdrGrafObj &rObj)
 
virtual sal_uInt32 GetHdlCount () const override
 Via GetHdlCount the number of Handles can be retrieved. More...
 
virtual void AddToHdlList (SdrHdlList &rHdlList) const override
 
virtual void NbcResize (const Point &rRef, const Fraction &xFact, const Fraction &yFact) override
 
virtual void NbcMirror (const Point &rRef1, const Point &rRef2) override
 
virtual SdrObjGeoDataNewGeoData () 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 RestGeoData (const SdrObjGeoData &rGeo) override
 
bool HasGDIMetaFile () const
 
virtual void handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage) override
 
bool isEmbeddedVectorGraphicData () const
 
GDIMetaFile getMetafileFromEmbeddedVectorGraphicData () const
 
bool isEmbeddedPdfData () const
 
const std::shared_ptr< std::vector< sal_Int8 > > & getEmbeddedPdfData () const
 
sal_Int32 getEmbeddedPageNumber () const
 Returns the page number of the embedded data (typically to re-render or import it). More...
 
virtual SdrObjectUniquePtr DoConvertToPolyObj (bool bBezier, bool bAddText) const override
 
virtual void AdjustToMaxRect (const tools::Rectangle &rMaxRect, bool bShrinkOnly=false) override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 Detects when a stylesheet is changed. More...
 
bool IsMirrored () const
 
void SetMirrored (bool _bMirrored)
 
virtual bool shouldKeepAspectRatio () const override
 Whether the aspect ratio should be kept by default when resizing. More...
 
void SetGrafAnimationAllowed (bool bNew)
 
css::uno::Reference< css::io::XInputStream > getInputStream () const
 
virtual SdrObjectUniquePtr getFullDragClone () const override
 
virtual void addCropHandles (SdrHdlList &rTarget) const override
 
void setIsSignatureLine (bool bIsSignatureLine)
 
bool isSignatureLine () const
 
void setSignatureLineId (const OUString &rSignatureLineId)
 
const OUString & getSignatureLineId () const
 
void setSignatureLineSuggestedSignerName (const OUString &rSuggestedSignerName)
 
const OUString & getSignatureLineSuggestedSignerName () const
 
void setSignatureLineSuggestedSignerTitle (const OUString &rSuggestedSignerTitle)
 
const OUString & getSignatureLineSuggestedSignerTitle () const
 
void setSignatureLineSuggestedSignerEmail (const OUString &rSuggestedSignerEmail)
 
const OUString & getSignatureLineSuggestedSignerEmail () const
 
void setSignatureLineSigningInstructions (const OUString &rSigningInstructions)
 
const OUString & getSignatureLineSigningInstructions () const
 
void setSignatureLineShowSignDate (bool bIsSignatureLineShowSignDate)
 
bool isSignatureLineShowSignDate () const
 
void setSignatureLineCanAddComment (bool bIsSignatureCanAddComment)
 
bool isSignatureLineCanAddComment () const
 
css::uno::Reference< css::graphic::XGraphic > const & getSignatureLineUnsignedGraphic () const
 
void setSignatureLineUnsignedGraphic (css::uno::Reference< css::graphic::XGraphic > rGraphic)
 
bool isSignatureLineSigned () const
 
void setSignatureLineIsSigned (bool bIsSigned)
 
void setQrCode (css::drawing::QRCode &rQrCode)
 
css::drawing::QRCode * getQrCode () const
 
- 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)
 
SdrRectObjoperator= (const SdrRectObj &rCopy)
 
 SdrRectObj (SdrModel &rSdrModel, SdrObjKind eNewTextKind)
 
 SdrRectObj (SdrModel &rSdrModel, SdrObjKind eNewTextKind, const tools::Rectangle &rRect)
 
virtual void TakeUnrotatedSnapRect (tools::Rectangle &rRect) 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 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 NbcRotate (const Point &rRef, long nAngle, double sn, double cs) override
 
virtual void NbcShear (const Point &rRef, long nAngle, double tn, bool bVShear) override
 
virtual SdrGluePoint GetVertexGluePoint (sal_uInt16 nNum) const override
 
virtual SdrGluePoint GetCornerGluePoint (sal_uInt16 nNum) const override
 
- Public Member Functions inherited from SdrTextObj
const PointGetTextEditOffset () 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...
 
SdrTextObjGetNextLinkInChain () const
 
void SetNextLinkInChain (SdrTextObj *)
 
SdrTextObjGetPrevLinkInChain () const
 
bool IsChainable () const
 
bool GetPreventChainable () const
 
TextChainGetTextChain () const
 
SdrObjKind GetTextKind () const
 
virtual bool HasText () const override
 
bool IsTextEditActive () const
 
virtual SdrTextgetActiveText () const
 returns the currently active text. More...
 
virtual SdrTextgetText (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 SizeGetTextSize () const
 
void FitFrameToTextSize ()
 
double GetFontScaleY () const
 
virtual void TakeTextRect (SdrOutliner &rOutliner, tools::Rectangle &rTextRect, bool bNoEditText, tools::Rectangle *pAnchorRect, bool bLineWidth=true) const
 
virtual void TakeTextAnchorRect (::tools::Rectangle &rAnchorRect) const
 
const GeoStatGetGeoStat () const
 
long GetEckenradius () const
 
virtual bool IsAutoGrowHeight () const
 
long GetMinTextFrameHeight () const
 
long GetMaxTextFrameHeight () const
 
virtual bool IsAutoGrowWidth () const
 
long GetMinTextFrameWidth () const
 
long GetMaxTextFrameWidth () const
 
css::drawing::TextFitToSizeType GetFitToSize () const
 
const tools::RectangleGetGeoRect () 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
 
long GetTextLeftDistance () const
 Left inner spacing to borders. More...
 
long GetTextRightDistance () const
 Right inner spacing to borders. More...
 
long GetTextUpperDistance () const
 Top inner spacing to borders. More...
 
long GetTextLowerDistance () const
 Bottom inner spacing to borders. More...
 
SdrTextAniKind GetTextAniKind () const
 
SdrTextAniDirection GetTextAniDirection () const
 
SdrTextObjoperator= (const SdrTextObj &rObj)
 
virtual basegfx::B2DPolyPolygon TakeContour () const override
 contour for TextToContour More...
 
virtual const tools::RectangleGetLogicRect () const override
 
virtual long GetRotateAngle () const override
 
virtual long 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 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 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::unique_ptr< OutlinerParaObject > pTextObject) override
 
void NbcSetOutlinerParaObjectForText (std::unique_ptr< OutlinerParaObject > pTextObject, SdrText *pText)
 
virtual OutlinerParaObjectGetOutlinerParaObject () const override
 
std::unique_ptr< OutlinerParaObjectGetEditOutlinerParaObject () const
 
virtual void NbcReformatText () override
 
virtual bool CalcFieldValue (const SvxFieldItem &rField, sal_Int32 nPara, sal_uInt16 nPos, bool bEdit, boost::optional< Color > &rpTxtColor, boost::optional< Color > &rpFldColor, OUString &rRet) const
 
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)
 
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...
 
GDIMetaFileGetTextScrollMetaFileAndRectangle (tools::Rectangle &rScrollRectangle, tools::Rectangle &rPaintRectangle)
 
void SetTextAnimationAllowed (bool bNew)
 
void SetObjectItemNoBroadcast (const SfxPoolItem &rItem)
 
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
 
- Public Member Functions inherited from SdrAttrObj
 SdrAttrObj (SdrAttrObj const &)=delete
 
 SdrAttrObj (SdrAttrObj &&)=delete
 
SdrAttrObjoperator= (SdrAttrObj const &)=default
 
SdrAttrObjoperator= (SdrAttrObj &&)=default
 
bool HasFill () const
 
bool HasLine () const
 
virtual const tools::RectangleGetSnapRect () const override
 
- Public Member Functions inherited from SdrObject
const SdrObjectgetFillGeometryDefiningShape () const
 
 SdrObject (SdrModel &rSdrModel)
 
SdrPagegetSdrPageFromSdrObject () const
 
SdrModelgetSdrModelFromSdrObject () const
 
virtual SdrObjListgetChildrenOfSdrObject () const
 
SdrObjListgetParentSdrObjListFromSdrObject () const
 
SdrObjectgetParentSdrObjectFromSdrObject () const
 
void AddObjectUser (sdr::ObjectUser &rNewUser)
 
void RemoveObjectUser (sdr::ObjectUser &rOldUser)
 
sdr::contact::ViewContactGetViewContact () const
 
virtual sdr::properties::BasePropertiesGetProperties () 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
 
void SetDiagramData (std::shared_ptr< DiagramDataInterface > pDiagramData)
 
std::shared_ptr< DiagramDataInterfaceGetDiagramData () const
 
virtual void SetRectsDirty (bool bNotMyself=false, bool bRecursive=true)
 
virtual void SetBoundRectDirty ()
 
SfxItemPoolGetObjectItemPool () const
 
void AddListener (SfxListener &rListener)
 
void RemoveListener (SfxListener &rListener)
 
void AddReference (SdrVirtObj &rVrtObj)
 
void DelReference (SdrVirtObj &rVrtObj)
 
virtual SdrInventor GetObjInventor () const
 
virtual SdrLayerID GetLayer () const
 
virtual void NbcSetLayer (SdrLayerID nLayer)
 
virtual void SetLayer (SdrLayerID nLayer)
 
void getMergedHierarchySdrLayerIDSet (SdrLayerIDSet &rSet) const
 
void SendUserCall (SdrUserCallType eUserCall, const tools::Rectangle &rBoundRect) const
 
void SetName (const OUString &rStr)
 
OUString GetName () const
 
void MakeNameUnique (std::unordered_set< OUString > &rNameSet)
 
void SetTitle (const OUString &rStr)
 
OUString GetTitle () const
 
void SetDescription (const OUString &rStr)
 
OUString GetDescription () const
 
bool IsGroupObject () const
 
virtual SdrObjListGetSubList () 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
 
void SetGrabBagItem (const css::uno::Any &rVal)
 
sal_uInt32 GetNavigationPosition () const
 
virtual const tools::RectangleGetCurrentBoundRect () const
 
virtual const tools::RectangleGetLastBoundRect () const
 
virtual void RecalcBoundRect ()
 
void BroadcastObjectChange () const
 
const SfxBroadcasterGetBroadcaster () const
 
virtual void SetChanged ()
 
void SingleObjectPainter (OutputDevice &rOut) const
 
bool LineGeometryUsageIsNecessary () const
 
virtual bool HasLimitedRotation () const
 
SdrObjectoperator= (const SdrObject &rObj)
 
virtual void AddToPlusHdlList (SdrHdlList &rHdlList, SdrHdl &rHdl) const
 
virtual basegfx::B2DPolyPolygon getSpecialDragPoly (const SdrDragStat &rDrag) const
 
virtual bool supportsFullDrag () const
 
virtual void NbcCrop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact)
 
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, long nAngle, double sn, double cs)
 
virtual void Mirror (const Point &rRef1, const Point &rRef2)
 
virtual void Shear (const Point &rRef, long 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 SetSnapRect (const tools::Rectangle &rRect)
 
virtual void SetLogicRect (const tools::Rectangle &rRect)
 
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 SdrObjGeoDataGetGeoData () const
 
virtual void SetGeoData (const SdrObjGeoData &rGeo)
 
const SfxItemSetGetMergedItemSet () const
 
void SetMergedItem (const SfxPoolItem &rItem)
 
void ClearMergedItem (const sal_uInt16 nWhich=0)
 
void SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false)
 
const SfxPoolItemGetMergedItem (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)
 
virtual void NbcSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
 
SfxStyleSheetGetStyleSheet () const
 
void SetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject)
 
void BurnInStyleSheetAttributes ()
 
virtual bool HasMacro () const
 
virtual SdrObjectCheckMacroHit (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 const SdrGluePointListGetGluePointList () const
 
virtual SdrGluePointListForceGluePointList ()
 
void SetGlueReallyAbsolute (bool bOn)
 
void NbcRotateGluePoints (const Point &rRef, long 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 SdrObjectGetConnectedNode (bool bTail1) const
 
virtual void SetContextWritingMode (const sal_Int16 _nContextWritingMode)
 
SdrObjectUniquePtr ConvertToPolyObj (bool bBezier, bool bLineToArea) const
 
SdrObjectConvertToContourObj (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
 
sal_uInt16 GetUserDataCount () const
 
SdrObjUserDataGetUserData (sal_uInt16 nNum) const
 
void AppendUserData (std::unique_ptr< SdrObjUserData > pData)
 
void DeleteUserData (sal_uInt16 nNum)
 
virtual css::uno::Reference< css::uno::XInterface > getUnoShape ()
 
svx::PropertyChangeNotifiergetShapePropertyChangeNotifier ()
 
void notifyShapePropertyChange (const svx::ShapeProperty _eProperty) const
 
bool IsInDestruction () const
 
bool HasFillStyle () const
 
bool HasLineStyle () const
 
const tools::RectangleGetBLIPSizeRectangle () const
 
void SetBLIPSizeRectangle (const tools::Rectangle &aRect)
 
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)
 
SdrObjUserCallGetUserCall () const
 
void SetDoNotInsertIntoPageAutomatically (bool bSet)
 
bool IsDoNotInsertIntoPageAutomatically () const
 
sal_uInt32 GetOrdNumDirect () const
 
bool DoesSupportTextIndentingOnLineWidthChange () const
 
const PointGetAnchorPos () const
 
bool LineIsOutsideGeometry () const
 
void SetNavigationPosition (const sal_uInt32 nPosition)
 
void setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape)
 
const css::uno::WeakReference< css::uno::XInterface > & getWeakUnoShape () const
 
void setSuitableOutlinerBg (Outliner &rOutliner) const
 
- 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
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
- Public Member Functions inherited from tools::WeakBase
 WeakBase ()
 
virtual ~WeakBase ()
 
void clearWeak ()
 

Protected Member Functions

virtual ~SdrGrafObj () override
 
- Protected Member Functions inherited from SdrRectObj
XPolygon ImpCalcXPoly (const tools::Rectangle &rRect1, 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 XPolygonGetXPoly () const
 
virtual ~SdrRectObj () override
 
- Protected Member Functions inherited from SdrTextObj
SdrOutlinerImpGetDrawOutliner () const
 
bool ImpCanConvTextToCurve () const
 
SdrPathObjUniquePtr ImpConvertMakeObj (const basegfx::B2DPolyPolygon &rPolyPolygon, bool bClosed, bool bBezier) const
 
SdrObjectUniquePtr ImpConvertAddText (SdrObjectUniquePtr 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
 
void NbcSetEckenradius (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)
 
virtual ~SdrTextObj () override
 
- Protected Member Functions inherited from SdrAttrObj
sal_Int32 ImpGetLineWdt () const
 Detects the width of the line. No line ->0. More...
 
 SdrAttrObj (SdrModel &rSdrModel)
 
virtual ~SdrAttrObj () override
 
- Protected Member Functions inherited from SdrObject
virtual ~SdrObject () override
 
tools::Rectangle ImpDragCalcRect (const SdrDragStat &rDrag) const
 
OUString ImpGetDescriptionStr (const char *pStrCacheID) const
 
void ImpForcePlusData ()
 
OUString GetMetrStr (long nVal) const
 
const SfxItemSetGetObjectItemSet () const
 
void SetObjectItem (const SfxPoolItem &rItem)
 
void SetObjectItemSet (const SfxItemSet &rSet)
 
const SfxPoolItemGetObjectItem (const sal_uInt16 nWhich) const
 
template<class T >
const T & GetObjectItem (TypedWhichId< T > nWhich) const
 
virtual void impl_setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape)
 Sets a new UNO shape. More...
 
template<typename T >
T * CloneHelper (SdrModel &rTargetModel) const
 
- Protected Member Functions inherited from svx::ITextProvider
 ~ITextProvider ()
 

Private Member Functions

virtual std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact () override
 
virtual std::unique_ptr< sdr::properties::BasePropertiesCreateObjectSpecificProperties () override
 
void ImpSetAttrToGrafInfo ()
 
void ImpRegisterLink ()
 
void ImpDeregisterLink ()
 
void ImpSetLinkedGraphic (const Graphic &rGraphic)
 
 DECL_LINK (ImpSwapHdl, const GraphicObject *, SvStream *)
 
 DECL_LINK (ReplacementSwapHdl, const GraphicObject *, SvStream *)
 
void onGraphicChanged ()
 
GDIMetaFile GetMetaFile (GraphicType &rGraphicType) const
 
void ForceSwapIn () const
 

Private Attributes

GraphicAttr aGrafInfo
 
OUString aFileName
 
OUString aReferer
 
OUString aFilterName
 
std::unique_ptr< GraphicObjectmpGraphicObject
 
std::unique_ptr< GraphicObjectmpReplacementGraphicObject
 
SdrGraphicLinkpGraphicLink
 
bool bMirrored:1
 
bool mbGrafAnimationAllowed:1
 
bool mbIsSignatureLine
 
OUString maSignatureLineId
 
OUString maSignatureLineSuggestedSignerName
 
OUString maSignatureLineSuggestedSignerTitle
 
OUString maSignatureLineSuggestedSignerEmail
 
OUString maSignatureLineSigningInstructions
 
bool mbIsSignatureLineShowSignDate
 
bool mbIsSignatureLineCanAddComment
 
bool mbSignatureLineIsSigned
 
css::uno::Reference< css::graphic::XGraphic > mpSignatureLineUnsignedGraphic
 
std::unique_ptr< css::drawing::QRCode > mpQrCode
 

Friends

class sdr::properties::GraphicProperties
 
class sdr::contact::ViewObjectContactOfGraphic
 
class SdrExchangeView
 
class SdrGraphicLink
 

Additional Inherited Members

- 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 SdrItemPoolGetGlobalDrawObjectItemPool ()
 
static void Free (SdrObject *&_rpObject)
 
static SdrObjectgetSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt)
 
- Static Protected Member Functions inherited from SdrTextObj
static void ImpSetCharStretching (SdrOutliner &rOutliner, const Size &rTextSize, const Size &rShapeSize, Fraction &rFitXCorrection)
 
static void ImpJustifyRect (tools::Rectangle &rRect)
 
- Protected Attributes inherited from SdrRectObj
std::unique_ptr< XPolygonmpXPoly
 
- Protected Attributes inherited from SdrTextObj
tools::Rectangle maRect
 
GeoStat aGeo
 
std::unique_ptr< SdrTextmpText
 
Size aTextSize
 
SdrOutlinerpEdtOutl
 
SdrObjKind eTextKind
 
Point maTextEditOffset
 
bool mbIsUnchainableClone = false
 
SdrTextObjmpNextInChain = nullptr
 
SdrTextObjmpPrevInChain = nullptr
 
bool bTextFrame: 1
 
bool bNoShear: 1
 
bool bTextSizeDirty: 1
 
bool mbInEditMode: 1
 
bool bDisableAutoWidthOnDragging: 1
 
bool mbTextAnimationAllowed: 1
 
bool mbInDownScale: 1
 
- Protected Attributes inherited from SdrAttrObj
tools::Rectangle maSnapRect
 
- Protected Attributes inherited from SdrObject
tools::Rectangle aOutRect
 
Point aAnchor
 
SdrObjUserCallpUserCall
 
std::unique_ptr< SdrObjPlusDatapPlusData
 
bool bVirtObj: 1
 
bool bSnapRectDirty: 1
 
bool bMovProt: 1
 
bool bSizProt: 1
 
bool bEmptyPresObj: 1
 
bool bNotVisibleAsMaster: 1
 
bool bClosedObj: 1
 
bool bIsEdge: 1
 
bool bIs3DObj: 1
 
bool bIsUnoObj: 1
 
bool mbLineIsOutsideGeometry: 1
 
bool mbSupportTextIndentingOnLineWidthChange: 1
 

Detailed Description

This class represents an embedded or linked bitmap graphic object.

Definition at line 79 of file svdograf.hxx.

Constructor & Destructor Documentation

SdrGrafObj::~SdrGrafObj ( )
overrideprotectedvirtual

Definition at line 273 of file svdograf.cxx.

References ImpDeregisterLink().

SdrGrafObj::SdrGrafObj ( SdrModel rSdrModel)
SdrGrafObj::SdrGrafObj ( SdrModel rSdrModel,
const Graphic rGrf 
)
SdrGrafObj::SdrGrafObj ( SdrModel rSdrModel,
const Graphic rGrf,
const tools::Rectangle rRect 
)

Member Function Documentation

void SdrGrafObj::addCropHandles ( SdrHdlList rTarget) const
overridevirtual
void SdrGrafObj::AddToHdlList ( SdrHdlList rHdlList) const
overridevirtual

Reimplemented from SdrRectObj.

Definition at line 775 of file svdograf.cxx.

References SdrRectObj::AddToHdlList(), SdrHdlList::MoveTo(), and SdrHdlList::RemoveHdl().

void SdrGrafObj::AdjustToMaxRect ( const tools::Rectangle rMaxRect,
bool  bShrinkOnly = false 
)
overridevirtual
SdrGrafObj * SdrGrafObj::CloneSdrObject ( SdrModel rTargetModel) const
overridevirtual

Reimplemented from SdrRectObj.

Definition at line 721 of file svdograf.cxx.

Referenced by CompressGraphicsDialog::GetCompressedSdrGrafObj().

std::unique_ptr< sdr::properties::BaseProperties > SdrGrafObj::CreateObjectSpecificProperties ( )
overrideprivatevirtual

Reimplemented from SdrRectObj.

Definition at line 135 of file svdograf.cxx.

std::unique_ptr< sdr::contact::ViewContact > SdrGrafObj::CreateObjectSpecificViewContact ( )
overrideprivatevirtual

Reimplemented from SdrRectObj.

Definition at line 143 of file svdograf.cxx.

SdrGrafObj::DECL_LINK ( ImpSwapHdl  ,
const GraphicObject ,
SvStream  
)
private
SdrGrafObj::DECL_LINK ( ReplacementSwapHdl  ,
const GraphicObject ,
SvStream  
)
private
SdrObjectUniquePtr SdrGrafObj::DoConvertToPolyObj ( bool  bBezier,
bool  bAddText 
) const
overridevirtual
void SdrGrafObj::ForceSwapIn ( ) const
private
sal_Int32 SdrGrafObj::getEmbeddedPageNumber ( ) const

Returns the page number of the embedded data (typically to re-render or import it).

Definition at line 915 of file svdograf.cxx.

References mpGraphicObject.

Referenced by SdrEditView::DoImportMarkedMtf().

const std::shared_ptr< std::vector< sal_Int8 > > & SdrGrafObj::getEmbeddedPdfData ( ) const

Definition at line 910 of file svdograf.cxx.

References mpGraphicObject.

Referenced by SdrEditView::DoImportMarkedMtf().

const OUString& SdrGrafObj::GetFileName ( ) const
inline
SdrObjectUniquePtr SdrGrafObj::getFullDragClone ( ) const
overridevirtual

Reimplemented from SdrTextObj.

Definition at line 705 of file svdograf.cxx.

References SdrTextObj::getFullDragClone(), IsLinkedGraphic(), and ReleaseGraphicLink().

MapMode SdrGrafObj::GetGrafPrefMapMode ( ) const

Definition at line 415 of file svdograf.cxx.

References mpGraphicObject.

Referenced by getOriginalSize().

Size SdrGrafObj::GetGrafPrefSize ( ) const

Definition at line 420 of file svdograf.cxx.

References mpGraphicObject.

Referenced by getOriginalSize().

OUString const & SdrGrafObj::GetGrafStreamURL ( ) const

Definition at line 437 of file svdograf.cxx.

References mpGraphicObject.

const Graphic & SdrGrafObj::GetGraphic ( ) const
GraphicAttr SdrGrafObj::GetGraphicAttr ( SdrGrafObjTransformsAttrs  nTransformFlags = SdrGrafObjTransformsAttrs::ALL) const
const GraphicObject & SdrGrafObj::GetGraphicObject ( bool  bForceSwapIn = false) const
GraphicType SdrGrafObj::GetGraphicType ( ) const
sal_uInt32 SdrGrafObj::GetHdlCount ( ) const
overridevirtual

Via GetHdlCount the number of Handles can be retrieved.

Normally 8, if it's a line 2. For Polygon objects (Polygon/Spline/Bezier) the number may be much larger. Polygon objects are also allowed to select a point of a selected object. The handle of that point will then be replaced by a new set of handles (PlusHdl). For a Polygon this would be a simple selection Handle, for a Bezier curve this may be up to 3 Handles (including Weights). GetHdl() and GetPlusHdl() must create Handle instances with new! An object that returns true from HasSpacialDrag() must provide these methods (incl. FillHdlList()).

Reimplemented from SdrRectObj.

Definition at line 770 of file svdograf.cxx.

Reference< XInputStream > SdrGrafObj::getInputStream ( ) const
GDIMetaFile SdrGrafObj::GetMetaFile ( GraphicType rGraphicType) const
private
GDIMetaFile SdrGrafObj::getMetafileFromEmbeddedVectorGraphicData ( ) const
sal_uInt16 SdrGrafObj::GetObjIdentifier ( ) const
overridevirtual

Reimplemented from SdrRectObj.

Definition at line 551 of file svdograf.cxx.

References OBJ_GRAF.

Size SdrGrafObj::getOriginalSize ( ) const
css::drawing::QRCode* SdrGrafObj::getQrCode ( ) const
inline

Definition at line 298 of file svdograf.hxx.

const GraphicObject * SdrGrafObj::GetReplacementGraphicObject ( ) const

Definition at line 295 of file svdograf.cxx.

References mpGraphicObject, and mpReplacementGraphicObject.

const OUString& SdrGrafObj::getSignatureLineId ( ) const
inline

Definition at line 238 of file svdograf.hxx.

const OUString& SdrGrafObj::getSignatureLineSigningInstructions ( ) const
inline

Definition at line 267 of file svdograf.hxx.

const OUString& SdrGrafObj::getSignatureLineSuggestedSignerEmail ( ) const
inline

Definition at line 259 of file svdograf.hxx.

const OUString& SdrGrafObj::getSignatureLineSuggestedSignerName ( ) const
inline

Definition at line 243 of file svdograf.hxx.

const OUString& SdrGrafObj::getSignatureLineSuggestedSignerTitle ( ) const
inline

Definition at line 251 of file svdograf.hxx.

css::uno::Reference<css::graphic::XGraphic> const& SdrGrafObj::getSignatureLineUnsignedGraphic ( ) const
inline

Definition at line 281 of file svdograf.hxx.

Graphic SdrGrafObj::GetTransformedGraphic ( SdrGrafObjTransformsAttrs  nTransformFlags = SdrGrafObjTransformsAttrs::ALL) const
void SdrGrafObj::handlePageChange ( SdrPage pOldPage,
SdrPage pNewPage 
)
overridevirtual
bool SdrGrafObj::HasGDIMetaFile ( ) const
void SdrGrafObj::ImpDeregisterLink ( )
private
void SdrGrafObj::ImpRegisterLink ( )
private
void SdrGrafObj::ImpSetAttrToGrafInfo ( )
private
void SdrGrafObj::ImpSetLinkedGraphic ( const Graphic rGraphic)
private
bool SdrGrafObj::IsAnimated ( ) const

Definition at line 405 of file svdograf.cxx.

References mpGraphicObject.

Referenced by SvxGrafAttrHelper::GetGrafAttrState().

bool SdrGrafObj::isEmbeddedPdfData ( ) const

Definition at line 905 of file svdograf.cxx.

References mpGraphicObject.

Referenced by SdrEditView::CheckPossibilities(), and SdrEditView::DoImportMarkedMtf().

bool SdrGrafObj::isEmbeddedVectorGraphicData ( ) const
bool SdrGrafObj::IsEPS ( ) const

Definition at line 410 of file svdograf.cxx.

References mpGraphicObject.

Referenced by SdrEditView::CheckPossibilities(), and TakeObjInfo().

bool SdrGrafObj::IsLinkedGraphic ( ) const

Definition at line 519 of file svdograf.cxx.

References mpGraphicObject.

Referenced by getFullDragClone(), operator=(), TakeObjNamePlural(), and TakeObjNameSingul().

bool SdrGrafObj::IsMirrored ( ) const
inline

Definition at line 215 of file svdograf.hxx.

Referenced by addCropHandles(), and SdrDragCrop::EndSdrDrag().

bool SdrGrafObj::isSignatureLine ( ) const
inline

Definition at line 233 of file svdograf.hxx.

bool SdrGrafObj::isSignatureLineCanAddComment ( ) const
inline

Definition at line 280 of file svdograf.hxx.

bool SdrGrafObj::isSignatureLineShowSignDate ( ) const
inline

Definition at line 275 of file svdograf.hxx.

bool SdrGrafObj::isSignatureLineSigned ( ) const
inline

Definition at line 289 of file svdograf.hxx.

void SdrGrafObj::NbcMirror ( const Point rRef1,
const Point rRef2 
)
overridevirtual

Reimplemented from SdrRectObj.

Definition at line 794 of file svdograf.cxx.

References bMirrored, and SdrRectObj::NbcMirror().

void SdrGrafObj::NbcResize ( const Point rRef,
const Fraction xFact,
const Fraction yFact 
)
overridevirtual

Reimplemented from SdrRectObj.

Definition at line 783 of file svdograf.cxx.

References bMirrored, Fraction::GetNumerator(), and SdrRectObj::NbcResize().

void SdrGrafObj::NbcSetGraphic ( const Graphic rGrf)

Definition at line 316 of file svdograf.cxx.

References mpGraphicObject, mpReplacementGraphicObject, and onGraphicChanged().

Referenced by ImpSetLinkedGraphic(), and SetGraphic().

SdrObjGeoData * SdrGrafObj::NewGeoData ( ) const
overridevirtual

A derived class must override these 3 methods if it has own geometric data that must be saved for Undo.

NewGeoData() creates an empty instance of a class derived from SdrObjGeoData.

Reimplemented from SdrTextObj.

Definition at line 800 of file svdograf.cxx.

void SdrGrafObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Detects when a stylesheet is changed.

Reimplemented from SdrRectObj.

Definition at line 1046 of file svdograf.cxx.

References ImpSetAttrToGrafInfo(), SdrRectObj::Notify(), and SdrRectObj::SetXPolyDirty().

void SdrGrafObj::onGraphicChanged ( )
private
SdrGrafObj & SdrGrafObj::operator= ( const SdrGrafObj rObj)
void SdrGrafObj::ReleaseGraphicLink ( )

Definition at line 511 of file svdograf.cxx.

References aFileName, aFilterName, aReferer, and ImpDeregisterLink().

Referenced by SdrGraphicLink::Closed(), and getFullDragClone().

void SdrGrafObj::RestGeoData ( const SdrObjGeoData rGeo)
overridevirtual

Reimplemented from SdrRectObj.

Definition at line 812 of file svdograf.cxx.

References SdrGrafObjGeoData::bMirrored, bMirrored, and SdrRectObj::RestGeoData().

void SdrGrafObj::SaveGeoData ( SdrObjGeoData rGeo) const
overridevirtual

Reimplemented from SdrTextObj.

Definition at line 805 of file svdograf.cxx.

References SdrGrafObjGeoData::bMirrored, bMirrored, and SdrTextObj::SaveGeoData().

void SdrGrafObj::SetGrafAnimationAllowed ( bool  bNew)

Definition at line 1130 of file svdograf.cxx.

References SdrObject::ActionChanged(), and mbGrafAnimationAllowed.

Referenced by StartAnimation().

void SdrGrafObj::SetGrafStreamURL ( const OUString &  rGraphicStreamURL)

Definition at line 425 of file svdograf.cxx.

References SdrObject::getSdrModelFromSdrObject(), and mpGraphicObject.

void SdrGrafObj::SetGraphic ( const Graphic rGrf)
void SdrGrafObj::SetGraphicLink ( const OUString &  rFileName,
const OUString &  rReferer,
const OUString &  rFilterName 
)

Definition at line 504 of file svdograf.cxx.

References SetGraphic(), and Graphic::setOriginURL().

Referenced by operator=().

void SdrGrafObj::SetGraphicObject ( const GraphicObject rGrfObj)
void SdrGrafObj::setIsSignatureLine ( bool  bIsSignatureLine)
inline

Definition at line 232 of file svdograf.hxx.

void SdrGrafObj::SetMirrored ( bool  _bMirrored)

Definition at line 1054 of file svdograf.cxx.

References bMirrored.

Referenced by SvxShape::setPropertyValueImpl().

void SdrGrafObj::setQrCode ( css::drawing::QRCode &  rQrCode)
inline

Definition at line 293 of file svdograf.hxx.

void SdrGrafObj::setSignatureLineCanAddComment ( bool  bIsSignatureCanAddComment)
inline

Definition at line 276 of file svdograf.hxx.

void SdrGrafObj::setSignatureLineId ( const OUString &  rSignatureLineId)
inline

Definition at line 234 of file svdograf.hxx.

void SdrGrafObj::setSignatureLineIsSigned ( bool  bIsSigned)
inline

Definition at line 290 of file svdograf.hxx.

void SdrGrafObj::setSignatureLineShowSignDate ( bool  bIsSignatureLineShowSignDate)
inline

Definition at line 271 of file svdograf.hxx.

void SdrGrafObj::setSignatureLineSigningInstructions ( const OUString &  rSigningInstructions)
inline

Definition at line 263 of file svdograf.hxx.

void SdrGrafObj::setSignatureLineSuggestedSignerEmail ( const OUString &  rSuggestedSignerEmail)
inline

Definition at line 255 of file svdograf.hxx.

void SdrGrafObj::setSignatureLineSuggestedSignerName ( const OUString &  rSuggestedSignerName)
inline

Definition at line 239 of file svdograf.hxx.

void SdrGrafObj::setSignatureLineSuggestedSignerTitle ( const OUString &  rSuggestedSignerTitle)
inline

Definition at line 247 of file svdograf.hxx.

void SdrGrafObj::setSignatureLineUnsignedGraphic ( css::uno::Reference< css::graphic::XGraphic >  rGraphic)
inline

Definition at line 285 of file svdograf.hxx.

virtual bool SdrGrafObj::shouldKeepAspectRatio ( ) const
inlineoverridevirtual

Whether the aspect ratio should be kept by default when resizing.

Reimplemented from SdrObject.

Definition at line 218 of file svdograf.hxx.

void SdrGrafObj::StartAnimation ( )

Definition at line 843 of file svdograf.cxx.

References SetGrafAnimationAllowed().

void SdrGrafObj::TakeObjInfo ( SdrObjTransformInfoRec rInfo) const
overridevirtual
OUString SdrGrafObj::TakeObjNamePlural ( ) const
overridevirtual
OUString SdrGrafObj::TakeObjNameSingul ( ) const
overridevirtual

Friends And Related Function Documentation

Definition at line 86 of file svdograf.hxx.

Definition at line 83 of file svdograf.hxx.

friend class SdrExchangeView
friend

Definition at line 87 of file svdograf.hxx.

friend class SdrGraphicLink
friend

Definition at line 88 of file svdograf.hxx.

Referenced by ImpRegisterLink().

Member Data Documentation

OUString SdrGrafObj::aFileName
private
OUString SdrGrafObj::aFilterName
private
GraphicAttr SdrGrafObj::aGrafInfo
private

Definition at line 94 of file svdograf.hxx.

Referenced by GetGraphicAttr(), getOriginalSize(), and ImpSetAttrToGrafInfo().

OUString SdrGrafObj::aReferer
private

Definition at line 97 of file svdograf.hxx.

Referenced by SdrGraphicLink::getReferer(), operator=(), ReleaseGraphicLink(), and SetGraphic().

bool SdrGrafObj::bMirrored
private
OUString SdrGrafObj::maSignatureLineId
private

Definition at line 108 of file svdograf.hxx.

Referenced by operator=().

OUString SdrGrafObj::maSignatureLineSigningInstructions
private

Definition at line 112 of file svdograf.hxx.

Referenced by operator=().

OUString SdrGrafObj::maSignatureLineSuggestedSignerEmail
private

Definition at line 111 of file svdograf.hxx.

Referenced by operator=().

OUString SdrGrafObj::maSignatureLineSuggestedSignerName
private

Definition at line 109 of file svdograf.hxx.

Referenced by operator=().

OUString SdrGrafObj::maSignatureLineSuggestedSignerTitle
private

Definition at line 110 of file svdograf.hxx.

Referenced by operator=().

bool SdrGrafObj::mbGrafAnimationAllowed
private

Definition at line 105 of file svdograf.hxx.

Referenced by SdrGrafObj(), and SetGrafAnimationAllowed().

bool SdrGrafObj::mbIsSignatureLine
private

Definition at line 107 of file svdograf.hxx.

Referenced by operator=().

bool SdrGrafObj::mbIsSignatureLineCanAddComment
private

Definition at line 114 of file svdograf.hxx.

Referenced by operator=().

bool SdrGrafObj::mbIsSignatureLineShowSignDate
private

Definition at line 113 of file svdograf.hxx.

Referenced by operator=().

bool SdrGrafObj::mbSignatureLineIsSigned
private

Definition at line 115 of file svdograf.hxx.

Referenced by operator=().

std::unique_ptr<GraphicObject> SdrGrafObj::mpGraphicObject
private
std::unique_ptr<css::drawing::QRCode> SdrGrafObj::mpQrCode
private

Definition at line 118 of file svdograf.hxx.

Referenced by operator=().

std::unique_ptr<GraphicObject> SdrGrafObj::mpReplacementGraphicObject
private

Definition at line 100 of file svdograf.hxx.

Referenced by GetReplacementGraphicObject(), NbcSetGraphic(), and SetGraphicObject().

css::uno::Reference<css::graphic::XGraphic> SdrGrafObj::mpSignatureLineUnsignedGraphic
private

Definition at line 116 of file svdograf.hxx.

Referenced by operator=().

SdrGraphicLink* SdrGrafObj::pGraphicLink
private

The documentation for this class was generated from the following files: