LibreOffice Module svx (master)
1
|
#include <svdotext.hxx>
Public Member Functions | |
const Point & | GetTextEditOffset () const |
void | SetTextEditOffset (const Point &rNew) |
bool | IsInEditMode () const |
void | SetTextLink (const OUString &rFileName, const OUString &rFilterName) |
void | ReleaseTextLink () |
bool | IsLinkedText () const |
bool | ReloadLinkedText (bool bForceLoad) |
bool | LoadText (const OUString &rFileName, rtl_TextEncoding eCharSet) |
virtual bool | AdjustTextFrameWidthAndHeight (tools::Rectangle &rR, bool bHgt=true, bool bWdt=true) const |
virtual bool | NbcAdjustTextFrameWidthAndHeight (bool bHgt=true, bool bWdt=true) |
virtual bool | AdjustTextFrameWidthAndHeight () |
bool | IsTextFrame () const |
bool | IsOutlText () const |
bool | IsAutoFit () const |
returns true if the PPT autofit of text into shape bounds is enabled. implies IsFitToSize()==false! More... | |
bool | IsFitToSize () const |
returns true if the old feature for fitting shape content should into shape is enabled. implies IsAutoFit()==false! More... | |
SdrTextObj * | GetNextLinkInChain () const |
void | SetNextLinkInChain (SdrTextObj *) |
SdrTextObj * | GetPrevLinkInChain () const |
bool | IsChainable () const |
bool | GetPreventChainable () const |
TextChain * | GetTextChain () const |
SdrObjKind | GetTextKind () const |
virtual bool | HasText () const override |
bool | IsTextEditActive () const |
virtual SdrText * | getActiveText () const |
returns the currently active text. More... | |
virtual SdrText * | getText (sal_Int32 nIndex) const override |
returns the nth available text. More... | |
virtual sal_Int32 | getTextCount () const override |
returns the number of texts available for this object. More... | |
virtual bool | IsReallyEdited () const |
returns true only if we are in edit mode and the user actually changed anything More... | |
virtual void | setActiveText (sal_Int32 nIndex) |
changes the current active text More... | |
virtual sal_Int32 | CheckTextHit (const Point &rPnt) const |
returns the index of the text that contains the given point or -1 More... | |
void | SetDisableAutoWidthOnDragging (bool bOn) |
void | NbcSetText (const OUString &rStr) |
void | SetText (const OUString &rStr) |
void | NbcSetText (SvStream &rInput, const OUString &rBaseURL, EETextFormat eFormat) |
void | SetText (SvStream &rInput, const OUString &rBaseURL, EETextFormat eFormat) |
virtual const Size & | GetTextSize () const |
void | FitFrameToTextSize () |
double | GetFontScaleY () const |
virtual void | TakeTextRect (SdrOutliner &rOutliner, tools::Rectangle &rTextRect, bool bNoEditText, tools::Rectangle *pAnchorRect, bool bLineWidth=true) const |
virtual void | TakeTextAnchorRect (::tools::Rectangle &rAnchorRect) const |
const GeoStat & | GetGeoStat () const |
tools::Long | GetEckenradius () const |
virtual bool | IsAutoGrowHeight () const |
tools::Long | GetMinTextFrameHeight () const |
tools::Long | GetMaxTextFrameHeight () const |
virtual bool | IsAutoGrowWidth () const |
tools::Long | GetMinTextFrameWidth () const |
tools::Long | GetMaxTextFrameWidth () const |
css::drawing::TextFitToSizeType | GetFitToSize () const |
const tools::Rectangle & | GetGeoRect () const |
virtual bool | IsFontwork () const |
bool | IsHideContour () const |
bool | IsContourTextFrame () const |
SdrTextHorzAdjust | GetTextHorizontalAdjust (const SfxItemSet &rSet) const |
SdrTextHorzAdjust | GetTextHorizontalAdjust () const |
SdrTextVertAdjust | GetTextVerticalAdjust (const SfxItemSet &rSet) const |
SdrTextVertAdjust | GetTextVerticalAdjust () const |
tools::Long | GetTextLeftDistance () const |
Left inner spacing to borders. More... | |
tools::Long | GetTextRightDistance () const |
Right inner spacing to borders. More... | |
tools::Long | GetTextUpperDistance () const |
Top inner spacing to borders. More... | |
tools::Long | GetTextLowerDistance () const |
Bottom inner spacing to borders. More... | |
SdrTextAniKind | GetTextAniKind () const |
SdrTextAniDirection | GetTextAniDirection () const |
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 SdrTextObj * | CloneSdrObject (SdrModel &rTargetModel) const override |
virtual basegfx::B2DPolyPolygon | TakeXorPoly () const override |
The Xor-Polygon is required by the View to drag the object. More... | |
virtual basegfx::B2DPolyPolygon | TakeContour () const override |
contour for TextToContour More... | |
virtual void | RecalcSnapRect () override |
Snap is not done on the BoundRect but if possible on logic coordinates (i.e. More... | |
virtual void | NbcSetSnapRect (const tools::Rectangle &rRect) override |
virtual void | NbcSetLogicRect (const tools::Rectangle &rRect) override |
virtual const tools::Rectangle & | GetLogicRect () const override |
virtual Degree100 | GetRotateAngle () const override |
virtual Degree100 | GetShearAngle (bool bVertical=false) const override |
virtual sal_uInt32 | GetSnapPointCount () const override |
snap to special points of an Object (polygon points, center of circle) More... | |
virtual Point | GetSnapPoint (sal_uInt32 i) const override |
virtual sal_uInt32 | GetHdlCount () const override |
Via GetHdlCount the number of Handles can be retrieved. More... | |
virtual void | AddToHdlList (SdrHdlList &rHdlList) const override |
virtual bool | hasSpecialDrag () const override |
The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPoly(),...). More... | |
virtual bool | applySpecialDrag (SdrDragStat &rDrag) override |
virtual OUString | getSpecialDragComment (const SdrDragStat &rDrag) const override |
virtual bool | BegCreate (SdrDragStat &rStat) override |
Every object must be able to create itself interactively. More... | |
virtual bool | MovCreate (SdrDragStat &rStat) override |
virtual bool | EndCreate (SdrDragStat &rStat, SdrCreateCmd eCmd) override |
virtual bool | BckCreate (SdrDragStat &rStat) override |
virtual void | BrkCreate (SdrDragStat &rStat) override |
virtual basegfx::B2DPolyPolygon | TakeCreatePoly (const SdrDragStat &rDrag) const override |
Polygon dragged by the user when creating the object. More... | |
virtual PointerStyle | GetCreatePointer () const override |
get the cursor/pointer that signals creating this object More... | |
virtual void | NbcMove (const Size &rSiz) override |
The methods Move, Resize, Rotate, Mirror, Shear, SetSnapRect and SetLogicRect call the corresponding Nbc-methods, send a Repaint broadcast and set the Modified state on the Model. More... | |
virtual void | NbcResize (const Point &rRef, const Fraction &xFact, const Fraction &yFact) override |
virtual void | NbcRotate (const Point &rRef, Degree100 nAngle, double sn, double cs) override |
virtual void | NbcMirror (const Point &rRef1, const Point &rRef2) override |
virtual void | NbcShear (const Point &rRef, Degree100 nAngle, double tn, bool bVShear) override |
virtual bool | HasTextEdit () const override |
virtual bool | BegTextEdit (SdrOutliner &rOutl) |
virtual void | TakeTextEditArea (Size *pPaperMin, Size *pPaperMax, tools::Rectangle *pViewInit, tools::Rectangle *pViewMin) const |
virtual void | EndTextEdit (SdrOutliner &rOutl) |
virtual EEAnchorMode | GetOutlinerViewAnchorMode () const |
virtual void | NbcSetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject) override |
void | NbcSetOutlinerParaObjectForText (std::unique_ptr< OutlinerParaObject > pTextObject, SdrText *pText) |
virtual OutlinerParaObject * | GetOutlinerParaObject () const override |
bool | CanCreateEditOutlinerParaObject () const |
std::unique_ptr< OutlinerParaObject > | CreateEditOutlinerParaObject () const |
virtual void | NbcReformatText () override |
virtual bool | CalcFieldValue (const SvxFieldItem &rField, sal_Int32 nPara, sal_uInt16 nPos, bool bEdit, std::optional< Color > &rpTxtColor, std::optional< Color > &rpFldColor, 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) |
virtual void | onEditOutlinerStatusEvent (EditStatus *pEditStatus) |
called from the SdrObjEditView during text edit when the status of the edit outliner changes More... | |
void | onChainingEvent () |
called from the SdrObjEditView during text edit when a chain of boxes is to be updated More... | |
virtual bool | TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const override |
virtual void | TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon) override |
void | RemoveOutlinerCharacterAttribs (const std::vector< sal_uInt16 > &rCharWhichIds) |
iterates over the paragraphs of a given SdrObject and removes all hard set character attributes with the which ids contained in the given vector More... | |
GDIMetaFile * | GetTextScrollMetaFileAndRectangle (tools::Rectangle &rScrollRectangle, tools::Rectangle &rPaintRectangle) |
void | SetTextAnimationAllowed (bool bNew) |
void | SetObjectItemNoBroadcast (const SfxPoolItem &rItem) |
double | GetCameraZRotation () const |
void | impDecomposeContourTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrContourTextPrimitive2D &rSdrContourTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impDecomposePathTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrPathTextPrimitive2D &rSdrPathTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impDecomposeBlockTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrBlockTextPrimitive2D &rSdrBlockTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impDecomposeAutoFitTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D &rSdrAutofitTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impDecomposeStretchTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrStretchTextPrimitive2D &rSdrStretchTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impDecomposeChainedTextPrimitive (drawinglayer::primitive2d::Primitive2DContainer &rTarget, const drawinglayer::primitive2d::SdrChainedTextPrimitive2D &rSdrChainedTextPrimitive, const drawinglayer::geometry::ViewInformation2D &aViewInformation) const |
void | impHandleChainingEventsDuringDecomposition (SdrOutliner &rOutliner) const |
void | impGetBlinkTextTiming (drawinglayer::animation::AnimationEntryList &rAnimList) const |
void | impGetScrollTextTiming (drawinglayer::animation::AnimationEntryList &rAnimList, double fFrameLength, double fTextLength) const |
![]() | |
bool | HasFill () const |
bool | HasLine () const |
virtual const tools::Rectangle & | GetSnapRect () const override |
![]() | |
const SdrObject * | getFillGeometryDefiningShape () const |
SdrObject (SdrModel &rSdrModel) | |
SdrObject (SdrModel &rSdrModel, SdrObject const &rSource) | |
SdrPage * | getSdrPageFromSdrObject () const |
SdrModel & | getSdrModelFromSdrObject () const |
virtual SdrObjList * | getChildrenOfSdrObject () const |
SdrObjList * | getParentSdrObjListFromSdrObject () const |
SdrObject * | getParentSdrObjectFromSdrObject () const |
void | AddObjectUser (sdr::ObjectUser &rNewUser) |
void | RemoveObjectUser (sdr::ObjectUser &rOldUser) |
sdr::contact::ViewContact & | GetViewContact () const |
virtual sdr::properties::BaseProperties & | GetProperties () const |
void | ActionChanged () const |
void | SetRelativeWidth (double nValue) |
void | SetRelativeWidthRelation (sal_Int16 eValue) |
void | SetRelativeHeight (double nValue) |
void | SetRelativeHeightRelation (sal_Int16 eValue) |
const double * | GetRelativeWidth () const |
sal_Int16 | GetRelativeWidthRelation () const |
const double * | GetRelativeHeight () const |
sal_Int16 | GetRelativeHeightRelation () const |
void | SetDiagramData (std::shared_ptr< DiagramDataInterface > pDiagramData) |
const std::shared_ptr< DiagramDataInterface > & | GetDiagramData () const |
virtual void | SetRectsDirty (bool bNotMyself=false, bool bRecursive=true) |
virtual void | SetBoundRectDirty () |
SfxItemPool & | GetObjectItemPool () const |
void | AddListener (SfxListener &rListener) |
void | RemoveListener (SfxListener &rListener) |
void | AddReference (SdrVirtObj &rVrtObj) |
void | DelReference (SdrVirtObj &rVrtObj) |
virtual SdrInventor | GetObjInventor () const |
virtual 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 SdrObjList * | GetSubList () const |
sal_uInt32 | GetOrdNum () const |
The order number (aka ZOrder, aka z-index) determines whether a SdrObject is located above or below another. More... | |
void | SetOrdNum (sal_uInt32 nNum) |
void | GetGrabBagItem (css::uno::Any &rVal) const |
void | SetGrabBagItem (const css::uno::Any &rVal) |
sal_uInt32 | GetNavigationPosition () const |
virtual const tools::Rectangle & | GetCurrentBoundRect () const |
virtual const tools::Rectangle & | GetLastBoundRect () const |
virtual void | RecalcBoundRect () |
void | BroadcastObjectChange () const |
const SfxBroadcaster * | GetBroadcaster () const |
virtual void | SetChanged () |
void | SingleObjectPainter (OutputDevice &rOut) const |
bool | LineGeometryUsageIsNecessary () const |
virtual bool | HasLimitedRotation () const |
SdrObject & | operator= (const SdrObject &rObj)=delete |
SdrObject & | operator= (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< SdrObjGeoData > | GetGeoData () const |
virtual void | SetGeoData (const SdrObjGeoData &rGeo) |
const SfxItemSet & | GetMergedItemSet () const |
void | SetMergedItem (const SfxPoolItem &rItem) |
void | ClearMergedItem (const sal_uInt16 nWhich=0) |
void | SetMergedItemSet (const SfxItemSet &rSet, bool bClearAllItems=false) |
const SfxPoolItem & | GetMergedItem (const sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetMergedItem (TypedWhichId< T > nWhich) const |
void | SetMergedItemSetAndBroadcast (const SfxItemSet &rSet, bool bClearAllItems=false) |
void | TakeNotPersistAttr (SfxItemSet &rAttr) const |
void | ApplyNotPersistAttr (const SfxItemSet &rAttr) |
void | NbcApplyNotPersistAttr (const SfxItemSet &rAttr) |
void | SetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr) |
virtual void | NbcSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr) |
SfxStyleSheet * | GetStyleSheet () const |
void | SetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject) |
void | BurnInStyleSheetAttributes () |
virtual bool | HasMacro () const |
virtual SdrObject * | CheckMacroHit (const SdrObjMacroHitRec &rRec) const |
virtual PointerStyle | GetMacroPointer (const SdrObjMacroHitRec &rRec) const |
virtual void | PaintMacro (OutputDevice &rOut, const tools::Rectangle &rDirtyRect, const SdrObjMacroHitRec &rRec) const |
virtual bool | DoMacro (const SdrObjMacroHitRec &rRec) |
bool | IsMacroHit (const SdrObjMacroHitRec &rRec) const |
virtual SdrGluePoint | GetVertexGluePoint (sal_uInt16 nNum) const |
virtual SdrGluePoint | GetCornerGluePoint (sal_uInt16 nNum) const |
virtual const SdrGluePointList * | GetGluePointList () const |
virtual SdrGluePointList * | ForceGluePointList () |
void | SetGlueReallyAbsolute (bool bOn) |
void | NbcRotateGluePoints (const Point &rRef, Degree100 nAngle, double sn, double cs) |
void | NbcMirrorGluePoints (const Point &rRef1, const Point &rRef2) |
void | NbcShearGluePoints (const Point &rRef, double tn, bool bVShear) |
virtual void | ConnectToNode (bool bTail1, SdrObject *pObj) |
virtual void | DisconnectFromNode (bool bTail1) |
virtual SdrObject * | GetConnectedNode (bool bTail1) const |
virtual void | SetContextWritingMode (const sal_Int16 _nContextWritingMode) |
SdrObjectUniquePtr | ConvertToPolyObj (bool bBezier, bool bLineToArea) const |
SdrObject * | ConvertToContourObj (SdrObject *pRet, bool bForceLineDash=false) const |
bool | IsVirtualObj () const |
bool | IsClosedObj () const |
void | InsertedStateChange () |
bool | IsInserted () const |
bool | IsEdgeObj () const |
bool | Is3DObj () const |
bool | IsUnoObj () const |
void | SetMoveProtect (bool bProt) |
bool | IsMoveProtect () const |
void | SetResizeProtect (bool bProt) |
bool | IsResizeProtect () const |
void | SetPrintable (bool bPrn) |
bool | IsPrintable () const |
void | SetVisible (bool bVisible) |
bool | IsVisible () const |
void | SetMarkProtect (bool bProt) |
bool | IsMarkProtect () const |
virtual bool | shouldKeepAspectRatio () const |
Whether the aspect ratio should be kept by default when resizing. More... | |
sal_uInt16 | GetUserDataCount () const |
SdrObjUserData * | GetUserData (sal_uInt16 nNum) const |
void | AppendUserData (std::unique_ptr< SdrObjUserData > pData) |
void | DeleteUserData (sal_uInt16 nNum) |
virtual css::uno::Reference< css::uno::XInterface > | getUnoShape () |
svx::PropertyChangeNotifier & | getShapePropertyChangeNotifier () |
void | notifyShapePropertyChange (const svx::ShapeProperty _eProperty) const |
bool | IsInDestruction () const |
bool | HasFillStyle () const |
bool | HasLineStyle () const |
const tools::Rectangle & | GetBLIPSizeRectangle () 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) |
SdrObjUserCall * | GetUserCall () const |
void | SetDoNotInsertIntoPageAutomatically (bool bSet) |
bool | IsDoNotInsertIntoPageAutomatically () const |
sal_uInt32 | GetOrdNumDirect () const |
bool | DoesSupportTextIndentingOnLineWidthChange () const |
const Point & | GetAnchorPos () const |
bool | LineIsOutsideGeometry () const |
void | SetNavigationPosition (const sal_uInt32 nPosition) |
void | setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape) |
const css::uno::WeakReference< css::uno::XInterface > & | getWeakUnoShape () const |
void | setSuitableOutlinerBg (Outliner &rOutliner) const |
const Graphic * | getFillGraphic () const |
![]() | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
![]() | |
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 SdrItemPool & | GetGlobalDrawObjectItemPool () |
static void | Free (SdrObject *&_rpObject) |
static SdrObject * | getSdrObjectFromXShape (const css::uno::Reference< css::uno::XInterface > &xInt) |
Protected Member Functions | |
virtual std::unique_ptr< sdr::properties::BaseProperties > | CreateObjectSpecificProperties () override |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () override |
virtual SdrObjectUniquePtr | getFullDragClone () const override |
SdrOutliner & | ImpGetDrawOutliner () 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< SdrObjGeoData > | NewGeoData () const override |
A derived class must override these 3 methods if it has own geometric data that must be saved for Undo. More... | |
virtual void | SaveGeoData (SdrObjGeoData &rGeo) const override |
virtual void | RestoreGeoData (const SdrObjGeoData &rGeo) override |
void | NbcSetEckenradius (tools::Long nRad) |
virtual void | AdaptTextMinSize () |
SdrTextObj (SdrModel &rSdrModel) | |
SdrTextObj (SdrModel &rSdrModel, const tools::Rectangle &rNewRect) | |
SdrTextObj (SdrModel &rSdrModel, SdrObjKind eNewTextKind) | |
SdrTextObj (SdrModel &rSdrModel, SdrObjKind eNewTextKind, const tools::Rectangle &rNewRect) | |
SdrTextObj (SdrModel &rSdrModel, SdrTextObj const &rSource) | |
virtual | ~SdrTextObj () override |
![]() | |
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 |
![]() | |
virtual | ~SdrObject () override |
tools::Rectangle | ImpDragCalcRect (const SdrDragStat &rDrag) const |
OUString | ImpGetDescriptionStr (const char *pStrCacheID) const |
void | ImpForcePlusData () |
OUString | GetMetrStr (tools::Long nVal) const |
const SfxItemSet & | GetObjectItemSet () const |
void | SetObjectItem (const SfxPoolItem &rItem) |
void | SetObjectItemSet (const SfxItemSet &rSet) |
const SfxPoolItem & | GetObjectItem (const sal_uInt16 nWhich) const |
template<class T > | |
const T & | GetObjectItem (TypedWhichId< T > nWhich) const |
virtual void | impl_setUnoShape (const css::uno::Reference< css::uno::XInterface > &_rxUnoShape) |
Sets a new UNO shape. More... | |
const SfxItemSet * | getBackgroundFillSet () const |
![]() | |
~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 | aGeo |
std::unique_ptr< SdrText > | mpText |
Size | aTextSize |
SdrOutliner * | pEdtOutl |
SdrObjKind | eTextKind |
Point | maTextEditOffset |
bool | mbIsUnchainableClone = false |
SdrTextObj * | mpNextInChain = nullptr |
SdrTextObj * | mpPrevInChain = nullptr |
bool | bTextFrame: 1 |
bool | bNoShear: 1 |
bool | bTextSizeDirty: 1 |
bool | mbInEditMode: 1 |
bool | bDisableAutoWidthOnDragging: 1 |
bool | mbTextAnimationAllowed: 1 |
bool | mbInDownScale: 1 |
![]() | |
tools::Rectangle | maSnapRect |
![]() | |
tools::Rectangle | aOutRect |
Point | aAnchor |
SdrObjUserCall * | pUserCall |
std::unique_ptr< SdrObjPlusData > | pPlusData |
bool | bVirtObj: 1 |
bool | bSnapRectDirty: 1 |
bool | bMovProt: 1 |
bool | bSizProt: 1 |
bool | bEmptyPresObj: 1 |
bool | bNotVisibleAsMaster: 1 |
bool | bClosedObj: 1 |
bool | bIsEdge: 1 |
bool | bIs3DObj: 1 |
bool | bIsUnoObj: 1 |
bool | mbLineIsOutsideGeometry: 1 |
bool | mbSupportTextIndentingOnLineWidthChange: 1 |
Private Member Functions | |
SVX_DLLPRIVATE SdrOutliner * | GetTextEditOutliner () 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 ImpSdrObjTextLinkUserData * | GetLinkUserData () 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... | |
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 |
Definition at line 137 of file svdotext.hxx.
|
protected |
Definition at line 69 of file svdotext.cxx.
References bDisableAutoWidthOnDragging, bNoShear, bTextFrame, bTextSizeDirty, maTextEditOffset, mbInDownScale, mbInEditMode, SdrObject::mbSupportTextIndentingOnLineWidthChange, mbTextAnimationAllowed, and Point.
Referenced by CloneSdrObject().
|
protected |
Definition at line 137 of file svdotext.cxx.
References bDisableAutoWidthOnDragging, bNoShear, bTextFrame, bTextSizeDirty, ImpJustifyRect(), maRect, maTextEditOffset, mbInDownScale, mbInEditMode, SdrObject::mbSupportTextIndentingOnLineWidthChange, mbTextAnimationAllowed, and Point.
|
protected |
Definition at line 160 of file svdotext.cxx.
References bDisableAutoWidthOnDragging, bNoShear, bTextFrame, bTextSizeDirty, maTextEditOffset, mbInDownScale, mbInEditMode, SdrObject::mbSupportTextIndentingOnLineWidthChange, mbTextAnimationAllowed, and Point.
|
protected |
Definition at line 181 of file svdotext.cxx.
References bDisableAutoWidthOnDragging, bNoShear, bTextFrame, bTextSizeDirty, ImpJustifyRect(), maRect, maTextEditOffset, mbInDownScale, mbInEditMode, SdrObject::mbSupportTextIndentingOnLineWidthChange, mbTextAnimationAllowed, and Point.
|
protected |
Definition at line 88 of file svdotext.cxx.
References aGeo, aTextSize, bDisableAutoWidthOnDragging, bNoShear, bTextFrame, bTextSizeDirty, Outliner::CreateParaObject(), eTextKind, getActiveText(), SdrText::GetOutlinerParaObject(), HasText(), ImpSetTextStyleSheetListeners(), maRect, maTextEditOffset, mbInDownScale, mbInEditMode, SdrObject::mbSupportTextIndentingOnLineWidthChange, mbTextAnimationAllowed, pEdtOutl, Point, and SdrText::SetOutlinerParaObject().
|
overrideprotectedvirtual |
Definition at line 205 of file svdotext.cxx.
References SdrObject::getSdrModelFromSdrObject(), SdrOutliner::GetTextObj(), ImpDeregisterLink(), mpText, and SdrOutliner::SetTextObj().
|
protectedvirtual |
Reimplemented in SdrObjCustomShape.
Definition at line 518 of file svdotext.cxx.
References bDisableAutoWidthOnDragging, bTextFrame, tools::Rectangle::GetHeight(), SdrObject::GetObjectItemSet(), SdrObject::getSdrModelFromSdrObject(), GetTextLeftDistance(), GetTextLowerDistance(), GetTextRightDistance(), GetTextUpperDistance(), tools::Rectangle::GetWidth(), IsAutoGrowHeight(), IsAutoGrowWidth(), IsVerticalWriting(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), makeSdrTextMinFrameHeightItem(), makeSdrTextMinFrameWidthItem(), maRect, SDRATTR_TEXT_AUTOGROWHEIGHT(), SDRATTR_TEXT_AUTOGROWWIDTH(), SDRATTR_TEXT_MINFRAMEHEIGHT(), SDRATTR_TEXT_MINFRAMEWIDTH(), and SdrObject::SetObjectItemSet().
Referenced by EndCreate().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrObjCustomShape, SdrEdgeObj, sdr::table::SdrTableObj, SdrGrafObj, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 41 of file svdotxdr.cxx.
References SdrHdlList::AddHdl(), aGeo, tools::Rectangle::BottomCenter(), tools::Rectangle::BottomLeft(), tools::Rectangle::BottomRight(), Left, tools::Rectangle::LeftCenter(), Lower, LowerLeft, LowerRight, maRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, GeoStat::nRotationAngle, GeoStat::nShearAngle, Point, Right, tools::Rectangle::RightCenter(), RotatePoint(), ShearPoint(), tools::Rectangle::TopCenter(), tools::Rectangle::TopLeft(), tools::Rectangle::TopRight(), Upper, UpperLeft, and UpperRight.
Referenced by SdrObjCustomShape::AddToHdlList().
|
virtual |
Reimplemented in sdr::table::SdrTableObj, and SdrObjCustomShape.
Definition at line 42 of file svdotxat.cxx.
References tools::Rectangle::AdjustBottom(), Size::AdjustHeight(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Size::AdjustWidth(), aGeo, Alternate, tools::Rectangle::Bottom(), bTextFrame, 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::mfCosRotationAngle, GeoStat::mfSinRotationAngle, tools::Rectangle::Move(), GeoStat::nRotationAngle, pEdtOutl, 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::SetUpdateMode(), Size::setWidth(), Slide, tools::Rectangle::Top(), tools::Rectangle::TopLeft(), Up, and Size::Width().
|
virtual |
Reimplemented in SdrObjCustomShape, and sdr::table::SdrTableObj.
Definition at line 255 of file svdotxat.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), GetTextEditOutliner(), IsInEditMode(), maRect, SdrObject::pUserCall, Resize, SdrObject::SendUserCall(), SdrObject::SetChanged(), and SdrObject::SetRectsDirty().
Referenced by NbcAdjustTextFrameWidthAndHeight(), and onEditOutlinerStatusEvent().
|
staticprivate |
Appends the style family to a provided style name.
Definition at line 436 of file svdotxat.cxx.
References comphelper::string::padToLength().
Referenced by ImpSetTextStyleSheetListeners().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrObjCustomShape, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 149 of file svdotxdr.cxx.
References aGeo, ImpDragCalcRect(), maRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, NbcSetLogicRect(), GeoStat::nRotationAngle, GeoStat::nShearAngle, Point, RotatePoint(), tools::Rectangle::SetPos(), ShearPoint(), and tools::Rectangle::TopLeft().
Referenced by SdrRectObj::applySpecialDrag(), and SdrCircObj::applySpecialDrag().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrCircObj, SdrCaptionObj, SdrMeasureObj, and SdrPathObj.
Definition at line 225 of file svdotxdr.cxx.
|
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 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().
|
virtual |
Reimplemented in sdr::table::SdrTableObj, and SdrMeasureObj.
Definition at line 40 of file svdotxed.cxx.
References aGeo, SdrObject::BroadcastObjectChange(), Outliner::ClearModifyFlag(), Outliner::GetControlWord(), SdrObject::GetMergedItem(), SdrObject::GetObjectItemSet(), GetOutlinerParaObject(), Outliner::GetParagraph(), SfxItemSet::GetPool(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetSize(), SdrObject::GetStyleSheet(), GetValue, HasTextImpl(), ImpAutoFitText(), ImpSetCharStretching(), ImpSetTextEditParams(), Outliner::Init(), IsAutoFit(), IsChainable(), IsContourTextFrame(), IsFitToSize(), IsFontwork(), IsOutlText(), mbInEditMode, GeoStat::nRotationAngle, pEdtOutl, SDRATTR_TEXT_USEFIXEDCELLHEIGHT(), Outliner::SetControlWord(), Outliner::SetFixedCellHeight(), Outliner::SetParaAttribs(), Outliner::SetRefDevice(), Outliner::SetStyleSheet(), Outliner::SetText(), TakeTextRect(), and Outliner::UpdateFields().
Referenced by SdrMeasureObj::BegTextEdit(), and SdrObjEditView::SdrBeginTextEdit().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrCircObj, SdrCaptionObj, SdrMeasureObj, and SdrPathObj.
Definition at line 221 of file svdotxdr.cxx.
|
virtual |
Reimplemented in SdrMeasureObj.
Definition at line 22 of file svdotxfl.cxx.
Referenced by SdrOutliner::CalcFieldValue(), SdrMeasureObj::CalcFieldValue(), and IMPL_LINK().
bool SdrTextObj::CanCreateEditOutlinerParaObject | ( | ) | const |
Definition at line 840 of file svdotext.cxx.
References Outliner::GetParagraphCount(), HasTextImpl(), and pEdtOutl.
Referenced by SvxTextEditSourceImpl::GetTextForwarder(), and accessibility::AccessibleShape::Init().
|
virtual |
returns the index of the text that contains the given point or -1
Reimplemented in sdr::table::SdrTableObj.
Definition at line 2086 of file svdotext.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrObjCustomShape, sdr::table::SdrTableObj, SdrGrafObj, SdrOle2Obj, SdrCircObj, SdrRectObj, SdrMeasureObj, SdrCaptionObj, SdrPathObj, SdrUnoObj, and SdrMediaObj.
Definition at line 1051 of file svdotext.cxx.
References SdrTextObj().
Referenced by ImpSetContourPolygon().
std::unique_ptr< OutlinerParaObject > SdrTextObj::CreateEditOutlinerParaObject | ( | ) | const |
Definition at line 849 of file svdotext.cxx.
References Outliner::CreateParaObject(), Outliner::GetParagraphCount(), HasTextImpl(), and pEdtOutl.
Referenced by drawinglayer::primitive2d::createNewSdrTextAttribute(), and SvxTextEditSourceImpl::GetBackgroundTextForwarder().
|
overrideprotectedvirtual |
Reimplemented from SdrAttrObj.
Reimplemented in sdr::table::SdrTableObj, SdrEdgeObj, SdrGrafObj, SdrObjCustomShape, SdrOle2Obj, SdrCaptionObj, SdrMeasureObj, SdrCircObj, and SdrRectObj.
Definition at line 58 of file svdotext.cxx.
|
overrideprotectedvirtual |
Reimplemented from SdrObject.
Reimplemented in sdr::table::SdrTableObj, SdrEdgeObj, SdrUnoObj, SdrGrafObj, SdrObjCustomShape, SdrMediaObj, SdrOle2Obj, SdrCaptionObj, SdrMeasureObj, SdrCircObj, SdrPathObj, and SdrRectObj.
Definition at line 64 of file svdotext.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrObjCustomShape, SdrGrafObj, SdrOle2Obj, SdrCaptionObj, SdrPathObj, SdrCircObj, SdrMeasureObj, and SdrRectObj.
Definition at line 414 of file svdotxtr.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrObjCustomShape, SdrCircObj, SdrCaptionObj, SdrMeasureObj, and SdrPathObj.
Definition at line 207 of file svdotxdr.cxx.
References AdaptTextMinSize(), ForceEnd, SdrDragStat::GetPointCount(), ImpJustifyRect(), maRect, SdrObject::SetRectsDirty(), and SdrDragStat::TakeCreateRect().
|
virtual |
Reimplemented in sdr::table::SdrTableObj, and SdrObjCustomShape.
Definition at line 264 of file svdotxed.cxx.
References Outliner::Clear(), Outliner::ClearOverflowingParaNum(), Outliner::CreateParaObject(), getActiveText(), Outliner::GetControlWord(), Outliner::GetParagraphCount(), TextChain::GetSwitchingToNextBox(), GetTextChain(), IsChainable(), Outliner::IsModified(), mbInEditMode, pEdtOutl, Outliner::SetControlWord(), SdrText::SetOutlinerParaObject(), SdrObject::SetOutlinerParaObject(), TextChain::SetSwitchingToNextBox(), and Outliner::UpdateFields().
Referenced by SdrObjCustomShape::EndTextEdit(), and SdrObjEditView::SdrEndTextEdit().
void SdrTextObj::FitFrameToTextSize | ( | ) |
Definition at line 214 of file svdotext.cxx.
References tools::Rectangle::Bottom(), Outliner::CalcTextSize(), Outliner::Clear(), getActiveText(), SdrText::GetOutlinerParaObject(), GetTextLeftDistance(), GetTextLowerDistance(), GetTextRightDistance(), GetTextUpperDistance(), ImpGetDrawOutliner(), ImpJustifyRect(), tools::Rectangle::Left(), maRect, tools::Rectangle::Right(), SdrObject::SetLogicRect(), Outliner::SetPaperSize(), tools::Rectangle::SetSize(), Outliner::SetText(), Outliner::SetUpdateMode(), and tools::Rectangle::Top().
Referenced by SdrExchangeView::Paste().
void SdrTextObj::ForceOutlinerParaObject | ( | ) |
Definition at line 1475 of file svdotext.cxx.
References eTextKind, SdrText::ForceOutlinerParaObject(), getActiveText(), SdrText::GetOutlinerParaObject(), IsTextFrame(), and OBJ_OUTLINETEXT.
Referenced by SdrObjCustomShape::SetVerticalWriting(), and SetVerticalWriting().
|
virtual |
returns the currently active text.
Reimplemented in sdr::table::SdrTableObj.
Definition at line 2051 of file svdotext.cxx.
References getText(), and mpText.
Referenced by drawinglayer::primitive2d::createNewSdrTextAttribute(), EndTextEdit(), FitFrameToTextSize(), ForceOutlinerParaObject(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), GetFontScaleY(), GetOutlinerParaObject(), SvxTextEditSourceImpl::GetTextForwarder(), GetTextSize(), sdr::properties::TextProperties::ItemSetChanged(), NbcReformatText(), NbcSetOutlinerParaObject(), RemoveOutlinerCharacterAttribs(), SdrObjEditView::SdrEndTextEdit(), SdrTextObj(), SdrObjCustomShape::TakeTextRect(), and TakeTextRect().
double SdrTextObj::GetCameraZRotation | ( | ) | const |
Definition at line 1681 of file svdotextdecomposition.cxx.
References SfxItemSet::Get(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), and SDRATTR_CUSTOMSHAPE_GEOMETRY().
|
overridevirtual |
get the cursor/pointer that signals creating this object
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 242 of file svdotxdr.cxx.
References IsTextFrame().
tools::Long SdrTextObj::GetEckenradius | ( | ) | const |
Definition at line 1710 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_ECKENRADIUS().
Referenced by SdrRectObj::AddToHdlList(), SdrRectObj::applySpecialDrag(), sdr::contact::ViewContactOfSdrCaptionObj::createViewIndependentPrimitive2DSequence(), SdrRectObj::DoConvertToPolyObj(), SdrRectObj::RecalcSnapRect(), SdrRectObj::RecalcXPoly(), SdrRectObj::TakeCreatePoly(), SdrRectObj::TakeObjNamePlural(), SdrRectObj::TakeObjNameSingul(), and SdrRectObj::TakeXorPoly().
drawing::TextFitToSizeType SdrTextObj::GetFitToSize | ( | ) | const |
Definition at line 1460 of file svdotext.cxx.
References eType, SdrObject::GetObjectItem(), IsAutoGrowWidth(), and SDRATTR_TEXT_FITTOSIZE().
Referenced by IsAutoFit(), and IsFitToSize().
double SdrTextObj::GetFontScaleY | ( | ) | const |
Definition at line 1194 of file svdotext.cxx.
References Outliner::CalcTextSizeNTP(), getActiveText(), Outliner::GetGlobalCharStretching(), SdrText::GetOutlinerParaObject(), tools::Rectangle::GetSize(), SdrAttrObj::GetSnapRect(), GetTextLeftDistance(), GetTextLowerDistance(), GetTextRightDistance(), GetTextUpperDistance(), Size::Height(), i, ImpGetDrawOutliner(), IsVerticalWriting(), SAL_N_ELEMENTS, Outliner::SetGlobalCharStretching(), Outliner::SetPaperSize(), Outliner::SetText(), Outliner::SetUpdateMode(), and Size::Width().
|
overrideprotectedvirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrGrafObj, and SdrOle2Obj.
Definition at line 2036 of file svdotext.cxx.
References SdrObject::getFullDragClone(), and mbIsUnchainableClone.
Referenced by SdrGrafObj::getFullDragClone().
const tools::Rectangle & SdrTextObj::GetGeoRect | ( | ) | const |
Definition at line 1470 of file svdotext.cxx.
References maRect.
Referenced by sdr::contact::ViewContactOfTableObj::createViewIndependentPrimitive2DSequence(), and sdr::contact::ViewContactOfSdrCaptionObj::createViewIndependentPrimitive2DSequence().
|
inline |
Definition at line 402 of file svdotext.hxx.
Referenced by sdr::contact::ViewContactOfTableObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfSdrCaptionObj::createViewIndependentPrimitive2DSequence(), SdrGrafObj::DoConvertToPolyObj(), SdrEditView::DoImportMarkedMtf(), SdrObjCustomShape::DragResizeCustomShape(), SvxGrafAttrHelper::ExecuteGrafAttr(), EnhancedCustomShape2d::GetHandlePosition(), SdrEditView::ImpDismantleOneObject(), and EnhancedCustomShape2d::SetHandleControllerPosition().
|
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, SdrEdgeObj, sdr::table::SdrTableObj, SdrGrafObj, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 36 of file svdotxdr.cxx.
Referenced by sdr::table::SdrTableObj::GetHdlCount(), and SdrObjCustomShape::GetHdlCount().
|
private |
Definition at line 239 of file svdotxln.cxx.
References Default, SdrObjUserData::GetId(), SdrObjUserData::GetInventor(), SdrObject::GetUserData(), SdrObject::GetUserDataCount(), nCount, pData, and SDRUSERDATA_OBJTEXTLINK.
Referenced by ImpSdrObjTextLink::Closed(), ImpSdrObjTextLink::DataChanged(), ImpDeregisterLink(), ImpRegisterLink(), ReloadLinkedText(), and SetTextLink().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in sdr::table::SdrTableObj, and SdrCaptionObj.
Definition at line 69 of file svdotxtr.cxx.
Referenced by CalculateHorizontalScalingFactor(), EnhancedCustomShape3d::Create3DObject(), sdr::contact::ViewObjectContactOfUnoControl_Impl::createControlForDevice(), SvxOle2Shape::createLink(), SvxOle2Shape::createObject(), SdrEditView::DoImportMarkedMtf(), EnhancedCustomShape2d::EnhancedCustomShape2d(), SvxGrafAttrHelper::ExecuteGrafAttr(), GetFontWorkOutline(), SdrGrafObj::GetTransformedGraphic(), SdrExchangeView::Paste(), sdr::contact::ViewObjectContactOfUnoControl_Impl::positionAndZoomControl(), IMapWindow::SdrObjCreated(), SdrObjCustomShape::SetVerticalWriting(), and EnhancedCustomShape3d::Transformation2D::Transformation2D().
tools::Long SdrTextObj::GetMaxTextFrameHeight | ( | ) | const |
Definition at line 1720 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_MAXFRAMEHEIGHT().
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::TakeTextEditArea(), and TakeTextEditArea().
tools::Long SdrTextObj::GetMaxTextFrameWidth | ( | ) | const |
Definition at line 1730 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_MAXFRAMEWIDTH().
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::TakeTextEditArea(), and TakeTextEditArea().
tools::Long SdrTextObj::GetMinTextFrameHeight | ( | ) | const |
Definition at line 1715 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_MINFRAMEHEIGHT().
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::TakeTextEditArea(), and TakeTextEditArea().
tools::Long SdrTextObj::GetMinTextFrameWidth | ( | ) | const |
Definition at line 1725 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_MINFRAMEWIDTH().
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::TakeTextEditArea(), and TakeTextEditArea().
SdrTextObj * SdrTextObj::GetNextLinkInChain | ( | ) | const |
Definition at line 1980 of file svdotext.cxx.
References mpNextInChain.
Referenced by GetPreventChainable(), TextChainCursorManager::HandleCursorEvent(), TextChainCursorManager::impDetectEvent(), SdrObjEditView::ImpHandleMotionThroughBoxesKeyInput(), and TextChainFlow::TextChainFlow().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrGrafObj, SdrObjCustomShape, SdrOle2Obj, SdrCircObj, SdrRectObj, SdrCaptionObj, SdrMeasureObj, SdrPathObj, SdrUnoObj, and SdrMediaObj.
Definition at line 464 of file svdotext.cxx.
References eTextKind.
Referenced by SdrEditView::CombineMarkedTextObjects(), sdr::properties::TextProperties::ForceDefaultAttributes(), and SdrObjEditView::SdrEndTextEdit().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in sdr::table::SdrTableObj, and SdrMeasureObj.
Definition at line 1365 of file svdotext.cxx.
References getActiveText(), and SdrText::GetOutlinerParaObject().
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), BegTextEdit(), SdrEditView::CombineMarkedTextObjects(), SdrOle2Obj::createSdrGrafObjReplacement(), sdr::contact::ViewContactOfGraphic::createVIP2DSForDraft(), TextChainFlow::ExecuteUnderflow(), SdrMeasureObj::GetOutlinerParaObject(), SdrView::GetPreferredPointer(), SdrObjEditView::GetScriptType(), HasText(), SdrMeasureObj::ImpCalcGeometrics(), SdrEditView::ImpDismantleOneObject(), TextChainFlow::impMoveChainedTextToNextLink(), ImpSetTextStyleSheetListeners(), InitializeFontWorkData(), IsVerticalWriting(), SdrMeasureObj::NbcSetOutlinerParaObject(), sdr::table::SdrTableObj::NbcSetOutlinerParaObject(), SdrExchangeView::Paste(), SdrObjCustomShape::SetVerticalWriting(), SetVerticalWriting(), TakeContour(), TakeObjNameSingul(), SdrObjCustomShape::TakeTextRect(), TakeTextRect(), and SdrMeasureObj::UndirtyText().
|
virtual |
Reimplemented in sdr::table::SdrTableObj, and SdrMeasureObj.
Definition at line 303 of file svdotxed.cxx.
References GetTextHorizontalAdjust(), GetTextVerticalAdjust(), IsContourTextFrame(), SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BOTTOM, and SDRTEXTVERTADJUST_TOP.
Referenced by SdrObjEditView::ImpMakeOutlinerView(), and SdrObjEditView::ModelHasChanged().
bool SdrTextObj::GetPreventChainable | ( | ) | const |
Definition at line 2030 of file svdotext.cxx.
References GetNextLinkInChain(), IsInEditMode(), and mbIsUnchainableClone.
Referenced by TextChainFlow::ExecuteOverflow(), and TextChainFlow::ExecuteUnderflow().
SdrTextObj * SdrTextObj::GetPrevLinkInChain | ( | ) | const |
Definition at line 2018 of file svdotext.cxx.
References mpPrevInChain.
Referenced by TextChainCursorManager::HandleCursorEvent(), TextChainCursorManager::HandleCursorEventAfterChaining(), TextChainCursorManager::impDetectEvent(), and SdrObjEditView::ImpHandleMotionThroughBoxesKeyInput().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrMeasureObj.
Definition at line 84 of file svdotxtr.cxx.
Referenced by EnhancedCustomShape3d::Create3DObject(), and SdrObjEditView::SdrEndTextEdit().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 89 of file svdotxtr.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrCaptionObj, SdrMeasureObj, SdrPathObj, and SdrCircObj.
Definition at line 1112 of file svdotext.cxx.
References aGeo, tools::Rectangle::BottomLeft(), tools::Rectangle::BottomRight(), tools::Rectangle::Center(), maRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, GeoStat::nRotationAngle, GeoStat::nShearAngle, Point, RotatePoint(), ShearPoint(), tools::Rectangle::TopLeft(), and tools::Rectangle::TopRight().
|
overridevirtual |
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 1107 of file svdotext.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 174 of file svdotxdr.cxx.
References SdrObject::ImpGetDescriptionStr().
Referenced by SdrRectObj::getSpecialDragComment(), and SdrCircObj::getSpecialDragComment().
|
overridevirtual |
returns the nth available text.
Implements svx::ITextProvider.
Reimplemented in sdr::table::SdrTableObj.
Definition at line 2060 of file svdotext.cxx.
References mpText.
Referenced by SdrObjEditView::ApplyFormatPaintBrush(), sdr::contact::ViewContactOfSdrCaptionObj::createViewIndependentPrimitive2DSequence(), sdr::contact::ViewContactOfGraphic::createVIP2DSForDraft(), SdrPathObj::DoConvertToPolyObj(), getActiveText(), SdrUndoObjSetText::Redo(), RemoveOutlinerCharacterAttribs(), SdrObjEditView::SdrEndTextEdit(), SvxTextEditSourceImpl::SvxTextEditSourceImpl(), and SdrUndoObjSetText::Undo().
SdrTextAniDirection SdrTextObj::GetTextAniDirection | ( | ) | const |
Definition at line 1778 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_ANIDIRECTION().
Referenced by AdjustTextFrameWidthAndHeight(), drawinglayer::primitive2d::createTextPrimitive(), TakeTextEditArea(), and TakeTextRect().
SdrTextAniKind SdrTextObj::GetTextAniKind | ( | ) | const |
Definition at line 1773 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_ANIKIND().
Referenced by AdjustTextFrameWidthAndHeight(), drawinglayer::primitive2d::createNewSdrTextAttribute(), TakeTextEditArea(), and TakeTextRect().
TextChain * SdrTextObj::GetTextChain | ( | ) | const |
Definition at line 1488 of file svdotext.cxx.
References SdrObject::getSdrModelFromSdrObject(), and SdrModel::GetTextChain().
Referenced by EndTextEdit(), TextChainCursorManager::HandleCursorEvent(), SdrObjEditView::ImpChainingEventHdl(), SdrObjEditView::ImpMoveCursorAfterChainingEvent(), and TextChainFlow::TextChainFlow().
|
overridevirtual |
returns the number of texts available for this object.
Implements svx::ITextProvider.
Reimplemented in sdr::table::SdrTableObj.
Definition at line 2075 of file svdotext.cxx.
Referenced by SdrObjEditView::ApplyFormatPaintBrush(), drawinglayer::primitive2d::createNewSdrTextAttribute(), RemoveOutlinerCharacterAttribs(), and SdrObjEditView::SdrEndTextEdit().
|
inline |
Definition at line 216 of file svdotext.hxx.
References Point.
Referenced by GetTextEditBackgroundColor(), SdrObjEditView::ModelHasChanged(), and SdrObjEditView::SdrBeginTextEdit().
|
inlineprivate |
Definition at line 157 of file svdotext.hxx.
Referenced by AdjustTextFrameWidthAndHeight(), sdr::properties::TextProperties::ItemSetChanged(), and sdr::properties::CellProperties::ItemSetChanged().
SdrTextHorzAdjust SdrTextObj::GetTextHorizontalAdjust | ( | const SfxItemSet & | rSet | ) | const |
Definition at line 363 of file svdotext.cxx.
References Alternate, SfxItemSet::Get(), IsContourTextFrame(), IsInEditMode(), Left, Right, Scroll, SDRATTR_TEXT_ANIDIRECTION(), SDRATTR_TEXT_ANIKIND(), SDRATTR_TEXT_HORZADJUST(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_LEFT, and Slide.
Referenced by drawinglayer::primitive2d::createNewSdrTextAttribute().
SdrTextHorzAdjust SdrTextObj::GetTextHorizontalAdjust | ( | ) | const |
Definition at line 358 of file svdotext.cxx.
References SdrObject::GetObjectItemSet().
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), SdrMeasureObj::GetOutlinerViewAnchorMode(), GetOutlinerViewAnchorMode(), SdrObjCustomShape::TakeTextEditArea(), TakeTextEditArea(), SdrObjCustomShape::TakeTextRect(), and TakeTextRect().
|
inline |
Definition at line 361 of file svdotext.hxx.
Referenced by SvxTextEditSourceImpl::GetBackgroundTextForwarder(), and sdr::properties::TextProperties::SetStyleSheet().
tools::Long SdrTextObj::GetTextLeftDistance | ( | ) | const |
Left inner spacing to borders.
Definition at line 1753 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_LEFTDIST().
Referenced by SdrObjCustomShape::AdaptTextMinSize(), AdaptTextMinSize(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), sdr::table::SdrTableObj::CheckTableHit(), drawinglayer::primitive2d::createNewSdrTextAttribute(), FitFrameToTextSize(), GetFontScaleY(), ImpAutoFitText(), SdrObjCustomShape::TakeTextAnchorRect(), TakeTextAnchorRect(), and SdrMeasureObj::TakeUnrotatedSnapRect().
tools::Long SdrTextObj::GetTextLowerDistance | ( | ) | const |
Bottom inner spacing to borders.
Definition at line 1768 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_LOWERDIST().
Referenced by SdrObjCustomShape::AdaptTextMinSize(), AdaptTextMinSize(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), drawinglayer::primitive2d::createNewSdrTextAttribute(), FitFrameToTextSize(), GetFontScaleY(), ImpAutoFitText(), SdrObjCustomShape::TakeTextAnchorRect(), TakeTextAnchorRect(), and SdrMeasureObj::TakeUnrotatedSnapRect().
tools::Long SdrTextObj::GetTextRightDistance | ( | ) | const |
Right inner spacing to borders.
Definition at line 1758 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_RIGHTDIST().
Referenced by SdrObjCustomShape::AdaptTextMinSize(), AdaptTextMinSize(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), drawinglayer::primitive2d::createNewSdrTextAttribute(), FitFrameToTextSize(), GetFontScaleY(), ImpAutoFitText(), SdrObjCustomShape::TakeTextAnchorRect(), TakeTextAnchorRect(), and SdrMeasureObj::TakeUnrotatedSnapRect().
GDIMetaFile * SdrTextObj::GetTextScrollMetaFileAndRectangle | ( | tools::Rectangle & | rScrollRectangle, |
tools::Rectangle & | rPaintRectangle | ||
) |
Definition at line 1785 of file svdotext.cxx.
References aGeo, tools::Rectangle::Bottom(), Down, Outliner::Draw(), SfxItemSet::Get(), SdrObject::GetObjectItemSet(), ImpGetDrawOutliner(), ImpSetupDrawOutlinerForPaint(), IsContourTextFrame(), tools::Rectangle::Left(), Left, GeoStat::nRotationAngle, Point, GDIMetaFile::Record(), tools::Rectangle::Right(), Right, SDRATTR_TEXT_ANIDIRECTION(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), GDIMetaFile::Stop(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), Up, and GDIMetaFile::WindStart().
|
virtual |
Reimplemented in SdrMeasureObj.
Definition at line 285 of file svdotext.cxx.
References aTextSize, bTextSizeDirty, Outliner::CalcTextSize(), Outliner::Clear(), getActiveText(), SdrText::GetOutlinerParaObject(), ImpGetDrawOutliner(), Outliner::SetText(), and Outliner::SetUpdateMode().
Referenced by SdrMeasureObj::GetTextSize().
tools::Long SdrTextObj::GetTextUpperDistance | ( | ) | const |
Top inner spacing to borders.
Definition at line 1763 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_UPPERDIST().
Referenced by SdrObjCustomShape::AdaptTextMinSize(), AdaptTextMinSize(), SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), drawinglayer::primitive2d::createNewSdrTextAttribute(), FitFrameToTextSize(), GetFontScaleY(), ImpAutoFitText(), SdrObjCustomShape::TakeTextAnchorRect(), TakeTextAnchorRect(), and SdrMeasureObj::TakeUnrotatedSnapRect().
SdrTextVertAdjust SdrTextObj::GetTextVerticalAdjust | ( | const SfxItemSet & | rSet | ) | const |
Definition at line 395 of file svdotext.cxx.
References Alternate, SfxItemSet::Get(), IsContourTextFrame(), IsInEditMode(), Left, Right, Scroll, SDRATTR_TEXT_ANIDIRECTION(), SDRATTR_TEXT_ANIKIND(), SDRATTR_TEXT_VERTADJUST(), SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_TOP, and Slide.
Referenced by drawinglayer::primitive2d::createNewSdrTextAttribute().
SdrTextVertAdjust SdrTextObj::GetTextVerticalAdjust | ( | ) | const |
Definition at line 390 of file svdotext.cxx.
References SdrObject::GetObjectItemSet().
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), SdrMeasureObj::GetOutlinerViewAnchorMode(), GetOutlinerViewAnchorMode(), SdrObjCustomShape::TakeTextEditArea(), TakeTextEditArea(), SdrObjCustomShape::TakeTextRect(), and TakeTextRect().
Reimplemented from SdrObject.
Reimplemented in SdrObjCustomShape, SdrEdgeObj, SdrGrafObj, and SdrOle2Obj.
Definition at line 491 of file svdotext.cxx.
References SdrObject::handlePageChange(), ImpDeregisterLink(), ImpRegisterLink(), and IsLinkedText().
Referenced by SdrOle2Obj::handlePageChange(), SdrGrafObj::handlePageChange(), SdrEdgeObj::handlePageChange(), and SdrObjCustomShape::handlePageChange().
|
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 SdrEdgeObj, sdr::table::SdrTableObj, SdrObjCustomShape, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, SdrPathObj, and SdrUnoObj.
Definition at line 67 of file svdotxdr.cxx.
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in sdr::table::SdrTableObj.
Definition at line 416 of file svdotxat.cxx.
References GetOutlinerParaObject(), EditTextObject::GetParagraphCount(), EditTextObject::GetText(), OutlinerParaObject::GetTextObject(), HasTextImpl(), and pEdtOutl.
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), SdrObjCustomShape::DoConvertToPolyObj(), SdrView::GetPreferredPointer(), SdrEditView::ImpDismantleOneObject(), ImpSdrGDIMetaFileImport::InsertObj(), sdr::properties::TextProperties::ItemChange(), sdr::properties::TextProperties::Notify(), SdrView::PickAnything(), SdrObjEditView::SdrEndTextEdit(), SdrTextObj(), SdrPathObj::TakeObjInfo(), SdrRectObj::TakeObjInfo(), SdrCircObj::TakeObjInfo(), and SdrEdgeObj::TakeObjInfo().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrMediaObj.
Definition at line 34 of file svdotxed.cxx.
|
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 469 of file svdotext.cxx.
References Outliner::GetParagraph(), Outliner::GetParagraphCount(), and Outliner::GetText().
Referenced by BegTextEdit(), CanCreateEditOutlinerParaObject(), CreateEditOutlinerParaObject(), HasText(), and SdrObjEditView::ImpIsTextEditAllSelected().
|
private |
Definition at line 1257 of file svdotext.cxx.
References tools::Rectangle::GetSize(), SdrAttrObj::GetSnapRect(), GetTextLeftDistance(), GetTextLowerDistance(), GetTextRightDistance(), GetTextUpperDistance(), Size::Height(), IsVerticalWriting(), and Size::Width().
Referenced by BegTextEdit(), ImpSetupDrawOutlinerForPaint(), and onEditOutlinerStatusEvent().
|
private |
Definition at line 1266 of file svdotext.cxx.
References Outliner::CalcTextSizeNTP(), Outliner::GetGlobalCharStretching(), SdrTextFitToSizeTypeItem::GetMaxScale(), SdrObject::GetObjectItem(), Size::Height(), i, SAL_INFO, SAL_N_ELEMENTS, SDRATTR_TEXT_FITTOSIZE(), Outliner::SetGlobalCharStretching(), and Size::Width().
|
protected |
Definition at line 424 of file svdotxtr.cxx.
Referenced by SdrPathObj::TakeObjInfo(), SdrRectObj::TakeObjInfo(), SdrCircObj::TakeObjInfo(), SdrEdgeObj::TakeObjInfo(), and TakeObjInfo().
|
protected |
Definition at line 432 of file svdotext.cxx.
References aGeo, bNoShear, GeoStat::mfTanShearAngle, and GeoStat::nShearAngle.
Referenced by SdrObjCustomShape::NbcSetSnapRect().
|
protected |
Definition at line 463 of file svdotxtr.cxx.
References SdrObjList::InsertObject().
Referenced by SdrRectObj::DoConvertToPolyObj(), SdrMeasureObj::DoConvertToPolyObj(), SdrCircObj::DoConvertToPolyObj(), SdrPathObj::DoConvertToPolyObj(), SdrGrafObj::DoConvertToPolyObj(), SdrObjCustomShape::DoConvertToPolyObj(), and SdrEdgeObj::DoConvertToPolyObj().
|
private |
Definition at line 286 of file svdotxtr.cxx.
References a, basegfx::utils::adaptiveSubdivideByAngle(), basegfx::utils::expandToCurve(), SdrObject::Free(), drawinglayer::processor2d::TextAsPolygonDataNode::getB2DPolyPolygon(), drawinglayer::processor2d::TextAsPolygonDataNode::getBColor(), drawinglayer::processor2d::TextAsPolygonDataNode::getIsFilled(), SdrObjList::GetObjCount(), SdrObjGroup::GetSubList(), drawinglayer::processor2d::TextAsPolygonExtractor2D::getTarget(), SdrObject::ImpSetAnchorPos(), SdrObjList::InsertObject(), makeSdrShadowItem(), SdrObject::NbcSetLayer(), SdrObject::NbcSetStyleSheet(), OBJ_PATHFILL, OBJ_PATHLINE, drawinglayer::processor2d::BaseProcessor2D::process(), SfxItemSet::Put(), SdrObjList::RemoveObject(), and SdrObject::SetMergedItemSet().
|
protected |
Definition at line 429 of file svdotxtr.cxx.
References basegfx::utils::adaptiveSubdivideByAngle(), basegfx::utils::expandToCurve(), OBJ_PATHFILL, OBJ_PATHLINE, OBJ_PLIN, and OBJ_POLY.
Referenced by SdrRectObj::DoConvertToPolyObj(), SdrCircObj::DoConvertToPolyObj(), SdrPathObj::DoConvertToPolyObj(), SdrCaptionObj::DoConvertToPolyObj(), and SdrEdgeObj::DoConvertToPolyObj().
void SdrTextObj::impDecomposeAutoFitTextPrimitive | ( | drawinglayer::primitive2d::Primitive2DContainer & | rTarget, |
const drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D & | rSdrAutofitTextPrimitive, | ||
const drawinglayer::geometry::ViewInformation2D & | aViewInformation | ||
) | const |
Definition at line 726 of file svdotextdecomposition.cxx.
References Outliner::Clear(), basegfx::B2DHomMatrix::decompose(), basegfx::B2DRange::expand(), FRound(), Outliner::GetControlWord(), basegfx::B2DRange::getHeight(), SdrText::GetItemSet(), SdrText::GetOutlinerParaObject(), Outliner::GetPaperSize(), GetSdrPageFromXDrawPage(), drawinglayer::primitive2d::SdrTextPrimitive2D::getSdrText(), drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::getTextRangeTransform(), GetTextVerticalAdjust(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), basegfx::B2DRange::getWidth(), drawinglayer::primitive2d::SdrAutoFitTextPrimitive2D::getWordWrap(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), OutlinerParaObject::IsTopToBottom(), OutlinerParaObject::IsVertical(), basegfx::fTools::less(), basegfx::B2DHomMatrix::rotate(), 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::SetUpdateMode(), SdrOutliner::setVisualizedPage(), basegfx::B2DHomMatrix::shearX(), and basegfx::B2DHomMatrix::translate().
void SdrTextObj::impDecomposeBlockTextPrimitive | ( | drawinglayer::primitive2d::Primitive2DContainer & | rTarget, |
const drawinglayer::primitive2d::SdrBlockTextPrimitive2D & | rSdrBlockTextPrimitive, | ||
const drawinglayer::geometry::ViewInformation2D & | aViewInformation | ||
) | const |
Definition at line 909 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(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), drawinglayer::primitive2d::SdrBlockTextPrimitive2D::isFixedCellHeight(), OutlinerParaObject::IsTopToBottom(), OutlinerParaObject::IsVertical(), basegfx::fTools::less(), basegfx::B2DHomMatrix::rotate(), 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::SetPaperSize(), Outliner::SetText(), Outliner::SetUpdateMode(), SdrOutliner::setVisualizedPage(), Size::setWidth(), and basegfx::B2DHomMatrix::translate().
|
static |
Definition at line 1669 of file svdotextdecomposition.cxx.
References drawinglayer::primitive2d::Primitive2DContainer::append().
void SdrTextObj::impDecomposeChainedTextPrimitive | ( | drawinglayer::primitive2d::Primitive2DContainer & | rTarget, |
const drawinglayer::primitive2d::SdrChainedTextPrimitive2D & | rSdrChainedTextPrimitive, | ||
const drawinglayer::geometry::ViewInformation2D & | aViewInformation | ||
) | const |
Definition at line 1520 of file svdotextdecomposition.cxx.
References Outliner::Clear(), basegfx::B2DHomMatrix::decompose(), basegfx::B2DRange::expand(), FRound(), Outliner::GetControlWord(), basegfx::B2DRange::getHeight(), SdrText::GetItemSet(), SdrText::GetOutlinerParaObject(), Outliner::GetPaperSize(), GetSdrPageFromXDrawPage(), drawinglayer::primitive2d::SdrTextPrimitive2D::getSdrText(), drawinglayer::primitive2d::SdrChainedTextPrimitive2D::getTextRangeTransform(), GetTextVerticalAdjust(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), basegfx::B2DRange::getWidth(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), OutlinerParaObject::IsTopToBottom(), OutlinerParaObject::IsVertical(), basegfx::fTools::less(), basegfx::B2DHomMatrix::rotate(), 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::SetUpdateMode(), SdrOutliner::setVisualizedPage(), basegfx::B2DHomMatrix::shearX(), and basegfx::B2DHomMatrix::translate().
void SdrTextObj::impDecomposeContourTextPrimitive | ( | drawinglayer::primitive2d::Primitive2DContainer & | rTarget, |
const drawinglayer::primitive2d::SdrContourTextPrimitive2D & | rSdrContourTextPrimitive, | ||
const drawinglayer::geometry::ViewInformation2D & | aViewInformation | ||
) | const |
Definition at line 675 of file svdotextdecomposition.cxx.
References Outliner::Clear(), basegfx::utils::createScaleB2DHomMatrix(), basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), basegfx::B2DHomMatrix::decompose(), drawinglayer::primitive2d::SdrContourTextPrimitive2D::getObjectTransform(), drawinglayer::primitive2d::SdrTextPrimitive2D::getOutlinerParaObject(), GetSdrPageFromXDrawPage(), drawinglayer::primitive2d::SdrContourTextPrimitive2D::getUnitPolyPolygon(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), basegfx::fTools::less(), Outliner::SetPaperSize(), Outliner::SetPolygon(), Outliner::SetText(), Outliner::SetUpdateMode(), SdrOutliner::setVisualizedPage(), and basegfx::B2DPolyPolygon::transform().
Referenced by drawinglayer::primitive2d::SdrContourTextPrimitive2D::create2DDecomposition().
void SdrTextObj::impDecomposePathTextPrimitive | ( | drawinglayer::primitive2d::Primitive2DContainer & | rTarget, |
const drawinglayer::primitive2d::SdrPathTextPrimitive2D & | rSdrPathTextPrimitive, | ||
const drawinglayer::geometry::ViewInformation2D & | aViewInformation | ||
) | const |
Definition at line 650 of file svdotextpathdecomposition.cxx.
References a, drawinglayer::primitive2d::Primitive2DContainer::append(), Outliner::Clear(), drawinglayer::attribute::SdrFormTextAttribute::getFormTextOutline(), drawinglayer::attribute::SdrFormTextAttribute::getOutline(), drawinglayer::primitive2d::SdrTextPrimitive2D::getOutlinerParaObject(), Outliner::GetParagraphCount(), drawinglayer::primitive2d::SdrPathTextPrimitive2D::getPathPolyPolygon(), drawinglayer::primitive2d::SdrPathTextPrimitive2D::getSdrFormTextAttribute(), GetSdrPageFromXDrawPage(), drawinglayer::attribute::SdrFormTextAttribute::getShadowOutline(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), ImpGetDrawOutliner(), drawinglayer::attribute::SdrFormTextOutlineAttribute::isDefault(), LONG_MAX, o3tl::make_unsigned(), Outliner::SetDrawPortionHdl(), Outliner::SetPaperSize(), Outliner::SetText(), Outliner::SetUpdateMode(), and SdrOutliner::setVisualizedPage().
void SdrTextObj::impDecomposeStretchTextPrimitive | ( | drawinglayer::primitive2d::Primitive2DContainer & | rTarget, |
const drawinglayer::primitive2d::SdrStretchTextPrimitive2D & | rSdrStretchTextPrimitive, | ||
const drawinglayer::geometry::ViewInformation2D & | aViewInformation | ||
) | const |
Definition at line 1158 of file svdotextdecomposition.cxx.
References Outliner::CalcTextSize(), Outliner::Clear(), basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), basegfx::B2DHomMatrix::decompose(), basegfx::fTools::equalZero(), FRound(), Outliner::GetControlWord(), drawinglayer::primitive2d::SdrTextPrimitive2D::getOutlinerParaObject(), GetSdrPageFromXDrawPage(), drawinglayer::primitive2d::SdrStretchTextPrimitive2D::getTextRangeTransform(), drawinglayer::geometry::ViewInformation2D::getVisualizedPage(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), drawinglayer::primitive2d::SdrStretchTextPrimitive2D::isFixedCellHeight(), OutlinerParaObject::IsTopToBottom(), OutlinerParaObject::IsVertical(), basegfx::fTools::less(), Outliner::SetControlWord(), Outliner::SetFixedCellHeight(), Outliner::SetGlobalCharStretching(), Outliner::SetMaxAutoPaperSize(), Outliner::SetMinAutoPaperSize(), Outliner::SetPaperSize(), Outliner::SetText(), Outliner::SetUpdateMode(), SdrOutliner::setVisualizedPage(), and basegfx::B2DHomMatrix::translate().
|
private |
Definition at line 266 of file svdotxln.cxx.
References tools::SvRef< T >::get(), GetLinkUserData(), SdrObject::getSdrModelFromSdrObject(), pData, ImpSdrObjTextLinkUserData::pLink, and sfx2::LinkManager::Remove().
Referenced by handlePageChange(), ReleaseTextLink(), and ~SdrTextObj().
|
protected |
Definition at line 72 of file svdotxdr.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustTop(), aGeo, tools::Rectangle::Bottom(), Fraction::GetDenominator(), SdrDragStat::GetHdl(), SdrHdl::GetKind(), SdrDragStat::GetNow(), Fraction::GetNumerator(), SdrDragStat::GetView(), ImpJustifyRect(), SdrSnapView::IsBigOrtho(), SdrSnapView::IsOrtho(), tools::Rectangle::Left(), Left, Lower, LowerLeft, LowerRight, maRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, Move, GeoStat::nRotationAngle, GeoStat::nShearAngle, Point, tools::Rectangle::Right(), Right, RotatePoint(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), ShearPoint(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), Upper, UpperLeft, and UpperRight.
Referenced by SdrObjCustomShape::applySpecialDrag(), sdr::table::SdrTableObj::applySpecialDrag(), and applySpecialDrag().
void SdrTextObj::impGetBlinkTextTiming | ( | drawinglayer::animation::AnimationEntryList & | rAnimList | ) | const |
Definition at line 1243 of file svdotextdecomposition.cxx.
References drawinglayer::animation::AnimationEntryList::append(), Blink, ENDLESS_LOOP, ENDLESS_TIME, SfxItemSet::Get(), SDRATTR_TEXT_ANICOUNT(), SDRATTR_TEXT_ANIDELAY(), and SDRATTR_TEXT_ANISTOPINSIDE().
Referenced by drawinglayer::attribute::SdrTextAttribute::getBlinkTextTiming().
|
protected |
Definition at line 1147 of file svdotext.cxx.
References SdrObject::getSdrModelFromSdrObject(), and ImpInitDrawOutliner().
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), SdrObjEditView::ApplyFormatPaintBrushToText(), sdr::table::SdrTableRTFParser::FillTable(), FitFrameToTextSize(), GetFontScaleY(), GetTextScrollMetaFileAndRectangle(), GetTextSize(), impDecomposePathTextPrimitive(), sdr::properties::TextProperties::ItemChange(), sdr::properties::TextProperties::ItemSetChanged(), sdr::properties::CellProperties::ItemSetChanged(), NbcSetText(), onChainingEvent(), RemoveOutlinerCharacterAttribs(), sdr::properties::TextProperties::SetStyleSheet(), TakeContour(), SdrMeasureObj::UndirtyText(), and sdr::table::SdrTableRtfExporter::WriteCell().
void SdrTextObj::impGetScrollTextTiming | ( | drawinglayer::animation::AnimationEntryList & | rAnimList, |
double | fFrameLength, | ||
double | fTextLength | ||
) | const |
Definition at line 1404 of file svdotextdecomposition.cxx.
References Alternate, Down, basegfx::fTools::equalZero(), SfxItemSet::Get(), impCreateAlternateTiming(), impCreateScrollTiming(), impCreateSlideTiming(), basegfx::fTools::less(), PIXEL_DPI, Right, Scroll, SDRATTR_TEXT_ANIAMOUNT(), SDRATTR_TEXT_ANIDELAY(), and Slide.
Referenced by drawinglayer::attribute::SdrTextAttribute::getScrollTextTiming().
void SdrTextObj::impHandleChainingEventsDuringDecomposition | ( | SdrOutliner & | rOutliner | ) | const |
Definition at line 1472 of file svdotextdecomposition.cxx.
References TextChainFlow::CheckForFlowEvents(), TextChainFlow::ExecuteOverflow(), TextChainFlow::ExecuteUnderflow(), i, TextChainFlow::IsOverflow(), TextChainFlow::IsUnderflow(), SAL_INFO, and Outliner::SetUpdateMode().
|
private |
Definition at line 1128 of file svdotext.cxx.
References Outliner::ClearPolygon(), Outliner::GetControlWord(), Outliner::Init(), IsOutlText(), Outliner::SetControlWord(), Outliner::SetGlobalCharStretching(), Outliner::SetMaxAutoPaperSize(), Outliner::SetMinAutoPaperSize(), Outliner::SetPaperSize(), and Outliner::SetUpdateMode().
Referenced by ImpGetDrawOutliner(), and SetupOutlinerFormatting().
|
staticprotected |
Definition at line 423 of file svdotext.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustRight(), tools::Rectangle::Bottom(), tools::Rectangle::IsEmpty(), tools::Rectangle::Justify(), tools::Rectangle::Left(), tools::Rectangle::Right(), and tools::Rectangle::Top().
Referenced by SdrObjCustomShape::DragCreateObject(), SdrCircObj::EndCreate(), sdr::table::SdrTableObj::EndCreate(), EndCreate(), FitFrameToTextSize(), ImpDragCalcRect(), SdrCircObj::MovCreate(), sdr::table::SdrTableObj::MovCreate(), MovCreate(), SdrObjCustomShape::NbcSetLogicRect(), sdr::table::SdrTableObj::NbcSetLogicRect(), SdrCircObj::NbcSetSnapRect(), SdrObjCustomShape::NbcSetSnapRect(), SdrTextObj(), SdrObjCustomShape::TakeTextAnchorRect(), and TakeTextAnchorRect().
|
private |
Definition at line 254 of file svdotxln.cxx.
References ImpSdrObjTextLinkUserData::aFileName, ImpSdrObjTextLinkUserData::aFilterName, sfx2::ClientFile, GetLinkUserData(), SdrObject::getSdrModelFromSdrObject(), ImpSdrObjTextLink, sfx2::LinkManager::InsertFileLink(), pData, and ImpSdrObjTextLinkUserData::pLink.
Referenced by handlePageChange(), and SetTextLink().
|
staticprotected |
Definition at line 860 of file svdotext.cxx.
References Outliner::CalcTextSize(), Fraction, OutputDevice::GetConnectMetaFile(), OutputDevice::GetDefaultFont(), OutputDevice::GetFont(), OutputDevice::GetOutDevType(), Outliner::GetRefDevice(), OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), Size::Height(), GDIMetaFile::IsPause(), GDIMetaFile::IsRecord(), LANGUAGE_SYSTEM, OUTDEV_PRINTER, GDIMetaFile::Pause(), pOut, OutputDevice::SetFont(), Outliner::SetGlobalCharStretching(), u, and Size::Width().
Referenced by BegTextEdit(), and ImpSetupDrawOutlinerForPaint().
|
protected |
Definition at line 573 of file svdotext.cxx.
References aGeo, CloneSdrObject(), basegfx::utils::createTranslateB2DHomMatrix(), F_PI18000, SdrObject::Free(), o3tl::strong_int< UNDERLYING_TYPE, PHANTOM_TYPE >::get(), SfxItemSet::Get(), SdrObject::GetObjectItemSet(), SdrObject::getSdrModelFromSdrObject(), SdrOutliner::GetTextObj(), tools::Rectangle::Left(), makeSdrShadowItem(), GeoStat::nRotationAngle, basegfx::B2DHomMatrix::rotate(), SDRATTR_SHADOW(), SdrObject::SetMergedItem(), Outliner::SetPolygon(), SdrOutliner::SetTextObj(), TakeContour(), SdrObject::TakeContour(), TakeXorPoly(), tools::Rectangle::Top(), and basegfx::B2DPolyPolygon::transform().
Referenced by ImpSetTextEditParams(), SdrObjEditView::ModelHasChanged(), and TakeTextRect().
|
protected |
Definition at line 337 of file svdotxed.cxx.
References Outliner::GetUpdateMode(), ImpSetContourPolygon(), IsContourTextFrame(), pEdtOutl, Outliner::SetMaxAutoPaperSize(), Outliner::SetMinAutoPaperSize(), Outliner::SetPaperSize(), Outliner::SetUpdateMode(), TakeTextAnchorRect(), and TakeTextEditArea().
Referenced by BegTextEdit().
|
protected |
Definition at line 296 of file svdotxat.cxx.
References aName, AppendFamilyToStyleName(), o3tl::sorted_vector< Value, Compare, Find, class >::end(), SfxListener::EndListening(), SfxStyleSheetBasePool::Find(), o3tl::sorted_vector< Value, Compare, Find, class >::find(), SfxListener::GetBroadcasterCount(), SfxListener::GetBroadcasterJOE(), GetOutlinerParaObject(), EditTextObject::GetParagraphCount(), SdrObject::getSdrModelFromSdrObject(), EditTextObject::GetStyleSheet(), SdrObject::GetStyleSheet(), OutlinerParaObject::GetTextObject(), o3tl::sorted_vector< Value, Compare, Find, class >::insert(), ReadFamilyFromStyleName(), and SfxListener::StartListening().
Referenced by NbcSetOutlinerParaObjectForText(), and SdrTextObj().
|
private |
Definition at line 1158 of file svdotext.cxx.
References Outliner::GetControlWord(), SdrObject::GetMergedItem(), tools::Rectangle::GetSize(), GetValue, ImpAutoFitText(), ImpSetCharStretching(), IsAutoFit(), IsFitToSize(), SDRATTR_TEXT_USEFIXEDCELLHEIGHT(), Outliner::SetControlWord(), Outliner::SetFixedCellHeight(), and TakeTextRect().
Referenced by GetTextScrollMetaFileAndRectangle(), and UpdateOutlinerFormatting().
bool SdrTextObj::IsAutoFit | ( | ) | const |
returns true if the PPT autofit of text into shape bounds is enabled. implies IsFitToSize()==false!
Definition at line 1839 of file svdotext.cxx.
References GetFitToSize().
Referenced by BegTextEdit(), drawinglayer::primitive2d::createNewSdrTextAttribute(), ImpSetupDrawOutlinerForPaint(), and onEditOutlinerStatusEvent().
|
virtual |
Reimplemented in SdrObjCustomShape, and sdr::table::SdrTableObj.
Definition at line 306 of file svdotext.cxx.
References Alternate, bTextFrame, Down, SfxItemSet::Get(), SdrObject::GetObjectItemSet(), Scroll, SDRATTR_TEXT_ANIDIRECTION(), SDRATTR_TEXT_ANIKIND(), SDRATTR_TEXT_AUTOGROWHEIGHT(), Slide, and Up.
Referenced by AdaptTextMinSize(), AdjustTextFrameWidthAndHeight(), NbcSetOutlinerParaObjectForText(), onEditOutlinerStatusEvent(), and TakeTextEditArea().
|
virtual |
Reimplemented in SdrObjCustomShape, and sdr::table::SdrTableObj.
Definition at line 331 of file svdotext.cxx.
References Alternate, bTextFrame, SfxItemSet::Get(), SdrObject::GetObjectItemSet(), IsInEditMode(), Left, Right, Scroll, SDRATTR_TEXT_ANIDIRECTION(), SDRATTR_TEXT_ANIKIND(), SDRATTR_TEXT_AUTOGROWWIDTH(), and Slide.
Referenced by AdaptTextMinSize(), AdjustTextFrameWidthAndHeight(), GetFitToSize(), NbcSetOutlinerParaObjectForText(), onEditOutlinerStatusEvent(), and TakeTextEditArea().
bool SdrTextObj::IsChainable | ( | ) | const |
Definition at line 1927 of file svdotext.cxx.
References SfxItemSet::Get(), SdrObject::GetName(), SdrObject::GetObjectItemSet(), ImpUpdateChainLinks(), mpNextInChain, and SDRATTR_TEXT_CHAINNEXTNAME().
Referenced by BegTextEdit(), drawinglayer::primitive2d::createNewSdrTextAttribute(), EndTextEdit(), SdrObjEditView::ImpChainingEventHdl(), SdrObjEditView::ImpMoveCursorAfterChainingEvent(), SdrObjEditView::SdrBeginTextEdit(), TakeTextEditArea(), and TakeTextRect().
bool SdrTextObj::IsContourTextFrame | ( | ) | const |
Definition at line 1747 of file svdotext.cxx.
References bTextFrame, SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and SDRATTR_TEXT_CONTOURFRAME().
Referenced by BegTextEdit(), GetOutlinerViewAnchorMode(), GetTextHorizontalAdjust(), GetTextScrollMetaFileAndRectangle(), GetTextVerticalAdjust(), SdrObjEditView::ImpMakeOutlinerView(), ImpSetTextEditParams(), SdrObjEditView::ModelHasChanged(), SdrObjEditView::SdrBeginTextEdit(), TakeContour(), TakeTextRect(), and UpdateOutlinerFormatting().
bool SdrTextObj::IsFitToSize | ( | ) | const |
returns true if the old feature for fitting shape content should into shape is enabled. implies IsAutoFit()==false!
Definition at line 1844 of file svdotext.cxx.
References GetFitToSize().
Referenced by AdjustTextFrameWidthAndHeight(), BegTextEdit(), drawinglayer::primitive2d::createNewSdrTextAttribute(), SdrObjEditView::ImpInvalidateOutlinerView(), ImpSetupDrawOutlinerForPaint(), onEditOutlinerStatusEvent(), SdrObjEditView::SdrBeginTextEdit(), TakeContour(), TakeTextEditArea(), and TakeTextRect().
|
virtual |
Reimplemented in sdr::table::SdrTableObj.
Definition at line 1735 of file svdotext.cxx.
References bTextFrame, SfxItemSet::Get(), SdrObject::GetObjectItemSet(), NONE, and XATTR_FORMTXTSTYLE().
Referenced by BegTextEdit(), SvxShape::getPropertyValueImpl(), SdrObjEditView::SdrEndTextEdit(), TakeContour(), SdrPathObj::TakeObjInfo(), and SdrCircObj::TakeObjInfo().
bool SdrTextObj::IsHideContour | ( | ) | const |
Definition at line 1741 of file svdotext.cxx.
References bTextFrame, SfxItemSet::Get(), SdrObject::GetObjectItemSet(), and XATTR_FORMTXTHIDEFORM().
|
inline |
Definition at line 326 of file svdotext.hxx.
Referenced by AdjustTextFrameWidthAndHeight(), drawinglayer::primitive2d::createNewSdrTextAttribute(), TextChainFlow::ExecuteUnderflow(), GetPreventChainable(), GetTextHorizontalAdjust(), GetTextVerticalAdjust(), IsAutoGrowWidth(), SdrMarkView::SetMarkHandles(), TakeTextEditArea(), and TakeTextRect().
|
inline |
Definition at line 339 of file svdotext.hxx.
Referenced by sdr::properties::TextProperties::ForceStyleToHardAttributes(), handlePageChange(), sdr::properties::TextProperties::SetStyleSheet(), TakeObjNamePlural(), and TakeObjNameSingul().
|
inline |
Definition at line 347 of file svdotext.hxx.
References OBJ_OUTLINETEXT, and OBJ_TITLETEXT.
Referenced by BegTextEdit(), SdrEditView::CombineMarkedTextObjects(), ImpInitDrawOutliner(), and SdrOutliner::SetTextObj().
|
virtual |
returns true only if we are in edit mode and the user actually changed anything
Reimplemented in sdr::table::SdrTableObj.
Definition at line 1703 of file svdotext.cxx.
References Outliner::IsModified(), and pEdtOutl.
Referenced by SvxTextEditSourceImpl::GetBackgroundTextForwarder().
|
inline |
|
inline |
Definition at line 346 of file svdotext.hxx.
Referenced by SdrRectObj::AddToHdlList(), SdrEditView::CombineMarkedTextObjects(), SdrRectObj::DoConvertToPolyObj(), sdr::properties::TextProperties::ForceDefaultAttributes(), ForceOutlinerParaObject(), SvxTextEditSourceImpl::GetBackgroundTextForwarder(), SdrRectObj::GetCreatePointer(), GetCreatePointer(), SdrRectObj::GetHdlCount(), SdrMarkList::GetMarkDescription(), SdrRectObj::GetObjIdentifier(), SdrMarkList::GetPointMarkDescription(), SdrObjEditView::ImpInvalidateOutlinerView(), SdrObjEditView::ImpMakeOutlinerView(), SdrObjEditView::ImpPaintOutlinerView(), SdrObjEditView::IsTextEditFrameHit(), NbcSetOutlinerParaObjectForText(), sdr::properties::TextProperties::Notify(), SdrObjEditView::SdrEndTextEdit(), SdrMarkView::SetMarkHandles(), sdr::properties::TextProperties::SetStyleSheet(), SdrRectObj::TakeObjInfo(), TakeObjInfo(), SdrRectObj::TakeObjNamePlural(), SdrRectObj::TakeObjNameSingul(), TakeTextAnchorRect(), TakeTextEditArea(), SdrObjCustomShape::TakeTextRect(), and TakeTextRect().
|
virtual |
Reimplemented in sdr::table::SdrTableObj.
Definition at line 1496 of file svdotext.cxx.
References GetOutlinerParaObject(), OutlinerParaObject::IsVertical(), Outliner::IsVertical(), and pEdtOutl.
Referenced by AdaptTextMinSize(), GetFontScaleY(), SvxShapeText::getPropertyValueImpl(), GetTextAreaOutline(), ImpAutoFitText(), SdrObjCustomShape::IsAutoGrowHeight(), SdrObjCustomShape::IsAutoGrowWidth(), SdrObjCustomShape::TakeTextEditArea(), TakeTextEditArea(), SdrObjCustomShape::TakeTextRect(), and TakeTextRect().
bool SdrTextObj::LoadText | ( | const OUString & | rFileName, |
rtl_TextEncoding | eCharSet | ||
) |
Definition at line 198 of file svdotxln.cxx.
References utl::UcbStreamHelper::CreateStream(), DBG_ASSERT, INetURLObject::GetMainURL(), INetURLObject::GetProtocol(), GetSOLoadTextEncoding(), INetURLObject::NONE, INetURLObject::SetSmartURL(), and SetText().
Referenced by ReloadLinkedText().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrObjCustomShape, SdrCircObj, SdrCaptionObj, SdrMeasureObj, and SdrPathObj.
Definition at line 192 of file svdotxdr.cxx.
References SdrObject::bSnapRectDirty, ImpJustifyRect(), maRect, SdrDragStat::SetActionRect(), SdrObject::SetBoundRectDirty(), and SdrDragStat::TakeCreateRect().
|
virtual |
Reimplemented in SdrObjCustomShape.
Definition at line 239 of file svdotxat.cxx.
References AdjustTextFrameWidthAndHeight(), maRect, and SdrObject::SetRectsDirty().
Referenced by sdr::table::SdrTableObj::NbcReformatText(), NbcReformatText(), sdr::table::SdrTableObj::NbcResize(), sdr::table::SdrTableObj::NbcSetLogicRect(), sdr::table::SdrTableObj::NbcSetOutlinerParaObject(), NbcSetOutlinerParaObjectForText(), sdr::properties::TextProperties::Notify(), SdrUndoObjSetText::Redo(), sdr::properties::TextProperties::SetStyleSheet(), and SdrUndoObjSetText::Undo().
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrGrafObj, SdrObjCustomShape, SdrCircObj, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 232 of file svdotxtr.cxx.
References a, tools::Polygon::GetSize(), i, MirrorPoint(), NormAngle36000(), Poly2Rect(), and Rect2Poly().
Referenced by SdrPathObj::NbcMirror(), SdrMeasureObj::NbcMirror(), SdrRectObj::NbcMirror(), SdrCircObj::NbcMirror(), SdrObjCustomShape::NbcMirror(), and SdrEdgeObj::NbcMirror().
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, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 94 of file svdotxtr.cxx.
Referenced by SdrPathObj::NbcMove(), SdrMeasureObj::NbcMove(), SdrRectObj::NbcMove(), SdrObjCustomShape::NbcMove(), sdr::table::SdrTableObj::NbcMove(), SdrEdgeObj::NbcMove(), and NbcSetSnapRect().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in sdr::table::SdrTableObj.
Definition at line 1411 of file svdotext.cxx.
References SdrObject::ActionChanged(), bTextFrame, sdr::contact::ViewContact::flushViewObjectContacts(), getActiveText(), SdrText::GetOutlinerParaObject(), SdrObject::GetViewContact(), NbcAdjustTextFrameWidthAndHeight(), SdrText::ReformatText(), SdrObject::SetBoundRectDirty(), SdrObject::SetRectsDirty(), and SetTextSizeDirty().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrGrafObj, SdrObjCustomShape, SdrOle2Obj, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, SdrPathObj, and SdrUnoObj.
Definition at line 102 of file svdotxtr.cxx.
References a, Center, Fraction::GetDenominator(), Fraction::GetNumerator(), tools::Polygon::GetSize(), NormAngle36000(), Point, Poly2Rect(), Rect2Poly(), ResizePoint(), and ResizeRect().
Referenced by SdrPathObj::NbcResize(), SdrMeasureObj::NbcResize(), SdrRectObj::NbcResize(), SdrCircObj::NbcResize(), SdrObjCustomShape::NbcResize(), SdrEdgeObj::NbcResize(), and NbcSetSnapRect().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrObjCustomShape, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 186 of file svdotxtr.cxx.
References NormAngle36000(), Point, and RotatePoint().
Referenced by SdrPathObj::NbcRotate(), SdrMeasureObj::NbcRotate(), SdrRectObj::NbcRotate(), SdrObjCustomShape::NbcRotate(), and SdrEdgeObj::NbcRotate().
|
protected |
Definition at line 511 of file svdotext.cxx.
References makeSdrEckenradiusItem(), and SdrObject::SetObjectItem().
Referenced by SdrRectObj::applySpecialDrag().
|
overridevirtual |
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().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in sdr::table::SdrTableObj, SdrObjCustomShape, and SdrMeasureObj.
Definition at line 1374 of file svdotext.cxx.
References getActiveText(), and NbcSetOutlinerParaObjectForText().
Referenced by SdrOle2Obj::createSdrGrafObjReplacement(), TextChainFlow::ExecuteUnderflow(), TextChainFlow::impLeaveOnlyNonOverflowingText(), TextChainFlow::impMoveChainedTextToNextLink(), SdrMeasureObj::NbcSetOutlinerParaObject(), SdrObjCustomShape::NbcSetOutlinerParaObject(), and NbcSetText().
void SdrTextObj::NbcSetOutlinerParaObjectForText | ( | std::unique_ptr< OutlinerParaObject > | pTextObject, |
SdrText * | pText | ||
) |
Definition at line 1379 of file svdotext.cxx.
References SdrObject::ActionChanged(), SdrText::GetOutlinerParaObject(), SdrObject::GetProperties(), ImpSetTextStyleSheetListeners(), IsAutoGrowHeight(), IsAutoGrowWidth(), IsTextFrame(), OutlinerParaObject::IsTopToBottom(), OutlinerParaObject::IsVertical(), NbcAdjustTextFrameWidthAndHeight(), SDRATTR_TEXTDIRECTION(), SdrObject::SetBoundRectDirty(), sdr::properties::BaseProperties::SetObjectItemDirect(), SdrText::SetOutlinerParaObject(), SdrObject::SetRectsDirty(), and SetTextSizeDirty().
Referenced by SdrObjEditView::ApplyFormatPaintBrushToText(), sdr::table::SdrTableRTFParser::FillTable(), sdr::properties::TextProperties::ForceStyleToHardAttributes(), sdr::properties::TextProperties::ItemChange(), sdr::properties::TextProperties::ItemSetChanged(), NbcSetOutlinerParaObject(), SdrUndoObjSetText::Redo(), RemoveOutlinerCharacterAttribs(), sdr::properties::TextProperties::SetStyleSheet(), SdrUndoObjSetText::Undo(), and SvxTextEditSourceImpl::UpdateData().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrObjCustomShape, SdrOle2Obj, SdrCircObj, SdrRectObj, and SdrPathObj.
Definition at line 42 of file svdotxtr.cxx.
References tools::Rectangle::Bottom(), tools::Rectangle::Left(), NbcMove(), NbcResize(), tools::Rectangle::Right(), and tools::Rectangle::Top().
Referenced by SdrRectObj::NbcSetSnapRect().
void SdrTextObj::NbcSetText | ( | const OUString & | rStr | ) |
Definition at line 239 of file svdotext.cxx.
References aTextSize, bTextSizeDirty, Outliner::CalcTextSize(), Outliner::Clear(), Outliner::CreateParaObject(), Outliner::GetParagraph(), SdrObject::GetStyleSheet(), ImpGetDrawOutliner(), NbcSetOutlinerParaObject(), Outliner::SetStyleSheet(), Outliner::SetText(), and Outliner::SetUpdateMode().
Referenced by sdr::contact::ViewContactOfGraphic::createVIP2DSForDraft(), ImpSdrGDIMetaFileImport::ImportText(), SdrExchangeView::Paste(), and SetText().
void SdrTextObj::NbcSetText | ( | SvStream & | rInput, |
const OUString & | rBaseURL, | ||
EETextFormat | eFormat | ||
) |
Definition at line 262 of file svdotext.cxx.
References aTextSize, bTextSizeDirty, Outliner::CalcTextSize(), Outliner::Clear(), Outliner::CreateParaObject(), SdrObject::GetStyleSheet(), ImpGetDrawOutliner(), NbcSetOutlinerParaObject(), Outliner::Read(), Outliner::SetStyleSheet(), and Outliner::SetUpdateMode().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrObjCustomShape, SdrCircObj, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 210 of file svdotxtr.cxx.
References tools::Polygon::GetSize(), i, Poly2Rect(), Rect2Poly(), and ShearPoint().
Referenced by SdrPathObj::NbcShear(), SdrMeasureObj::NbcShear(), SdrRectObj::NbcShear(), SdrCircObj::NbcShear(), SdrObjCustomShape::NbcShear(), and SdrEdgeObj::NbcShear().
|
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 sdr::table::SdrTableObj, SdrEdgeObj, SdrObjCustomShape, SdrGrafObj, SdrCircObj, SdrCaptionObj, SdrPathObj, and SdrMeasureObj.
Definition at line 1438 of file svdotext.cxx.
void SdrTextObj::onChainingEvent | ( | ) |
called from the SdrObjEditView during text edit when a chain of boxes is to be updated
Definition at line 1950 of file svdotext.cxx.
References EditingTextChainFlow::CheckForFlowEvents(), TextChainFlow::ExecuteOverflow(), TextChainFlow::ExecuteUnderflow(), ImpGetDrawOutliner(), TextChainFlow::IsOverflow(), TextChainFlow::IsUnderflow(), pEdtOutl, and SAL_INFO.
Referenced by SdrObjEditView::ImpChainingEventHdl().
|
virtual |
called from the SdrObjEditView during text edit when the status of the edit outliner changes
Reimplemented in sdr::table::SdrTableObj.
Definition at line 1861 of file svdotext.cxx.
References AdjustTextFrameWidthAndHeight(), assert(), bTextFrame, EditStatus::GetStatusWord(), ImpAutoFitText(), IsAutoFit(), IsAutoGrowHeight(), IsAutoGrowWidth(), IsFitToSize(), mbInDownScale, and pEdtOutl.
Referenced by IMPL_LINK().
|
staticprivate |
Reads the style family from a style name to which the family has been appended.
Definition at line 445 of file svdotxat.cxx.
References assert(), and comphelper::string::stripEnd().
Referenced by ImpSetTextStyleSheetListeners().
|
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 SdrEdgeObj, sdr::table::SdrTableObj, SdrMeasureObj, SdrCircObj, SdrRectObj, and SdrPathObj.
Definition at line 1094 of file svdotext.cxx.
References aGeo, tools::Polygon::GetBoundRect(), maRect, SdrAttrObj::maSnapRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, GeoStat::nRotationAngle, GeoStat::nShearAngle, RotatePoly(), ShearPoly(), and tools::Rectangle::TopLeft().
Referenced by SdrRectObj::RecalcSnapRect().
void SdrTextObj::ReleaseTextLink | ( | ) |
Definition at line 138 of file svdotxln.cxx.
References Default, SdrObject::DeleteUserData(), SdrObjUserData::GetId(), SdrObjUserData::GetInventor(), SdrObject::GetUserData(), SdrObject::GetUserDataCount(), ImpDeregisterLink(), nCount, pData, and SDRUSERDATA_OBJTEXTLINK.
Referenced by ImpSdrObjTextLink::Closed(), and SetTextLink().
bool SdrTextObj::ReloadLinkedText | ( | bool | bForceLoad | ) |
Definition at line 151 of file svdotxln.cxx.
References ImpSdrObjTextLinkUserData::aFileDate0, ImpSdrObjTextLinkUserData::aFileName, aURL, DBG_ASSERT, ImpSdrObjTextLinkUserData::eCharSet, DateTime::EMPTY, GetLinkUserData(), INetURLObject::GetMainURL(), comphelper::getProcessComponentContext(), INetURLObject::GetProtocol(), LoadText(), INetURLObject::NONE, and pData.
Referenced by ImpSdrObjTextLink::DataChanged().
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 377 of file svdotxat.cxx.
References Outliner::Clear(), Outliner::CreateParaObject(), EE_PARA_ALL, EE_TEXTPOS_ALL, getActiveText(), SdrText::GetOutlinerParaObject(), Outliner::GetParagraphCount(), getText(), getTextCount(), ImpGetDrawOutliner(), NbcSetOutlinerParaObjectForText(), pEdtOutl, Outliner::RemoveAttribs(), and Outliner::SetText().
|
overrideprotectedvirtual |
Reimplemented from SdrObject.
Reimplemented in sdr::table::SdrTableObj, SdrEdgeObj, SdrObjCustomShape, SdrGrafObj, SdrCircObj, SdrCaptionObj, SdrPathObj, SdrMeasureObj, and SdrRectObj.
Definition at line 1451 of file svdotext.cxx.
References SdrTextObjGeoData::aGeo, aGeo, SdrTextObjGeoData::aRect, NbcSetLogicRect(), SdrObject::RestoreGeoData(), and SetTextSizeDirty().
Referenced by SdrRectObj::RestoreGeoData(), SdrMeasureObj::RestoreGeoData(), SdrPathObj::RestoreGeoData(), SdrObjCustomShape::RestoreGeoData(), SdrEdgeObj::RestoreGeoData(), and sdr::table::SdrTableObj::RestoreGeoData().
|
overrideprotectedvirtual |
Reimplemented from SdrObject.
Reimplemented in sdr::table::SdrTableObj, SdrEdgeObj, SdrObjCustomShape, SdrGrafObj, SdrCircObj, SdrCaptionObj, SdrPathObj, and SdrMeasureObj.
Definition at line 1443 of file svdotext.cxx.
References SdrTextObjGeoData::aGeo, aGeo, SdrTextObjGeoData::aRect, maRect, and SdrObject::SaveGeoData().
Referenced by SdrMeasureObj::SaveGeoData(), SdrPathObj::SaveGeoData(), SdrCaptionObj::SaveGeoData(), SdrCircObj::SaveGeoData(), SdrGrafObj::SaveGeoData(), SdrObjCustomShape::SaveGeoData(), SdrEdgeObj::SaveGeoData(), and sdr::table::SdrTableObj::SaveGeoData().
|
virtual |
changes the current active text
Reimplemented in sdr::table::SdrTableObj.
Definition at line 2081 of file svdotext.cxx.
|
inline |
Definition at line 386 of file svdotext.hxx.
void SdrTextObj::SetNextLinkInChain | ( | SdrTextObj * | pNextObj | ) |
Definition at line 1992 of file svdotext.cxx.
References mpNextInChain, and mpPrevInChain.
Referenced by ImpUpdateChainLinks().
void SdrTextObj::SetObjectItemNoBroadcast | ( | const SfxPoolItem & | rItem | ) |
Definition at line 2091 of file svdotext.cxx.
References SdrObject::GetProperties().
void SdrTextObj::SetText | ( | const OUString & | rStr | ) |
Definition at line 253 of file svdotext.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), NbcSetText(), SdrObject::pUserCall, Resize, SdrObject::SendUserCall(), and SdrObject::SetChanged().
Referenced by LoadText().
void SdrTextObj::SetText | ( | SvStream & | rInput, |
const OUString & | rBaseURL, | ||
EETextFormat | eFormat | ||
) |
Definition at line 276 of file svdotext.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), NbcSetText(), SdrObject::pUserCall, Resize, SdrObject::SendUserCall(), and SdrObject::SetChanged().
void SdrTextObj::SetTextAnimationAllowed | ( | bool | bNew | ) |
Definition at line 1851 of file svdotext.cxx.
References SdrObject::ActionChanged(), and mbTextAnimationAllowed.
Referenced by SdrObjEditView::SdrBeginTextEdit(), and SdrObjEditView::SdrEndTextEdit().
Definition at line 217 of file svdotext.hxx.
|
inline |
Definition at line 507 of file svdotext.hxx.
void SdrTextObj::SetTextLink | ( | const OUString & | rFileName, |
const OUString & | rFilterName | ||
) |
Definition at line 122 of file svdotxln.cxx.
References ImpSdrObjTextLinkUserData::aFileName, ImpSdrObjTextLinkUserData::aFilterName, SdrObject::AppendUserData(), ImpSdrObjTextLinkUserData::eCharSet, GetLinkUserData(), ImpRegisterLink(), ImpSdrObjTextLinkUserData, pData, and ReleaseTextLink().
|
inlineprotected |
Definition at line 288 of file svdotext.hxx.
Referenced by NbcReformatText(), sdr::table::SdrTableObj::NbcSetOutlinerParaObject(), NbcSetOutlinerParaObjectForText(), sdr::properties::TextProperties::Notify(), RestoreGeoData(), and SdrMeasureObj::SetTextDirty().
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.
rOutl | The Outliner to setup. |
rPaintRect | The 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 1335 of file svdotext.cxx.
References ImpInitDrawOutliner(), and UpdateOutlinerFormatting().
Referenced by SvxTextEditSourceImpl::SetupOutliner().
|
virtual |
Reimplemented in sdr::table::SdrTableObj, and SdrObjCustomShape.
Definition at line 1512 of file svdotext.cxx.
References ForceOutlinerParaObject(), SfxItemSet::Get(), SdrObject::GetObjectItemSet(), GetOutlinerParaObject(), SfxItemSet::GetPool(), SdrAttrObj::GetSnapRect(), OutlinerParaObject::IsVertical(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), SDRATTR_TEXT_AUTOGROWHEIGHT(), SDRATTR_TEXT_AUTOGROWWIDTH(), SDRATTR_TEXT_HORZADJUST(), SDRATTR_TEXT_VERTADJUST(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, SDRTEXTVERTADJUST_TOP, SdrObject::SetObjectItemSet(), SdrObject::SetSnapRect(), and OutlinerParaObject::SetVertical().
Referenced by sdr::properties::TextProperties::ItemChange(), and SvxShapeText::setPropertyValueImpl().
|
overridevirtual |
contour for TextToContour
Reimplemented from SdrObject.
Reimplemented in SdrObjCustomShape.
Definition at line 1067 of file svdotext.cxx.
References aGeo, basegfx::B2DPolyPolygon::append(), Outliner::Clear(), tools::Polygon::getB2DPolygon(), GetOutlinerParaObject(), ImpGetDrawOutliner(), IsContourTextFrame(), IsFitToSize(), IsFontwork(), GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::nRotationAngle, RotatePoly(), SdrObject::TakeContour(), TakeTextRect(), and tools::Rectangle::TopLeft().
Referenced by ImpSetContourPolygon(), and ImpSdrGDIMetaFileImport::InsertObj().
|
overridevirtual |
Polygon dragged by the user when creating the object.
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrObjCustomShape, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 230 of file svdotxdr.cxx.
References basegfx::B2DPolyPolygon::append(), vcl::unotools::b2DRectangleFromRectangle(), basegfx::utils::createPolygonFromRect(), tools::Rectangle::Justify(), and SdrDragStat::TakeCreateRect().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, sdr::table::SdrTableObj, SdrGrafObj, SdrObjCustomShape, SdrOle2Obj, SdrCircObj, SdrRectObj, SdrCaptionObj, SdrMeasureObj, SdrPathObj, SdrUnoObj, and SdrMediaObj.
Definition at line 440 of file svdotext.cxx.
References aGeo, SdrObjTransformInfoRec::bCanConvToContour, SdrObjTransformInfoRec::bCanConvToPath, SdrObjTransformInfoRec::bCanConvToPathLineToArea, SdrObjTransformInfoRec::bCanConvToPoly, SdrObjTransformInfoRec::bCanConvToPolyLineToArea, SdrObjTransformInfoRec::bEdgeRadiusAllowed, SdrObjTransformInfoRec::bMirror45Allowed, SdrObjTransformInfoRec::bMirror90Allowed, SdrObjTransformInfoRec::bMirrorFreeAllowed, SdrObjTransformInfoRec::bResizeFreeAllowed, SdrObjTransformInfoRec::bResizePropAllowed, SdrObjTransformInfoRec::bRotate90Allowed, SdrObjTransformInfoRec::bRotateFreeAllowed, SdrObjTransformInfoRec::bShearAllowed, SdrObjTransformInfoRec::bTransparenceAllowed, o3tl::strong_int< UNDERLYING_TYPE, PHANTOM_TYPE >::get(), ImpCanConvTextToCurve(), IsTextFrame(), SdrObject::LineGeometryUsageIsNecessary(), and GeoStat::nRotationAngle.
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrObjCustomShape, sdr::table::SdrTableObj, SdrGrafObj, SdrOle2Obj, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, SdrUnoObj, SdrPathObj, and SdrMediaObj.
Definition at line 1034 of file svdotext.cxx.
References eTextKind, IsLinkedText(), OBJ_OUTLINETEXT, OBJ_TITLETEXT, sName, and SvxResId().
Referenced by SdrRectObj::TakeObjNamePlural().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrObjCustomShape, sdr::table::SdrTableObj, SdrGrafObj, SdrOle2Obj, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, SdrUnoObj, SdrPathObj, and SdrMediaObj.
Definition at line 970 of file svdotext.cxx.
References aName, aStr, eTextKind, SdrObject::GetName(), GetOutlinerParaObject(), EditTextObject::GetText(), OutlinerParaObject::GetTextObject(), IsLinkedText(), OBJ_OUTLINETEXT, OBJ_TITLETEXT, sName, comphelper::string::stripStart(), SvxResId(), and u.
Referenced by SdrObjEditView::SdrEndTextEdit(), and SdrRectObj::TakeObjNameSingul().
|
virtual |
Reimplemented in sdr::table::SdrTableObj.
Definition at line 635 of file svdotext.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), aGeo, tools::Rectangle::GetHeight(), GetTextLeftDistance(), GetTextLowerDistance(), GetTextRightDistance(), GetTextUpperDistance(), tools::Rectangle::GetWidth(), ImpJustifyRect(), IsTextFrame(), tools::Rectangle::Left(), maRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, tools::Rectangle::Move(), GeoStat::nRotationAngle, Point, RotatePoint(), tools::Rectangle::SetBottom(), tools::Rectangle::SetRight(), TakeUnrotatedSnapRect(), tools::Rectangle::Top(), and tools::Rectangle::TopLeft().
Referenced by ImpSetTextEditParams(), SdrObjEditView::ModelHasChanged(), SdrMeasureObj::TakeTextAnchorRect(), SdrObjCustomShape::TakeTextAnchorRect(), TakeTextEditArea(), and TakeTextRect().
|
virtual |
Reimplemented in sdr::table::SdrTableObj, SdrObjCustomShape, and SdrMeasureObj.
Definition at line 131 of file svdotxed.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Size::AdjustWidth(), aGeo, Alternate, tools::Rectangle::Center(), Down, GetMaxTextFrameHeight(), GetMaxTextFrameWidth(), GetMinTextFrameHeight(), GetMinTextFrameWidth(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetSize(), GetTextAniDirection(), GetTextAniKind(), GetTextHorizontalAdjust(), GetTextVerticalAdjust(), Size::Height(), IsAutoGrowHeight(), IsAutoGrowWidth(), IsChainable(), IsFitToSize(), IsInEditMode(), IsTextFrame(), IsVerticalWriting(), tools::Rectangle::Left(), Left, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, tools::Rectangle::Move(), GeoStat::nRotationAngle, Point, Right, RotatePoint(), Scroll, SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_TOP, tools::Rectangle::SetBottom(), Size::setHeight(), tools::Rectangle::SetRight(), Size::setWidth(), Slide, TakeTextAnchorRect(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), Up, and Size::Width().
Referenced by ImpSetTextEditParams(), SdrObjEditView::ModelHasChanged(), SdrObjEditView::SdrBeginTextEdit(), and SdrMeasureObj::TakeTextEditArea().
|
virtual |
Reimplemented in SdrObjCustomShape, sdr::table::SdrTableObj, and SdrMeasureObj.
Definition at line 670 of file svdotext.cxx.
References aGeo, 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, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::nRotationAngle, pEdtOutl, 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::SetPaperSize(), Outliner::SetText(), SdrOutliner::SetTextObj(), Outliner::SetUpdateMode(), Slide, TakeTextAnchorRect(), tools::Rectangle::TopLeft(), and Up.
Referenced by BegTextEdit(), ImpSetupDrawOutlinerForPaint(), SdrObjEditView::SdrBeginTextEdit(), TakeContour(), and SdrMeasureObj::TakeTextRect().
|
virtual |
Reimplemented in SdrEdgeObj, SdrCircObj, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 630 of file svdotext.cxx.
References maRect.
Referenced by TakeTextAnchorRect().
|
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 SdrEdgeObj, SdrObjCustomShape, SdrCircObj, SdrCaptionObj, SdrRectObj, SdrMeasureObj, and SdrPathObj.
Definition at line 1056 of file svdotext.cxx.
References aGeo, basegfx::B2DPolyPolygon::append(), tools::Polygon::getB2DPolygon(), maRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, GeoStat::nRotationAngle, GeoStat::nShearAngle, RotatePoly(), ShearPoly(), and tools::Rectangle::TopLeft().
Referenced by ImpSetContourPolygon().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrObjCustomShape, SdrPathObj, and SdrMeasureObj.
Definition at line 1588 of file svdotext.cxx.
References aGeo, basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), basegfx::deg2rad(), basegfx::fTools::equalZero(), o3tl::strong_int< UNDERLYING_TYPE, PHANTOM_TYPE >::get(), SdrObject::GetAnchorPos(), tools::Rectangle::GetHeight(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetWidth(), SdrModel::IsWriter(), tools::Rectangle::Left(), maRect, GeoStat::nRotationAngle, GeoStat::nShearAngle, tools::Rectangle::Top(), X, and Y.
Referenced by SdrGrafObj::addCropHandles(), SdrOle2Obj::createSdrGrafObjReplacement(), and SdrDragCrop::EndSdrDrag().
|
overridevirtual |
Reimplemented from SdrObject.
Reimplemented in SdrEdgeObj, SdrObjCustomShape, SdrPathObj, SdrCaptionObj, and SdrMeasureObj.
Definition at line 1623 of file svdotext.cxx.
References aGeo, basegfx::B2DHomMatrix::decompose(), basegfx::fTools::equalZero(), basegfx::B2DTuple::equalZero(), F_PI18000, FRound(), SdrObject::GetAnchorPos(), SdrObject::getSdrModelFromSdrObject(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, SdrObject::Mirror(), SdrObject::Move(), NormAngle36000(), GeoStat::nRotationAngle, GeoStat::nShearAngle, Point, basegfx::rad2deg(), GeoStat::RecalcSinCos(), GeoStat::RecalcTan(), SdrObject::Rotate(), SdrObject::SetSnapRect(), basegfx::B2DTuple::setX(), basegfx::B2DTuple::setY(), SdrObject::Shear(), X, and Y.
Referenced by SdrOle2Obj::createSdrGrafObjReplacement(), and SdrDragCrop::EndSdrDrag().
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.
rOutl | The Outliner to update. |
rPaintRect | The 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 1341 of file svdotext.cxx.
References SdrObject::getSdrModelFromSdrObject(), ImpSetupDrawOutlinerForPaint(), IsContourTextFrame(), Point, and Outliner::SetRefMapMode().
Referenced by SetupOutlinerFormatting(), and SvxTextEditSourceImpl::UpdateOutliner().
|
friend |
Definition at line 632 of file svdotext.hxx.
|
friend |
Definition at line 146 of file svdotext.hxx.
|
friend |
Definition at line 167 of file svdotext.hxx.
Referenced by ImpRegisterLink().
|
friend |
Definition at line 168 of file svdotext.hxx.
Referenced by SetTextLink().
|
friend |
Definition at line 165 of file svdotext.hxx.
|
friend |
Definition at line 149 of file svdotext.hxx.
|
friend |
Definition at line 164 of file svdotext.hxx.
|
friend |
Definition at line 141 of file svdotext.hxx.
|
friend |
Definition at line 142 of file svdotext.hxx.
|
friend |
Definition at line 143 of file svdotext.hxx.
|
friend |
Definition at line 170 of file svdotext.hxx.
|
friend |
Definition at line 173 of file svdotext.hxx.
|
friend |
Definition at line 175 of file svdotext.hxx.
|
friend |
Definition at line 172 of file svdotext.hxx.
|
friend |
Definition at line 169 of file svdotext.hxx.
|
friend |
Definition at line 176 of file svdotext.hxx.
|
friend |
Definition at line 171 of file svdotext.hxx.
|
friend |
Definition at line 174 of file svdotext.hxx.
|
friend |
Definition at line 144 of file svdotext.hxx.
|
friend |
Definition at line 145 of file svdotext.hxx.
|
protected |
Definition at line 185 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(), SdrMeasureObj::TakeUnrotatedSnapRect(), SdrRectObj::TakeUnrotatedSnapRect(), SdrCircObj::TakeUnrotatedSnapRect(), TakeXorPoly(), SdrPathObj::TRGetBaseGeometry(), SdrObjCustomShape::TRGetBaseGeometry(), TRGetBaseGeometry(), SdrPathObj::TRSetBaseGeometry(), SdrObjCustomShape::TRSetBaseGeometry(), and TRSetBaseGeometry().
|
protected |
Definition at line 191 of file svdotext.hxx.
Referenced by GetTextSize(), NbcSetText(), sdr::table::SdrTableObj::SdrTableObj(), SdrTextObj(), and SdrMeasureObj::UndirtyText().
|
protected |
Definition at line 245 of file svdotext.hxx.
Referenced by AdaptTextMinSize(), sdr::table::SdrTableObj::SdrTableObj(), and SdrTextObj().
|
protected |
Definition at line 232 of file svdotext.hxx.
Referenced by ImpCheckShear(), SdrGrafObj::SdrGrafObj(), sdr::table::SdrTableObj::SdrTableObj(), and SdrTextObj().
|
protected |
Definition at line 231 of file svdotext.hxx.
Referenced by AdaptTextMinSize(), AdjustTextFrameWidthAndHeight(), IsAutoGrowHeight(), IsAutoGrowWidth(), IsContourTextFrame(), IsFontwork(), IsHideContour(), NbcReformatText(), onEditOutlinerStatusEvent(), SdrObjCustomShape::SdrObjCustomShape(), sdr::table::SdrTableObj::SdrTableObj(), SdrTextObj(), and sdr::properties::CustomShapeProperties::UpdateTextFrameStatus().
|
protected |
Definition at line 233 of file svdotext.hxx.
Referenced by GetTextSize(), NbcSetText(), sdr::table::SdrTableObj::SdrTableObj(), SdrTextObj(), and SdrMeasureObj::UndirtyText().
|
protected |
Definition at line 204 of file svdotext.hxx.
Referenced by ForceOutlinerParaObject(), SdrRectObj::GetObjIdentifier(), GetObjIdentifier(), SdrRectObj::SdrRectObj(), sdr::table::SdrTableObj::SdrTableObj(), SdrTextObj(), TakeObjNamePlural(), and TakeObjNameSingul().
|
protected |
Definition at line 182 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(), SdrMeasureObj::TakeUnrotatedSnapRect(), SdrRectObj::TakeUnrotatedSnapRect(), SdrCircObj::TakeUnrotatedSnapRect(), TakeUnrotatedSnapRect(), SdrRectObj::TakeXorPoly(), SdrCircObj::TakeXorPoly(), TakeXorPoly(), SdrObjCustomShape::TRGetBaseGeometry(), TRGetBaseGeometry(), and sdr::table::SdrTableObjImpl::update().
|
protected |
Definition at line 210 of file svdotext.hxx.
Referenced by SdrTextObj().
|
protected |
Definition at line 251 of file svdotext.hxx.
Referenced by onEditOutlinerStatusEvent(), and SdrTextObj().
|
protected |
Definition at line 235 of file svdotext.hxx.
Referenced by sdr::table::SdrTableObj::BegTextEdit(), BegTextEdit(), sdr::table::SdrTableObj::EndTextEdit(), EndTextEdit(), and SdrTextObj().
|
protected |
Definition at line 220 of file svdotext.hxx.
Referenced by getFullDragClone(), and GetPreventChainable().
|
protected |
Definition at line 248 of file svdotext.hxx.
Referenced by SdrTextObj(), and SetTextAnimationAllowed().
|
protected |
Definition at line 223 of file svdotext.hxx.
Referenced by GetNextLinkInChain(), IsChainable(), and SetNextLinkInChain().
|
protected |
Definition at line 224 of file svdotext.hxx.
Referenced by GetPrevLinkInChain(), and SetNextLinkInChain().
|
protected |
Definition at line 188 of file svdotext.hxx.
Referenced by getActiveText(), getText(), and ~SdrTextObj().
|
protected |
Definition at line 196 of file svdotext.hxx.
Referenced by SdrObjCustomShape::AdjustTextFrameWidthAndHeight(), AdjustTextFrameWidthAndHeight(), sdr::table::SdrTableObj::BegTextEdit(), BegTextEdit(), CanCreateEditOutlinerParaObject(), CreateEditOutlinerParaObject(), sdr::table::SdrTableObj::EndTextEdit(), EndTextEdit(), sdr::table::SdrTableObj::GetCellTextEditOutliner(), HasText(), ImpSetTextEditParams(), sdr::table::SdrTableObj::IsReallyEdited(), IsReallyEdited(), sdr::table::SdrTableObj::IsTextEditActive(), IsVerticalWriting(), onChainingEvent(), onEditOutlinerStatusEvent(), RemoveOutlinerCharacterAttribs(), SdrTextObj(), SdrObjCustomShape::TakeTextRect(), and TakeTextRect().