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

#include <svdotext.hxx>

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

Public Member Functions

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 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 GeoStatGetGeoStat () 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::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
 
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< SdrObjectCloneSdrObject (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::RectangleGetLogicRect () 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 OutlinerParaObjectGetOutlinerParaObject () const override
 
bool CanCreateEditOutlinerParaObject () const
 
std::optional< OutlinerParaObjectCreateEditOutlinerParaObject () 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< SdrObjectDoConvertToPolyObj (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...
 
GDIMetaFileGetTextScrollMetaFileAndRectangle (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::RectangleGetSnapRect () const override
 
- Public Member Functions inherited from SdrObject
virtual const std::shared_ptr< svx::diagram::IDiagramHelper > & getDiagramHelper () const
 
bool isDiagram () const
 
const SdrObjectgetFillGeometryDefiningShape () 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
 
SdrPagegetSdrPageFromSdrObject () const
 
SdrModelgetSdrModelFromSdrObject () const
 
virtual SdrObjListgetChildrenOfSdrObject () const
 
SdrObjListgetParentSdrObjListFromSdrObject () const
 
SdrObjectgetParentSdrObjectFromSdrObject () const
 
virtual void handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage)
 
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
 
virtual void SetBoundAndSnapRectsDirty (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 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 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
 
virtual 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
 
virtual rtl::Reference< SdrObjectCloneSdrObject (SdrModel &rTargetModel) const =0
 
SdrObjectoperator= (const SdrObject &rObj)=delete
 
SdrObjectoperator= (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< SdrObjectgetFullDragClone () 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::RectangleGetSnapRect () const
 
virtual void SetSnapRect (const tools::Rectangle &rRect)
 
virtual void NbcSetSnapRect (const tools::Rectangle &rRect)
 
virtual const tools::RectangleGetLogicRect () 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< 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)
 
void NbcSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr)
 
SfxStyleSheetGetStyleSheet () const
 
virtual bool HasTextEdit () const
 
void SetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject)
 
virtual void NbcSetOutlinerParaObject (std::optional< OutlinerParaObject > pTextObject)
 
virtual OutlinerParaObjectGetOutlinerParaObject () const
 
virtual void NbcReformatText ()
 
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 SdrGluePoint GetVertexGluePoint (sal_uInt16 nNum) const
 
virtual SdrGluePoint GetCornerGluePoint (sal_uInt16 nNum) const
 
virtual const SdrGluePointListGetGluePointList () const
 
virtual SdrGluePointListForceGluePointList ()
 
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 SdrObjectGetConnectedNode (bool bTail1) const
 
virtual void SetContextWritingMode (const sal_Int16 _nContextWritingMode)
 
virtual rtl::Reference< SdrObjectDoConvertToPolyObj (bool bBezier, bool bAddText) const
 
rtl::Reference< SdrObjectConvertToPolyObj (bool bBezier, bool bLineToArea) const
 
rtl::Reference< 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
 
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
 
SdrObjUserDataGetUserData (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::RectangleGetBLIPSizeRectangle () 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)
 
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)
 
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 GraphicgetFillGraphic () 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
 
SfxBroadcasterGetBroadcasterJOE (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 SdrTextgetText (sal_Int32 nIndex) const =0
 Return the nth available text. More...
 

Static Public Member Functions

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 ()
 
template<class T >
static rtl::Reference< T > Clone (T const &rObj, SdrModel &rTargetModel)
 
static SdrObjectgetSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt)
 

Protected Member Functions

virtual std::unique_ptr< sdr::properties::BasePropertiesCreateObjectSpecificProperties () override
 
virtual std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact () 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< SdrObjectgetFullDragClone () const override
 
SdrOutlinerImpGetDrawOutliner () const
 
bool ImpCanConvTextToCurve () const
 
rtl::Reference< SdrPathObjImpConvertMakeObj (const basegfx::B2DPolyPolygon &rPolyPolygon, bool bClosed, bool bBezier) const
 
