20#ifndef INCLUDED_SVX_SVDEDXV_HXX
21#define INCLUDED_SVX_SVDEDXV_HXX
46 class SelectionController;
65 friend class ImpSdrEditPara;
73 virtual css::uno::Reference<css::datatransfer::clipboard::XClipboard>
GetClipboard()
const override;
74 virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget>
GetDropTarget()
override;
117 virtual std::unique_ptr<SdrUndoManager> createLocalTextUndoManager();
120 std::unique_ptr<TextChainCursorManager> ImpHandleMotionThroughBoxesKeyInput(
const KeyEvent& rKEvt,
bool *bOutHandled);
128 void ImpInvalidateOutlinerView(
OutlinerView const & rOutlView)
const;
131 void ImpChainingEventHdl();
137 bool ImpIsTextEditAllSelected()
const;
138 void ImpMakeTextCursorAreaVisible();
147 void ImpMacroUp(
const Point& rUpPos);
148 void ImpMacroDown(
const Point& rDownPos);
168 virtual bool IsAction()
const override;
183 return mpLocalTextEditUndoManager;
191 mbQuickTextEditMode = bOn;
195 return mbQuickTextEditMode;
212 bool bDontDeleteOutliner =
false,
bool bOnlyOneView =
false,
bool bGrabFocus =
true);
219 virtual bool IsTextEdit() const final override;
223 bool IsTextEditHit(const
Point& rHit) const;
227 bool IsTextEditFrameHit(const
Point& rHit) const;
231 bool IsTextEditInSelectionMode() const;
234 SdrTextObj* GetTextEditObject()
const {
return mxWeakTextEditObj.
get().get(); }
246 return mpTextEditOutliner.get();
250 return mpTextEditOutliner.get();
254 return mpTextEditOutlinerView;
258 return mpTextEditOutlinerView;
281 sal_uInt16 GetSelectionLevel()
const;
288 void MovMacroObj(
const Point& rPnt);
305 void TakeFormatPaintBrush( std::shared_ptr< SfxItemSet >& rFormatSet );
311 void ApplyFormatPaintBrush(
SfxItemSet& rFormatSet,
bool bNoCharacterFormats,
bool bNoParagraphFormats );
314 static void ApplyFormatPaintBrushToText(
SfxItemSet const & rFormatSet,
SdrTextObj& rTextObj,
SdrText* pText,
bool bNoCharacterFormats,
bool bNoParagraphFormats );
316 void DisposeUndoManager();
virtual void EditViewInputContext(const InputContext &rInputContext)=0
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget()
virtual void EditViewCursorRect(const tools::Rectangle &rRect, int nExtTextInputWidth)=0
virtual OutputDevice & EditViewOutputDevice() const=0
virtual void EditViewInvalidate(const tools::Rectangle &rRect)=0
virtual void EditViewSelectionChange()=0
virtual Point EditViewPointerPosPixel() const=0
virtual css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard() const=0
virtual void MarkListHasChanged() override
SfxStyleSheet * GetStyleSheet() const
void SetStyleSheet(SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
void SetAttributes(const SfxItemSet &rSet, bool bReplaceAll)
virtual void ModelHasChanged() override
void GetAttributes(SfxItemSet &rTargetSet, bool bOnlyHardAttr) const
virtual void EndAction() override
virtual bool IsAction() const override
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
virtual void BckAction() override
virtual void MovAction(const Point &rPnt) override
virtual void HideSdrPage() override
virtual void BrkAction() override
virtual void TakeActionRect(tools::Rectangle &rRect) const override
virtual bool MouseMove(const MouseEvent &rMEvt, OutputDevice *pWin) override
handle mouse over effects for handles
DECL_LINK(EndPasteOrDropHdl, PasteOrDropInfos *, void)
tools::Rectangle aMinTextEditArea
const std::unique_ptr< SdrUndoManager > & getViewLocalUndoManager() const
SfxUndoManager * mpOldTextEditUndoManager
std::unique_ptr< SdrOutliner > mpTextEditOutliner
vcl::Cursor * pTextEditCursorBuffer
SdrOutliner * GetTextEditOutliner()
DECL_LINK(BeginPasteOrDropHdl, PasteOrDropInfos *, void)
bool mbTextEditDontDelete
VclPtr< vcl::Window > mpTextEditWin
OutlinerView * mpTextEditOutlinerView
void BegMacroObj(const Point &rPnt, SdrObject *pObj, SdrPageView *pPV, vcl::Window *pWin)
const OutlinerView * GetTextEditOutlinerView() const
sdr::overlay::OverlayObjectList maTEOverlayGroup
Link< EditFieldInfo *, void > aOldCalcFieldValueLink
OutlinerView * GetTextEditOutlinerView()
rtl::Reference< sdr::SelectionController > mxLastSelectionController
const rtl::Reference< sdr::SelectionController > & getSelectionController() const
std::unique_ptr< SdrUndoManager > mpLocalTextEditUndoManager
bool IsQuickTextEditMode() const
rtl::Reference< sdr::SelectionController > mxSelectionController
VclPtr< vcl::Window > pMacroWin
DECL_DLLPRIVATE_LINK(EndTextEditHdl, SdrUndoManager *, void)
tools::Rectangle aTextEditArea
DECL_DLLPRIVATE_LINK(ImpOutlinerStatusEventHdl, EditStatus &, void)
DECL_DLLPRIVATE_LINK(ImpAfterCutOrPasteChainingEventHdl, LinkParamNone *, void)
DECL_DLLPRIVATE_LINK(ImpOutlinerCalcFieldValueHdl, EditFieldInfo *, void)
unotools::WeakReference< SdrTextObj > mxWeakTextEditObj
bool mbTextEditOnlyOneView
void SetQuickTextEditMode(bool bOn)
const SdrOutliner * GetTextEditOutliner() const
SdrPageView * mpTextEditPV
A SdrPage contains exactly one SdrObjList and a description of the physical page dimensions (size / m...
virtual void DeleteDeviceFromPaintView(OutputDevice &rOldDev)
virtual void AddDeviceToPaintView(OutputDevice &rNewDev, vcl::Window *pWindow)
virtual bool MouseButtonUp(const MouseEvent &, OutputDevice *)
virtual SdrPageView * ShowSdrPage(SdrPage *pPage)
virtual bool IsTextEdit() const
virtual bool Command(const CommandEvent &, vcl::Window *)
virtual bool KeyInput(const KeyEvent &rKEvt, vcl::Window *pWin)
virtual bool MouseButtonDown(const MouseEvent &, OutputDevice *)
OString OOO_DLLPUBLIC_TEST getTextSelection(const css::uno::Reference< css::datatransfer::XTransferable > &xTransferable, OString mimeType)
#define SVXCORE_DLLPUBLIC