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:
Collaboration diagram for SdrTextObj:

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 ()
sal_uInt16 GetFontScaleY () 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 SdrTextObjCloneSdrObject (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, OUString &rRet) const
virtual SdrObjectUniquePtr DoConvertToPolyObj (bool bBezier, bool bAddText) const override
void SetTextEditOutliner (SdrOutliner *pOutl)
void SetupOutlinerFormatting (SdrOutliner &rOutl, tools::Rectangle &rPaintRect) const
 Setup given Outliner equivalently to SdrTextObj::Paint() More...
void UpdateOutlinerFormatting (SdrOutliner &rOutl, tools::Rectangle &rPaintRect) const
 Update given Outliner equivalently to SdrTextObj::Paint() More...
void ForceOutlinerParaObject ()
virtual bool IsVerticalWriting () const
virtual void SetVerticalWriting (bool bVertical)
bool IsTopToBottom () const
virtual void onEditOutlinerStatusEvent (EditStatus *pEditStatus)
 called from the SdrObjEditView during text edit when the status of the edit outliner changes More...
void onChainingEvent ()
 called from the SdrObjEditView during text edit when a chain of boxes is to be updated More...
virtual bool TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const override
virtual void TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon) override
void RemoveOutlinerCharacterAttribs (const std::vector< sal_uInt16 > &rCharWhichIds)
 iterates over the paragraphs of a given SdrObject and removes all hard set character attributes with the which ids contained in the given vector More...
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
- Public Member Functions inherited from SdrAttrObj
bool HasFill () const
bool HasLine () const
virtual const tools::RectangleGetSnapRect () const override
- Public Member Functions inherited from SdrObject
const SdrObjectgetFillGeometryDefiningShape () const
 SdrObject (SdrModel &rSdrModel)
 SdrObject (SdrModel &rSdrModel, SdrObject const &rSource)
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)
const std::shared_ptr< DiagramDataInterface > & GetDiagramData () 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 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, const bool bSetChanged=true)
OUString GetName () const
void MakeNameUnique ()
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)=delete
SdrObjectoperator= (SdrObject &&rObj)=delete
virtual void AddToPlusHdlList (SdrHdlList &rHdlList, SdrHdl &rHdl) const
virtual void addCropHandles (SdrHdlList &rTarget) const
virtual bool beginSpecialDrag (SdrDragStat &rDrag) const
virtual basegfx::B2DPolyPolygon getSpecialDragPoly (const SdrDragStat &rDrag) const
virtual bool supportsFullDrag () const
virtual void NbcCrop (const basegfx::B2DPoint &rRef, double fxFact, double fyFact)
void NbcRotate (const Point &rRef, Degree100 nAngle)
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 SetSnapRect (const tools::Rectangle &rRect)
virtual void SetLogicRect (const tools::Rectangle &rRect)
virtual void AdjustToMaxRect (const tools::Rectangle &rMaxRect, bool bShrinkOnly=false)
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
void SetOutlinerParaObject (std::optional< 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 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)
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
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 ()
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)
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
void 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
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
- Public Member Functions inherited from tools::WeakBase
 WeakBase ()