rtl::Reference< SdrObjectImpConvertAddText (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< 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 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::BasePropertiesCreateObjectSpecificProperties () 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::RectanglegetOutRectangle () 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::BasePropertiesCreateObjectSpecificProperties ()
 
virtual std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact ()
 
tools::Rectangle ImpDragCalcRect (const SdrDragStat &rDrag) const
 
OUString ImpGetDescriptionStr (TranslateId pStrCacheID) const
 
void ImpForcePlusData ()
 
OUString GetMetrStr (tools::Long nVal) const
 
virtual std::unique_ptr< SdrObjGeoDataNewGeoData () 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 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
 
const SfxItemSetgetBackgroundFillSet () 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 ()
 

Static Protected Member Functions

static void ImpSetCharStretching (SdrOutliner &rOutliner, const Size &rTextSize, const Size &rShapeSize, Fraction &rFitXCorrection)
 
static void ImpJustifyRect (tools::Rectangle &rRect)
 

Protected Attributes

tools::Rectangle maRectangle
 
GeoStat maGeo
 
rtl::Reference< SdrTextmxText
 
Size maTextSize
 
SdrOutlinermpEditingOutliner
 
SdrObjKind meTextKind
 
Point maTextEditOffset
 
bool mbIsUnchainableClone = false
 
SdrTextObjmpNextInChain = nullptr
 
SdrTextObjmpPrevInChain = nullptr
 
bool mbTextFrame: 1
 
bool mbNoShear: 1
 
bool mbTextSizeDirty: 1
 
bool mbInEditMode: 1
 
bool mbDisableAutoWidthOnDragging: 1
 
bool mbTextAnimationAllowed: 1
 
bool mbInDownScale: 1
 
- Protected Attributes inherited from SdrAttrObj
tools::Rectangle maSnapRect
 
- Protected Attributes inherited from SdrObject
tools::Rectangle m_aOutRect
 
Point m_aAnchor
 
SdrObjUserCallm_pUserCall
 
std::unique_ptr< SdrObjPlusDatam_pPlusData
 
bool m_bVirtObj: 1
 
bool m_bSnapRectDirty: 1
 
bool m_bMovProt: 1
 
bool m_bSizProt: 1
 
bool m_bEmptyPresObj: 1
 
bool m_bNotVisibleAsMaster: 1
 
bool m_bClosedObj: 1
 
bool m_bIsEdge: 1
 
bool m_bIs3DObj: 1
 
bool m_bIsUnoObj: 1
 
bool mbLineIsOutsideGeometry: 1
 
bool mbSupportTextIndentingOnLineWidthChange: 1
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Private Member Functions

SVX_DLLPRIVATE SdrOutlinerGetTextEditOutliner () const
 
SVX_DLLPRIVATE void ImpInitDrawOutliner (SdrOutliner &rOutl) const
 
SVX_DLLPRIVATE void ImpSetupDrawOutlinerForPaint (bool bContourFrame, SdrOutliner &rOutliner, tools::Rectangle &rTextRect, tools::Rectangle &rAnchorRect, tools::Rectangle &rPaintRect, Fraction &aFitXCorrection) const
 
void ImpAutoFitText (SdrOutliner &rOutliner) const
 
void ImpAutoFitText (SdrOutliner &rOutliner, const Size &rShapeSize, bool bIsVerticalWriting) const
 
void autoFitTextForCompatibility (SdrOutliner &rOutliner, const Size &rShapeSize, bool bIsVerticalWriting) const
 
SVX_DLLPRIVATE rtl::Reference< SdrObjectImpConvertContainedTextToSdrPathObjs (bool bToPoly) const
 
SVX_DLLPRIVATE void ImpRegisterLink ()
 
SVX_DLLPRIVATE void ImpDeregisterLink ()
 
SVX_DLLPRIVATE ImpSdrObjTextLinkUserDataGetLinkUserData () const
 

Static Private Member Functions

static void AppendFamilyToStyleName (OUString &styleName, SfxStyleFamily family)
 Appends the style family to a provided style name. More...
 
static SfxStyleFamily ReadFamilyFromStyleName (std::u16string_view styleName)
 Reads the style family from a style name to which the family has been appended. More...
 

Friends

class sdr::table::Cell
 
class sdr::table::SdrTableRtfExporter
 
class sdr::table::SdrTableRTFParser
 
class TextChain
 
class TextChainFlow
 
class EditingTextChainFlow
 
class sdr::properties::CustomShapeProperties
 
class sdr::properties::TextProperties
 
class sdr::properties::CellProperties
 
class ImpSdrObjTextLink
 
class ImpSdrObjTextLinkUserData
 
class SdrPowerPointImport
 
class SdrExchangeView
 
class SdrView
 
class SdrObjEditView
 
class SdrMeasureObj
 
class SvxMSDffManager
 
class SdrObjCustomShape
 
class SdrText
 
class ::SdrTextObjTest
 

Detailed Description

Definition at line 123 of file svdotext.hxx.

Constructor & Destructor Documentation

◆ SdrTextObj() [1/5]

SdrTextObj::SdrTextObj ( SdrModel rSdrModel)
protected

Definition at line 75 of file svdotext.cxx.

References SdrObject::mbSupportTextIndentingOnLineWidthChange, and Text.

Referenced by CloneSdrObject().

◆ SdrTextObj() [2/5]

SdrTextObj::SdrTextObj ( SdrModel rSdrModel,
const tools::Rectangle rNewRect 
)
protected

◆ SdrTextObj() [3/5]

SdrTextObj::SdrTextObj ( SdrModel rSdrModel,
SdrObjKind  eNewTextKind 
)
protected

Definition at line 161 of file svdotext.cxx.

References SdrObject::mbSupportTextIndentingOnLineWidthChange.

◆ SdrTextObj() [4/5]

SdrTextObj::SdrTextObj ( SdrModel rSdrModel,
SdrObjKind  eNewTextKind,
const tools::Rectangle rNewRect 
)
protected

◆ SdrTextObj() [5/5]

SdrTextObj::SdrTextObj ( SdrModel rSdrModel,
SdrTextObj const &  rSource 
)
protected

◆ ~SdrTextObj()

SdrTextObj::~SdrTextObj ( )
overrideprotectedvirtual

Definition at line 200 of file svdotext.cxx.

References ImpDeregisterLink(), and mxText.

Member Function Documentation

◆ AdaptTextMinSize()

void SdrTextObj::AdaptTextMinSize ( )
protectedvirtual

◆ AddToHdlList()

void SdrTextObj::AddToHdlList ( SdrHdlList rHdlList) const
overridevirtual

◆ AdjustRectToTextDistance()

void SdrTextObj::AdjustRectToTextDistance ( tools::Rectangle rAnchorRect) const

◆ AdjustTextFrameWidthAndHeight() [1/2]

bool SdrTextObj::AdjustTextFrameWidthAndHeight ( )
virtual

◆ AdjustTextFrameWidthAndHeight() [2/2]

bool SdrTextObj::AdjustTextFrameWidthAndHeight ( tools::Rectangle rR,
bool  bHgt = true,
bool  bWdt = true 
) const
virtual

Reimplemented in SdrObjCustomShape, and sdr::table::SdrTableObj.

Definition at line 44 of file svdotxat.cxx.

References tools::Rectangle::AdjustBottom(), Size::AdjustHeight(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Size::AdjustWidth(), Alternate, tools::Rectangle::Bottom(), Outliner::CalcTextSize(), Outliner::Clear(), Down, GetMaxTextFrameHeight(), GetMaxTextFrameWidth(), SdrObject::GetMergedItem(), GetMinTextFrameHeight(), GetMinTextFrameWidth(), GetOutlinerParaObject(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetSize(), GetTextAniDirection(), GetTextAniKind(), Outliner::GetTextHeight(), GetTextHorizontalAdjust(), GetTextLeftDistance(), GetTextLowerDistance(), GetTextRightDistance(), GetTextUpperDistance(), GetTextVerticalAdjust(), GetValue, Size::Height(), ImpGetDrawOutliner(), IsAutoGrowHeight(), IsAutoGrowWidth(), tools::Rectangle::IsEmpty(), IsFitToSize(), IsInEditMode(), tools::Rectangle::Left(), Left, GeoStat::m_nRotationAngle, maGeo, mbTextFrame, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, tools::Rectangle::Move(), mpEditingOutliner, tools::Rectangle::Right(), Right, RotatePoint(), Scroll, SDRATTR_TEXT_USEFIXEDCELLHEIGHT(), SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_TOP, tools::Rectangle::SetBottom(), Outliner::SetFixedCellHeight(), Size::setHeight(), Outliner::SetMaxAutoPaperSize(), Outliner::SetPaperSize(), tools::Rectangle::SetRight(), Outliner::SetText(), Outliner::SetUpdateLayout(), Size::setWidth(), Slide, tools::Rectangle::Top(), tools::Rectangle::TopLeft(), Up, Size::Width(), Point::X(), and Point::Y().

◆ AppendFamilyToStyleName()

void SdrTextObj::AppendFamilyToStyleName ( OUString &  styleName,
SfxStyleFamily  family 
)
staticprivate

Appends the style family to a provided style name.

Definition at line 440 of file svdotxat.cxx.

References comphelper::string::padToLength().

Referenced by ImpSetTextStyleSheetListeners().

◆ applySpecialDrag()

bool SdrTextObj::applySpecialDrag ( SdrDragStat rDrag)
overridevirtual

◆ autoFitTextForCompatibility()

void SdrTextObj::autoFitTextForCompatibility ( SdrOutliner rOutliner,
const Size rShapeSize,
bool  bIsVerticalWriting 
) const
private

◆ BckCreate()

bool SdrTextObj::BckCreate ( SdrDragStat rStat)
overridevirtual

Reimplemented from SdrObject.

Reimplemented in SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, and sdr::table::SdrTableObj.

Definition at line 230 of file svdotxdr.cxx.

◆ BegCreate()

bool SdrTextObj::BegCreate ( SdrDragStat rStat)
overridevirtual

Every object must be able to create itself interactively.

On MouseDown first an object is created, and its BegCreate() method is called. On every MouseMove, MovCreate() is called. BrkCreate() is called if the user cancels the interactive object creation. EndCreate() is called on the MouseUp event. If EndCreate() returns true, the creation is finished; the object is inserted into the corresponding list. Otherwise it is assumed that further points are necessary to create the object (Polygon, ...). The parameter eCmd contains the number of mouse clicks (if the application provides it). BckCreate() will undo the previous EndCreate(), e.g. to delete the last point of the Polygon. If BckCreate() returns false, creation is cancelled.

Reimplemented from SdrObject.

Reimplemented in SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, and sdr::table::SdrTableObj.

Definition at line 185 of file svdotxdr.cxx.

References SdrDragStat::GetNow(), SdrDragStat::GetStart(), tools::Rectangle::Normalize(), SdrDragStat::SetActionRect(), SdrDragStat::SetOrtho4Possible(), and setRectangle().

◆ BegTextEdit()

bool SdrTextObj::BegTextEdit ( SdrOutliner rOutl)
virtual

◆ BrkCreate()

void SdrTextObj::BrkCreate ( SdrDragStat rStat)
overridevirtual

Reimplemented from SdrObject.

Reimplemented in SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, and sdr::table::SdrTableObj.

Definition at line 226 of file svdotxdr.cxx.

◆ CalcFieldValue()

bool SdrTextObj::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

Reimplemented in SdrMeasureObj.

Definition at line 22 of file svdotxfl.cxx.

Referenced by SdrMeasureObj::CalcFieldValue().

◆ CanCreateEditOutlinerParaObject()

bool SdrTextObj::CanCreateEditOutlinerParaObject ( ) const

◆ CheckTextHit()

sal_Int32 SdrTextObj::CheckTextHit ( const Point rPnt) const
virtual

returns the index of the text that contains the given point or -1

Reimplemented in sdr::table::SdrTableObj.

Definition at line 2182 of file svdotext.cxx.

◆ CloneSdrObject()

rtl::Reference< SdrObject > SdrTextObj::CloneSdrObject ( SdrModel rTargetModel) const
overridevirtual

◆ CreateEditOutlinerParaObject()

std::optional< OutlinerParaObject > SdrTextObj::CreateEditOutlinerParaObject ( ) const

◆ CreateObjectSpecificProperties()

std::unique_ptr< sdr::properties::BaseProperties > SdrTextObj::CreateObjectSpecificProperties ( )
overrideprotectedvirtual

◆ CreateObjectSpecificViewContact()

std::unique_ptr< sdr::contact::ViewContact > SdrTextObj::CreateObjectSpecificViewContact ( )
overrideprotectedvirtual

◆ DoConvertToPolyObj()

rtl::Reference< SdrObject > SdrTextObj::DoConvertToPolyObj ( bool  bBezier,
bool  bAddText 
) const
overridevirtual

◆ EndCreate()

bool SdrTextObj::EndCreate ( SdrDragStat rStat,
SdrCreateCmd  eCmd 
)
overridevirtual

◆ EndTextEdit()

void SdrTextObj::EndTextEdit ( SdrOutliner rOutl)
virtual

◆ FitFrameToTextSize()

void SdrTextObj::FitFrameToTextSize ( )

◆ ForceOutlinerParaObject()

void SdrTextObj::ForceOutlinerParaObject ( )

◆ getActiveText()

SdrText * SdrTextObj::getActiveText ( ) const
virtual

◆ GetCameraZRotation()

double SdrTextObj::GetCameraZRotation ( ) const

◆ GetCreatePointer()

PointerStyle SdrTextObj::GetCreatePointer ( ) const
overridevirtual

get the cursor/pointer that signals creating this object

Reimplemented from SdrObject.

Reimplemented in SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, SdrRectObj, and sdr::table::SdrTableObj.

Definition at line 247 of file svdotxdr.cxx.

References IsTextFrame().

◆ GetEckenradius()

tools::Long SdrTextObj::GetEckenradius ( ) const

◆ GetFitToSize()

drawing::TextFitToSizeType SdrTextObj::GetFitToSize ( ) const

Definition at line 1516 of file svdotext.cxx.

References eType, SdrObject::GetObjectItem(), IsAutoGrowWidth(), and SDRATTR_TEXT_FITTOSIZE().

Referenced by IsAutoFit(), and IsFitToSize().

◆ GetFontScale()

double SdrTextObj::GetFontScale ( ) const

◆ getFullDragClone()

rtl::Reference< SdrObject > SdrTextObj::getFullDragClone ( ) const
overrideprotectedvirtual

Reimplemented from SdrObject.

Reimplemented in SdrEdgeObj, SdrGrafObj, and SdrOle2Obj.

Definition at line 2132 of file svdotext.cxx.

References DynCastSdrTextObj(), SdrObject::getFullDragClone(), and mbIsUnchainableClone.

Referenced by SdrGrafObj::getFullDragClone().

◆ GetGeoRect()

const tools::Rectangle & SdrTextObj::GetGeoRect ( ) const

◆ GetGeoStat()

const GeoStat & SdrTextObj::GetGeoStat ( ) const
inline

◆ GetHdlCount()

sal_uInt32 SdrTextObj::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 SdrObject.

Reimplemented in SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrMeasureObj, SdrPathObj, SdrRectObj, and sdr::table::SdrTableObj.

Definition at line 36 of file svdotxdr.cxx.

Referenced by SdrObjCustomShape::GetHdlCount(), and sdr::table::SdrTableObj::GetHdlCount().

◆ GetLinkUserData()

ImpSdrObjTextLinkUserData * SdrTextObj::GetLinkUserData ( ) const
private

◆ GetLogicRect()

const tools::Rectangle & SdrTextObj::GetLogicRect ( ) const
overridevirtual

◆ GetMaxTextFrameHeight()

tools::Long SdrTextObj::GetMaxTextFrameHeight ( ) const

◆ GetMaxTextFrameWidth()

tools::Long SdrTextObj::GetMaxTextFrameWidth ( ) const

◆ GetMinTextFrameHeight()

tools::Long SdrTextObj::GetMinTextFrameHeight ( ) const

◆ GetMinTextFrameWidth()

tools::Long SdrTextObj::GetMinTextFrameWidth ( ) const

◆ GetNextLinkInChain()

SdrTextObj * SdrTextObj::GetNextLinkInChain ( ) const

◆ GetObjIdentifier()

SdrObjKind SdrTextObj::GetObjIdentifier ( ) const
overridevirtual

◆ GetOutlinerParaObject()

OutlinerParaObject * SdrTextObj::GetOutlinerParaObject ( ) const
overridevirtual

◆ GetOutlinerViewAnchorMode()

EEAnchorMode SdrTextObj::GetOutlinerViewAnchorMode ( ) const
virtual

◆ GetPreventChainable()

bool SdrTextObj::GetPreventChainable ( ) const

◆ GetPrevLinkInChain()

SdrTextObj * SdrTextObj::GetPrevLinkInChain ( ) const

◆ getRectangle()

tools::Rectangle const & SdrTextObj::getRectangle ( ) const
inlineprotected

Definition at line 170 of file svdotext.hxx.

Referenced by SdrObjCustomShape::AdaptTextMinSize(), SdrCircObj::AddToHdlList(), SdrRectObj::AddToHdlList(), sdr::table::SdrTableObj::AddToHdlList(), AddToHdlList(), AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), SdrGrafObj::AdjustToMaxRect(), SdrMediaObj::AdjustToMaxRect(), SdrCircObj::applySpecialDrag(), SdrRectObj::applySpecialDrag(), sdr::table::SdrTableObj::applySpecialDrag(), applySpecialDrag(), SdrCaptionObj::BegCreate(), SdrCaptionObj::beginSpecialDrag(), SdrOle2Obj::CalculateNewScaling(), sdr::table::SdrTableObj::CheckTableHit(), sdr::table::SdrTableObjImpl::CropTableModelToSelection(), sdr::table::SdrTableObj::DistributeColumns(), sdr::table::SdrTableObj::DistributeRows(), SdrCircObj::DoConvertToPolyObj(), SdrGrafObj::DoConvertToPolyObj(), SdrRectObj::DoConvertToPolyObj(), SdrObjCustomShape::DragCreateObject(), SdrObjCustomShape::DragResizeCustomShape(), SdrCaptionObj::EndCreate(), sdr::table::SdrTableObj::EndCreate(), EndCreate(), FitFrameToTextSize(), SdrRectObj::GetCornerGluePoint(), GetGeoRect(), SdrCaptionObj::GetLogicRect(), GetLogicRect(), SdrCircObj::GetSnapPoint(), GetSnapPoint(), sdr::table::SdrTableObj::GetSnapRect(), SdrRectObj::getSpecialDragComment(), SdrObjCustomShape::GetVertexGluePoint(), SdrRectObj::GetVertexGluePoint(), SdrObjCustomShape::handlePageChange(), SdrObjCustomShape::ImpCalculateTextFrame(), SdrRectObj::ImpCalcXPoly(), SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded(), ImpDragCalcRect(), SdrCaptionObj::ImpRecalcTail(), SdrOle2Obj::ImpSetVisAreaSize(), sdr::table::SdrTableObj::init(), sdr::table::SdrTableObjImpl::init(), SdrCaptionObj::MovCreate(), NbcAdjustTextFrameWidthAndHeight(), SdrObjCustomShape::NbcAdjustTextFrameWidthAndHeight(), SdrCircObj::NbcMirror(), NbcMirror(), sdr::table::SdrTableObj::NbcMove(), SdrObjCustomShape::NbcResize(), NbcResize(), SdrUnoObj::NbcResize(), SdrObjCustomShape::NbcRotate(), NbcRotate(), sdr::table::SdrTableObj::NbcSetLogicRect(), SdrEdgeObj::NbcSetSnapRect(), NbcShear(), sdr::table::SdrTableObj::onEditOutlinerStatusEvent(), sdr::table::SdrTableObjImpl::operator=(), RecalcSnapRect(), SdrRectObj::RecalcXPoly(), SdrCircObj::RecalcXPoly(), sdr::table::SdrTableObj::RestoreGeoData(), SaveGeoData(), sdr::table::SdrTableObj::SetChanged(), SdrCaptionObj::TakeCreatePoly(), SdrCircObj::TakeObjNamePlural(), SdrRectObj::TakeObjNamePlural(), SdrCircObj::TakeObjNameSingul(), SdrRectObj::TakeObjNameSingul(), TakeTextAnchorRect(), TakeUnrotatedSnapRect(), SdrCircObj::TakeUnrotatedSnapRect(), SdrRectObj::TakeUnrotatedSnapRect(), SdrCircObj::TakeXorPoly(), SdrRectObj::TakeXorPoly(), TakeXorPoly(), SdrObjCustomShape::TRGetBaseGeometry(), TRGetBaseGeometry(), and sdr::table::SdrTableObjImpl::update().

◆ GetRotateAngle()

Degree100 SdrTextObj::GetRotateAngle ( ) const
overridevirtual

Reimplemented from SdrObject.

Reimplemented in SdrMeasureObj.

Definition at line 85 of file svdotxtr.cxx.

References GeoStat::m_nRotationAngle, and maGeo.

Referenced by EnhancedCustomShape3d::Create3DObject().

◆ GetShearAngle()

Degree100 SdrTextObj::GetShearAngle ( bool  bVertical = false) const
overridevirtual

Reimplemented from SdrObject.

Definition at line 90 of file svdotxtr.cxx.

References GeoStat::m_nShearAngle, and maGeo.

◆ GetSnapPoint()

Point SdrTextObj::GetSnapPoint ( sal_uInt32  i) const
overridevirtual

◆ GetSnapPointCount()

sal_uInt32 SdrTextObj::GetSnapPointCount ( ) const
overridevirtual

snap to special points of an Object (polygon points, center of circle)

Reimplemented from SdrObject.

Reimplemented in SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, and SdrPathObj.

Definition at line 1150 of file svdotext.cxx.

◆ GetSpacingScale()

double SdrTextObj::GetSpacingScale ( ) const

◆ getSpecialDragComment()

OUString SdrTextObj::getSpecialDragComment ( const SdrDragStat rDrag) const
overridevirtual

◆ getText()

SdrText * SdrTextObj::getText ( sal_Int32  nIndex) const
overridevirtual

◆ GetTextAniDirection()

SdrTextAniDirection SdrTextObj::GetTextAniDirection ( ) const

◆ GetTextAniKind()

SdrTextAniKind SdrTextObj::GetTextAniKind ( ) const

◆ GetTextChain()

TextChain * SdrTextObj::GetTextChain ( ) const

◆ GetTextColumnsNumber()

sal_Int16 SdrTextObj::GetTextColumnsNumber ( ) const

◆ GetTextColumnsSpacing()

sal_Int32 SdrTextObj::GetTextColumnsSpacing ( ) const

◆ getTextCount()

sal_Int32 SdrTextObj::getTextCount ( ) const
overridevirtual

returns the number of texts available for this object.

Implements svx::ITextProvider.

Reimplemented in sdr::table::SdrTableObj.

Definition at line 2171 of file svdotext.cxx.

Referenced by SdrObjEditView::ApplyFormatPaintBrush(), drawinglayer::primitive2d::createNewSdrTextAttribute(), and RemoveOutlinerCharacterAttribs().

◆ GetTextEditOffset()

const Point & SdrTextObj::GetTextEditOffset ( ) const
inline

Definition at line 227 of file svdotext.hxx.

Referenced by GetTextEditBackgroundColor().

◆ GetTextEditOutliner()

SVX_DLLPRIVATE SdrOutliner * SdrTextObj::GetTextEditOutliner ( ) const
inlineprivate

◆ GetTextHorizontalAdjust() [1/2]

SdrTextHorzAdjust SdrTextObj::GetTextHorizontalAdjust ( ) const

◆ GetTextHorizontalAdjust() [2/2]

SdrTextHorzAdjust SdrTextObj::GetTextHorizontalAdjust ( const SfxItemSet rSet) const

◆ GetTextKind()

SdrObjKind SdrTextObj::GetTextKind ( ) const
inline

◆ GetTextLeftDistance()

tools::Long SdrTextObj::GetTextLeftDistance ( ) const

◆ GetTextLowerDistance()

tools::Long SdrTextObj::GetTextLowerDistance ( ) const

◆ GetTextRightDistance()

tools::Long SdrTextObj::GetTextRightDistance ( ) const

◆ GetTextScrollMetaFileAndRectangle()

GDIMetaFile * SdrTextObj::GetTextScrollMetaFileAndRectangle ( tools::Rectangle rScrollRectangle,
tools::Rectangle rPaintRectangle 
)

◆ GetTextSize()

const Size & SdrTextObj::GetTextSize ( ) const
virtual

◆ GetTextUpperDistance()

tools::Long SdrTextObj::GetTextUpperDistance ( ) const

◆ GetTextVerticalAdjust() [1/2]

SdrTextVertAdjust SdrTextObj::GetTextVerticalAdjust ( ) const

◆ GetTextVerticalAdjust() [2/2]

SdrTextVertAdjust SdrTextObj::GetTextVerticalAdjust ( const SfxItemSet rSet) const

◆ handlePageChange()

void SdrTextObj::handlePageChange ( SdrPage pOldPage,
SdrPage pNewPage 
)
overridevirtual

◆ hasSpecialDrag()

bool SdrTextObj::hasSpecialDrag ( ) const
overridevirtual

The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPoly(),...).

Object type specific dragging like corner radius of Rectangle, control points of Splines, weights of Bezier curves, pointer of Label objects must be handled by the object itself. To keep the Model free of state, the state is kept in the View and then passed to the object. EndDrag usually returns true for success, false may be returned if the dragging did not modify the object, where the View already handles the case that the pointer was not moved at all.

Reimplemented from SdrObject.

Reimplemented in SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, SdrRectObj, sdr::table::SdrTableObj, and SdrUnoObj.

Definition at line 70 of file svdotxdr.cxx.

◆ HasText()

bool SdrTextObj::HasText ( ) const
overridevirtual

◆ HasTextColumnsNumber()

bool SdrTextObj::HasTextColumnsNumber ( ) const

◆ HasTextColumnsSpacing()

bool SdrTextObj::HasTextColumnsSpacing ( ) const

◆ HasTextEdit()

bool SdrTextObj::HasTextEdit ( ) const
overridevirtual

Reimplemented from SdrObject.

Reimplemented in SdrMediaObj.

Definition at line 34 of file svdotxed.cxx.

◆ HasTextImpl()

bool SdrTextObj::HasTextImpl ( SdrOutliner const *  pOutliner)
static

returns false if the given pointer is NULL or if the given SdrOutliner contains no text.

Also checks for one empty paragraph.

Definition at line 458 of file svdotext.cxx.

References Outliner::GetParagraph(), Outliner::GetParagraphCount(), and Outliner::GetText().

Referenced by BegTextEdit(), CanCreateEditOutlinerParaObject(), CreateEditOutlinerParaObject(), HasText(), and SdrObjEditView::ImpIsTextEditAllSelected().

◆ ImpAutoFitText() [1/2]

void SdrTextObj::ImpAutoFitText ( SdrOutliner rOutliner) const
private

◆ ImpAutoFitText() [2/2]

void SdrTextObj::ImpAutoFitText ( SdrOutliner rOutliner,
const Size rShapeSize,
bool  bIsVerticalWriting 
) const
private

Definition at line 1272 of file svdotext.cxx.

References autoFitTextForCompatibility().

◆ ImpCanConvTextToCurve()

bool SdrTextObj::ImpCanConvTextToCurve ( ) const
protected

◆ ImpCheckShear()

void SdrTextObj::ImpCheckShear ( )
protected

◆ ImpConvertAddText()

rtl::Reference< SdrObject > SdrTextObj::ImpConvertAddText ( rtl::Reference< SdrObject pObj,
bool  bBezier 
) const
protected

◆ ImpConvertContainedTextToSdrPathObjs()

rtl::Reference< SdrObject > SdrTextObj::ImpConvertContainedTextToSdrPathObjs ( bool  bToPoly) const
private

◆ ImpConvertMakeObj()

rtl::Reference< SdrPathObj > SdrTextObj::ImpConvertMakeObj ( const basegfx::B2DPolyPolygon rPolyPolygon,
bool  bClosed,
bool  bBezier 
) const
protected

◆ impDecomposeAutoFitTextPrimitive()

void SdrTextObj::impDecomposeAutoFitTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D rSdrAutofitTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const

Definition at line 738 of file svdotextdecomposition.cxx.

References Outliner::Clear(), basegfx::B2DHomMatrix::decompose(), basegfx::Range2D< typename TYPE, typename TRAITS >::expand(), FRound(), Outliner::GetBackgroundColor(), Outliner::GetControlWord(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), SdrText::GetItemSet(), SdrText::GetOutlinerParaObject(), Outliner::GetPaperSize(), GetSdrPageFromXDrawPage(), drawinglayer::primitive2d::SdrTextPrimitive2D::getSdrText(), GetTextHorizontalAdjust(), drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::getTextRangeTransform(), GetTextVerticalAdjust(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::getWordWrap(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Size::Height(), ImpAutoFitText(), ImpGetDrawOutliner(), OutlinerParaObject::IsEffectivelyVertical(), IsTextFrame(), OutlinerParaObject::IsTopToBottom(), basegfx::fTools::less(), basegfx::B2DHomMatrix::rotate(), rTarget, basegfx::B2DHomMatrix::scale(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, Outliner::SetBackgroundColor(), Outliner::SetControlWord(), Outliner::SetMaxAutoPaperSize(), Outliner::SetMinAutoPaperSize(), Outliner::SetMinColumnWrapHeight(), Outliner::SetPaperSize(), SdrObject::setSuitableOutlinerBg(), Outliner::SetText(), Outliner::SetUpdateLayout(), SdrOutliner::setVisualizedPage(), basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), basegfx::B2DHomMatrix::shearX(), basegfx::B2DHomMatrix::translate(), and Size::Width().

Referenced by drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::create2DDecomposition().

◆ impDecomposeBlockTextPrimitive()

void SdrTextObj::impDecomposeBlockTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrBlockTextPrimitive2D rSdrBlockTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const

Definition at line 930 of file svdotextdecomposition.cxx.

References AnchoredTextOverflowLegacy, Outliner::Clear(), basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), basegfx::utils::createTranslateB2DHomMatrix(), basegfx::B2DHomMatrix::decompose(), basegfx::deg2rad(), EE_PARA_JUST(), basegfx::Range2D< typename TYPE, typename TRAITS >::expand(), FRound(), SfxItemSet::Get(), Outliner::GetBackgroundColor(), GetCameraZRotation(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getCellText(), Outliner::GetControlWord(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), SdrObject::GetObjectItemSet(), drawinglayer::primitive2d::SdrTextPrimitive2D::getOutlinerParaObject(), Outliner::GetPaperSize(), SdrObject::getSdrModelFromSdrObject(), GetSdrPageFromXDrawPage(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getSdrTextHorzAdjust(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getSdrTextVertAdjust(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getTextRangeTransform(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getUnlimitedPage(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getWordWrap(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Size::Height(), ImpGetDrawOutliner(), OutlinerParaObject::IsEffectivelyVertical(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::isFixedCellHeight(), IsTextFrame(), OutlinerParaObject::IsTopToBottom(), basegfx::fTools::less(), basegfx::B2DHomMatrix::rotate(), rTarget, SDRATTR_TEXT_CLIPVERTOVERFLOW(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, Outliner::SetBackgroundColor(), Outliner::SetControlWord(), Outliner::SetFixedCellHeight(), Size::setHeight(), Outliner::SetMaxAutoPaperSize(), Outliner::SetMinAutoPaperSize(), Outliner::SetMinColumnWrapHeight(), Outliner::SetPaperSize(), SdrObject::setSuitableOutlinerBg(), Outliner::SetText(), Outliner::SetUpdateLayout(), SdrOutliner::setVisualizedPage(), Size::setWidth(), basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), basegfx::B2DHomMatrix::translate(), and Size::Width().

Referenced by drawinglayer::primitive2d::SdrBlockTextPrimitive2D::create2DDecomposition().

◆ impDecomposeBlockTextPrimitiveDirect()

void SdrTextObj::impDecomposeBlockTextPrimitiveDirect ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
SdrOutliner rOutliner,
const basegfx::B2DHomMatrix rNewTransformA,
const basegfx::B2DHomMatrix rNewTransformB,
const basegfx::B2DRange rClipRange 
)
static

Definition at line 1696 of file svdotextdecomposition.cxx.

References rTarget.

◆ impDecomposeChainedTextPrimitive()

void SdrTextObj::impDecomposeChainedTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrChainedTextPrimitive2D rSdrChainedTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const

Definition at line 1547 of file svdotextdecomposition.cxx.

References Outliner::Clear(), basegfx::B2DHomMatrix::decompose(), basegfx::Range2D< typename TYPE, typename TRAITS >::expand(), FRound(), Outliner::GetControlWord(), basegfx::Range2D< typename TYPE, typename TRAITS >::getHeight(), SdrText::GetItemSet(), SdrText::GetOutlinerParaObject(), Outliner::GetPaperSize(), GetSdrPageFromXDrawPage(), drawinglayer::primitive2d::SdrTextPrimitive2D::getSdrText(), GetTextHorizontalAdjust(), drawinglayer::primitive2d::SdrChainedTextPrimitive2D::getTextRangeTransform(), GetTextVerticalAdjust(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), basegfx::Range2D< typename TYPE, typename TRAITS >::getWidth(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Size::Height(), ImpGetDrawOutliner(), impHandleChainingEventsDuringDecomposition(), OutlinerParaObject::IsEffectivelyVertical(), IsTextFrame(), OutlinerParaObject::IsTopToBottom(), basegfx::fTools::less(), basegfx::B2DHomMatrix::rotate(), rTarget, basegfx::B2DHomMatrix::scale(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, Outliner::SetControlWord(), Outliner::SetMaxAutoPaperSize(), Outliner::SetMinAutoPaperSize(), Outliner::SetPaperSize(), Outliner::SetText(), Outliner::SetUpdateLayout(), SdrOutliner::setVisualizedPage(), basegfx::Tuple2D< typename TYPE >::setX(), basegfx::Tuple2D< typename TYPE >::setY(), basegfx::B2DHomMatrix::shearX(), basegfx::B2DHomMatrix::translate(), and Size::Width().

Referenced by drawinglayer::primitive2d::SdrChainedTextPrimitive2D::create2DDecomposition().

◆ impDecomposeContourTextPrimitive()

void SdrTextObj::impDecomposeContourTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrContourTextPrimitive2D rSdrContourTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const

◆ impDecomposePathTextPrimitive()

void SdrTextObj::impDecomposePathTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrPathTextPrimitive2D rSdrPathTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const

◆ impDecomposeStretchTextPrimitive()

void SdrTextObj::impDecomposeStretchTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrStretchTextPrimitive2D rSdrStretchTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const

◆ ImpDeregisterLink()

void SdrTextObj::ImpDeregisterLink ( )
private

◆ ImpDragCalcRect()

tools::Rectangle SdrTextObj::ImpDragCalcRect ( const SdrDragStat rDrag) const
protected

◆ impGetBlinkTextTiming()

void SdrTextObj::impGetBlinkTextTiming ( drawinglayer::animation::AnimationEntryList rAnimList) const

◆ ImpGetDrawOutliner()

SdrOutliner & SdrTextObj::ImpGetDrawOutliner ( ) const
protected

◆ impGetScrollTextTiming()

void SdrTextObj::impGetScrollTextTiming ( drawinglayer::animation::AnimationEntryList rAnimList,
double  fFrameLength,
double  fTextLength 
) const

◆ impHandleChainingEventsDuringDecomposition()

void SdrTextObj::impHandleChainingEventsDuringDecomposition ( SdrOutliner rOutliner) const

◆ ImpInitDrawOutliner()

void SdrTextObj::ImpInitDrawOutliner ( SdrOutliner rOutl) const
private

◆ ImpJustifyRect()

void SdrTextObj::ImpJustifyRect ( tools::Rectangle rRect)
staticprotected

◆ ImpRegisterLink()

void SdrTextObj::ImpRegisterLink ( )
private

◆ ImpSetCharStretching()

void SdrTextObj::ImpSetCharStretching ( SdrOutliner rOutliner,
const Size rTextSize,
const Size rShapeSize,
Fraction rFitXCorrection 
)
staticprotected

◆ ImpSetContourPolygon()

void SdrTextObj::ImpSetContourPolygon ( SdrOutliner rOutliner,
tools::Rectangle const &  rAnchorRect,
bool  bLineWidth 
) const
protected

◆ ImpSetTextEditParams()

void SdrTextObj::ImpSetTextEditParams ( ) const
protected

◆ ImpSetTextStyleSheetListeners()

void SdrTextObj::ImpSetTextStyleSheetListeners ( )
protected

◆ ImpSetupDrawOutlinerForPaint()

void SdrTextObj::ImpSetupDrawOutlinerForPaint ( bool  bContourFrame,
SdrOutliner rOutliner,
tools::Rectangle rTextRect,
tools::Rectangle rAnchorRect,
tools::Rectangle rPaintRect,
Fraction aFitXCorrection 
) const
private

◆ IsAutoFit()

bool SdrTextObj::IsAutoFit ( ) const

returns true if the PPT autofit of text into shape bounds is enabled. implies IsFitToSize()==false!

Definition at line 1935 of file svdotext.cxx.

References GetFitToSize().

Referenced by BegTextEdit(), drawinglayer::primitive2d::createNewSdrTextAttribute(), ImpSetupDrawOutlinerForPaint(), and onEditOutlinerStatusEvent().

◆ IsAutoGrowHeight()

bool SdrTextObj::IsAutoGrowHeight ( ) const
virtual

◆ IsAutoGrowWidth()

bool SdrTextObj::IsAutoGrowWidth ( ) const
virtual

◆ IsChainable()

bool SdrTextObj::IsChainable ( ) const

◆ IsContourTextFrame()

bool SdrTextObj::IsContourTextFrame ( ) const

◆ IsFitToSize()

bool SdrTextObj::IsFitToSize ( ) const

◆ IsFontwork()

bool SdrTextObj::IsFontwork ( ) const
virtual

◆ IsHideContour()

bool SdrTextObj::IsHideContour ( ) const

◆ IsInEditMode()

bool SdrTextObj::IsInEditMode ( ) const
inline

◆ IsLinkedText()

bool SdrTextObj::IsLinkedText ( ) const
inline

◆ IsOutlText()

bool SdrTextObj::IsOutlText ( ) const
inline

◆ IsReallyEdited()

bool SdrTextObj::IsReallyEdited ( ) const
virtual

returns true only if we are in edit mode and the user actually changed anything

Reimplemented in sdr::table::SdrTableObj.

Definition at line 1769 of file svdotext.cxx.

References Outliner::IsModified(), and mpEditingOutliner.

Referenced by SvxTextEditSourceImpl::GetBackgroundTextForwarder().

◆ IsSdrTextObj()

virtual bool SdrTextObj::IsSdrTextObj ( ) const
inlinefinalvirtual

Reimplemented from SdrObject.

Definition at line 657 of file svdotext.hxx.

◆ IsTextEditActive()

bool SdrTextObj::IsTextEditActive ( ) const
inline

◆ IsTextFrame()

bool SdrTextObj::IsTextFrame ( ) const
inline

◆ IsTopToBottom()

bool SdrTextObj::IsTopToBottom ( ) const

◆ IsVerticalWriting()

bool SdrTextObj::IsVerticalWriting ( ) const
virtual

◆ LoadText()

bool SdrTextObj::LoadText ( const OUString &  rFileName,
rtl_TextEncoding  eCharSet 
)

◆ MovCreate()

bool SdrTextObj::MovCreate ( SdrDragStat rStat)
overridevirtual

◆ moveRectangle()

void SdrTextObj::moveRectangle ( sal_Int32  nXDelta,
sal_Int32  nYDelta 
)
inlineprotected

◆ moveRectanglePosition()

void SdrTextObj::moveRectanglePosition ( sal_Int32  nX,
sal_Int32  nY 
)
inlineprotected

◆ NbcAdjustTextFrameWidthAndHeight()

bool SdrTextObj::NbcAdjustTextFrameWidthAndHeight ( bool  bHgt = true,
bool  bWdt = true 
)
virtual

◆ NbcMirror()

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

◆ NbcMove()

void SdrTextObj::NbcMove ( const Size rSiz)
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 SdrObject.

Reimplemented in SdrCircObj, SdrEdgeObj, SdrPathObj, SdrObjCustomShape, SdrCaptionObj, SdrMeasureObj, SdrRectObj, sdr::table::SdrTableObj, and SdrOle2Obj.

Definition at line 95 of file svdotxtr.cxx.

References Size::Height(), SdrAttrObj::maSnapRect, tools::Rectangle::Move(), SdrObject::moveOutRectangle(), moveRectangle(), SdrObject::SetBoundAndSnapRectsDirty(), and Size::Width().

Referenced by SdrEdgeObj::NbcMove(), SdrPathObj::NbcMove(), SdrObjCustomShape::NbcMove(), SdrMeasureObj::NbcMove(), SdrRectObj::NbcMove(), sdr::table::SdrTableObj::NbcMove(), and NbcSetSnapRect().

◆ NbcReformatText()

void SdrTextObj::NbcReformatText ( )
overridevirtual

◆ NbcResize()

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

◆ NbcRotate()

void SdrTextObj::NbcRotate ( const Point rRef,
Degree100  nAngle,
double  sn,
double  cs 
)
overridevirtual

◆ NbcSetEckenradius()

void SdrTextObj::NbcSetEckenradius ( tools::Long  nRad)
protected

Definition at line 500 of file svdotext.cxx.

References makeSdrEckenradiusItem(), and SdrObject::SetObjectItem().

Referenced by SdrRectObj::applySpecialDrag().

◆ NbcSetLogicRect()

void SdrTextObj::NbcSetLogicRect ( const tools::Rectangle rRect)
overridevirtual

◆ NbcSetOutlinerParaObject()

void SdrTextObj::NbcSetOutlinerParaObject ( std::optional< OutlinerParaObject pTextObject)
overridevirtual

◆ NbcSetOutlinerParaObjectForText()

void SdrTextObj::NbcSetOutlinerParaObjectForText ( std::optional< OutlinerParaObject pTextObject,
SdrText pText 
)

◆ NbcSetSnapRect()

void SdrTextObj::NbcSetSnapRect ( const tools::Rectangle rRect)
overridevirtual

◆ NbcSetText() [1/2]

void SdrTextObj::NbcSetText ( const OUString &  rStr)

◆ NbcSetText() [2/2]

void SdrTextObj::NbcSetText ( SvStream rInput,
const OUString &  rBaseURL,
EETextFormat  eFormat 
)

◆ NbcShear()

void SdrTextObj::NbcShear ( const Point rRef,
Degree100  nAngle,
double  tn,
bool  bVShear 
)
overridevirtual

◆ NewGeoData()

std::unique_ptr< SdrObjGeoData > SdrTextObj::NewGeoData ( ) const
overrideprotectedvirtual

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 SdrObject.

Reimplemented in SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrGrafObj, SdrMeasureObj, SdrPathObj, and sdr::table::SdrTableObj.

Definition at line 1494 of file svdotext.cxx.

◆ onChainingEvent()

void SdrTextObj::onChainingEvent ( )

◆ onEditOutlinerStatusEvent()

void SdrTextObj::onEditOutlinerStatusEvent ( EditStatus pEditStatus)
virtual

called from the SdrObjEditView during text edit when the status of the edit outliner changes

Reimplemented in sdr::table::SdrTableObj.

Definition at line 1957 of file svdotext.cxx.

References AdjustTextFrameWidthAndHeight(), EditStatus::GetStatusWord(), ImpAutoFitText(), IsAutoFit(), IsAutoGrowHeight(), IsAutoGrowWidth(), IsFitToSize(), mbInDownScale, mbTextFrame, and mpEditingOutliner.

◆ ReadFamilyFromStyleName()

SfxStyleFamily SdrTextObj::ReadFamilyFromStyleName ( std::u16string_view  styleName)
staticprivate

Reads the style family from a style name to which the family has been appended.

Definition at line 448 of file svdotxat.cxx.

References comphelper::string::stripEnd(), and o3tl::toInt32().

Referenced by ImpSetTextStyleSheetListeners().

◆ RecalcSnapRect()

void SdrTextObj::RecalcSnapRect ( )
overridevirtual

Snap is not done on the BoundRect but if possible on logic coordinates (i.e.

without considering stroke width, ...) SetSnapRect() tries to size the Object so that it fits into the passed Rect (without stroke width, ...)

Reimplemented from SdrObject.

Reimplemented in SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, SdrRectObj, and sdr::table::SdrTableObj.

Definition at line 1140 of file svdotext.cxx.

References tools::Polygon::GetBoundRect(), getRectangle(), GeoStat::m_nRotationAngle, GeoStat::m_nShearAngle, maGeo, SdrAttrObj::maSnapRect, and Rect2Poly().

Referenced by SdrRectObj::RecalcSnapRect().

◆ ReleaseTextLink()

void SdrTextObj::ReleaseTextLink ( )

◆ ReloadLinkedText()

bool SdrTextObj::ReloadLinkedText ( bool  bForceLoad)

◆ RemoveOutlinerCharacterAttribs()

void SdrTextObj::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

Definition at line 381 of file svdotxat.cxx.

References Outliner::Clear(), Outliner::CreateParaObject(), EE_PARA_ALL, EE_TEXTPOS_ALL, getActiveText(), SdrText::GetOutlinerParaObject(), Outliner::GetParagraphCount(), getText(), getTextCount(), ImpGetDrawOutliner(), mpEditingOutliner, NbcSetOutlinerParaObjectForText(), Outliner::RemoveAttribs(), and Outliner::SetText().

◆ RestoreGeoData()

void SdrTextObj::RestoreGeoData ( const SdrObjGeoData rGeo)
overrideprotectedvirtual

◆ SaveGeoData()

void SdrTextObj::SaveGeoData ( SdrObjGeoData rGeo) const
overrideprotectedvirtual

◆ setActiveText()

void SdrTextObj::setActiveText ( sal_Int32  nIndex)
virtual

changes the current active text

Reimplemented in sdr::table::SdrTableObj.

Definition at line 2177 of file svdotext.cxx.

◆ SetDisableAutoWidthOnDragging()

void SdrTextObj::SetDisableAutoWidthOnDragging ( bool  bOn)
inline

Definition at line 399 of file svdotext.hxx.

◆ SetNextLinkInChain()

void SdrTextObj::SetNextLinkInChain ( SdrTextObj pNextObj)

Definition at line 2088 of file svdotext.cxx.

References mpNextInChain, and mpPrevInChain.

Referenced by ImpUpdateChainLinks().

◆ SetObjectItemNoBroadcast()

void SdrTextObj::SetObjectItemNoBroadcast ( const SfxPoolItem rItem)

Definition at line 2187 of file svdotext.cxx.

References SdrObject::GetProperties(), and SetObjectItemNoBroadcast().

Referenced by SetObjectItemNoBroadcast().

◆ setRectangle()

void SdrTextObj::setRectangle ( tools::Rectangle const &  rRectangle)
inlineprotected

◆ setRectangleSize()

void SdrTextObj::setRectangleSize ( sal_Int32  nWidth,
sal_Int32  nHeight 
)
inlineprotected

Definition at line 180 of file svdotext.hxx.

References tools::Rectangle::SetSize().

Referenced by SdrOle2Obj::ImpSetVisAreaSize().

◆ SetText() [1/2]

void SdrTextObj::SetText ( const OUString &  rStr)

◆ SetText() [2/2]

void SdrTextObj::SetText ( SvStream rInput,
const OUString &  rBaseURL,
EETextFormat  eFormat 
)

◆ SetTextAnimationAllowed()

void SdrTextObj::SetTextAnimationAllowed ( bool  bNew)

Definition at line 1947 of file svdotext.cxx.

References SdrObject::ActionChanged(), and mbTextAnimationAllowed.

◆ SetTextColumnsNumber()

void SdrTextObj::SetTextColumnsNumber ( sal_Int16  nColumns)

◆ SetTextColumnsSpacing()

void SdrTextObj::SetTextColumnsSpacing ( sal_Int32  nSpacing)

◆ SetTextEditOffset()

void SdrTextObj::SetTextEditOffset ( const Point rNew)
inline

Definition at line 228 of file svdotext.hxx.

◆ SetTextEditOutliner()

void SdrTextObj::SetTextEditOutliner ( SdrOutliner pOutl)
inline

Definition at line 531 of file svdotext.hxx.

◆ SetTextLink()

void SdrTextObj::SetTextLink ( const OUString &  rFileName,
const OUString &  rFilterName 
)

◆ SetTextSizeDirty()

void SdrTextObj::SetTextSizeDirty ( )
inlineprotected

◆ SetupOutlinerFormatting()

void SdrTextObj::SetupOutlinerFormatting ( SdrOutliner rOutl,
tools::Rectangle rPaintRect 
) const

Setup given Outliner equivalently to SdrTextObj::Paint()

To setup an arbitrary Outliner in the same way as the draw outliner on SdrTextObj::Paint(). Among others, the paper size, control word and character stretching are initialized, such that the formatting should match the screen representation. The textual content of the outliner is not touched, i.e. no Init() or Clear() is called on the Outliner.

Parameters
rOutlThe Outliner to setup.
rPaintRectThe region to paint the outliner content into. This is useful to e.g. determine the top, left position of text in shapes.

Definition at line 1386 of file svdotext.cxx.

References ImpInitDrawOutliner(), and UpdateOutlinerFormatting().

Referenced by SvxTextEditSourceImpl::SetupOutliner().

◆ SetVerticalWriting()

void SdrTextObj::SetVerticalWriting ( bool  bVertical)
virtual

◆ TakeContour()

basegfx::B2DPolyPolygon SdrTextObj::TakeContour ( ) const
overridevirtual

◆ TakeCreatePoly()

basegfx::B2DPolyPolygon SdrTextObj::TakeCreatePoly ( const SdrDragStat rDrag) const
overridevirtual

◆ TakeObjInfo()

void SdrTextObj::TakeObjInfo ( SdrObjTransformInfoRec rInfo) const
overridevirtual

◆ TakeObjNamePlural()

OUString SdrTextObj::TakeObjNamePlural ( ) const
overridevirtual

◆ TakeObjNameSingul()

OUString SdrTextObj::TakeObjNameSingul ( ) const
overridevirtual

◆ TakeTextAnchorRect()

void SdrTextObj::TakeTextAnchorRect ( ::tools::Rectangle rAnchorRect) const
virtual

◆ TakeTextEditArea()

void SdrTextObj::TakeTextEditArea ( Size pPaperMin,
Size pPaperMax,
tools::Rectangle pViewInit,
tools::Rectangle pViewMin 
) const
virtual

◆ TakeTextRect()

void SdrTextObj::TakeTextRect ( SdrOutliner rOutliner,
tools::Rectangle rTextRect,
bool  bNoEditText,
tools::Rectangle pAnchorRect,
bool  bLineWidth = true 
) const
virtual

Reimplemented in SdrObjCustomShape, SdrMeasureObj, and sdr::table::SdrTableObj.

Definition at line 680 of file svdotext.cxx.

References Point::AdjustX(), Point::AdjustY(), Alternate, SdrText::CheckPortionInfo(), Outliner::CreateParaObject(), Down, getActiveText(), Outliner::GetControlWord(), tools::Rectangle::GetHeight(), SdrObject::GetMergedItem(), SdrText::GetOutlinerParaObject(), GetOutlinerParaObject(), Outliner::GetPaperSize(), SdrObject::getSdrModelFromSdrObject(), GetTextAniDirection(), GetTextAniKind(), GetTextHorizontalAdjust(), SdrOutliner::GetTextObj(), GetTextVerticalAdjust(), GetValue, tools::Rectangle::GetWidth(), Size::Height(), ImpSetContourPolygon(), IsChainable(), IsContourTextFrame(), IsFitToSize(), IsInEditMode(), IsTextFrame(), IsVerticalWriting(), Left, GeoStat::m_nRotationAngle, maGeo, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, mpEditingOutliner, Right, RotatePoint(), Scroll, SDRATTR_TEXT_USEFIXEDCELLHEIGHT(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, Outliner::SetControlWord(), Outliner::SetFixedCellHeight(), Outliner::SetMaxAutoPaperSize(), Outliner::SetMinAutoPaperSize(), Outliner::SetMinColumnWrapHeight(), Outliner::SetPaperSize(), Outliner::SetText(), SdrOutliner::SetTextObj(), Outliner::SetUpdateLayout(), Slide, TakeTextAnchorRect(), tools::Rectangle::TopLeft(), Up, and Size::Width().

Referenced by BegTextEdit(), ImpSetupDrawOutlinerForPaint(), TakeContour(), and SdrMeasureObj::TakeTextRect().

◆ TakeUnrotatedSnapRect()

void SdrTextObj::TakeUnrotatedSnapRect ( tools::Rectangle rRect) const
virtual

Reimplemented in SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, and SdrRectObj.

Definition at line 617 of file svdotext.cxx.

References getRectangle().

Referenced by TakeTextAnchorRect().

◆ TakeXorPoly()

basegfx::B2DPolyPolygon SdrTextObj::TakeXorPoly ( ) const
overridevirtual

The Xor-Polygon is required by the View to drag the object.

All polygons within the PolyPolygon are interpreted as PolyLine. To get a closed Polygon, close it explicitly.

Reimplemented from SdrObject.

Reimplemented in SdrObjCustomShape, SdrCaptionObj, SdrCircObj, SdrEdgeObj, SdrMeasureObj, SdrPathObj, and SdrRectObj.

Definition at line 1100 of file svdotext.cxx.

References basegfx::B2DPolyPolygon::append(), tools::Polygon::getB2DPolygon(), getRectangle(), GeoStat::m_nRotationAngle, GeoStat::m_nShearAngle, maGeo, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, RotatePoly(), ShearPoly(), and TopLeft.

Referenced by ImpSetContourPolygon().

◆ TRGetBaseGeometry()

bool SdrTextObj::TRGetBaseGeometry ( basegfx::B2DHomMatrix rMatrix,
basegfx::B2DPolyPolygon rPolyPolygon 
) const
overridevirtual

◆ TRSetBaseGeometry()

void SdrTextObj::TRSetBaseGeometry ( const basegfx::B2DHomMatrix rMatrix,
const basegfx::B2DPolyPolygon rPolyPolygon 
)
overridevirtual

◆ UpdateOutlinerFormatting()

void SdrTextObj::UpdateOutlinerFormatting ( SdrOutliner rOutl,
tools::Rectangle rPaintRect 
) const

Update given Outliner equivalently to SdrTextObj::Paint()

Same functionality as in SetupOutlinerFormatting(), except that the outliner content is not cleared.

Parameters
rOutlThe Outliner to update.
rPaintRectThe region to paint the outliner content into. This is useful to e.g. determine the top, left position of text in shapes.

Definition at line 1392 of file svdotext.cxx.

References SdrObject::getSdrModelFromSdrObject(), ImpSetupDrawOutlinerForPaint(), IsContourTextFrame(), and Outliner::SetRefMapMode().

Referenced by GetFontScale(), GetSpacingScale(), SetupOutlinerFormatting(), and SvxTextEditSourceImpl::UpdateOutliner().

Friends And Related Function Documentation

◆ ::SdrTextObjTest

friend class ::SdrTextObjTest
friend

Definition at line 659 of file svdotext.hxx.

◆ EditingTextChainFlow

friend class EditingTextChainFlow
friend

Definition at line 132 of file svdotext.hxx.

◆ ImpSdrObjTextLink

friend class ImpSdrObjTextLink
friend

Definition at line 153 of file svdotext.hxx.

Referenced by ImpRegisterLink().

◆ ImpSdrObjTextLinkUserData

friend class ImpSdrObjTextLinkUserData
friend

Definition at line 154 of file svdotext.hxx.

Referenced by SetTextLink().

◆ sdr::properties::CellProperties

friend class sdr::properties::CellProperties
friend

Definition at line 151 of file svdotext.hxx.

◆ sdr::properties::CustomShapeProperties

Definition at line 135 of file svdotext.hxx.

◆ sdr::properties::TextProperties

friend class sdr::properties::TextProperties
friend

Definition at line 150 of file svdotext.hxx.

◆ sdr::table::Cell

friend class sdr::table::Cell
friend

Definition at line 127 of file svdotext.hxx.

◆ sdr::table::SdrTableRtfExporter

friend class sdr::table::SdrTableRtfExporter
friend

Definition at line 128 of file svdotext.hxx.

◆ sdr::table::SdrTableRTFParser

friend class sdr::table::SdrTableRTFParser
friend

Definition at line 129 of file svdotext.hxx.

◆ SdrExchangeView

friend class SdrExchangeView
friend

Definition at line 156 of file svdotext.hxx.

◆ SdrMeasureObj

friend class SdrMeasureObj
friend

Definition at line 159 of file svdotext.hxx.

Referenced by SdrMeasureObj::CloneSdrObject().

◆ SdrObjCustomShape

friend class SdrObjCustomShape
friend

Definition at line 161 of file svdotext.hxx.

Referenced by SdrObjCustomShape::CloneSdrObject().

◆ SdrObjEditView

friend class SdrObjEditView
friend

Definition at line 158 of file svdotext.hxx.

◆ SdrPowerPointImport

friend class SdrPowerPointImport
friend

Definition at line 155 of file svdotext.hxx.

◆ SdrText

friend class SdrText
friend

Definition at line 162 of file svdotext.hxx.

Referenced by getText().

◆ SdrView

friend class SdrView
friend

Definition at line 157 of file svdotext.hxx.

◆ SvxMSDffManager

friend class SvxMSDffManager
friend

Definition at line 160 of file svdotext.hxx.

◆ TextChain

friend class TextChain
friend

Definition at line 130 of file svdotext.hxx.

◆ TextChainFlow

friend class TextChainFlow
friend

Definition at line 131 of file svdotext.hxx.

Member Data Documentation

◆ maGeo

GeoStat SdrTextObj::maGeo
protected

Definition at line 196 of file svdotext.hxx.

Referenced by SdrCircObj::AddToHdlList(), SdrRectObj::AddToHdlList(), AddToHdlList(), AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), SdrCircObj::applySpecialDrag(), SdrRectObj::applySpecialDrag(), applySpecialDrag(), BegTextEdit(), SdrObjCustomShape::DragResizeCustomShape(), SdrRectObj::GetCornerGluePoint(), SdrGrafObj::GetGraphicAttr(), GetRotateAngle(), GetShearAngle(), GetSnapPoint(), SdrRectObj::getSpecialDragComment(), GetTextScrollMetaFileAndRectangle(), SdrObjCustomShape::GetVertexGluePoint(), SdrRectObj::GetVertexGluePoint(), SdrRectObj::ImpCalcXPoly(), SdrCircObj::ImpCalcXPolyCirc(), SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded(), ImpCheckShear(), ImpDragCalcRect(), SdrPathObj::ImpForceLineAngle(), ImpSetContourPolygon(), SdrObjCustomShape::NbcMirror(), SdrCircObj::NbcMirror(), NbcMirror(), SdrObjCustomShape::NbcResize(), SdrCircObj::NbcResize(), NbcResize(), SdrUnoObj::NbcResize(), SdrObjCustomShape::NbcRotate(), NbcRotate(), SdrCircObj::NbcSetSnapRect(), NbcSetSnapRect(), SdrObjCustomShape::NbcShear(), NbcShear(), SdrCircObj::PaintNeedsXPolyCirc(), SdrRectObj::RecalcSnapRect(), RecalcSnapRect(), RestoreGeoData(), SaveGeoData(), sdr::table::SdrTableObj::SdrTableObj(), SdrTextObj(), TakeContour(), SdrGrafObj::TakeObjInfo(), SdrRectObj::TakeObjInfo(), TakeObjInfo(), SdrCircObj::TakeObjNamePlural(), SdrRectObj::TakeObjNamePlural(), SdrCircObj::TakeObjNameSingul(), SdrRectObj::TakeObjNameSingul(), TakeTextAnchorRect(), SdrObjCustomShape::TakeTextAnchorRect(), TakeTextEditArea(), SdrObjCustomShape::TakeTextEditArea(), TakeTextRect(), SdrObjCustomShape::TakeTextRect(), SdrCircObj::TakeUnrotatedSnapRect(), SdrMeasureObj::TakeUnrotatedSnapRect(), SdrPathObj::TakeUnrotatedSnapRect(), SdrRectObj::TakeUnrotatedSnapRect(), TakeXorPoly(), SdrObjCustomShape::TRGetBaseGeometry(), SdrPathObj::TRGetBaseGeometry(), TRGetBaseGeometry(), SdrObjCustomShape::TRSetBaseGeometry(), SdrPathObj::TRSetBaseGeometry(), and TRSetBaseGeometry().

◆ maRectangle

tools::Rectangle SdrTextObj::maRectangle
protected

◆ maTextEditOffset

Point SdrTextObj::maTextEditOffset
protected

Definition at line 221 of file svdotext.hxx.

◆ maTextSize

Size SdrTextObj::maTextSize
protected

◆ mbDisableAutoWidthOnDragging

bool SdrTextObj::mbDisableAutoWidthOnDragging
protected

Definition at line 256 of file svdotext.hxx.

Referenced by sdr::table::SdrTableObj::SdrTableObj().

◆ mbInDownScale

bool SdrTextObj::mbInDownScale
protected

Definition at line 262 of file svdotext.hxx.

Referenced by onEditOutlinerStatusEvent().

◆ mbInEditMode

bool SdrTextObj::mbInEditMode
protected

◆ mbIsUnchainableClone

bool SdrTextObj::mbIsUnchainableClone = false
protected

Definition at line 231 of file svdotext.hxx.

Referenced by getFullDragClone(), and GetPreventChainable().

◆ mbNoShear

bool SdrTextObj::mbNoShear
protected

◆ mbTextAnimationAllowed

bool SdrTextObj::mbTextAnimationAllowed
protected

Definition at line 259 of file svdotext.hxx.

Referenced by SetTextAnimationAllowed().

◆ mbTextFrame

bool SdrTextObj::mbTextFrame
protected

◆ mbTextSizeDirty

bool SdrTextObj::mbTextSizeDirty
protected

◆ meTextKind

SdrObjKind SdrTextObj::meTextKind
protected

◆ mpEditingOutliner

SdrOutliner* SdrTextObj::mpEditingOutliner
protected

◆ mpNextInChain

SdrTextObj* SdrTextObj::mpNextInChain = nullptr
protected

Definition at line 234 of file svdotext.hxx.

Referenced by GetNextLinkInChain(), IsChainable(), and SetNextLinkInChain().

◆ mpPrevInChain

SdrTextObj* SdrTextObj::mpPrevInChain = nullptr
protected

Definition at line 235 of file svdotext.hxx.

Referenced by GetPrevLinkInChain(), and SetNextLinkInChain().

◆ mxText

rtl::Reference<SdrText> SdrTextObj::mxText
protected

Definition at line 199 of file svdotext.hxx.

Referenced by getActiveText(), getText(), and ~SdrTextObj().


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