LibreOffice Module svx (master)
1
|
#include <svdoashp.hxx>
Public Member Functions | |
virtual std::unique_ptr< sdr::properties::BaseProperties > | CreateObjectSpecificProperties () override |
css::uno::Reference< css::drawing::XCustomShapeEngine > const & | GetCustomShapeEngine () const |
std::vector< SdrCustomShapeInteraction > | GetInteractionHandles () const |
SVX_DLLPRIVATE void | DragCreateObject (SdrDragStat &rDrag) |
SVX_DLLPRIVATE void | DragResizeCustomShape (const tools::Rectangle &rNewRect) |
void | DragMoveCustomShapeHdl (const Point &rDestination, const sal_uInt16 nCustomShapeHdlNum, bool bMoveCalloutRectangle) |
void | InvalidateRenderGeometry () |
void | ImpCheckCustomGluePointsAreAdded () |
tools::Rectangle | ImpCalculateTextFrame (const bool bHgt, const bool bWdt) |
const SdrObject * | GetSdrObjectFromCustomShape () const |
const SdrObject * | GetSdrObjectShadowFromCustomShape () const |
bool | GetTextBounds (tools::Rectangle &rTextBound) const |
bool | IsTextPath () const |
basegfx::B2DPolyPolygon | GetLineGeometry (const bool bBezierAllowed) const |
bool | UseNoFillStyle () const |
bool | IsMirroredX () const |
bool | IsMirroredY () const |
void | SetMirroredX (const bool bMirroredX) |
void | SetMirroredY (const bool bMirroredY) |
double | GetObjectRotation () const |
double | GetExtraTextRotation (const bool bPreRotation=false) const |
SdrObjCustomShape (SdrModel &rSdrModel) | |
void | MergeDefaultAttributes (const OUString *pType=nullptr) |
bool | IsDefaultGeometry (const DefaultType eDefaultType) const |
virtual SdrObjKind | GetObjIdentifier () const override |
virtual void | TakeObjInfo (SdrObjTransformInfoRec &rInfo) const override |
virtual void | Move (const Size &rSiz) override |
virtual void | Shear (const Point &rRef, Degree100 nAngle, double tn, bool bVShear) override |
virtual void | SetSnapRect (const tools::Rectangle &rRect) override |
virtual void | SetLogicRect (const tools::Rectangle &rRect) override |
virtual void | AdjustToMaxRect (const tools::Rectangle &rMaxRect, bool bShrinkOnly=false) override |
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 void | NbcSetSnapRect (const tools::Rectangle &rRect) override |
virtual void | NbcSetLogicRect (const tools::Rectangle &rRect) override |
virtual SdrGluePoint | GetVertexGluePoint (sal_uInt16 nNum) const override |
virtual void | NbcSetStyleSheet (SfxStyleSheet *pNewStyleSheet, bool bDontRemoveHardAttr) override |
virtual bool | hasSpecialDrag () const override |
The standard transformations (Move,Resize,Rotate,Mirror,Shear) are taken over by the View (TakeXorPoly(),...). More... | |
virtual bool | beginSpecialDrag (SdrDragStat &rDrag) const override |
virtual bool | applySpecialDrag (SdrDragStat &rDrag) override |
virtual bool | MovCreate (SdrDragStat &rStat) override |
virtual bool | EndCreate (SdrDragStat &rStat, SdrCreateCmd eCmd) override |
void | SuggestTextFrameSize (Size aSuggestedTextFrameSize) |
Allows suggesting the text frame size: in case the application has its own text associated to the shape, instead of using the shape's editeng text. More... | |
virtual bool | AdjustTextFrameWidthAndHeight (tools::Rectangle &rR, bool bHgt=true, bool bWdt=true) const override |
virtual bool | NbcAdjustTextFrameWidthAndHeight (bool bHgt=true, bool bWdt=true) override |
virtual bool | AdjustTextFrameWidthAndHeight () override |
virtual bool | IsAutoGrowHeight () const override |
virtual bool | IsAutoGrowWidth () const override |
virtual void | SetVerticalWriting (bool bVertical) override |
virtual void | TakeTextEditArea (Size *pPaperMin, Size *pPaperMax, tools::Rectangle *pViewInit, tools::Rectangle *pViewMin) const override |
virtual void | EndTextEdit (SdrOutliner &rOutl) override |
virtual void | TakeTextAnchorRect (tools::Rectangle &rAnchorRect) const override |
virtual void | TakeTextRect (SdrOutliner &rOutliner, tools::Rectangle &rTextRect, bool bNoEditText, tools::Rectangle *pAnchorRect, bool bLineWidth=true) const override |
virtual SdrObjCustomShape * | CloneSdrObject (SdrModel &rTargetModel) const override |
SdrObjCustomShape & | operator= (const SdrObjCustomShape &rObj) |
virtual OUString | TakeObjNameSingul () const override |
virtual OUString | TakeObjNamePlural () const override |
virtual basegfx::B2DPolyPolygon | TakeCreatePoly (const SdrDragStat &rDrag) const override |
Polygon dragged by the user when creating the object. More... | |
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 | NbcSetOutlinerParaObject (std::unique_ptr< OutlinerParaObject > pTextObject) override |
virtual SdrObjectUniquePtr | DoConvertToPolyObj (bool bBezier, bool bAddText) const override |
virtual void | handlePageChange (SdrPage *pOldPage, SdrPage *pNewPage) override |
virtual 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 | RestGeoData (const SdrObjGeoData &rGeo) override |
virtual bool | TRGetBaseGeometry (basegfx::B2DHomMatrix &rMatrix, basegfx::B2DPolyPolygon &rPolyPolygon) const override |
virtual void | TRSetBaseGeometry (const basegfx::B2DHomMatrix &rMatrix, const basegfx::B2DPolyPolygon &rPolyPolygon) override |
virtual const SdrGluePointList * | GetGluePointList () const override |
virtual SdrGluePointList * | ForceGluePointList () override |
virtual sal_uInt32 | GetHdlCount () const override |
Via GetHdlCount the number of Handles can be retrieved. More... | |
virtual void | AddToHdlList (SdrHdlList &rHdlList) const override |
OUString | GetCustomShapeName () const |
![]() | |
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) |
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 | TakeTextAnchorRect (::tools::Rectangle &rAnchorRect) const |
const GeoStat & | GetGeoStat () const |
tools::Long | GetEckenradius () const |
tools::Long | GetMinTextFrameHeight () const |
tools::Long | GetMaxTextFrameHeight () 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 | TakeUnrotatedSnapRect (tools::Rectangle &rRect) const |
SdrTextObj & | operator= (const SdrTextObj &rObj) |
virtual void | RecalcSnapRect () override |
Snap is not done on the BoundRect but if possible on logic coordinates (i.e. More... | |
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 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 | BckCreate (SdrDragStat &rStat) override |
virtual void | BrkCreate (SdrDragStat &rStat) override |
virtual PointerStyle | GetCreatePointer () const override |
get the cursor/pointer that signals creating this object More... | |
virtual bool | HasTextEdit () const override |
virtual bool | BegTextEdit (SdrOutliner &rOutl) |
virtual EEAnchorMode | GetOutlinerViewAnchorMode () const |
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 |
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 | 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... | |
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 |
![]() | |
SdrAttrObj (SdrAttrObj const &)=delete | |
SdrAttrObj (SdrAttrObj &&)=delete | |
SdrAttrObj & | operator= (SdrAttrObj const &)=default |
SdrAttrObj & | operator= (SdrAttrObj &&)=default |
bool | HasFill () const |
bool | HasLine () const |
virtual const tools::Rectangle & | GetSnapRect () const override |
![]() | |
const SdrObject * | getFillGeometryDefiningShape () const |
SdrObject (SdrModel &rSdrModel) | |
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) |
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) |
virtual void | AddToPlusHdlList (SdrHdlList &rHdlList, SdrHdl &rHdl) const |
virtual void | addCropHandles (SdrHdlList &rTarget) 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 | 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 | 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 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 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) |
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 | GetCornerGluePoint (sal_uInt16 nNum) const |
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 bool | doConstructOrthogonal (const OUString &rName) |
![]() | |
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) |
Public Attributes | |
css::uno::Reference< css::drawing::XShape > | mXRenderedCustomShape |
css::uno::Reference< css::drawing::XCustomShapeEngine > | mxCustomShapeEngine |
SdrObject * | mpLastShadowGeometry |
Protected Member Functions | |
virtual std::unique_ptr< sdr::contact::ViewContact > | CreateObjectSpecificViewContact () override |
virtual void | impl_setUnoShape (const css::uno::Reference< css::uno::XInterface > &rxUnoShape) override |
Sets a new UNO shape. More... | |
virtual void | AdaptTextMinSize () override |
virtual | ~SdrObjCustomShape () 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 |
void | NbcSetEckenradius (tools::Long nRad) |
SdrTextObj (SdrModel &rSdrModel) | |
SdrTextObj (SdrModel &rSdrModel, const tools::Rectangle &rNewRect) | |
SdrTextObj (SdrModel &rSdrModel, SdrObjKind eNewTextKind) | |
SdrTextObj (SdrModel &rSdrModel, SdrObjKind eNewTextKind, const tools::Rectangle &rNewRect) | |
virtual | ~SdrTextObj () override |
![]() | |
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) | |
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 |
template<typename T > | |
T * | CloneHelper (SdrModel &rTargetModel) const |
const SfxItemSet * | getBackgroundFillSet () const |
![]() | |
~ITextProvider () | |
Private Attributes | |
double | fObjectRotation |
bool | mbAdjustingTextFrameWidthAndHeight |
Friends | |
class | sdr::properties::CustomShapeProperties |
Additional Inherited Members | |
![]() | |
static void | ImpSetCharStretching (SdrOutliner &rOutliner, const Size &rTextSize, const Size &rShapeSize, Fraction &rFitXCorrection) |
static void | ImpJustifyRect (tools::Rectangle &rRect) |
Definition at line 75 of file svdoashp.hxx.
|
strong |
Enumerator | |
---|---|
Path | |
Viewbox | |
Segments | |
Gluepoints | |
StretchX | |
StretchY | |
Equations | |
TextFrames |
Definition at line 154 of file svdoashp.hxx.
|
overrideprotectedvirtual |
Definition at line 798 of file svdoashp.cxx.
References InvalidateRenderGeometry().
SdrObjCustomShape::SdrObjCustomShape | ( | SdrModel & | rSdrModel | ) |
Definition at line 788 of file svdoashp.cxx.
References SdrObject::bClosedObj, and SdrTextObj::bTextFrame.
|
overrideprotectedvirtual |
Reimplemented from SdrTextObj.
Definition at line 1359 of file svdoashp.cxx.
References tools::Rectangle::GetHeight(), SdrObject::GetObjectItem(), SdrObject::GetObjectItemSet(), SdrObject::getSdrModelFromSdrObject(), GetTextBounds(), SdrTextObj::GetTextLeftDistance(), SdrTextObj::GetTextLowerDistance(), SdrTextObj::GetTextRightDistance(), SdrTextObj::GetTextUpperDistance(), GetValue, tools::Rectangle::GetWidth(), makeSdrTextMinFrameHeightItem(), makeSdrTextMinFrameWidthItem(), SdrTextObj::maRect, SDRATTR_TEXT_AUTOGROWHEIGHT(), SDRATTR_TEXT_AUTOGROWWIDTH(), SDRATTR_TEXT_MINFRAMEHEIGHT(), SDRATTR_TEXT_MINFRAMEWIDTH(), and SdrObject::SetObjectItemSet().
Referenced by EndCreate(), NbcSetLogicRect(), NbcSetSnapRect(), and sdr::properties::CustomShapeProperties::UpdateTextFrameStatus().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 1836 of file svdoashp.cxx.
References SdrHdlList::AddHdl(), SdrTextObj::AddToHdlList(), CustomShape1, GetInteractionHandles(), and Point.
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2240 of file svdoashp.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Size::AdjustWidth(), SdrTextObj::aGeo, tools::Rectangle::Bottom(), Outliner::CalcTextSize(), Outliner::Clear(), SdrTextObj::GetMaxTextFrameHeight(), SdrTextObj::GetMaxTextFrameWidth(), SdrObject::GetMergedItem(), SdrTextObj::GetMinTextFrameHeight(), SdrTextObj::GetMinTextFrameWidth(), SdrTextObj::GetOutlinerParaObject(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetSize(), Outliner::GetTextHeight(), SdrTextObj::GetTextHorizontalAdjust(), SdrTextObj::GetTextLeftDistance(), SdrTextObj::GetTextLowerDistance(), SdrTextObj::GetTextRightDistance(), SdrTextObj::GetTextUpperDistance(), SdrTextObj::GetTextVerticalAdjust(), GetValue, SdrTextObj::HasText(), Size::Height(), SdrTextObj::ImpGetDrawOutliner(), IsAutoGrowHeight(), IsAutoGrowWidth(), tools::Rectangle::IsEmpty(), Size::IsEmpty(), tools::Rectangle::Left(), m_aSuggestedTextFrameSize, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, tools::Rectangle::Move(), GeoStat::nRotationAngle, SdrTextObj::pEdtOutl, Point, tools::Rectangle::Right(), RotatePoint(), 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(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), and Size::Width().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2465 of file svdoashp.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetCurrentBoundRect(), GetInteractionHandles(), ImpCalculateTextFrame(), InvalidateRenderGeometry(), tools::Rectangle::IsEmpty(), SdrTextObj::maRect, SdrObject::pUserCall, Resize, RESIZE_FIXED, SdrObject::SendUserCall(), SdrObject::SetChanged(), and SdrObject::SetRectsDirty().
Referenced by ImpCalculateTextFrame().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 2913 of file svdoashp.cxx.
References basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), basegfx::utils::createUnitPolygon(), basegfx::B2DHomMatrix::decompose(), basegfx::fTools::equalZero(), basegfx::B2DPolygon::getB2DRange(), tools::Rectangle::GetHeight(), basegfx::B2DRange::getMinX(), SdrAttrObj::GetSnapRect(), basegfx::B2DRange::getWidth(), tools::Rectangle::GetWidth(), tools::Rectangle::getX(), tools::Rectangle::getY(), tools::Rectangle::IsEmpty(), SAL_INFO_IF, basegfx::B2DHomMatrix::scale(), basegfx::B2DPolygon::transform(), basegfx::B2DHomMatrix::translate(), TRGetBaseGeometry(), and TRSetBaseGeometry().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2043 of file svdoashp.cxx.
References CustomShape1, DragMoveCustomShapeHdl(), DragResizeCustomShape(), SdrDragStat::GetDragMethod(), SdrDragStat::GetDX(), SdrDragStat::GetDY(), SdrDragStat::GetHdl(), SdrHdl::GetKind(), SdrDragStat::GetNow(), SdrHdl::GetPointNum(), SdrTextObj::ImpDragCalcRect(), InvalidateRenderGeometry(), SdrDragMethod::IsShiftPressed(), Left, Lower, LowerLeft, LowerRight, Move, Move(), Right, SdrObject::SetChanged(), SdrDragStat::SetEndDragChangesGeoAndAttributes(), SdrObject::SetRectsDirty(), Upper, UpperLeft, and UpperRight.
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1866 of file svdoashp.cxx.
References CustomShape1, SdrDragStat::GetHdl(), SdrHdl::GetKind(), Left, Lower, LowerLeft, LowerRight, Move, Right, SdrDragStat::SetEndDragChangesAttributes(), SdrDragStat::SetNoSnap(), Upper, UpperLeft, and UpperRight.
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2762 of file svdoashp.cxx.
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 783 of file svdoashp.cxx.
|
overrideprotectedvirtual |
Reimplemented from SdrTextObj.
Definition at line 3175 of file svdoashp.cxx.
|
static |
Definition at line 3181 of file svdoashp.cxx.
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2812 of file svdoashp.cxx.
References SdrObject::CloneSdrObject(), DBG_ASSERT, SdrObject::DoConvertToPolyObj(), SdrObject::Free(), SdrObject::GetMergedItem(), SdrObject::getSdrModelFromSdrObject(), GetSdrObjectFromCustomShape(), GetSdrObjectFromXShape(), GetValue, SdrTextObj::HasText(), SdrTextObj::ImpConvertAddText(), IsTextPath(), makeSdrShadowItem(), mXRenderedCustomShape, and SDRATTR_SHADOW().
void SdrObjCustomShape::DragCreateObject | ( | SdrDragStat & | rDrag | ) |
Definition at line 2084 of file svdoashp.cxx.
References SdrObject::bSnapRectDirty, CREATE_FIXED, GetInteractionHandles(), SdrDragStat::GetNow(), SdrDragStat::GetStart(), SdrTextObj::ImpJustifyRect(), ImpVerticalSwitch(), tools::Rectangle::Left(), SdrTextObj::maRect, tools::Rectangle::Move(), tools::Rectangle::Right(), SdrDragStat::SetActionRect(), SdrObject::SetBoundRectDirty(), SetMirroredX(), SdrObject::SetRectsDirty(), and SdrDragStat::TakeCreateRect().
Referenced by EndCreate(), and MovCreate().
void SdrObjCustomShape::DragMoveCustomShapeHdl | ( | const Point & | rDestination, |
const sal_uInt16 | nCustomShapeHdlNum, | ||
bool | bMoveCalloutRectangle | ||
) |
Definition at line 2002 of file svdoashp.cxx.
References SdrObject::aOutRect, SdrCustomShapeInteraction::aPosition, GetInteractionHandles(), InvalidateRenderGeometry(), SdrTextObj::maRect, SdrAttrObj::maSnapRect, tools::Rectangle::Move(), MOVE_SHAPE, SdrCustomShapeInteraction::nMode, RESIZE_FIXED, SdrObject::SetRectsDirty(), and SdrCustomShapeInteraction::xInteraction.
Referenced by applySpecialDrag().
void SdrObjCustomShape::DragResizeCustomShape | ( | const tools::Rectangle & | rNewRect | ) |
Definition at line 1904 of file svdoashp.cxx.
References SdrTextObj::aGeo, tools::Rectangle::Bottom(), Bottom, SdrTextObj::GetGeoStat(), GetInteractionHandles(), SdrAttrObj::GetSnapRect(), InvalidateRenderGeometry(), IsMirroredX(), IsMirroredY(), tools::Rectangle::Justify(), tools::Rectangle::Left(), Left, SdrTextObj::maRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, NbcMirror(), GeoStat::nRotationAngle, GeoStat::nShearAngle, Point, RESIZE_ABSOLUTE_NEGX, RESIZE_ABSOLUTE_X, RESIZE_ABSOLUTE_Y, RESIZE_FIXED, tools::Rectangle::Right(), Right, RotatePoint(), SetLogicRect(), tools::Rectangle::SetPos(), ShearPoint(), Top, tools::Rectangle::Top(), and tools::Rectangle::TopLeft().
Referenced by applySpecialDrag().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2139 of file svdoashp.cxx.
References AdaptTextMinSize(), DragCreateObject(), ForceEnd, SdrDragStat::GetPointCount(), and SdrObject::SetRectsDirty().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2590 of file svdoashp.cxx.
References SdrTextObj::EndTextEdit(), and InvalidateRenderGeometry().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1816 of file svdoashp.cxx.
References SdrObject::ForceGluePointList(), and ImpCheckCustomGluePointsAreAdded().
Reference< XCustomShapeEngine > const & SdrObjCustomShape::GetCustomShapeEngine | ( | ) | const |
Definition at line 372 of file svdoashp.cxx.
References SdrObject::GetMergedItem(), comphelper::getProcessComponentContext(), GetValue, GetXShapeForSdrObject(), mxCustomShapeEngine, and SDRATTR_CUSTOMSHAPE_ENGINE().
Referenced by GetInteractionHandles(), GetLineGeometry(), GetSdrObjectFromCustomShape(), and GetTextBounds().
OUString SdrObjCustomShape::GetCustomShapeName | ( | ) | const |
Definition at line 3226 of file svdoashp.cxx.
References Any, EnhancedCustomShapeTypeNames::GetAccName(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), GetValue, SDRATTR_CUSTOMSHAPE_ENGINE(), and SDRATTR_CUSTOMSHAPE_GEOMETRY().
double SdrObjCustomShape::GetExtraTextRotation | ( | const bool | bPreRotation = false | ) | const |
Definition at line 505 of file svdoashp.cxx.
References SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), and SDRATTR_CUSTOMSHAPE_GEOMETRY().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1809 of file svdoashp.cxx.
References SdrObject::GetGluePointList(), and ImpCheckCustomGluePointsAreAdded().
|
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 SdrTextObj.
Definition at line 1830 of file svdoashp.cxx.
References SdrTextObj::GetHdlCount(), GetInteractionHandles(), and size.
std::vector< SdrCustomShapeInteraction > SdrObjCustomShape::GetInteractionHandles | ( | ) | const |
Definition at line 554 of file svdoashp.cxx.
References SdrCustomShapeInteraction::aPosition, CREATE_FIXED, GetCustomShapeEngine(), i, ImpGetCustomShapeType(), MOVE_SHAPE, mso_sptAccentBorderCallout1, mso_sptAccentBorderCallout2, mso_sptAccentBorderCallout3, mso_sptAccentBorderCallout90, mso_sptAccentCallout1, mso_sptAccentCallout2, mso_sptAccentCallout3, mso_sptAccentCallout90, mso_sptBorderCallout1, mso_sptBorderCallout2, mso_sptBorderCallout3, mso_sptBorderCallout90, mso_sptCallout1, mso_sptCallout2, mso_sptCallout3, mso_sptCallout90, mso_sptChevron, mso_sptCloudCallout, mso_sptHomePlate, mso_sptWedgeEllipseCallout, mso_sptWedgeRectCallout, mso_sptWedgeRRectCallout, SdrCustomShapeInteraction::nMode, NONE, ORTHO4, RESIZE_ABSOLUTE_NEGX, RESIZE_ABSOLUTE_X, RESIZE_ABSOLUTE_Y, RESIZE_FIXED, and SdrCustomShapeInteraction::xInteraction.
Referenced by AddToHdlList(), AdjustTextFrameWidthAndHeight(), DragCreateObject(), DragMoveCustomShapeHdl(), DragResizeCustomShape(), GetHdlCount(), NbcAdjustTextFrameWidthAndHeight(), and NbcResize().
basegfx::B2DPolyPolygon SdrObjCustomShape::GetLineGeometry | ( | const bool | bBezierAllowed | ) | const |
Definition at line 532 of file svdoashp.cxx.
References basegfx::utils::adaptiveSubdivideByAngle(), basegfx::B2DPolyPolygon::areControlPointsUsed(), GetCustomShapeEngine(), and basegfx::utils::UnoPolyPolygonBezierCoordsToB2DPolyPolygon().
Referenced by TakeCreatePoly(), and TakeXorPoly().
|
inline |
Definition at line 143 of file svdoashp.hxx.
Referenced by EnhancedCustomShape3d::CalculateNewSnapRect(), EnhancedCustomShape3d::Create3DObject(), and EnhancedCustomShape2d::EnhancedCustomShape2d().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 1352 of file svdoashp.cxx.
References OBJ_CUSTOMSHAPE.
const SdrObject * SdrObjCustomShape::GetSdrObjectFromCustomShape | ( | ) | const |
Definition at line 405 of file svdoashp.cxx.
References GetCustomShapeEngine(), GetSdrObjectFromXShape(), and mXRenderedCustomShape.
Referenced by sdr::contact::ViewContactOfSdrObjCustomShape::createViewIndependentPrimitive2DSequence(), DoConvertToPolyObj(), GetSdrObjectShadowFromCustomShape(), ImpCheckCustomGluePointsAreAdded(), SdrEditView::ImpDismantleOneObject(), and TakeContour().
const SdrObject * SdrObjCustomShape::GetSdrObjectShadowFromCustomShape | ( | ) | const |
Definition at line 420 of file svdoashp.cxx.
References SfxItemSet::Get(), SdrObject::GetObjectItemSet(), GetSdrObjectFromCustomShape(), ImpCreateShadowObjectClone(), mpLastShadowGeometry, and SDRATTR_SHADOW().
bool SdrObjCustomShape::GetTextBounds | ( | tools::Rectangle & | rTextBound | ) | const |
Definition at line 516 of file svdoashp.cxx.
References GetCustomShapeEngine(), and Point.
Referenced by AdaptTextMinSize(), sdr::contact::ViewContactOfSdrObjCustomShape::getCorrectedTextBoundRect(), ImpCalculateTextFrame(), SdrEditView::ImpDismantleOneObject(), and TakeTextAnchorRect().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1680 of file svdoashp.cxx.
References SdrTextObj::aGeo, tools::Rectangle::BottomCenter(), tools::Rectangle::Center(), SdrAttrObj::GetSnapRect(), SdrAttrObj::ImpGetLineWdt(), tools::Rectangle::LeftCenter(), SdrObject::LineIsOutsideGeometry(), SdrTextObj::maRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, GeoStat::nRotationAngle, GeoStat::nShearAngle, Point, tools::Rectangle::RightCenter(), RotatePoint(), SdrGluePoint::SetPercent(), ShearPoint(), tools::Rectangle::TopCenter(), and tools::Rectangle::TopLeft().
Reimplemented from SdrTextObj.
Definition at line 2862 of file svdoashp.cxx.
References SdrTextObj::handlePageChange(), SdrTextObj::maRect, and NbcSetSnapRect().
|
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 SdrTextObj.
Definition at line 1861 of file svdoashp.cxx.
tools::Rectangle SdrObjCustomShape::ImpCalculateTextFrame | ( | const bool | bHgt, |
const bool | bWdt | ||
) |
Definition at line 2401 of file svdoashp.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), AdjustTextFrameWidthAndHeight(), tools::Rectangle::AdjustTop(), tools::Rectangle::Bottom(), tools::Rectangle::GetHeight(), GetTextBounds(), tools::Rectangle::GetWidth(), tools::Rectangle::Left(), SdrTextObj::maRect, tools::Rectangle::Right(), and tools::Rectangle::Top().
Referenced by AdjustTextFrameWidthAndHeight(), and NbcAdjustTextFrameWidthAndHeight().
void SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded | ( | ) |
Definition at line 1708 of file svdoashp.cxx.
References a, SdrTextObj::aGeo, tools::Rectangle::Center(), basegfx::deg2rad(), fObjectRotation, SdrObject::ForceGluePointList(), tools::Polygon::GetBoundRect(), SdrGluePointList::GetCount(), SdrObject::GetGluePointList(), tools::Rectangle::GetHeight(), SdrGluePoint::GetPos(), GetSdrObjectFromCustomShape(), tools::Polygon::GetSize(), tools::Rectangle::GetWidth(), i, SdrGluePointList::Insert(), IsMirroredX(), IsMirroredY(), SdrGluePoint::IsUserDefined(), tools::Rectangle::Left(), SdrTextObj::maRect, GeoStat::mfTanShearAngle, GeoStat::nRotationAngle, GeoStat::nShearAngle, Point, SdrObject::pPlusData, tools::Polygon::Rotate(), RotatePoint(), SdrGluePoint::SetPos(), SdrGluePoint::SetUserDefined(), ShearPoint(), toDegree10(), and tools::Rectangle::Top().
Referenced by ForceGluePointList(), and GetGluePointList().
|
overrideprotectedvirtual |
Sets a new UNO shape.
The default implementation of this function sets the new UNO shape. Derived classes should override the function to handle any other actions that are needed when the shape is being changed.
The implementation must call the same method of its parent class (preferably as the first step)!
Reimplemented from SdrObject.
Definition at line 3217 of file svdoashp.cxx.
References SdrObject::impl_setUnoShape(), and mxCustomShapeEngine.
void SdrObjCustomShape::InvalidateRenderGeometry | ( | ) |
Definition at line 3210 of file svdoashp.cxx.
References SdrObject::Free(), mpLastShadowGeometry, and mXRenderedCustomShape.
Referenced by AdjustTextFrameWidthAndHeight(), applySpecialDrag(), DragMoveCustomShapeHdl(), DragResizeCustomShape(), EndTextEdit(), MovCreate(), NbcAdjustTextFrameWidthAndHeight(), NbcMirror(), NbcResize(), NbcRotate(), NbcSetLogicRect(), NbcSetOutlinerParaObject(), NbcSetSnapRect(), NbcSetStyleSheet(), NbcShear(), operator=(), RestGeoData(), Shear(), sdr::properties::CustomShapeProperties::UpdateTextFrameStatus(), and ~SdrObjCustomShape().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2157 of file svdoashp.cxx.
References SfxItemSet::Get(), SdrObject::GetMergedItemSet(), SdrTextObj::IsVerticalWriting(), SDRATTR_TEXT_AUTOGROWHEIGHT(), and SDRATTR_TEXT_WORDWRAP().
Referenced by AdjustTextFrameWidthAndHeight().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2165 of file svdoashp.cxx.
References SfxItemSet::Get(), SdrObject::GetMergedItemSet(), SdrTextObj::IsVerticalWriting(), SDRATTR_TEXT_AUTOGROWHEIGHT(), and SDRATTR_TEXT_WORDWRAP().
Referenced by AdjustTextFrameWidthAndHeight().
bool SdrObjCustomShape::IsDefaultGeometry | ( | const DefaultType | eDefaultType | ) | const |
Definition at line 1084 of file svdoashp.cxx.
References Any, BottomRight, DEFAULT_MINIMUM_SIGNED_COMPARE, Equations, First, EnhancedCustomShapeTypeNames::Get(), GetCustomShapeContent(), EnhancedCustomShape2d::GetEquation(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), Gluepoints, i, lcl_ShapeSegmentFromBinary(), mso_CustomShape::nCalculation, mso_CustomShape::nCoordHeight, mso_CustomShape::nCoordWidth, nCount, mso_CustomShape::nElements, SvxMSDffCalculationData::nFlags, mso_CustomShape::nGluePoints, SvxMSDffTextRectangles::nPairA, SvxMSDffTextRectangles::nPairB, mso_CustomShape::nTextRect, SvxMSDffCalculationData::nVal, SvxMSDffVertPair::nValA, SvxMSDffVertPair::nValB, mso_CustomShape::nVertices, mso_CustomShape::nXRef, mso_CustomShape::nYRef, Path, mso_CustomShape::pCalculation, pData, mso_CustomShape::pElements, mso_CustomShape::pGluePoints, mso_CustomShape::pTextRect, mso_CustomShape::pVertices, SDRATTR_CUSTOMSHAPE_GEOMETRY(), Segments, EnhancedCustomShape2d::SetEnhancedCustomShapeParameter(), StretchX, StretchY, TextFrames, TopLeft, and Viewbox.
bool SdrObjCustomShape::IsMirroredX | ( | ) | const |
Definition at line 468 of file svdoashp.cxx.
References SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), and SDRATTR_CUSTOMSHAPE_GEOMETRY().
Referenced by EnhancedCustomShape3d::CalculateNewSnapRect(), EnhancedCustomShape3d::Create3DObject(), DragResizeCustomShape(), ImpCheckCustomGluePointsAreAdded(), NbcMirror(), NbcResize(), NbcRotate(), NbcShear(), SaveGeoData(), TRGetBaseGeometry(), and TRSetBaseGeometry().
bool SdrObjCustomShape::IsMirroredY | ( | ) | const |
Definition at line 477 of file svdoashp.cxx.
References SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), and SDRATTR_CUSTOMSHAPE_GEOMETRY().
Referenced by EnhancedCustomShape3d::CalculateNewSnapRect(), EnhancedCustomShape3d::Create3DObject(), DragResizeCustomShape(), sdr::contact::ViewContactOfSdrObjCustomShape::getCorrectedTextBoundRect(), ImpCheckCustomGluePointsAreAdded(), NbcMirror(), NbcResize(), NbcRotate(), NbcShear(), SaveGeoData(), TRGetBaseGeometry(), and TRSetBaseGeometry().
bool SdrObjCustomShape::IsTextPath | ( | ) | const |
Definition at line 443 of file svdoashp.cxx.
References Any, SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), and SDRATTR_CUSTOMSHAPE_GEOMETRY().
Referenced by DoConvertToPolyObj(), and SdrEditView::ImpDismantleOneObject().
void SdrObjCustomShape::MergeDefaultAttributes | ( | const OUString * | pType = nullptr | ) |
Definition at line 804 of file svdoashp.cxx.
References Any, BottomRight, comphelper::SequenceAsHashMap::createItemIfMissing(), DEFAULT_MINIMUM_SIGNED_COMPARE, First, EnhancedCustomShapeTypeNames::Get(), GetCustomShapeContent(), EnhancedCustomShape2d::GetEquation(), SdrObject::GetMergedItem(), GetNumberOfProperties(), PresetOOXHandleAdj::GetOOXHandleAdjRelation(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), i, lcl_ShapePropertiesFromDFF(), lcl_ShapeSegmentFromBinary(), mso_CustomShape::nCalculation, mso_CustomShape::nCoordHeight, mso_CustomShape::nCoordWidth, nCount, mso_CustomShape::nElements, SvxMSDffCalculationData::nFlags, mso_CustomShape::nGluePoints, mso_CustomShape::nHandles, SvxMSDffTextRectangles::nPairA, SvxMSDffTextRectangles::nPairB, mso_CustomShape::nTextRect, nType, SvxMSDffCalculationData::nVal, SvxMSDffVertPair::nValA, SvxMSDffVertPair::nValB, mso_CustomShape::nVertices, mso_CustomShape::nXRef, mso_CustomShape::nYRef, mso_CustomShape::pCalculation, pData, mso_CustomShape::pDefData, mso_CustomShape::pElements, mso_CustomShape::pGluePoints, mso_CustomShape::pHandles, mso_CustomShape::pTextRect, mso_CustomShape::pVertices, SDRATTR_CUSTOMSHAPE_GEOMETRY(), EnhancedCustomShape2d::SetEnhancedCustomShapeParameter(), SdrObject::SetMergedItem(), SdrCustomShapeGeometryItem::SetPropertyValue(), sType, and TopLeft.
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2127 of file svdoashp.cxx.
References DragCreateObject(), SdrDragStat::GetView(), InvalidateRenderGeometry(), SdrDragView::IsSolidDragging(), and SdrObject::SetRectsDirty().
Reimplemented from SdrObject.
Definition at line 1446 of file svdoashp.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), Size::Height(), MoveOnly, NbcMove(), SdrObject::pUserCall, SdrObject::SendUserCall(), SdrObject::SetChanged(), and Size::Width().
Referenced by applySpecialDrag(), and TRSetBaseGeometry().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2432 of file svdoashp.cxx.
References GetInteractionHandles(), ImpCalculateTextFrame(), InvalidateRenderGeometry(), tools::Rectangle::IsEmpty(), SdrTextObj::maRect, mbAdjustingTextFrameWidthAndHeight, RESIZE_FIXED, SdrObject::SetChanged(), and SdrObject::SetRectsDirty().
Reimplemented from SdrTextObj.
Definition at line 1600 of file svdoashp.cxx.
References SdrTextObj::aGeo, fObjectRotation, InvalidateRenderGeometry(), IsMirroredX(), IsMirroredY(), SdrTextObj::NbcMirror(), GeoStat::nRotationAngle, SetMirroredX(), SetMirroredY(), and toDegrees().
Referenced by DragResizeCustomShape().
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 SdrTextObj.
Definition at line 1459 of file svdoashp.cxx.
References SdrObject::ActionChanged(), GetSdrObjectFromXShape(), mpLastShadowGeometry, mXRenderedCustomShape, SdrTextObj::NbcMove(), and SdrObject::NbcMove().
Referenced by Move().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 1481 of file svdoashp.cxx.
References SdrTextObj::aGeo, fObjectRotation, Fraction::GetDenominator(), GetInteractionHandles(), Fraction::GetNumerator(), InvalidateRenderGeometry(), IsMirroredX(), IsMirroredY(), tools::Rectangle::Left(), SdrTextObj::maRect, SdrTextObj::NbcResize(), GeoStat::nRotationAngle, RESIZE_ABSOLUTE_NEGX, RESIZE_ABSOLUTE_X, RESIZE_ABSOLUTE_Y, RESIZE_FIXED, tools::Rectangle::Right(), SetMirroredX(), SetMirroredY(), toDegrees(), and tools::Rectangle::Top().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 1556 of file svdoashp.cxx.
References SdrTextObj::aGeo, F_PI18000, fObjectRotation, InvalidateRenderGeometry(), IsMirroredX(), IsMirroredY(), SdrTextObj::maRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, SdrTextObj::NbcRotate(), GeoStat::nRotationAngle, GeoStat::RecalcSinCos(), toDegrees(), and tools::Rectangle::TopLeft().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 1424 of file svdoashp.cxx.
References AdaptTextMinSize(), SdrTextObj::ImpJustifyRect(), InvalidateRenderGeometry(), SdrTextObj::maRect, SdrObject::SetChanged(), and SdrObject::SetRectsDirty().
Referenced by SetLogicRect().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2754 of file svdoashp.cxx.
References InvalidateRenderGeometry(), SdrTextObj::NbcSetOutlinerParaObject(), SdrObject::SetBoundRectDirty(), and SdrObject::SetRectsDirty().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 1401 of file svdoashp.cxx.
References AdaptTextMinSize(), SdrTextObj::ImpCheckShear(), SdrTextObj::ImpJustifyRect(), InvalidateRenderGeometry(), SdrTextObj::maRect, SdrObject::SetChanged(), and SdrObject::SetRectsDirty().
Referenced by handlePageChange(), and SetSnapRect().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 2855 of file svdoashp.cxx.
References InvalidateRenderGeometry(), and SdrObject::NbcSetStyleSheet().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 1650 of file svdoashp.cxx.
References SdrTextObj::aGeo, fObjectRotation, InvalidateRenderGeometry(), IsMirroredX(), IsMirroredY(), SdrTextObj::NbcShear(), GeoStat::nRotationAngle, and toDegrees().
|
overridevirtual |
A derived class must override these 3 methods if it has own geometric data that must be saved for Undo.
NewGeoData() creates an empty instance of a class derived from SdrObjGeoData.
Reimplemented from SdrTextObj.
Definition at line 2877 of file svdoashp.cxx.
SdrObjCustomShape & SdrObjCustomShape::operator= | ( | const SdrObjCustomShape & | rObj | ) |
Definition at line 2767 of file svdoashp.cxx.
References assert(), fObjectRotation, InvalidateRenderGeometry(), mbAdjustingTextFrameWidthAndHeight, and SdrTextObj::operator=().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2895 of file svdoashp.cxx.
References SdrAShapeObjGeoData::aAdjustmentSeq, SdrAShapeObjGeoData::bMirroredX, SdrAShapeObjGeoData::bMirroredY, SdrAShapeObjGeoData::fObjectRotation, fObjectRotation, SdrObject::GetMergedItem(), InvalidateRenderGeometry(), SdrTextObj::RestGeoData(), SDRATTR_CUSTOMSHAPE_GEOMETRY(), SdrObject::SetMergedItem(), SetMirroredX(), SetMirroredY(), and SdrCustomShapeGeometryItem::SetPropertyValue().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2882 of file svdoashp.cxx.
References SdrAShapeObjGeoData::aAdjustmentSeq, Any, SdrAShapeObjGeoData::bMirroredX, SdrAShapeObjGeoData::bMirroredY, SdrAShapeObjGeoData::fObjectRotation, fObjectRotation, SdrObject::GetMergedItem(), IsMirroredX(), IsMirroredY(), SdrTextObj::SaveGeoData(), and SDRATTR_CUSTOMSHAPE_GEOMETRY().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1436 of file svdoashp.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), NbcSetLogicRect(), SdrObject::pUserCall, Resize, and SdrObject::SendUserCall().
Referenced by DragResizeCustomShape(), and TRSetBaseGeometry().
void SdrObjCustomShape::SetMirroredX | ( | const bool | bMirroredX | ) |
Definition at line 486 of file svdoashp.cxx.
References SdrObject::GetMergedItem(), SDRATTR_CUSTOMSHAPE_GEOMETRY(), SdrObject::SetMergedItem(), and SdrCustomShapeGeometryItem::SetPropertyValue().
Referenced by DragCreateObject(), NbcMirror(), NbcResize(), and RestGeoData().
void SdrObjCustomShape::SetMirroredY | ( | const bool | bMirroredY | ) |
Definition at line 495 of file svdoashp.cxx.
References SdrObject::GetMergedItem(), SDRATTR_CUSTOMSHAPE_GEOMETRY(), SdrObject::SetMergedItem(), and SdrCustomShapeGeometryItem::SetPropertyValue().
Referenced by NbcMirror(), NbcResize(), and RestGeoData().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1414 of file svdoashp.cxx.
References SdrObject::BroadcastObjectChange(), SdrObject::GetLastBoundRect(), NbcSetSnapRect(), SdrObject::pUserCall, Resize, and SdrObject::SendUserCall().
Referenced by SetVerticalWriting().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2178 of file svdoashp.cxx.
References DBG_ASSERT, SdrTextObj::ForceOutlinerParaObject(), SfxItemSet::Get(), SdrTextObj::GetLogicRect(), SdrObject::GetObjectItemSet(), SdrTextObj::GetOutlinerParaObject(), SfxItemSet::GetPool(), OutlinerParaObject::IsVertical(), 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(), SetSnapRect(), and OutlinerParaObject::SetVertical().
|
overridevirtual |
Reimplemented from SdrObject.
Definition at line 1645 of file svdoashp.cxx.
References InvalidateRenderGeometry(), and SdrObject::Shear().
Referenced by TRSetBaseGeometry().
Allows suggesting the text frame size: in case the application has its own text associated to the shape, instead of using the shape's editeng text.
Definition at line 2235 of file svdoashp.cxx.
References m_aSuggestedTextFrameSize.
|
overridevirtual |
contour for TextToContour
Reimplemented from SdrTextObj.
Definition at line 2804 of file svdoashp.cxx.
References GetSdrObjectFromCustomShape(), and SdrObject::TakeContour().
|
overridevirtual |
Polygon dragged by the user when creating the object.
Reimplemented from SdrTextObj.
Definition at line 2149 of file svdoashp.cxx.
References GetLineGeometry().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 1294 of file svdoashp.cxx.
References SdrObjTransformInfoRec::bCanConvToContour, SdrObjTransformInfoRec::bCanConvToPath, SdrObjTransformInfoRec::bCanConvToPoly, SdrObjTransformInfoRec::bEdgeRadiusAllowed, SdrObjTransformInfoRec::bMirror45Allowed, SdrObjTransformInfoRec::bMirror90Allowed, SdrObjTransformInfoRec::bMirrorFreeAllowed, SdrObjTransformInfoRec::bNoContortion, SdrObjTransformInfoRec::bResizeFreeAllowed, SdrObjTransformInfoRec::bResizePropAllowed, SdrObjTransformInfoRec::bRotate90Allowed, SdrObjTransformInfoRec::bRotateFreeAllowed, SdrObjTransformInfoRec::bShearAllowed, SdrObjTransformInfoRec::bTransparenceAllowed, fObjectRotation, GetSdrObjectFromXShape(), SdrObjListIter::IsMore(), mXRenderedCustomShape, SdrObjListIter::Next(), and SdrObject::TakeObjInfo().
|
overridevirtual |
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2780 of file svdoashp.cxx.
References SdrObject::GetName(), sName, and SvxResId().
|
overridevirtual |
Definition at line 2595 of file svdoashp.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), SdrTextObj::aGeo, tools::Rectangle::Center(), tools::Rectangle::GetHeight(), GetTextBounds(), SdrTextObj::GetTextLeftDistance(), SdrTextObj::GetTextLowerDistance(), SdrTextObj::GetTextRightDistance(), SdrTextObj::GetTextUpperDistance(), tools::Rectangle::GetWidth(), SdrTextObj::ImpJustifyRect(), tools::Rectangle::Left(), SdrAttrObj::maSnapRect, GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::nRotationAngle, Point, RotatePoint(), tools::Rectangle::SetBottom(), tools::Rectangle::SetPos(), tools::Rectangle::SetRight(), SdrTextObj::TakeTextAnchorRect(), tools::Rectangle::Top(), and tools::Rectangle::TopLeft().
Referenced by TakeTextEditArea(), and TakeTextRect().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2500 of file svdoashp.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Size::AdjustWidth(), SdrTextObj::aGeo, tools::Rectangle::Center(), SdrTextObj::GetMaxTextFrameHeight(), SdrTextObj::GetMaxTextFrameWidth(), SdrObject::GetMergedItem(), SdrTextObj::GetMinTextFrameHeight(), SdrTextObj::GetMinTextFrameWidth(), SdrObject::getSdrModelFromSdrObject(), tools::Rectangle::GetSize(), SdrTextObj::GetTextHorizontalAdjust(), SdrTextObj::GetTextVerticalAdjust(), GetValue, Size::Height(), SdrTextObj::IsVerticalWriting(), tools::Rectangle::Left(), GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, tools::Rectangle::Move(), GeoStat::nRotationAngle, Point, RotatePoint(), SDRATTR_TEXT_WORDWRAP(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_TOP, tools::Rectangle::SetBottom(), Size::setHeight(), tools::Rectangle::SetRight(), Size::setWidth(), TakeTextAnchorRect(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), and Size::Width().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2620 of file svdoashp.cxx.
References SdrTextObj::aGeo, SdrText::CheckPortionInfo(), Outliner::CreateParaObject(), EE_PARA_JUST(), SfxItemSet::Get(), SdrTextObj::getActiveText(), Outliner::GetControlWord(), tools::Rectangle::GetHeight(), SdrObject::GetMergedItem(), SdrObject::GetObjectItemSet(), SdrTextObj::GetOutlinerParaObject(), Outliner::GetPaperSize(), SdrObject::getSdrModelFromSdrObject(), SdrTextObj::GetTextHorizontalAdjust(), SdrOutliner::GetTextObj(), SdrTextObj::GetTextVerticalAdjust(), GetValue, tools::Rectangle::GetWidth(), SdrTextObj::IsTextFrame(), SdrTextObj::IsVerticalWriting(), GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::nRotationAngle, SdrTextObj::pEdtOutl, Point, RotatePoint(), SDRATTR_TEXT_WORDWRAP(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_CENTER, SDRTEXTHORZADJUST_LEFT, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_BLOCK, SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_CENTER, Outliner::SetControlWord(), Outliner::SetMaxAutoPaperSize(), Outliner::SetMinAutoPaperSize(), Outliner::SetPaperSize(), Outliner::SetText(), SdrOutliner::SetTextObj(), Outliner::SetUpdateMode(), TakeTextAnchorRect(), and tools::Rectangle::TopLeft().
|
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 SdrTextObj.
Definition at line 2799 of file svdoashp.cxx.
References GetLineGeometry().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 3088 of file svdoashp.cxx.
References SdrTextObj::aGeo, basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), basegfx::deg2rad(), basegfx::fTools::equalZero(), fObjectRotation, SdrObject::GetAnchorPos(), tools::Polygon::GetBoundRect(), tools::Rectangle::GetHeight(), SdrObject::getSdrModelFromSdrObject(), tools::Polygon::GetSize(), tools::Rectangle::GetWidth(), i, IsMirroredX(), IsMirroredY(), SdrModel::IsWriter(), tools::Rectangle::Left(), SdrTextObj::maRect, MirrorPoint(), GeoStat::nShearAngle, Point, Poly2Rect(), Rect2Poly(), tools::Rectangle::Top(), toRadians(), X, and Y.
Referenced by AdjustToMaxRect().
|
overridevirtual |
Reimplemented from SdrTextObj.
Definition at line 2976 of file svdoashp.cxx.
References SdrTextObj::aGeo, tools::Rectangle::Center(), basegfx::utils::createScaleShearXRotateTranslateB2DHomMatrix(), basegfx::B2DHomMatrix::decompose(), basegfx::B2DTuple::equalZero(), basegfx::fTools::equalZero(), F_PI18000, fObjectRotation, FRound(), SdrObject::GetAnchorPos(), SdrObject::getSdrModelFromSdrObject(), SdrAttrObj::GetSnapRect(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), IsMirroredX(), IsMirroredY(), basegfx::fTools::less(), GeoStat::mfCosRotationAngle, GeoStat::mfSinRotationAngle, GeoStat::mfTanShearAngle, SdrObject::Mirror(), Move(), NormAngle36000(), GeoStat::nRotationAngle, GeoStat::nShearAngle, Point, basegfx::rad2deg(), GeoStat::RecalcSinCos(), GeoStat::RecalcTan(), SdrObject::Rotate(), Size::setHeight(), SetLogicRect(), Shear(), X, and Y.
Referenced by AdjustToMaxRect().
bool SdrObjCustomShape::UseNoFillStyle | ( | ) | const |
Definition at line 454 of file svdoashp.cxx.
References Any, EnhancedCustomShapeTypeNames::Get(), SdrObject::GetMergedItem(), SdrCustomShapeGeometryItem::GetPropertyValueByName(), IsCustomShapeFilledByDefault(), SDRATTR_CUSTOMSHAPE_GEOMETRY(), and sType.
|
friend |
Definition at line 90 of file svdoashp.hxx.
|
private |
Definition at line 79 of file svdoashp.hxx.
Referenced by ImpCheckCustomGluePointsAreAdded(), NbcMirror(), NbcResize(), NbcRotate(), NbcShear(), operator=(), RestGeoData(), SaveGeoData(), TakeObjInfo(), TRGetBaseGeometry(), and TRSetBaseGeometry().
|
protected |
Definition at line 130 of file svdoashp.hxx.
Referenced by AdjustTextFrameWidthAndHeight(), and SuggestTextFrameSize().
|
private |
Definition at line 80 of file svdoashp.hxx.
Referenced by NbcAdjustTextFrameWidthAndHeight(), and operator=().
SdrObject* SdrObjCustomShape::mpLastShadowGeometry |
Definition at line 97 of file svdoashp.hxx.
Referenced by GetSdrObjectShadowFromCustomShape(), InvalidateRenderGeometry(), and NbcMove().
|
mutable |
Definition at line 94 of file svdoashp.hxx.
Referenced by GetCustomShapeEngine(), impl_setUnoShape(), and SvxCustomShape::setPropertyValue().
css::uno::Reference< css::drawing::XShape > SdrObjCustomShape::mXRenderedCustomShape |
Definition at line 92 of file svdoashp.hxx.
Referenced by DoConvertToPolyObj(), GetSdrObjectFromCustomShape(), InvalidateRenderGeometry(), NbcMove(), and TakeObjInfo().