virtual ~WeakBase ()
void clearWeak ()

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 ()
static void Free (SdrObject *&_rpObject)
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
virtual SdrObjectUniquePtr getFullDragClone () const override
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
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
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
virtual ~SdrObject () override
tools::Rectangle ImpDragCalcRect (const SdrDragStat &rDrag) const
OUString ImpGetDescriptionStr (TranslateId pStrCacheID) const
void ImpForcePlusData ()
OUString GetMetrStr (tools::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
const SfxItemSetgetBackgroundFillSet () const
virtual void InternalSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr, bool bBroadcast)
- 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 maRect
GeoStat maGeo
std::unique_ptr< SdrTextmpText
Size maTextSize
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
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

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
SVX_DLLPRIVATE SdrObjectUniquePtr ImpConvertContainedTextToSdrPathObjs (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 (const OUString &styleName)
 Reads the style family from a style name to which the family has been appended. More...


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 125 of file svdotext.hxx.

Constructor & Destructor Documentation

SdrTextObj::SdrTextObj ( SdrModel rSdrModel)
SdrTextObj::SdrTextObj ( SdrModel rSdrModel,
const tools::Rectangle rNewRect 
SdrTextObj::SdrTextObj ( SdrModel rSdrModel,
SdrObjKind  eNewTextKind 
SdrTextObj::SdrTextObj ( SdrModel rSdrModel,
SdrObjKind  eNewTextKind,
const tools::Rectangle rNewRect 
SdrTextObj::SdrTextObj ( SdrModel rSdrModel,
SdrTextObj const &  rSource 
SdrTextObj::~SdrTextObj ( )

Member Function Documentation

void SdrTextObj::AdaptTextMinSize ( )
void SdrTextObj::AddToHdlList ( SdrHdlList rHdlList) const
void SdrTextObj::AdjustRectToTextDistance ( tools::Rectangle rAnchorRect) const
bool SdrTextObj::AdjustTextFrameWidthAndHeight ( tools::Rectangle rR,
bool  bHgt = true,
bool  bWdt = true 
) const

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

Definition at line 43 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, maGeo, mbTextFrame, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, tools::Rectangle::Move(), mpEditingOutliner, GeoStat::nRotationAngle, Point, 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, and Size::Width().

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

Appends the style family to a provided style name.

Definition at line 437 of file svdotxat.cxx.

References comphelper::string::padToLength().

Referenced by ImpSetTextStyleSheetListeners().

bool SdrTextObj::applySpecialDrag ( SdrDragStat rDrag)
bool SdrTextObj::BckCreate ( SdrDragStat rStat)

Reimplemented from SdrObject.

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

Definition at line 225 of file svdotxdr.cxx.

bool SdrTextObj::BegCreate ( SdrDragStat rStat)

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 SdrEdgeObj, sdr::table::SdrTableObj, SdrCircObj, SdrCaptionObj, SdrMeasureObj, and SdrPathObj.

Definition at line 182 of file svdotxdr.cxx.

References SdrDragStat::GetNow(), SdrDragStat::GetStart(), tools::Rectangle::Justify(), maRect, SdrDragStat::SetActionRect(), and SdrDragStat::SetOrtho4Possible().

bool SdrTextObj::BegTextEdit ( SdrOutliner rOutl)
void SdrTextObj::BrkCreate ( SdrDragStat rStat)

Reimplemented from SdrObject.

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

Definition at line 221 of file svdotxdr.cxx.

bool SdrTextObj::CalcFieldValue ( const SvxFieldItem rField,
sal_Int32  nPara,
sal_uInt16  nPos,
bool  bEdit,
std::optional< Color > &  rpTxtColor,
std::optional< Color > &  rpFldColor,
OUString &  rRet 
) const

Reimplemented in SdrMeasureObj.

Definition at line 22 of file svdotxfl.cxx.

Referenced by SdrOutliner::CalcFieldValue(), SdrMeasureObj::CalcFieldValue(), and IMPL_LINK().

bool SdrTextObj::CanCreateEditOutlinerParaObject ( ) const
sal_Int32 SdrTextObj::CheckTextHit ( const Point rPnt) const

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

Reimplemented in sdr::table::SdrTableObj.

Definition at line 2100 of file svdotext.cxx.

SdrTextObj * SdrTextObj::CloneSdrObject ( SdrModel rTargetModel) const
std::optional< OutlinerParaObject > SdrTextObj::CreateEditOutlinerParaObject ( ) const
std::unique_ptr< sdr::properties::BaseProperties > SdrTextObj::CreateObjectSpecificProperties ( )
std::unique_ptr< sdr::contact::ViewContact > SdrTextObj::CreateObjectSpecificViewContact ( )
SdrObjectUniquePtr SdrTextObj::DoConvertToPolyObj ( bool  bBezier,
bool  bAddText 
) const

Reimplemented from SdrObject.

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

Definition at line 408 of file svdotxtr.cxx.

bool SdrTextObj::EndCreate ( SdrDragStat rStat,
SdrCreateCmd  eCmd 
void SdrTextObj::EndTextEdit ( SdrOutliner rOutl)
void SdrTextObj::FitFrameToTextSize ( )
void SdrTextObj::ForceOutlinerParaObject ( )
SdrText * SdrTextObj::getActiveText ( ) const
double SdrTextObj::GetCameraZRotation ( ) const
PointerStyle SdrTextObj::GetCreatePointer ( ) const

get the cursor/pointer that signals creating this object

Reimplemented from SdrObject.

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

Definition at line 242 of file svdotxdr.cxx.

References IsTextFrame().

tools::Long SdrTextObj::GetEckenradius ( ) const
drawing::TextFitToSizeType SdrTextObj::GetFitToSize ( ) const

Definition at line 1434 of file svdotext.cxx.

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

Referenced by IsAutoFit(), and IsFitToSize().

sal_uInt16 SdrTextObj::GetFontScaleY ( ) const
SdrObjectUniquePtr SdrTextObj::getFullDragClone ( ) const

Reimplemented from SdrObject.

Reimplemented in SdrEdgeObj, SdrGrafObj, and SdrOle2Obj.

Definition at line 2050 of file svdotext.cxx.

References SdrObject::getFullDragClone(), and mbIsUnchainableClone.

Referenced by SdrGrafObj::getFullDragClone().

const tools::Rectangle & SdrTextObj::GetGeoRect ( ) const
const GeoStat& SdrTextObj::GetGeoStat ( ) const
sal_uInt32 SdrTextObj::GetHdlCount ( ) const

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, SdrEdgeObj, sdr::table::SdrTableObj, SdrGrafObj, SdrCircObj, SdrCaptionObj, SdrMeasureObj, SdrRectObj, and SdrPathObj.

Definition at line 36 of file svdotxdr.cxx.

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

ImpSdrObjTextLinkUserData * SdrTextObj::GetLinkUserData ( ) const
const tools::Rectangle & SdrTextObj::GetLogicRect ( ) const
tools::Long SdrTextObj::GetMaxTextFrameHeight ( ) const
tools::Long SdrTextObj::GetMaxTextFrameWidth ( ) const
tools::Long SdrTextObj::GetMinTextFrameHeight ( ) const
tools::Long SdrTextObj::GetMinTextFrameWidth ( ) const
SdrTextObj * SdrTextObj::GetNextLinkInChain ( ) const
SdrObjKind SdrTextObj::GetObjIdentifier ( ) const
OutlinerParaObject * SdrTextObj::GetOutlinerParaObject ( ) const
EEAnchorMode SdrTextObj::GetOutlinerViewAnchorMode ( ) const
bool SdrTextObj::GetPreventChainable ( ) const
SdrTextObj * SdrTextObj::GetPrevLinkInChain ( ) const
Degree100 SdrTextObj::GetRotateAngle ( ) const

Reimplemented from SdrObject.

Reimplemented in SdrMeasureObj.

Definition at line 84 of file svdotxtr.cxx.

Referenced by EnhancedCustomShape3d::Create3DObject(), and SdrObjEditView::SdrEndTextEdit().

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

Reimplemented from SdrObject.

Definition at line 89 of file svdotxtr.cxx.

Point SdrTextObj::GetSnapPoint ( sal_uInt32  i) const
sal_uInt32 SdrTextObj::GetSnapPointCount ( ) const

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

Reimplemented from SdrObject.

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

Definition at line 1124 of file svdotext.cxx.

OUString SdrTextObj::getSpecialDragComment ( const SdrDragStat rDrag) const
SdrText * SdrTextObj::getText ( sal_Int32  nIndex) const
SdrTextAniDirection SdrTextObj::GetTextAniDirection ( ) const
SdrTextAniKind SdrTextObj::GetTextAniKind ( ) const
TextChain * SdrTextObj::GetTextChain ( ) const
sal_Int16 SdrTextObj::GetTextColumnsNumber ( ) const
sal_Int32 SdrTextObj::GetTextColumnsSpacing ( ) const
sal_Int32 SdrTextObj::getTextCount ( ) const

returns the number of texts available for this object.

Implements svx::ITextProvider.

Reimplemented in sdr::table::SdrTableObj.

Definition at line 2089 of file svdotext.cxx.

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

const Point& SdrTextObj::GetTextEditOffset ( ) const
SVX_DLLPRIVATE SdrOutliner* SdrTextObj::GetTextEditOutliner ( ) const
SdrTextHorzAdjust SdrTextObj::GetTextHorizontalAdjust ( const SfxItemSet rSet) const
SdrTextHorzAdjust SdrTextObj::GetTextHorizontalAdjust ( ) const
SdrObjKind SdrTextObj::GetTextKind ( ) const
tools::Long SdrTextObj::GetTextLeftDistance ( ) const
tools::Long SdrTextObj::GetTextLowerDistance ( ) const
tools::Long SdrTextObj::GetTextRightDistance ( ) const
GDIMetaFile * SdrTextObj::GetTextScrollMetaFileAndRectangle ( tools::Rectangle rScrollRectangle,
tools::Rectangle rPaintRectangle 
const Size & SdrTextObj::GetTextSize ( ) const
tools::Long SdrTextObj::GetTextUpperDistance ( ) const
SdrTextVertAdjust SdrTextObj::GetTextVerticalAdjust ( const SfxItemSet rSet) const
SdrTextVertAdjust SdrTextObj::GetTextVerticalAdjust ( ) const
void SdrTextObj::handlePageChange ( SdrPage pOldPage,
SdrPage pNewPage 
bool SdrTextObj::hasSpecialDrag ( ) const

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 SdrEdgeObj, sdr::table::SdrTableObj, SdrObjCustomShape, SdrCircObj, SdrCaptionObj, SdrMeasureObj, SdrRectObj, SdrPathObj, and SdrUnoObj.

Definition at line 67 of file svdotxdr.cxx.

bool SdrTextObj::HasText ( ) const
bool SdrTextObj::HasTextColumnsNumber ( ) const
bool SdrTextObj::HasTextColumnsSpacing ( ) const
bool SdrTextObj::HasTextEdit ( ) const

Reimplemented from SdrObject.

Reimplemented in SdrMediaObj.

Definition at line 34 of file svdotxed.cxx.

bool SdrTextObj::HasTextImpl ( SdrOutliner const *  pOutliner)

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 468 of file svdotext.cxx.

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

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

void SdrTextObj::ImpAutoFitText ( SdrOutliner rOutliner) const
void SdrTextObj::ImpAutoFitText ( SdrOutliner rOutliner,
const Size rShapeSize,
bool  bIsVerticalWriting 
) const
bool SdrTextObj::ImpCanConvTextToCurve ( ) const
void SdrTextObj::ImpCheckShear ( )
SdrObjectUniquePtr SdrTextObj::ImpConvertAddText ( SdrObjectUniquePtr  pObj,
bool  bBezier 
) const
SdrObjectUniquePtr SdrTextObj::ImpConvertContainedTextToSdrPathObjs ( bool  bToPoly) const
SdrPathObjUniquePtr SdrTextObj::ImpConvertMakeObj ( const basegfx::B2DPolyPolygon rPolyPolygon,
bool  bClosed,
bool  bBezier 
) const
void SdrTextObj::impDecomposeAutoFitTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D rSdrAutofitTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const
void SdrTextObj::impDecomposeBlockTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrBlockTextPrimitive2D rSdrBlockTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const

Definition at line 903 of file svdotextdecomposition.cxx.

References Outliner::Clear(), basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), basegfx::utils::createTranslateB2DHomMatrix(), basegfx::B2DHomMatrix::decompose(), basegfx::deg2rad(), EE_PARA_JUST(), basegfx::B2DRange::expand(), FRound(), Outliner::GetBackgroundColor(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getCellText(), Outliner::GetControlWord(), basegfx::B2DRange::getHeight(), drawinglayer::primitive2d::SdrTextPrimitive2D::getOutlinerParaObject(), Outliner::GetPaperSize(), GetSdrPageFromXDrawPage(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getSdrTextHorzAdjust(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getSdrTextVertAdjust(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getTextRangeTransform(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getUnlimitedPage(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), basegfx::B2DRange::getWidth(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::getWordWrap(), Tuple2D< double >::getX(), Tuple2D< double >::getY(), OutlinerParaObject::IsEffectivelyVertical(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::isFixedCellHeight(), OutlinerParaObject::IsTopToBottom(), basegfx::fTools::less(), 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(), Outliner::SetText(), Outliner::SetUpdateLayout(), SdrOutliner::setVisualizedPage(), and Size::setWidth().

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

void SdrTextObj::impDecomposeBlockTextPrimitiveDirect ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
SdrOutliner rOutliner,
const basegfx::B2DHomMatrix rNewTransformA,
const basegfx::B2DHomMatrix rNewTransformB,
const basegfx::B2DRange rClipRange 
void SdrTextObj::impDecomposeChainedTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrChainedTextPrimitive2D rSdrChainedTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const
void SdrTextObj::impDecomposeContourTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrContourTextPrimitive2D rSdrContourTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const
void SdrTextObj::impDecomposePathTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrPathTextPrimitive2D rSdrPathTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const
void SdrTextObj::impDecomposeStretchTextPrimitive ( drawinglayer::primitive2d::Primitive2DContainer rTarget,
const drawinglayer::primitive2d::SdrStretchTextPrimitive2D rSdrStretchTextPrimitive,
const drawinglayer::geometry::ViewInformation2D aViewInformation 
) const
void SdrTextObj::ImpDeregisterLink ( )
tools::Rectangle SdrTextObj::ImpDragCalcRect ( const SdrDragStat rDrag) const
void SdrTextObj::impGetBlinkTextTiming ( drawinglayer::animation::AnimationEntryList rAnimList) const
SdrOutliner & SdrTextObj::ImpGetDrawOutliner ( ) const
void SdrTextObj::impGetScrollTextTiming ( drawinglayer::animation::AnimationEntryList rAnimList,
double  fFrameLength,
double  fTextLength 
) const
void SdrTextObj::impHandleChainingEventsDuringDecomposition ( SdrOutliner rOutliner) const
void SdrTextObj::ImpInitDrawOutliner ( SdrOutliner rOutl) const
void SdrTextObj::ImpJustifyRect ( tools::Rectangle rRect)
void SdrTextObj::ImpRegisterLink ( )
void SdrTextObj::ImpSetCharStretching ( SdrOutliner rOutliner,
const Size rTextSize,
const Size rShapeSize,
Fraction rFitXCorrection 
void SdrTextObj::ImpSetContourPolygon ( SdrOutliner rOutliner,
tools::Rectangle const &  rAnchorRect,
bool  bLineWidth 
) const
void SdrTextObj::ImpSetTextEditParams ( ) const
void SdrTextObj::ImpSetTextStyleSheetListeners ( )
void SdrTextObj::ImpSetupDrawOutlinerForPaint ( bool  bContourFrame,
SdrOutliner rOutliner,
tools::Rectangle rTextRect,
tools::Rectangle rAnchorRect,
tools::Rectangle rPaintRect,
Fraction aFitXCorrection 
) const
bool SdrTextObj::IsAutoFit ( ) const

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

Definition at line 1853 of file svdotext.cxx.

References GetFitToSize().

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

bool SdrTextObj::IsAutoGrowHeight ( ) const
bool SdrTextObj::IsAutoGrowWidth ( ) const
bool SdrTextObj::IsChainable ( ) const
bool SdrTextObj::IsContourTextFrame ( ) const
bool SdrTextObj::IsFitToSize ( ) const
bool SdrTextObj::IsFontwork ( ) const
bool SdrTextObj::IsHideContour ( ) const
bool SdrTextObj::IsInEditMode ( ) const
bool SdrTextObj::IsLinkedText ( ) const
bool SdrTextObj::IsOutlText ( ) const
bool SdrTextObj::IsReallyEdited ( ) const

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

Reimplemented in sdr::table::SdrTableObj.

Definition at line 1687 of file svdotext.cxx.

References Outliner::IsModified(), and mpEditingOutliner.

Referenced by SvxTextEditSourceImpl::GetBackgroundTextForwarder().

bool SdrTextObj::IsTextEditActive ( ) const
bool SdrTextObj::IsTextFrame ( ) const
bool SdrTextObj::IsTopToBottom ( ) const
bool SdrTextObj::IsVerticalWriting ( ) const
bool SdrTextObj::LoadText ( const OUString &  rFileName,
rtl_TextEncoding  eCharSet 
bool SdrTextObj::MovCreate ( SdrDragStat rStat)
bool SdrTextObj::NbcAdjustTextFrameWidthAndHeight ( bool  bHgt = true,
bool  bWdt = true 
void SdrTextObj::NbcMirror ( const Point rRef1,
const Point rRef2 
void SdrTextObj::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.

Derived classes should usually only override the Nbc methods. Nbc means "no broadcast".

Reimplemented from SdrObject.

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

Definition at line 94 of file svdotxtr.cxx.

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

void SdrTextObj::NbcReformatText ( )
void SdrTextObj::NbcResize ( const Point rRef,
const Fraction xFact,
const Fraction yFact 
void SdrTextObj::NbcRotate ( const Point rRef,
Degree100  nAngle,
double  sn,
double  cs 
void SdrTextObj::NbcSetEckenradius ( tools::Long  nRad)

Definition at line 510 of file svdotext.cxx.

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

Referenced by SdrRectObj::applySpecialDrag().

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

Reimplemented from SdrObject.

Reimplemented in sdr::table::SdrTableObj, SdrObjCustomShape, SdrOle2Obj, SdrCaptionObj, and SdrRectObj.

Definition at line 74 of file svdotxtr.cxx.

Referenced by applySpecialDrag(), SdrRectObj::NbcSetLogicRect(), and RestoreGeoData().

void SdrTextObj::NbcSetOutlinerParaObject ( std::optional< OutlinerParaObject pTextObject)
void SdrTextObj::NbcSetOutlinerParaObjectForText ( std::optional< OutlinerParaObject pTextObject,
SdrText pText 
void SdrTextObj::NbcSetSnapRect ( const tools::Rectangle rRect)
void SdrTextObj::NbcSetText ( const OUString &  rStr)
void SdrTextObj::NbcSetText ( SvStream rInput,
const OUString &  rBaseURL,
EETextFormat  eFormat 
void SdrTextObj::NbcShear ( const Point rRef,
Degree100  nAngle,
double  tn,
bool  bVShear 
std::unique_ptr< SdrObjGeoData > SdrTextObj::NewGeoData ( ) const

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 SdrEdgeObj, sdr::table::SdrTableObj, SdrObjCustomShape, SdrGrafObj, SdrCircObj, SdrCaptionObj, SdrPathObj, and SdrMeasureObj.

Definition at line 1412 of file svdotext.cxx.

void SdrTextObj::onChainingEvent ( )
void SdrTextObj::onEditOutlinerStatusEvent ( EditStatus pEditStatus)

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

Reimplemented in sdr::table::SdrTableObj.

Definition at line 1875 of file svdotext.cxx.

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

Referenced by IMPL_LINK().

SfxStyleFamily SdrTextObj::ReadFamilyFromStyleName ( const OUString &  styleName)

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

Definition at line 446 of file svdotxat.cxx.

References comphelper::string::stripEnd().

Referenced by ImpSetTextStyleSheetListeners().

void SdrTextObj::RecalcSnapRect ( )

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 SdrEdgeObj, sdr::table::SdrTableObj, SdrMeasureObj, SdrCircObj, SdrRectObj, and SdrPathObj.

Definition at line 1114 of file svdotext.cxx.

References tools::Polygon::GetBoundRect(), maGeo, maRect, SdrAttrObj::maSnapRect, GeoStat::nRotationAngle, GeoStat::nShearAngle, and Rect2Poly().

Referenced by SdrRectObj::RecalcSnapRect().

void SdrTextObj::ReleaseTextLink ( )
bool SdrTextObj::ReloadLinkedText ( bool  bForceLoad)
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 378 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().

void SdrTextObj::RestoreGeoData ( const SdrObjGeoData rGeo)
void SdrTextObj::SaveGeoData ( SdrObjGeoData rGeo) const
void SdrTextObj::setActiveText ( sal_Int32  nIndex)

changes the current active text

Reimplemented in sdr::table::SdrTableObj.

Definition at line 2095 of file svdotext.cxx.

void SdrTextObj::SetDisableAutoWidthOnDragging ( bool  bOn)

Definition at line 374 of file svdotext.hxx.

void SdrTextObj::SetNextLinkInChain ( SdrTextObj pNextObj)

Definition at line 2006 of file svdotext.cxx.

References mpNextInChain, and mpPrevInChain.

Referenced by ImpUpdateChainLinks().

void SdrTextObj::SetObjectItemNoBroadcast ( const SfxPoolItem rItem)

Definition at line 2105 of file svdotext.cxx.

References SdrObject::GetProperties().

void SdrTextObj::SetText ( const OUString &  rStr)
void SdrTextObj::SetText ( SvStream rInput,
const OUString &  rBaseURL,
EETextFormat  eFormat 
void SdrTextObj::SetTextAnimationAllowed ( bool  bNew)
void SdrTextObj::SetTextColumnsNumber ( sal_Int16  nColumns)
void SdrTextObj::SetTextColumnsSpacing ( sal_Int32  nSpacing)
void SdrTextObj::SetTextEditOffset ( const Point rNew)

Definition at line 205 of file svdotext.hxx.

void SdrTextObj::SetTextEditOutliner ( SdrOutliner pOutl)

Definition at line 504 of file svdotext.hxx.

void SdrTextObj::SetTextLink ( const OUString &  rFileName,
const OUString &  rFilterName 
void SdrTextObj::SetTextSizeDirty ( )
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.

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 1300 of file svdotext.cxx.

References ImpInitDrawOutliner(), and UpdateOutlinerFormatting().

Referenced by SvxTextEditSourceImpl::SetupOutliner().

void SdrTextObj::SetVerticalWriting ( bool  bVertical)
basegfx::B2DPolyPolygon SdrTextObj::TakeContour ( ) const
basegfx::B2DPolyPolygon SdrTextObj::TakeCreatePoly ( const SdrDragStat rDrag) const
void SdrTextObj::TakeObjInfo ( SdrObjTransformInfoRec rInfo) const
OUString SdrTextObj::TakeObjNamePlural ( ) const
OUString SdrTextObj::TakeObjNameSingul ( ) const
void SdrTextObj::TakeTextAnchorRect ( ::tools::Rectangle rAnchorRect) const
void SdrTextObj::TakeTextEditArea ( Size pPaperMin,
Size pPaperMax,
tools::Rectangle pViewInit,
tools::Rectangle pViewMin 
) const
void SdrTextObj::TakeTextRect ( SdrOutliner rOutliner,
tools::Rectangle rTextRect,
bool  bNoEditText,
tools::Rectangle pAnchorRect,
bool  bLineWidth = true 
) const

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

Definition at line 691 of file svdotext.cxx.

References 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(), ImpSetContourPolygon(), IsChainable(), IsContourTextFrame(), IsFitToSize(), IsInEditMode(), IsTextFrame(), IsVerticalWriting(), Left, maGeo, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, mpEditingOutliner, GeoStat::nRotationAngle, Point, 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(), and Up.

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

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

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

Definition at line 628 of file svdotext.cxx.

References maRect.

Referenced by TakeTextAnchorRect().

basegfx::B2DPolyPolygon SdrTextObj::TakeXorPoly ( ) const

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 SdrEdgeObj, SdrObjCustomShape, SdrCircObj, SdrCaptionObj, SdrMeasureObj, SdrRectObj, and SdrPathObj.

Definition at line 1076 of file svdotext.cxx.

References basegfx::B2DPolyPolygon::append(), tools::Polygon::getB2DPolygon(), maGeo, maRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, GeoStat::nRotationAngle, GeoStat::nShearAngle, RotatePoly(), ShearPoly(), and tools::Rectangle::TopLeft().

Referenced by ImpSetContourPolygon().

bool SdrTextObj::TRGetBaseGeometry ( basegfx::B2DHomMatrix rMatrix,
basegfx::B2DPolyPolygon rPolyPolygon 
) const
void SdrTextObj::TRSetBaseGeometry ( const basegfx::B2DHomMatrix rMatrix,
const basegfx::B2DPolyPolygon rPolyPolygon 
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.

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 1306 of file svdotext.cxx.

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

Referenced by GetFontScaleY(), SetupOutlinerFormatting(), and SvxTextEditSourceImpl::UpdateOutliner().

Friends And Related Function Documentation

friend class ::SdrTextObjTest

Definition at line 630 of file svdotext.hxx.

friend class EditingTextChainFlow

Definition at line 134 of file svdotext.hxx.

friend class ImpSdrObjTextLink

Definition at line 155 of file svdotext.hxx.

Referenced by ImpRegisterLink().

friend class ImpSdrObjTextLinkUserData

Definition at line 156 of file svdotext.hxx.

Referenced by SetTextLink().

friend class sdr::properties::CellProperties

Definition at line 153 of file svdotext.hxx.

Definition at line 137 of file svdotext.hxx.

friend class sdr::properties::TextProperties

Definition at line 152 of file svdotext.hxx.

friend class sdr::table::Cell

Definition at line 129 of file svdotext.hxx.

friend class sdr::table::SdrTableRtfExporter

Definition at line 130 of file svdotext.hxx.

friend class sdr::table::SdrTableRTFParser

Definition at line 131 of file svdotext.hxx.

friend class SdrExchangeView

Definition at line 158 of file svdotext.hxx.

friend class SdrMeasureObj

Definition at line 161 of file svdotext.hxx.

friend class SdrObjCustomShape

Definition at line 163 of file svdotext.hxx.

friend class SdrObjEditView

Definition at line 160 of file svdotext.hxx.

friend class SdrPowerPointImport

Definition at line 157 of file svdotext.hxx.

friend class SdrText

Definition at line 164 of file svdotext.hxx.

friend class SdrView

Definition at line 159 of file svdotext.hxx.

friend class SvxMSDffManager

Definition at line 162 of file svdotext.hxx.

friend class TextChain

Definition at line 132 of file svdotext.hxx.

friend class TextChainFlow

Definition at line 133 of file svdotext.hxx.

Member Data Documentation

GeoStat SdrTextObj::maGeo

Definition at line 173 of file svdotext.hxx.

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

tools::Rectangle SdrTextObj::maRect

Definition at line 170 of file svdotext.hxx.

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

Point SdrTextObj::maTextEditOffset

Definition at line 198 of file svdotext.hxx.

Referenced by SdrTextObj().

Size SdrTextObj::maTextSize
bool SdrTextObj::mbDisableAutoWidthOnDragging
bool SdrTextObj::mbInDownScale

Definition at line 239 of file svdotext.hxx.

Referenced by onEditOutlinerStatusEvent(), and SdrTextObj().

bool SdrTextObj::mbInEditMode
bool SdrTextObj::mbIsUnchainableClone = false

Definition at line 208 of file svdotext.hxx.

Referenced by getFullDragClone(), and GetPreventChainable().

bool SdrTextObj::mbNoShear
bool SdrTextObj::mbTextAnimationAllowed

Definition at line 236 of file svdotext.hxx.

Referenced by SdrTextObj(), and SetTextAnimationAllowed().

bool SdrTextObj::mbTextFrame
bool SdrTextObj::mbTextSizeDirty
SdrObjKind SdrTextObj::meTextKind
SdrOutliner* SdrTextObj::mpEditingOutliner
SdrTextObj* SdrTextObj::mpNextInChain = nullptr

Definition at line 211 of file svdotext.hxx.

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

SdrTextObj* SdrTextObj::mpPrevInChain = nullptr

Definition at line 212 of file svdotext.hxx.

Referenced by GetPrevLinkInChain(), and SetNextLinkInChain().

std::unique_ptr<SdrText> SdrTextObj::mpText

Definition at line 176 of file svdotext.hxx.

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

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