42 , m_bCapVertical(false)
53 if (
m_pWin->GetSdrDrawMode() == SdrObjKind::Caption)
86 switch(
m_pWin->GetSdrDrawMode() )
88 case SdrObjKind::Text:
116 pText->SetVerticalWriting(
true);
123 pText->SetMergedItemSet(aSet);
136 case SdrObjKind::Caption:
161 case SID_LINE_ARROW_END:
162 case SID_LINE_ARROW_CIRCLE:
163 case SID_LINE_ARROW_SQUARE:
164 case SID_LINE_ARROW_START:
165 case SID_LINE_CIRCLE_ARROW:
166 case SID_LINE_SQUARE_ARROW:
167 case SID_LINE_ARROWS:
170 m_pWin->SetSdrDrawMode(SdrObjKind::Line);
173 case SID_DRAW_MEASURELINE:
174 m_pWin->SetSdrDrawMode(SdrObjKind::Measure);
178 m_pWin->SetSdrDrawMode(SdrObjKind::Rectangle);
181 case SID_DRAW_ELLIPSE:
182 m_pWin->SetSdrDrawMode(SdrObjKind::CircleOrEllipse);
185 case SID_DRAW_TEXT_MARQUEE:
187 m_pWin->SetSdrDrawMode(SdrObjKind::Text);
190 case SID_DRAW_TEXT_VERTICAL:
192 m_pWin->SetSdrDrawMode(SdrObjKind::Text);
196 m_pWin->SetSdrDrawMode(SdrObjKind::Text);
199 case SID_DRAW_CAPTION_VERTICAL:
202 case SID_DRAW_CAPTION:
203 m_pWin->SetSdrDrawMode(SdrObjKind::Caption);
207 m_pWin->SetSdrDrawMode(SdrObjKind::NONE);
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
ConstRectangle(SwWrtShell *pSh, SwEditWin *pWin, SwView *pView)
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
virtual void Activate(const sal_uInt16 nSlotId) override
void SetVertical(bool bNew)
bool IsEffectivelyVertical() const
SdrObject * GetCreateObj() const
SdrMark * GetMark(size_t nNum) const
void SetFrameDragSingles(bool bOn=true)
const SdrMarkList & GetMarkedObjectList() const
SdrObject * GetMarkedSdrObj() const
const SfxItemPool & GetItemPool() const
void SetMergedItemSet(const SfxItemSet &rSet, bool bClearAllItems=false)
SdrModel & getSdrModelFromSdrObject() const
void SetMergedItemSetAndBroadcast(const SfxItemSet &rSet, bool bClearAllItems=false)
SdrPageView * GetSdrPageView() const
SdrModel & GetModel() const
virtual OutlinerParaObject * GetOutlinerParaObject() const override
void ForceOutlinerParaObject()
void Invalidate(sal_uInt16 nId)
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
SfxBindings & GetBindings()
SfxViewFrame & GetViewFrame() const
virtual void Activate(const sal_uInt16 nSlotId)
VclPtr< SwEditWin > m_pWin
virtual bool MouseButtonDown(const MouseEvent &rMEvt)
virtual bool MouseButtonUp(const MouseEvent &rMEvt)
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
void ChgAnchor(RndStdIds eAnchorId, bool bSameOnly=false, bool bPosCorr=true)
frmatr.hxx.
static void SetLineEnds(SfxItemSet &rAttr, SdrObject const &rObj, sal_uInt16 nSlotId)
bool BeginTextEdit(SdrObject *pObj, SdrPageView *pPV=nullptr, vcl::Window *pWin=nullptr, bool bIsNewObj=false, bool bSetSelectionToStart=false)
virtual SdrView * GetDrawView() const override
bool IsDrawSelMode() const
Used by the UI to modify the document model.
const SwView & GetView() const
SdrOnOffItem makeSdrTextAutoGrowHeightItem(bool bAuto)
SdrOnOffItem makeSdrTextAutoGrowWidthItem(bool bAuto)
SVXCORE_DLLPUBLIC SdrTextObj * DynCastSdrTextObj(SdrObject *)