LibreOffice Module svx (master) 1
|
#include <svdedxv.hxx>
Public Member Functions | |
void | TextEditDrawing (SdrPaintWindow &rPaintWindow) |
virtual bool | IsAction () const override |
virtual void | MovAction (const Point &rPnt) override |
virtual void | EndAction () override |
virtual void | BrkAction () override |
virtual void | BckAction () override |
virtual void | TakeActionRect (tools::Rectangle &rRect) const override |
SdrPageView * | ShowSdrPage (SdrPage *pPage) override |
void | HideSdrPage () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void | ModelHasChanged () override |
const std::unique_ptr< SdrUndoManager > & | getViewLocalUndoManager () const |
void | SetQuickTextEditMode (bool bOn) |
bool | IsQuickTextEditMode () const |
virtual bool | SdrBeginTextEdit (SdrObject *pObj, SdrPageView *pPV=nullptr, vcl::Window *pWin=nullptr, bool bIsNewObj=false, SdrOutliner *pGivenOutliner=nullptr, OutlinerView *pGivenOutlinerView=nullptr, bool bDontDeleteOutliner=false, bool bOnlyOneView=false, bool bGrabFocus=true) |
virtual SdrEndTextEditKind | SdrEndTextEdit (bool bDontDeleteReally=false) |
virtual bool | IsTextEdit () const final override |
bool | IsTextEditHit (const Point &rHit) const |
bool | IsTextEditFrameHit (const Point &rHit) const |
bool | IsTextEditInSelectionMode () const |
SdrTextObj * | GetTextEditObject () const |
SdrPageView * | GetTextEditPageView () const |
void | SetTextEditWin (vcl::Window *pWin) |
const SdrOutliner * | GetTextEditOutliner () const |
SdrOutliner * | GetTextEditOutliner () |
const OutlinerView * | GetTextEditOutlinerView () const |
OutlinerView * | GetTextEditOutlinerView () |
virtual bool | KeyInput (const KeyEvent &rKEvt, vcl::Window *pWin) override |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt, OutputDevice *pWin) override |
virtual bool | MouseButtonUp (const MouseEvent &rMEvt, OutputDevice *pWin) override |
virtual bool | MouseMove (const MouseEvent &rMEvt, OutputDevice *pWin) override |
handle mouse over effects for handles More... | |
virtual bool | Command (const CommandEvent &rCEvt, vcl::Window *pWin) override |
virtual SvtScriptType | GetScriptType () const |
void | GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const |
bool | SetAttributes (const SfxItemSet &rSet, bool bReplaceAll) |
SfxStyleSheet * | GetStyleSheet () const |
void | SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
virtual void | AddDeviceToPaintView (OutputDevice &rNewDev, vcl::Window *pWindow) override |
virtual void | DeleteDeviceFromPaintView (OutputDevice &rOldWin) override |
sal_uInt16 | GetSelectionLevel () const |
void | BegMacroObj (const Point &rPnt, short nTol, SdrObject *pObj, SdrPageView *pPV, vcl::Window *pWin) |
void | BegMacroObj (const Point &rPnt, SdrObject *pObj, SdrPageView *pPV, vcl::Window *pWin) |
void | MovMacroObj (const Point &rPnt) |
void | BrkMacroObj () |
bool | EndMacroObj () |
bool | IsMacroObj () const |
void | getTextSelection (css::uno::Any &rSelection) |
fills the given any with a XTextCursor for the current text selection. More... | |
virtual void | MarkListHasChanged () override |
const rtl::Reference< sdr::SelectionController > & | getSelectionController () const |
void | TakeFormatPaintBrush (std::shared_ptr< SfxItemSet > &rFormatSet) |
returns a format paint brush set from the current selection More... | |
void | ApplyFormatPaintBrush (SfxItemSet &rFormatSet, bool bNoCharacterFormats, bool bNoParagraphFormats) |
applies a format paint brush set from the current selection. More... | |
void | DisposeUndoManager () |
Public Member Functions inherited from SdrGlueEditView | |
TriState | IsMarkedGluePointsEscDir (SdrEscapeDirection nThisEsc) const |
void | SetMarkedGluePointsEscDir (SdrEscapeDirection nThisEsc, bool bOn) |
TriState | IsMarkedGluePointsPercent () const |
void | SetMarkedGluePointsPercent (bool bOn) |
SdrAlign | GetMarkedGluePointsAlign (bool bVert) const |
void | SetMarkedGluePointsAlign (bool bVert, SdrAlign nAlign) |
void | DeleteMarkedGluePoints () |
void | MoveMarkedGluePoints (const Size &rSiz, bool bCopy) |
void | ResizeMarkedGluePoints (const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bCopy) |
void | RotateMarkedGluePoints (const Point &rRef, Degree100 nAngle, bool bCopy) |
Public Member Functions inherited from SdrPolyEditView | |
bool | IsSetMarkedPointsSmoothPossible () const override |
SdrPathSmoothKind | GetMarkedPointsSmooth () const override |
void | SetMarkedPointsSmooth (SdrPathSmoothKind eKind) override |
bool | IsSetMarkedSegmentsKindPossible () const override |
SdrPathSegmentKind | GetMarkedSegmentsKind () const override |
void | SetMarkedSegmentsKind (SdrPathSegmentKind eKind) override |
void | DeleteMarkedPoints () override |
bool | IsDeleteMarkedPointsPossible () const override |
void | MoveMarkedPoints (const Size &rSiz) |
void | ResizeMarkedPoints (const Point &rRef, const Fraction &xFact, const Fraction &yFact) |
void | RotateMarkedPoints (const Point &rRef, Degree100 nAngle) |
void | RipUpAtMarkedPoints () override |
bool | IsRipUpAtMarkedPointsPossible () const override |
bool | IsOpenCloseMarkedObjectsPossible () const override |
SdrObjClosedKind | GetMarkedObjectsClosedState () const override |
void | CheckPolyPossibilitiesHelper (SdrMark *pM, bool &b1stSmooth, bool &b1stSegm, bool &bCurve, bool &bSmoothFuz, bool &bSegmFuz, basegfx::B2VectorContinuity &eSmooth) |
Public Member Functions inherited from SdrEditView | |
void | BegUndo () |
void | BegUndo (const OUString &rComment) |
void | BegUndo (const OUString &rComment, const OUString &rObjDescr, SdrRepeatFunc eFunc=SdrRepeatFunc::NONE) |
void | EndUndo () |
void | AddUndo (std::unique_ptr< SdrUndoAction > pUndo) |
void | SetUndoComment (const OUString &rComment, const OUString &rObjDescr) |
bool | IsUndoEnabled () const |
void | EndTextEditAllViews () const |
Checks if this or other views have an active text edit, if true, end them. More... | |
void | EndTextEditCurrentView (bool bDontDeleteReally=false) |
std::vector< std::unique_ptr< SdrUndoAction > > | CreateConnectorUndo (const SdrObject &rO) |
void | AddUndoActions (std::vector< std::unique_ptr< SdrUndoAction > >) |
void | InsertNewLayer (const OUString &rName, sal_uInt16 nPos) |
void | DeleteLayer (const OUString &rName) |
void | ForceMarkedObjToAnotherPage () |
void | ForceMarkedToAnotherPage () |
void | DeleteMarkedObj () |
void | SetMarkedObjRect (const tools::Rectangle &rRect) |
void | MoveMarkedObj (const Size &rSiz, bool bCopy=false) |
void | ResizeMarkedObj (const Point &rRef, const Fraction &xFact, const Fraction &yFact, bool bCopy=false) |
void | ResizeMultMarkedObj (const Point &rRef, const Fraction &xFact, const Fraction &yFact, const bool bWdh, const bool bHgt) |
Degree100 | GetMarkedObjRotate () const |
void | RotateMarkedObj (const Point &rRef, Degree100 nAngle, bool bCopy=false) |
void | MirrorMarkedObj (const Point &rRef1, const Point &rRef2, bool bCopy=false) |
void | MirrorMarkedObjHorizontal () |
void | MirrorMarkedObjVertical () |
Degree100 | GetMarkedObjShear () const |
void | ShearMarkedObj (const Point &rRef, Degree100 nAngle, bool bVShear=false, bool bCopy=false) |
void | CrookMarkedObj (const Point &rRef, const Point &rRad, SdrCrookMode eMode, bool bVertical, bool bNoContortion, bool bCopy=false) |
void | DistortMarkedObj (const tools::Rectangle &rRef, const XPolygon &rDistortedRect, bool bNoContortion, bool bCopy=false) |
void | CopyMarkedObj () |
void | SetAllMarkedRect (const tools::Rectangle &rRect) |
void | MoveAllMarked (const Size &rSiz, bool bCopy=false) |
void | ResizeAllMarked (const Point &rRef, const Fraction &xFact, const Fraction &yFact) |
void | RotateAllMarked (const Point &rRef, Degree100 nAngle) |
void | MirrorAllMarkedHorizontal () |
void | MirrorAllMarkedVertical () |
void | CopyMarked () |
bool | IsMoveAllowed () const |
bool | IsResizeAllowed (bool bProp=false) const |
bool | IsRotateAllowed (bool b90Deg=false) const |
bool | IsMirrorAllowed (bool b45Deg=false, bool b90Deg=false) const |
bool | IsTransparenceAllowed () const |
bool | IsGradientAllowed () const |
bool | IsShearAllowed () const |
bool | IsEdgeRadiusAllowed () const |
bool | IsCrookAllowed (bool bNoContortion=false) const |
bool | IsCropAllowed () const |
bool | IsDistortAllowed (bool bNoContortion=false) const |
void | CombineMarkedTextObjects () |
void | CombineMarkedObjects (bool bNoPolyPoly=true) |
void | MergeMarkedObjects (SdrMergeMode eMode) |
void | DistributeMarkedObjects (sal_uInt16 SlotID) |
void | EqualizeMarkedObjects (bool bWidth) |
void | DismantleMarkedObjects (bool bMakeLines=false) |
bool | IsCombinePossible (bool bNoPolyPoly=false) const |
bool | IsDismantlePossible (bool bMakeLines=false) const |
bool | InsertObjectAtView (SdrObject *pObj, SdrPageView &rPV, SdrInsertFlags nOptions=SdrInsertFlags::NONE) |
void | ReplaceObjectAtView (SdrObject *pOldObj, SdrPageView &rPV, SdrObject *pNewObj, bool bMark=true) |
void | SetNotPersistAttrToMarked (const SfxItemSet &rAttr) |
void | MergeNotPersistAttrFromMarked (SfxItemSet &rAttr) const |
void | MergeAttrFromMarked (SfxItemSet &rAttr, bool bOnlyHardAttr) const |
SfxItemSet | GetAttrFromMarked (bool bOnlyHardAttr) const |
void | SetAttrToMarked (const SfxItemSet &rAttr, bool bReplaceAll) |
SfxItemSet | GetGeoAttrFromMarked () const |
void | SetGeoAttrToMarked (const SfxItemSet &rAttr, bool addPageMargin=false) |
SfxStyleSheet * | GetStyleSheetFromMarked () const |
void | SetStyleSheetToMarked (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
void | GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const |
void | SetAttributes (const SfxItemSet &rSet, bool bReplaceAll) |
SfxStyleSheet * | GetStyleSheet () const |
void | SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
void | GroupMarked () |
void | UnGroupMarked () |
bool | IsGroupPossible () const |
bool | IsUnGroupPossible () const |
bool | IsGroupEnterPossible () const |
bool | IsConvertToPathObjPossible () const |
bool | IsConvertToPolyObjPossible () const |
bool | IsConvertToContourPossible () const |
void | ConvertMarkedToPathObj (bool bLineToArea) |
void | ConvertMarkedToPolyObj () |
void | AlignMarkedObjects (SdrHorAlign eHor, SdrVertAlign eVert) |
bool | IsAlignPossible () const |
void | MovMarkedToTop () |
void | MovMarkedToBtm () |
void | PutMarkedToTop () |
void | PutMarkedToBtm () |
void | PutMarkedInFrontOfObj (const SdrObject *pRefObj) |
void | PutMarkedBehindObj (const SdrObject *pRefObj) |
void | ReverseOrderOfMarked () |
bool | IsToTopPossible () const |
bool | IsToBtmPossible () const |
bool | IsReverseOrderPossible () const |
virtual SdrObject * | GetMaxToTopObj (SdrObject *pObj) const |
virtual SdrObject * | GetMaxToBtmObj (SdrObject *pObj) const |
virtual void | ObjOrderChanged (SdrObject *pObj, size_t nOldPos, size_t nNewPos) |
void | DoImportMarkedMtf (SvdProgressInfo *pProgrInfo=nullptr) |
bool | IsImportMtfPossible () const |
virtual void | MarkListHasChanged () override |
virtual void | ModelHasChanged () override |
Public Member Functions inherited from SdrMarkView | |
virtual bool | IsAction () const override |
virtual void | MovAction (const Point &rPnt) override |
virtual void | EndAction () override |
virtual void | BckAction () override |
virtual void | BrkAction () override |
virtual void | TakeActionRect (tools::Rectangle &rRect) const override |
virtual void | ClearPageView () override |
virtual void | HideSdrPage () override |
bool | IsObjMarkable (SdrObject const *pObj, SdrPageView const *pPV) const |
bool | IsMarking () const |
void | BegMarkObj (const Point &rPnt, bool bUnmark=false) |
void | MovMarkObj (const Point &rPnt) |
bool | EndMarkObj () |
void | BrkMarkObj () |
bool | IsMarkObj () const |
void | SetDragMode (SdrDragMode eMode) |
SdrDragMode | GetDragMode () const |
void | SetFrameHandles (bool bOn) |
bool | IsFrameHandles () const |
bool | HasMultipleMarkableObjects () const |
void | SetEditMode (SdrViewEditMode eMode) |
SdrViewEditMode | GetEditMode () const |
void | SetEditMode (bool bOn) |
bool | IsEditMode () const |
void | SetCreateMode (bool bOn) |
bool | IsCreateMode () const |
void | SetGluePointEditMode (bool bOn) |
bool | IsGluePointEditMode () const |
void | SetDesignMode (bool bOn=true) |
bool | IsDesignMode () const |
void | SetFrameDragSingles (bool bOn=true) |
bool | IsFrameDragSingles () const |
bool | HasMarkableObj () const |
void | SetNegativeX (bool bOn) |
whether all x coordinates in use are negated or not More... | |
bool | IsNegativeX () const |
const SdrMarkList & | GetMarkedObjectList () const |
size_t | TryToFindMarkedObject (const SdrObject *pObj) const |
SdrPageView * | GetSdrPageViewOfMarkedByIndex (size_t nNum) const |
SdrMark * | GetSdrMarkByIndex (size_t nNum) const |
SdrObject * | GetMarkedObjectByIndex (size_t nNum) const |
size_t | GetMarkedObjectCount () const |
void | SortMarkedObjects () const |
bool | AreObjectsMarked () const |
OUString const & | GetDescriptionOfMarkedObjects () const |
OUString const & | GetDescriptionOfMarkedPoints () const |
OUString const & | GetDescriptionOfMarkedGluePoints () const |
const SdrMarkList & | GetEdgesOfMarkedNodes () const |
const SdrMarkList & | GetMarkedEdgesOfMarkedNodes () const |
const std::vector< SdrObject * > & | GetTransitiveHullOfMarkedObjects () const |
void | hideMarkHandles () |
void | showMarkHandles () |
bool | areMarkHandlesHidden () const |
bool | IsMarkedHit (const Point &rPnt, short nTol=-2) const |
bool | IsMarkedObjHit (const Point &rPnt, short nTol=-2) const |
SdrHdl * | PickHandle (const Point &rPnt) const |
SdrObject * | PickObj (const Point &rPnt, short nTol, SdrPageView *&rpPV, SdrSearchOptions nOptions, SdrObject **ppRootObj, bool *pbHitPassDirect=nullptr) const |
SdrObject * | PickObj (const Point &rPnt, short nTol, SdrPageView *&rpPV, SdrSearchOptions nOptions=SdrSearchOptions::NONE) const |
bool | MarkObj (const Point &rPnt, short nTol=-2, bool bToggle=false, bool bDeep=false) |
bool | PickMarkedObj (const Point &rPnt, SdrObject *&rpObj, SdrPageView *&rpPV, SdrSearchOptions nOptions) const |
bool | MarkNextObj (bool bPrev=false) |
bool | MarkNextObj (const Point &rPnt, short nTol, bool bPrev) |
void | MarkObj (const tools::Rectangle &rRect, bool bUnmark) |
void | MarkObj (SdrObject *pObj, SdrPageView *pPV, bool bUnmark=false, bool bDoNoSetMarkHdl=false, std::vector< basegfx::B2DRectangle > &&rSubSelections=std::vector< basegfx::B2DRectangle >()) |
void | MarkAllObj (SdrPageView *pPV=nullptr) |
void | UnmarkAllObj (SdrPageView const *pPV=nullptr) |
bool | IsObjMarked (SdrObject const *pObj) const |
void | UnMarkAll (SdrPageView const *pPV=nullptr) |
sal_uInt16 | GetMarkHdlSizePixel () const |
void | SetMarkHdlSizePixel (sal_uInt16 nSiz) |
virtual bool | HasMarkablePoints () const |
virtual sal_Int32 | GetMarkablePointCount () const |
virtual bool | HasMarkedPoints () const |
bool | IsPointMarkable (const SdrHdl &rHdl) const |
virtual bool | MarkPoint (SdrHdl &rHdl, bool bUnmark=false) |
bool | MarkPointHelper (SdrHdl *pHdl, SdrMark *pMark, bool bUnmark) |
should only be used from outside svx for special ui elements More... | |
bool | UnmarkPoint (SdrHdl &rHdl) |
bool | IsPointMarked (const SdrHdl &rHdl) const |
bool | MarkAllPoints () |
bool | UnmarkAllPoints () |
void | MarkNextPoint () |
size_t | GetHdlNum (SdrHdl const *pHdl) const |
SdrHdl * | GetHdl (size_t nHdlNum) const |
const SdrHdlList & | GetHdlList () const |
bool | BegMarkPoints (const Point &rPnt, bool bUnmark=false) |
void | MovMarkPoints (const Point &rPnt) |
bool | EndMarkPoints () |
void | BrkMarkPoints () |
bool | IsMarkPoints () const |
void | SetPlusHandlesAlwaysVisible (bool bOn) |
bool | IsPlusHandlesAlwaysVisible () const |
bool | HasMarkableGluePoints () const |
bool | HasMarkedGluePoints () const |
bool | PickGluePoint (const Point &rPnt, SdrObject *&rpObj, sal_uInt16 &rnId, SdrPageView *&rpPV) const |
bool | MarkGluePoint (const SdrObject *pObj, sal_uInt16 nId, bool bUnmark) |
void | UnmarkGluePoint (const SdrObject *pObj, sal_uInt16 nId) |
bool | IsGluePointMarked (const SdrObject *pObj, sal_uInt16 nId) const |
SdrHdl * | GetGluePointHdl (const SdrObject *pObj, sal_uInt16 nId) const |
bool | MarkAllGluePoints () |
bool | UnmarkAllGluePoints () |
void | MarkNextGluePoint () |
bool | BegMarkGluePoints (const Point &rPnt, bool bUnmark=false) |
void | MovMarkGluePoints (const Point &rPnt) |
void | EndMarkGluePoints () |
void | BrkMarkGluePoints () |
bool | IsMarkGluePoints () const |
void | AdjustMarkHdl (SfxViewShell *pOtherShell=nullptr) |
const tools::Rectangle & | GetMarkedObjRect () const |
tools::Rectangle | GetMarkedObjBoundRect () const |
const tools::Rectangle & | GetMarkedPointsRect () const |
const tools::Rectangle & | GetMarkedGluePointsRect () const |
const tools::Rectangle & | GetAllMarkedRect () const |
tools::Rectangle | GetAllMarkedBoundRect () const |
virtual void | MarkListHasChanged () |
void | EnterMarkedGroup () |
const Point & | GetRef1 () const |
void | SetRef1 (const Point &rPt) |
const Point & | GetRef2 () const |
void | SetRef2 (const Point &rPt) |
virtual SfxViewShell * | GetSfxViewShell () const |
Get access to the view shell owning this draw view, if any. More... | |
Public Member Functions inherited from SdrSnapView | |
virtual bool | IsAction () const override |
virtual void | MovAction (const Point &rPnt) override |
virtual void | EndAction () override |
virtual void | BckAction () override |
virtual void | BrkAction () override |
virtual void | TakeActionRect (tools::Rectangle &rRect) const override |
void | SetSnapGridWidth (const Fraction &rX, const Fraction &rY) |
const Fraction & | GetSnapGridWidthX () const |
const Fraction & | GetSnapGridWidthY () const |
void | SetSnapMagnetic (const Size &rSiz) |
void | SetSnapMagneticPixel (sal_uInt16 nPix) |
sal_uInt16 | GetSnapMagneticPixel () const |
void | RecalcLogicSnapMagnetic (const OutputDevice &rOut) |
void | SetActualWin (const OutputDevice *pWin) |
SdrSnap | SnapPos (Point &rPnt, const SdrPageView *pPV) const |
Point | GetSnapPos (const Point &rPnt, const SdrPageView *pPV) const |
void | CheckSnap (const Point &rPt, tools::Long &nBestXSnap, tools::Long &nBestYSnap, bool &bXSnapped, bool &bYSnapped) const |
bool | IsSnapEnabled () const |
bool | IsGridSnap () const |
bool | IsBordSnap () const |
bool | IsHlplSnap () const |
bool | IsOFrmSnap () const |
bool | IsOPntSnap () const |
bool | IsOConSnap () const |
void | SetSnapEnabled (bool bOn) |
void | SetGridSnap (bool bOn) |
void | SetBordSnap (bool bOn) |
void | SetHlplSnap (bool bOn) |
void | SetOFrmSnap (bool bOn) |
void | SetOPntSnap (bool bOn) |
void | SetOConSnap (bool bOn) |
void | SetMoveSnapOnlyTopLeft (bool bOn) |
bool | IsMoveSnapOnlyTopLeft () const |
void | BegSetPageOrg (const Point &rPnt) |
void | MovSetPageOrg (const Point &rPnt) |
void | EndSetPageOrg () |
void | BrkSetPageOrg () |
bool | IsSetPageOrg () const |
bool | PickHelpLine (const Point &rPnt, short nTol, const OutputDevice &rOut, sal_uInt16 &rnHelpLineNum, SdrPageView *&rpPV) const |
bool | BegDragHelpLine (sal_uInt16 nHelpLineNum, SdrPageView *pPV) |
void | BegDragHelpLine (const Point &rPnt, SdrHelpLineKind eNewKind) |
PointerStyle | GetDraggedHelpLinePointer () const |
void | MovDragHelpLine (const Point &rPnt) |
bool | EndDragHelpLine () |
void | BrkDragHelpLine () |
bool | IsDragHelpLine () const |
void | SetAngleSnapEnabled (bool bOn) |
bool | IsAngleSnapEnabled () const |
void | SetSnapAngle (Degree100 nAngle) |
Degree100 | GetSnapAngle () const |
void | SetOrtho (bool bOn) |
bool | IsOrtho () const |
void | SetBigOrtho (bool bOn) |
bool | IsBigOrtho () const |
void | SetMoveOnlyDragging (bool bOn) |
bool | IsMoveOnlyDragging () const |
void | SetSlantButShear (bool bOn) |
bool | IsSlantButShear () const |
void | SetCrookNoContortion (bool bOn) |
bool | IsCrookNoContortion () const |
void | SetCrookMode (SdrCrookMode eMode) |
SdrCrookMode | GetCrookMode () const |
void | SetEliminatePolyPoints (bool bOn) |
bool | IsEliminatePolyPoints () const |
void | SetEliminatePolyPointLimitAngle (Degree100 nAngle) |
Degree100 | GetEliminatePolyPointLimitAngle () const |
Public Member Functions inherited from SdrPaintView | |
bool | IsBufferedOutputAllowed () const |
void | SetBufferedOutputAllowed (bool bNew) |
bool | IsBufferedOverlayAllowed () const |
void | SetBufferedOverlayAllowed (bool bNew) |
bool | IsPageDecorationAllowed () const |
void | SetPageDecorationAllowed (bool bNew) |
bool | IsMasterPageVisualizationAllowed () const |
void | SetMasterPageVisualizationAllowed (bool bNew) |
virtual rtl::Reference< sdr::overlay::OverlayManager > | CreateOverlayManager (OutputDevice &rDevice) const |
sal_uInt32 | PaintWindowCount () const |
SdrPaintWindow * | FindPaintWindow (const OutputDevice &rOut) const |
SdrPaintWindow * | GetPaintWindow (sal_uInt32 nIndex) const |
OutputDevice * | GetFirstOutputDevice () const |
bool | ImpIsGlueVisible () const |
SdrModel & | getSdrModelFromSdrView () const |
SdrModel & | GetModel () const |
virtual void | ClearPageView () |
virtual bool | IsAction () const |
virtual void | MovAction (const Point &rPnt) |
virtual void | EndAction () |
virtual void | BckAction () |
virtual void | BrkAction () |
virtual void | TakeActionRect (tools::Rectangle &rRect) const |
virtual bool | IsTextEdit () const |
void | SetActualWin (const OutputDevice *pWin) |
void | SetMinMoveDistancePixel (sal_uInt16 nVal) |
void | SetHitTolerancePixel (sal_uInt16 nVal) |
sal_uInt16 | GetHitTolerancePixel () const |
sal_uInt16 | getHitTolLog () const |
const SdrDragStat & | GetDragStat () const |
virtual SdrPageView * | ShowSdrPage (SdrPage *pPage) |
virtual void | HideSdrPage () |
SdrPageView * | GetSdrPageView () const |
virtual void | AddDeviceToPaintView (OutputDevice &rNewDev, vcl::Window *pWindow) |
virtual void | DeleteDeviceFromPaintView (OutputDevice &rOldDev) |
void | SetLayerVisible (const OUString &rName, bool bShow) |
bool | IsLayerVisible (const OUString &rName) const |
void | SetLayerLocked (const OUString &rName, bool bLock=true) |
bool | IsLayerLocked (const OUString &rName) const |
void | SetLayerPrintable (const OUString &rName, bool bPrn) |
bool | IsLayerPrintable (const OUString &rName) const |
void | PrePaint () |
virtual void | CompleteRedraw (OutputDevice *pOut, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr) |
virtual SdrPaintWindow * | BeginCompleteRedraw (OutputDevice *pOut) |
void | DoCompleteRedraw (SdrPaintWindow &rPaintWindow, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr) |
virtual void | EndCompleteRedraw (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer) |
SdrPaintWindow * | BeginDrawLayers (OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect=false) |
void | UpdateDrawLayersRegion (const OutputDevice *pOut, const vcl::Region &rReg) |
void | EndDrawLayers (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer) |
bool | IsPageVisible () const |
Draw Page as a white area or not. More... | |
bool | IsPageShadowVisible () const |
Draw Page shadow or not. More... | |
bool | IsPageBorderVisible () const |
Draw Page as a white area or not. More... | |
bool | IsBordVisible () const |
Draw Border line or not. More... | |
bool | IsGridVisible () const |
Draw Grid or not. More... | |
bool | IsGridFront () const |
Draw Grid in front of objects or behind them. More... | |
bool | IsHlplVisible () const |
Draw Help line of the Page or not. More... | |
bool | IsHlplFront () const |
Draw Help line in front of the objects or behind them. More... | |
const Color & | GetGridColor () const |
void | SetPageVisible (bool bOn=true) |
void | SetPageShadowVisible (bool bOn) |
void | SetPageBorderVisible (bool bOn=true) |
void | SetBordVisible (bool bOn=true) |
void | SetGridVisible (bool bOn) |
void | SetGridFront (bool bOn) |
void | SetHlplVisible (bool bOn=true) |
void | SetHlplFront (bool bOn) |
void | SetGlueVisible (bool bOn=true) |
bool | IsPreviewRenderer () const |
void | SetPreviewRenderer (bool bOn) |
bool | getHideOle () const |
bool | getHideChart () const |
bool | getHideDraw () const |
bool | getHideFormControl () const |
void | setHideOle (bool bNew) |
void | setHideChart (bool bNew) |
void | setHideDraw (bool bNew) |
void | setHideFormControl (bool bNew) |
void | SetGridCoarse (const Size &rSiz) |
void | SetGridFine (const Size &rSiz) |
const Size & | GetGridCoarse () const |
const Size & | GetGridFine () const |
void | InvalidateAllWin () |
void | InvalidateAllWin (const tools::Rectangle &rRect) |
virtual void | InvalidateOneWin (OutputDevice &rWin) |
If the View should not call Invalidate() on the windows, override the following 2 methods and do something else. More... | |
virtual void | InvalidateOneWin (OutputDevice &rWin, const tools::Rectangle &rRect) |
void | SetActiveLayer (const OUString &rName) |
const OUString & | GetActiveLayer () const |
void | LeaveOneGroup () |
Leave an object group of all visible Pages (like chdir .. in MS-DOS) More... | |
void | LeaveAllGroup () |
Leave all entered object groups of all visible Pages (like chdir \ in MS-DOS) More... | |
bool | IsGroupEntered () const |
Determine, whether Leave is useful or not. More... | |
void | SetDefaultAttr (const SfxItemSet &rAttr, bool bReplaceAll) |
Default attributes at the View Newly created objects are assigned these attributes by default when they are created. More... | |
const SfxItemSet & | GetDefaultAttr () const |
void | SetDefaultStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
void | SetNotPersistDefaultAttr (const SfxItemSet &rAttr) |
void | MergeNotPersistDefaultAttr (SfxItemSet &rAttr) const |
bool | IsSwapAsynchron () const |
Execute a swap-in of e.g. More... | |
void | SetSwapAsynchron (bool bJa=true) |
virtual bool | KeyInput (const KeyEvent &rKEvt, vcl::Window *pWin) |
virtual bool | MouseButtonDown (const MouseEvent &, OutputDevice *) |
virtual bool | MouseButtonUp (const MouseEvent &, OutputDevice *) |
virtual bool | MouseMove (const MouseEvent &, OutputDevice *) |
virtual bool | RequestHelp (const HelpEvent &) |
virtual bool | Command (const CommandEvent &, vcl::Window *) |
void | GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const |
void | SetAttributes (const SfxItemSet &rSet, bool bReplaceAll) |
SfxStyleSheet * | GetStyleSheet () const |
void | SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
virtual void | MakeVisible (const tools::Rectangle &rRect, vcl::Window &rWin) |
virtual void | DoConnect (SdrOle2Obj *pOleObj) |
For Plugins Is called by the Paint of the OLE object. More... | |
bool | IsAnimationEnabled () const |
Enable/disable animations for Paint Is used by e.g. More... | |
void | SetAnimationEnabled (bool bEnable=true) |
void | SetAnimationPause (bool bSet) |
Set/unset pause state for animations. More... | |
void | SetAnimationMode (const SdrAnimationMode eMode) |
Mode when starting an animation in the Paint Handler: More... | |
void | VisAreaChanged (const OutputDevice *pOut) |
Must be called by the App when scrolling etc. More... | |
void | VisAreaChanged () |
bool | IsPrintPreview () const |
void | SetPrintPreview (bool bOn=true) |
const svtools::ColorConfig & | getColorConfig () const |
void | onChangeColorConfig () |
void | SetApplicationBackgroundColor (Color aBackgroundColor) |
void | SetApplicationDocumentColor (Color aDocumentColor) |
void | SetAnimationTimer (sal_uInt32 nTime) |
void | SetPaintTextEdit (bool bPaint) |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Public Member Functions inherited from SfxBroadcaster | |
SfxBroadcaster () | |
SfxBroadcaster (const SfxBroadcaster &rBC) | |
virtual | ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE |
void | Broadcast (const SfxHint &rHint) |
bool | HasListeners () const |
size_t | GetListenerCount () const |
void | ForAllListeners (std::function< bool(SfxListener *)> f) const |
Public Member Functions inherited from utl::ConfigurationListener | |
virtual | ~ConfigurationListener () |
virtual void | ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0 |
Public Member Functions inherited from EditViewCallbacks | |
virtual | ~EditViewCallbacks () |
virtual void | EditViewInvalidate (const tools::Rectangle &rRect)=0 |
virtual void | EditViewSelectionChange ()=0 |
virtual OutputDevice & | EditViewOutputDevice () const=0 |
virtual weld::Widget * | EditViewPopupParent () const |
virtual Point | EditViewPointerPosPixel () const=0 |
virtual void | EditViewInputContext (const InputContext &rInputContext)=0 |
virtual void | EditViewCursorRect (const tools::Rectangle &rRect, int nExtTextInputWidth)=0 |
virtual void | EditViewScrollStateChange () |
virtual css::uno::Reference< css::datatransfer::clipboard::XClipboard > | GetClipboard () const=0 |
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > | GetDropTarget () |
Static Public Member Functions | |
static bool | SupportsFormatPaintbrush (SdrInventor nObjectInventor, SdrObjKind nObjectIdentifier) |
returns true if the shape identified by its inventor and identifier supports format paint brush operation More... | |
static void | ApplyFormatPaintBrushToText (SfxItemSet const &rFormatSet, SdrTextObj &rTextObj, SdrText *pText, bool bNoCharacterFormats, bool bNoParagraphFormats) |
helper function for selections with multiple SdrText for one SdrTextObj (f.e. More... | |
Protected Member Functions | |
virtual std::unique_ptr< SdrUndoManager > | createLocalTextUndoManager () |
void | ImpMoveCursorAfterChainingEvent (TextChainCursorManager *pCursorManager) |
std::unique_ptr< TextChainCursorManager > | ImpHandleMotionThroughBoxesKeyInput (const KeyEvent &rKEvt, bool *bOutHandled) |
OutlinerView * | ImpFindOutlinerView (vcl::Window const *pWin) const |
OutlinerView * | ImpMakeOutlinerView (vcl::Window *pWin, OutlinerView *pGivenView, SfxViewShell *pViewShell=nullptr) const |
void | ImpPaintOutlinerView (OutlinerView &rOutlView, const tools::Rectangle &rRect, OutputDevice &rTargetDevice) const |
void | ImpInvalidateOutlinerView (OutlinerView const &rOutlView) const |
void | ImpChainingEventHdl () |
DECL_DLLPRIVATE_LINK (ImpAfterCutOrPasteChainingEventHdl, LinkParamNone *, void) | |
bool | ImpIsTextEditAllSelected () const |
void | ImpMakeTextCursorAreaVisible () |
DECL_DLLPRIVATE_LINK (ImpOutlinerStatusEventHdl, EditStatus &, void) | |
DECL_DLLPRIVATE_LINK (ImpOutlinerCalcFieldValueHdl, EditFieldInfo *, void) | |
DECL_DLLPRIVATE_LINK (EndTextEditHdl, SdrUndoManager *, void) | |
void | ImpMacroUp (const Point &rUpPos) |
void | ImpMacroDown (const Point &rDownPos) |
DECL_LINK (BeginPasteOrDropHdl, PasteOrDropInfos *, void) | |
DECL_LINK (EndPasteOrDropHdl, PasteOrDropInfos *, void) | |
SdrObjEditView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrObjEditView () override |
virtual void | OnBeginPasteOrDrop (PasteOrDropInfos *pInfo) |
virtual void | OnEndPasteOrDrop (PasteOrDropInfos *pInfo) |
Protected Member Functions inherited from SdrGlueEditView | |
SdrGlueEditView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrGlueEditView () override |
Protected Member Functions inherited from SdrPolyEditView | |
SdrPolyEditView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrPolyEditView () override |
Protected Member Functions inherited from SdrEditView | |
void | ImpBroadcastEdgesOfMarkedNodes () |
void | ImpConvertTo (bool bPath, bool bLineToArea) |
rtl::Reference< SdrObject > | ImpConvertOneObj (SdrObject *pObj, bool bPath, bool bLineToArea) |
void | ImpCheckToTopBtmPossible () |
void | ImpCopyAttributes (const SdrObject *pSource, SdrObject *pDest) const |
void | ImpDismantleOneObject (const SdrObject *pObj, SdrObjList &rOL, size_t &rPos, SdrPageView *pPV, bool bMakeLines) |
bool | ImpDelLayerCheck (SdrObjList const *pOL, SdrLayerID nDelID) const |
void | ImpDelLayerDelObjs (SdrObjList *pOL, SdrLayerID nDelID) |
std::vector< rtl::Reference< SdrObject > > | DeleteMarkedList (SdrMarkList const &rMark) |
virtual void | CheckPossibilities () |
void | ForcePossibilities () const |
SdrEditView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrEditView () override |
Protected Member Functions inherited from SdrMarkView | |
bool | getPossibleGridOffsetForSdrObject (basegfx::B2DVector &rOffset, const SdrObject *pObj, const SdrPageView *pPV) const |
bool | getPossibleGridOffsetForPosition (basegfx::B2DVector &rOffset, const basegfx::B2DPoint &rPoint, const SdrPageView *pPV) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void | ModelHasChanged () override |
virtual void | SetMarkHandles (SfxViewShell *pOtherShell) |
void | modelHasChangedLOKit () |
void | SetMarkRects () |
void | CheckMarked () |
void | AddDragModeHdl (SdrDragMode eMode) |
virtual bool | MouseMove (const MouseEvent &rMEvt, OutputDevice *pWin) override |
handle mouse over effects for handles More... | |
virtual bool | RequestHelp (const HelpEvent &rHEvt) override |
virtual void | AddCustomHdl () |
void | ForceRefToMarked () |
void | ForceUndirtyMrkPnt () const |
virtual SdrObject * | CheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObject *pObj, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay) const |
SdrObject * | CheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObjList const *pOL, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay, SdrObject *&rpRootObj) const |
SdrObject * | CheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObjList const *pOL, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay, SdrObject *&rpRootObj, const SdrMarkList *pMarkList) const |
bool | ImpIsFrameHandles () const |
OUString | ImpGetDescriptionString (TranslateId pStrCacheID, ImpGetDescriptionOptions nOpt=ImpGetDescriptionOptions::NONE) const |
bool | ImpMarkPoint (SdrHdl *pHdl, SdrMark *pMark, bool bUnmark) |
virtual bool | MarkPoints (const tools::Rectangle *pRect, bool bUnmark) |
bool | MarkGluePoints (const tools::Rectangle *pRect, bool bUnmark) |
void | SetMoveOutside (bool bOn) |
bool | MarkableObjectsExceed (int n) const |
SdrMarkView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrMarkView () override |
SdrMarkList & | GetMarkedObjectListWriteAccess () |
Protected Member Functions inherited from SdrSnapView | |
SdrSnapView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrSnapView () override |
Protected Member Functions inherited from SdrPaintView | |
void | DeletePaintWindow (const SdrPaintWindow &rOld) |
void | ConfigurationChanged (::utl::ConfigurationBroadcaster *, ConfigurationHints) override |
sal_uInt16 | ImpGetMinMovLogic (short nMinMov, const OutputDevice *pOut) const |
sal_uInt16 | ImpGetHitTolLogic (short nHitTol, const OutputDevice *pOut) const |
void | FlushComeBackTimer () const |
void | TheresNewMapMode () |
void | ImpSetGlueVisible2 (bool bOn) |
void | ImpSetGlueVisible3 (bool bOn) |
void | ImpSetGlueVisible4 (bool bOn) |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
void | GlueInvalidate () const |
virtual void | ModelHasChanged () |
SdrPaintView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrPaintView () override |
void | ImpFormLayerDrawing (SdrPaintWindow &rPaintWindow) |
Protected Member Functions inherited from SfxBroadcaster | |
void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
Private Member Functions | |
virtual void | EditViewInvalidate (const tools::Rectangle &rRect) override |
virtual void | EditViewSelectionChange () override |
virtual OutputDevice & | EditViewOutputDevice () const override |
virtual Point | EditViewPointerPosPixel () const override |
virtual css::uno::Reference< css::datatransfer::clipboard::XClipboard > | GetClipboard () const override |
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > | GetDropTarget () override |
virtual void | EditViewInputContext (const InputContext &rInputContext) override |
virtual void | EditViewCursorRect (const tools::Rectangle &rRect, int nExtTextInputWidth) override |
Private Attributes | |
sdr::overlay::OverlayObjectList | maTEOverlayGroup |
SfxUndoManager * | mpOldTextEditUndoManager |
std::unique_ptr< SdrUndoManager > | mpLocalTextEditUndoManager |
Friends | |
class | SdrPageView |
class | ImpSdrEditPara |
Additional Inherited Members | |
Static Protected Member Functions inherited from SdrEditView | |
static bool | ImpCanConvertForCombine1 (const SdrObject *pObj) |
static bool | ImpCanConvertForCombine (const SdrObject *pObj) |
static basegfx::B2DPolyPolygon | ImpGetPolyPolygon1 (const SdrObject *pObj) |
static basegfx::B2DPolyPolygon | ImpGetPolyPolygon (const SdrObject *pObj) |
static basegfx::B2DPolygon | ImpCombineToSinglePolygon (const basegfx::B2DPolyPolygon &rPolyPolygon) |
static bool | ImpCanDismantle (const basegfx::B2DPolyPolygon &rPpolyPpolygon, bool bMakeLines) |
static bool | ImpCanDismantle (const SdrObject *pObj, bool bMakeLines) |
static void | ImpCrookObj (SdrObject *pO, const Point &rRef, const Point &rRad, SdrCrookMode eMode, bool bVertical, bool bNoContortion, bool bRotate, const tools::Rectangle &rMarkRect) |
static void | ImpDistortObj (SdrObject *pO, const tools::Rectangle &rRef, const XPolygon &rDistortedRect, bool bNoContortion) |
Static Protected Member Functions inherited from SdrPaintView | |
static void | InitOverlayManager (rtl::Reference< sdr::overlay::OverlayManager > xOverlayManager) |
static vcl::Region | OptimizeDrawLayersRegion (const OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect) |
Static Protected Attributes inherited from SdrMarkView | |
static constexpr sal_uInt16 | mnFrameHandlesLimit = 50 |
Definition at line 62 of file svdedxv.hxx.
|
protected |
Definition at line 74 of file svdedxv.cxx.
References pOut.
|
overrideprotectedvirtual |
Definition at line 93 of file svdedxv.cxx.
References IsTextEdit(), mpOldTextEditUndoManager, mpTextEditOutliner, mpTextEditWin, SdrEndTextEdit(), and suppress_fun_call_w_exception.
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in FmFormView.
Definition at line 2477 of file svdedxv.cxx.
References SdrPaintView::AddDeviceToPaintView(), unotools::WeakReference< class interface_type >::get(), OutputDevice::GetOutDevType(), OutputDevice::GetOwnerWindow(), ImpMakeOutlinerView(), mbTextEditOnlyOneView, mpTextEditOutliner, mxWeakTextEditObj, and OUTDEV_WINDOW.
Referenced by FmFormView::AddDeviceToPaintView().
void SdrObjEditView::ApplyFormatPaintBrush | ( | SfxItemSet & | rFormatSet, |
bool | bNoCharacterFormats, | ||
bool | bNoParagraphFormats | ||
) |
applies a format paint brush set from the current selection.
if bNoCharacterFormats is true, no character attributes are changed. if bNoParagraphFormats is true, no paragraph attributes are changed.
Definition at line 2912 of file svdedxv.cxx.
References ApplyFormatPaintBrushToText(), CreatePaintSet(), Default, DynCastSdrTextObj(), EE_CHAR_START(), EE_PARA_START(), OutlinerView::GetAttribs(), Outliner::GetEditEngine(), GetFormatRangeImpl(), SdrMarkList::GetMark(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetMergedItemSet(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), OutlinerView::GetOutliner(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), OutlinerView::GetSelection(), SdrTextObj::getText(), SdrTextObj::getTextCount(), GetTextEditOutlinerView(), EditEngine::GetWord(), ESelection::HasRange(), mxSelectionController, OutlinerView::RemoveAttribsKeepLanguages(), OutlinerView::SetAttribs(), SdrEditView::SetAttrToMarked(), OutlinerView::SetSelection(), and Table.
|
static |
helper function for selections with multiple SdrText for one SdrTextObj (f.e.
tables )
Definition at line 2865 of file svdedxv.cxx.
References Outliner::Clear(), CreatePaintSet(), Outliner::CreateParaObject(), GetFormatRangeImpl(), SdrText::GetOutlinerParaObject(), Outliner::GetParaAttribs(), Outliner::GetParagraphCount(), SfxItemSet::GetPool(), SdrTextObj::ImpGetDrawOutliner(), SdrTextObj::NbcSetOutlinerParaObjectForText(), SfxItemSet::Put(), Outliner::RemoveCharAttribs(), Outliner::SetParaAttribs(), and Outliner::SetText().
Referenced by ApplyFormatPaintBrush(), and sdr::table::SvxTableController::ApplyFormatPaintBrush().
|
overridevirtual |
Reimplemented from SdrMarkView.
Reimplemented in SdrCreateView, and SdrDragView.
Definition at line 119 of file svdedxv.cxx.
References SdrMarkView::BckAction(), and BrkMacroObj().
Referenced by SdrDragView::BckAction().
|
inline |
void SdrObjEditView::BegMacroObj | ( | const Point & | rPnt, |
short | nTol, | ||
SdrObject * | pObj, | ||
SdrPageView * | pPV, | ||
vcl::Window * | pWin | ||
) |
Definition at line 2517 of file svdedxv.cxx.
References aMacroDownPos, BrkMacroObj(), SdrObject::HasMacro(), SdrPaintView::ImpGetHitTolLogic(), mbMacroDown, MovMacroObj(), nMacroTol, pMacroObj, pMacroPV, and pMacroWin.
Referenced by SdrView::DoMouseEvent().
|
overridevirtual |
Reimplemented from SdrMarkView.
Reimplemented in SdrCreateView, and SdrDragView.
Definition at line 125 of file svdedxv.cxx.
References SdrMarkView::BrkAction(), and BrkMacroObj().
Referenced by SdrDragView::BrkAction().
void SdrObjEditView::BrkMacroObj | ( | ) |
Definition at line 2579 of file svdedxv.cxx.
References aMacroDownPos, ImpMacroUp(), pMacroObj, pMacroPV, and pMacroWin.
Referenced by BckAction(), BegMacroObj(), BrkAction(), and EndMacroObj().
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in SdrView.
Definition at line 2108 of file svdedxv.cxx.
References tools::Rectangle::Bottom(), SdrPaintView::Command(), OutlinerView::Command(), CommandEvent::GetCommand(), SdrPaintView::GetModel(), CommandEvent::GetMousePosPixel(), OutlinerView::GetOutputArea(), ImpMakeTextCursorAreaVisible(), comphelper::LibreOfficeKit::isActive(), CommandEvent::IsMouseEvent(), IsTextEditHit(), tools::Rectangle::Left(), vcl::Window::LogicToPixel(), mpTextEditOutliner, mpTextEditOutlinerView, mpTextEditWin, vcl::Window::PixelToLogic(), tools::Rectangle::Right(), SdrModel::SetChanged(), SetTextEditWin(), Point::setX(), Point::setY(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by SdrView::Command().
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in FmFormView.
Definition at line 2489 of file svdedxv.cxx.
References SdrPaintView::DeleteDeviceFromPaintView(), unotools::WeakReference< class interface_type >::get(), OutputDevice::GetOutDevType(), OutputDevice::GetOwnerWindow(), SdrPaintView::GetSdrPageView(), OutlinerView::GetWindow(), i, mbTextEditOnlyOneView, mpTextEditOutliner, mxWeakTextEditObj, and OUTDEV_WINDOW.
Referenced by FmFormView::DeleteDeviceFromPaintView().
void SdrObjEditView::DisposeUndoManager | ( | ) |
Definition at line 2898 of file svdedxv.cxx.
References mpOldTextEditUndoManager, and mpTextEditOutliner.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Implements EditViewCallbacks.
Definition at line 764 of file svdedxv.cxx.
References a, aMinTextEditArea, vcl::unotools::b2DRectangleFromRectangle(), sdr::overlay::OverlayObjectList::count(), sdr::overlay::OverlayObjectList::getOverlayObject(), IsTextEdit(), and maTEOverlayGroup.
Referenced by TextEditDrawing().
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Implements EditViewCallbacks.
Definition at line 788 of file svdedxv.cxx.
References a, sdr::overlay::OverlayObjectList::count(), sdr::overlay::OverlayObjectList::getOverlayObject(), IsTextEdit(), and maTEOverlayGroup.
|
overridevirtual |
Reimplemented from SdrMarkView.
Reimplemented in SdrCreateView, and SdrDragView.
Definition at line 112 of file svdedxv.cxx.
References SdrMarkView::EndAction(), EndMacroObj(), and IsMacroObj().
Referenced by SdrDragView::EndAction().
bool SdrObjEditView::EndMacroObj | ( | ) |
Definition at line 2590 of file svdedxv.cxx.
References aMacroDownPos, SdrObjMacroHitRec::aPos, BrkMacroObj(), SdrObject::DoMacro(), SdrPageView::GetVisibleLayers(), ImpMacroUp(), mbMacroDown, nMacroTol, SdrObjMacroHitRec::nTol, pMacroObj, pMacroPV, pMacroWin, SdrObjMacroHitRec::pPageView, and SdrObjMacroHitRec::pVisiLayer.
Referenced by EndAction().
void SdrObjEditView::GetAttributes | ( | SfxItemSet & | rTargetSet, |
bool | bOnlyHardAttr | ||
) | const |
Definition at line 2249 of file svdedxv.cxx.
References DBG_ASSERT, unotools::WeakReference< class interface_type >::get(), OutlinerView::GetAttribs(), SdrEditView::GetAttributes(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), IsTextEdit(), SdrEditView::MergeNotPersistAttrFromMarked(), mpTextEditOutliner, mpTextEditOutlinerView, mxSelectionController, mxWeakTextEditObj, and SfxItemSet::Put().
Referenced by SdrCreateView::GetAttributes().
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from EditViewCallbacks.
Definition at line 819 of file svdedxv.cxx.
References mpTextEditWin.
|
virtual |
Definition at line 2215 of file svdedxv.cxx.
References unotools::WeakReference< class interface_type >::get(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), SdrObject::GetOutlinerParaObject(), EditTextObject::GetScriptType(), OutlinerView::GetSelectedScriptType(), OutlinerParaObject::GetTextObject(), i, IsTextEdit(), mpTextEditOutlinerView, and mxWeakTextEditObj.
|
inline |
Definition at line 299 of file svdedxv.hxx.
Referenced by accessibility::AccessibleTableShape::getTableController().
sal_uInt16 SdrObjEditView::GetSelectionLevel | ( | ) | const |
Definition at line 2701 of file svdedxv.cxx.
References DBG_ASSERT, OutlinerView::GetSelection(), IsTextEdit(), mpTextEditOutliner, mpTextEditOutlinerView, ESelection::nEndPara, and ESelection::nStartPara.
SfxStyleSheet * SdrObjEditView::GetStyleSheet | ( | ) | const |
Definition at line 2432 of file svdedxv.cxx.
References OutlinerView::GetStyleSheet(), SdrEditView::GetStyleSheet(), mpTextEditOutlinerView, and mxSelectionController.
Referenced by SdrCreateView::GetStyleSheet().
|
inline |
Definition at line 234 of file svdedxv.hxx.
References unotools::WeakReference< class interface_type >::get().
Referenced by sdr::table::SvxTableController::EditCell(), GetTextEditBackgroundColor(), getTextSelection(), ImpInvalidateOutlinerView(), ImpPaintOutlinerView(), and SdrBeginTextEdit().
|
inline |
Definition at line 248 of file svdedxv.hxx.
|
inline |
Definition at line 244 of file svdedxv.hxx.
Referenced by SvxTextEditSourceImpl::CreateViewForwarder(), SvxTextEditSourceImpl::dispose(), sdr::table::SvxTableController::EditCell(), SvxTextEditSourceImpl::GetEditModeTextForwarder(), TextChainCursorManager::impDetectEvent(), SvxTextEditSourceImpl::Notify(), sdr::table::SvxTableController::onMouseButtonDown(), and TextEditDrawing().
|
inline |
Definition at line 256 of file svdedxv.hxx.
|
inline |
Definition at line 252 of file svdedxv.hxx.
Referenced by ApplyFormatPaintBrush(), SvxTextEditSourceImpl::CreateViewForwarder(), SdrView::DoMouseEvent(), sdr::table::SvxTableController::EditCell(), sdr::table::SvxTableController::GetAttributes(), sdr::table::SvxTableController::getKeyboardAction(), getTextSelection(), TextChainCursorManager::HandleCursorEvent(), ImpChainingEventHdl(), TextChainCursorManager::impChangeEditingTextObj(), TextChainCursorManager::impDetectEvent(), SdrView::MarkAll(), TakeFormatPaintBrush(), and SdrView::UnmarkAll().
SdrPageView * SdrObjEditView::GetTextEditPageView | ( | ) | const |
Definition at line 1836 of file svdedxv.cxx.
References mpTextEditPV.
Referenced by GetTextEditBackgroundColor().
void SdrObjEditView::getTextSelection | ( | css::uno::Any & | rSelection | ) |
fills the given any with a XTextCursor for the current text selection.
Leaves the any untouched if there currently is no text selected
Definition at line 2615 of file svdedxv.cxx.
References SvxUnoTextBase::createTextCursorBySelection(), OutlinerView::GetSelection(), GetTextEditObject(), GetTextEditOutlinerView(), SdrObject::getUnoShape(), OutlinerView::HasSelection(), and IsTextEdit().
|
inline |
Definition at line 181 of file svdedxv.hxx.
|
overridevirtual |
Reimplemented from SdrMarkView.
Definition at line 195 of file svdedxv.cxx.
References SdrPaintView::GetFirstOutputDevice(), SdrPaintView::GetSdrPageView(), SdrMarkView::HideSdrPage(), and mpTextEditPV.
Referenced by FmFormView::HideSdrPage().
|
protected |
Definition at line 1069 of file svdedxv.cxx.
References SdrEditView::AddUndo(), unotools::WeakReference< class interface_type >::get(), SdrPaintView::GetModel(), TextChain::GetNilChainingEvent(), OutlinerView::GetSelection(), GetTextEditOutlinerView(), SdrEditView::IsUndoEnabled(), mpTextEditOutliner, mxWeakTextEditObj, SAL_INFO, TextChain::SetNilChainingEvent(), and TextChain::SetPreChainingSel().
Referenced by KeyInput().
|
protected |
Definition at line 1838 of file svdedxv.cxx.
References OutlinerView::GetWindow(), i, and mpTextEditOutliner.
Referenced by SetTextEditWin().
|
protected |
Definition at line 1928 of file svdedxv.cxx.
References unotools::WeakReference< class interface_type >::get(), and mxWeakTextEditObj.
Referenced by KeyInput().
|
protected |
Definition at line 945 of file svdedxv.cxx.
References a, tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), aMinTextEditArea, tools::Rectangle::Bottom(), vcl::Window::EnableMapMode(), OutlinerView::GetInvalidateMore(), OutlinerView::GetOutputArea(), vcl::Window::GetOutputSizePixel(), GetTextEditObject(), OutlinerView::GetWindow(), Size::Height(), vcl::Window::Invalidate(), SdrTextObj::IsFitToSize(), vcl::Window::IsMapModeEnabled(), SdrTextObj::IsTextFrame(), tools::Rectangle::Left(), vcl::Window::LogicToPixel(), tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), tools::Rectangle::Top(), tools::Rectangle::Union(), and Size::Width().
Referenced by ImpMakeOutlinerView(), and ModelHasChanged().
|
protected |
Definition at line 2166 of file svdedxv.cxx.
References OutlinerView::GetSelection(), SdrTextObj::HasTextImpl(), mpTextEditOutliner, mpTextEditOutlinerView, ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, and ESelection::nStartPos.
Referenced by SetAttributes().
|
protected |
Definition at line 2548 of file svdedxv.cxx.
References SdrObjMacroHitRec::aPos, SdrPageView::GetVisibleLayers(), mbMacroDown, nMacroTol, SdrObjMacroHitRec::nTol, SdrObject::PaintMacro(), pMacroObj, pMacroPV, pMacroWin, SdrObjMacroHitRec::pPageView, and SdrObjMacroHitRec::pVisiLayer.
Referenced by MovMacroObj().
|
protected |
Definition at line 2534 of file svdedxv.cxx.
References SdrObjMacroHitRec::aPos, SdrPageView::GetVisibleLayers(), mbMacroDown, nMacroTol, SdrObjMacroHitRec::nTol, SdrObject::PaintMacro(), pMacroObj, pMacroPV, pMacroWin, SdrObjMacroHitRec::pPageView, and SdrObjMacroHitRec::pVisiLayer.
Referenced by BrkMacroObj(), EndMacroObj(), and MovMacroObj().
|
protected |
Definition at line 998 of file svdedxv.cxx.
References aTextEditArea, SfxViewShell::Current(), unotools::WeakReference< class interface_type >::get(), OutlinerView::GetControlWord(), OutlinerView::GetEditView(), SdrHdlList::GetHdlSize(), SdrMarkView::GetSfxViewShell(), GetTextEditBackgroundColor(), ImpInvalidateOutlinerView(), SdrMarkView::maHdlList, SdrMarkView::mbNegativeX, mpTextEditOutliner, mxWeakTextEditObj, OutlinerView::RegisterViewShell(), SDRATTR_TEXT_USEFIXEDCELLHEIGHT(), OutlinerView::SetAnchorMode(), OutlinerView::SetBackgroundColor(), OutlinerView::SetControlWord(), OutlinerView::SetInvalidateMore(), EditView::SetNegativeX(), OutlinerView::SetOutputArea(), and OutlinerView::SetWindow().
Referenced by AddDeviceToPaintView(), and SdrBeginTextEdit().
|
protected |
Definition at line 2199 of file svdedxv.cxx.
References vcl::Cursor::GetPos(), vcl::Cursor::GetSize(), Size::IsEmpty(), SdrPaintView::MakeVisible(), mpTextEditOutlinerView, and mpTextEditWin.
Referenced by Command(), KeyInput(), ModelHasChanged(), MouseButtonDown(), MouseButtonUp(), MouseMove(), SetAttributes(), and SetTextEditWin().
|
protected |
Definition at line 1148 of file svdedxv.cxx.
References unotools::WeakReference< class interface_type >::get(), TextChain::GetCursorEvent(), TextChain::GetPostChainingSel(), TextChainCursorManager::HandleCursorEventAfterChaining(), mxWeakTextEditObj, NULL_EVENT, and TextChain::SetCursorEvent().
Referenced by KeyInput().
|
protected |
Definition at line 890 of file svdedxv.cxx.
References aMinTextEditArea, vcl::unotools::b2DRectangleFromRectangle(), drawinglayer::processor2d::createProcessor2DFromOutputDevice(), OutputDevice::EnableMapMode(), Color::getBColor(), SvtOptionsDrawinglayer::getHilightColor(), OutlinerView::GetInvalidateMore(), OutlinerView::GetOutliner(), OutlinerView::GetOutputArea(), GetTextEditObject(), SvtOptionsDrawinglayer::GetTransparentSelectionPercent(), tools::Rectangle::Intersection(), comphelper::LibreOfficeKit::isActive(), tools::Rectangle::IsEmpty(), OutputDevice::IsMapModeEnabled(), SdrTextObj::IsTextFrame(), OutputDevice::LogicToPixel(), mpTextEditOutliner, OutlinerView::Paint(), Outliner::SetUpdateLayout(), OutlinerView::ShowCursor(), tools::Rectangle::Union(), and xProcessor.
Referenced by TextEditDrawing().
|
overridevirtual |
Reimplemented from SdrMarkView.
Reimplemented in SdrCreateView, and SdrDragView.
Definition at line 103 of file svdedxv.cxx.
References SdrMarkView::IsAction(), and IsMacroObj().
Referenced by SdrDragView::IsAction().
|
inline |
Definition at line 291 of file svdedxv.hxx.
Referenced by EndAction(), SdrView::GetPreferredPointer(), IsAction(), MovAction(), and TakeActionRect().
|
inline |
Definition at line 193 of file svdedxv.hxx.
Referenced by SdrView::PickAnything().
|
finaloverridevirtual |
Reimplemented from SdrPaintView.
Definition at line 1833 of file svdedxv.cxx.
References unotools::WeakReference< class interface_type >::get(), and mxWeakTextEditObj.
Referenced by sdr::table::SvxTableController::ChangeFontSize(), SdrView::DeleteMarked(), EditViewInvalidate(), EditViewSelectionChange(), SdrEditView::EndTextEditAllViews(), GetAttributes(), sdr::table::SvxTableController::GetAttributes(), sdr::table::SvxTableController::getKeyboardAction(), SdrView::GetPreferredPointer(), GetScriptType(), sdr::table::SvxTableController::getSelectedCells(), GetSelectionLevel(), SdrView::GetStatusText(), getTextSelection(), IMPL_LINK_NOARG(), SdrExchangeView::ImpPasteObject(), SdrView::KeyInput(), SdrView::MarkAll(), ModelHasChanged(), sdr::table::SvxTableController::onFormatTable(), SdrExchangeView::Paste(), sdr::table::SvxTableController::PasteObject(), SdrView::PickAnything(), SdrBeginTextEdit(), sdr::table::SvxTableController::SetAttributes(), sdr::table::SvxTableController::StopTextEdit(), TextEditDrawing(), SdrView::UnmarkAll(), and ~SdrObjEditView().
bool SdrObjEditView::IsTextEditFrameHit | ( | const Point & | rHit | ) | const |
Definition at line 1898 of file svdedxv.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), aMinTextEditArea, tools::Rectangle::Contains(), unotools::WeakReference< class interface_type >::get(), OutlinerView::GetInvalidateMore(), OutlinerView::GetOutputArea(), OutlinerView::GetWindow(), Size::Height(), mpTextEditOutliner, mxWeakTextEditObj, vcl::Window::PixelToLogic(), tools::Rectangle::Union(), and Size::Width().
bool SdrObjEditView::IsTextEditHit | ( | const Point & | rHit | ) | const |
Definition at line 1875 of file svdedxv.cxx.
References tools::Rectangle::Contains(), unotools::WeakReference< class interface_type >::get(), OutputDevice::LogicToLogic(), mpTextEditOutliner, mxWeakTextEditObj, tools::Rectangle::TopLeft(), and tools::Rectangle::Union().
Referenced by Command(), SdrView::GetPreferredPointer(), MouseButtonDown(), MouseButtonUp(), MouseMove(), and SdrView::PickAnything().
bool SdrObjEditView::IsTextEditInSelectionMode | ( | ) | const |
Definition at line 2510 of file svdedxv.cxx.
References mpTextEditOutliner.
Referenced by SdrView::GetPreferredPointer(), SdrView::MouseMove(), and SdrView::PickAnything().
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in FmFormView, and SdrView.
Definition at line 1951 of file svdedxv.cxx.
References SdrPaintView::GetModel(), ImpChainingEventHdl(), ImpHandleMotionThroughBoxesKeyInput(), ImpMakeTextCursorAreaVisible(), ImpMoveCursorAfterChainingEvent(), SdrPaintView::KeyInput(), mpTextEditOutliner, mpTextEditOutlinerView, mpTextEditWin, OutlinerView::PostKeyEvent(), SdrModel::SetChanged(), and SetTextEditWin().
Referenced by SdrView::DeleteMarked(), and SdrView::KeyInput().
|
overridevirtual |
Reimplemented from SdrEditView.
Reimplemented in FmFormView, and GraphCtrlView.
Definition at line 2647 of file svdedxv.cxx.
References sdr::table::CreateTableController(), Default, SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrEditView::MarkListHasChanged(), mxLastSelectionController, mxSelectionController, and Table.
Referenced by svx::ExtrusionBar::execute(), FmFormView::MarkListHasChanged(), GraphCtrlView::MarkListHasChanged(), sdr::table::SvxTableController::RemoveSelection(), E3dView::Start3DCreation(), sdr::table::SvxTableController::StartSelection(), and sdr::table::SvxTableController::UpdateSelection().
|
overridevirtual |
Reimplemented from SdrEditView.
Definition at line 242 of file svdedxv.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), aMinTextEditArea, aTextEditArea, basegfx::fround(), unotools::WeakReference< class interface_type >::get(), OutlinerView::GetAnchorMode(), OutlinerView::GetBackgroundColor(), OutlinerView::GetControlWord(), OutlinerView::GetInvalidateMore(), vcl::Window::GetOutDev(), SdrMarkView::getPossibleGridOffsetForSdrObject(), SdrPaintView::GetSdrPageView(), GetTextEditBackgroundColor(), OutlinerView::GetWindow(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), Size::Height(), ImpInvalidateOutlinerView(), ImpMakeTextCursorAreaVisible(), SdrPaintView::InvalidateOneWin(), IsTextEdit(), SdrEditView::ModelHasChanged(), tools::Rectangle::Move(), mpTextEditOutliner, mpTextEditOutlinerView, mxWeakTextEditObj, vcl::Window::PixelToLogic(), SdrEndTextEdit(), OutlinerView::SetAnchorMode(), OutlinerView::SetBackgroundColor(), OutlinerView::SetControlWord(), OutlinerView::SetOutputArea(), OutlinerView::ShowCursor(), tools::Rectangle::Union(), Size::Width(), Point::X(), and Point::Y().
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in FmFormView, and SdrView.
Definition at line 1983 of file svdedxv.cxx.
References tools::Rectangle::Bottom(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), MouseEvent::GetMode(), MouseEvent::GetModifier(), OutputDevice::GetOutDevType(), OutlinerView::GetOutputArea(), OutputDevice::GetOwnerWindow(), MouseEvent::GetPosPixel(), ImpMakeTextCursorAreaVisible(), IsTextEditHit(), tools::Rectangle::Left(), OutputDevice::LogicToPixel(), OutlinerView::MouseButtonDown(), SdrPaintView::MouseButtonDown(), mpTextEditOutliner, mpTextEditOutlinerView, mpTextEditWin, OUTDEV_WINDOW, OutputDevice::PixelToLogic(), tools::Rectangle::Right(), SetTextEditWin(), Point::setX(), Point::setY(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by SdrView::MouseButtonDown().
|
overridevirtual |
Reimplemented from SdrPaintView.
Reimplemented in SdrView.
Definition at line 2027 of file svdedxv.cxx.
References tools::Rectangle::Bottom(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), MouseEvent::GetMode(), MouseEvent::GetModifier(), OutlinerView::GetOutputArea(), MouseEvent::GetPosPixel(), ImpMakeTextCursorAreaVisible(), IsTextEditHit(), tools::Rectangle::Left(), OutputDevice::LogicToPixel(), OutlinerView::MouseButtonUp(), SdrPaintView::MouseButtonUp(), mpTextEditOutliner, mpTextEditOutlinerView, mpTextEditWin, OutputDevice::PixelToLogic(), tools::Rectangle::Right(), Point::setX(), Point::setY(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by SdrView::MouseButtonUp().
|
overridevirtual |
handle mouse over effects for handles
Reimplemented from SdrMarkView.
Reimplemented in SdrCreateView, and SdrView.
Definition at line 2065 of file svdedxv.cxx.
References tools::Rectangle::Bottom(), MouseEvent::GetButtons(), MouseEvent::GetClicks(), MouseEvent::GetMode(), MouseEvent::GetModifier(), OutlinerView::GetOutputArea(), MouseEvent::GetPosPixel(), ImpMakeTextCursorAreaVisible(), IsTextEditHit(), tools::Rectangle::Left(), OutputDevice::LogicToPixel(), OutlinerView::MouseMove(), SdrMarkView::MouseMove(), mpTextEditOutliner, mpTextEditOutlinerView, mpTextEditWin, OutputDevice::PixelToLogic(), tools::Rectangle::Right(), Point::setX(), Point::setY(), tools::Rectangle::Top(), Point::X(), and Point::Y().
Referenced by SdrCreateView::MouseMove().
|
overridevirtual |
Reimplemented from SdrMarkView.
Reimplemented in SdrCreateView, SdrDragView, and E3dView.
Definition at line 105 of file svdedxv.cxx.
References IsMacroObj(), SdrMarkView::MovAction(), and MovMacroObj().
Referenced by SdrDragView::MovAction().
void SdrObjEditView::MovMacroObj | ( | const Point & | rPnt | ) |
Definition at line 2562 of file svdedxv.cxx.
References SdrObjMacroHitRec::aPos, SdrPageView::GetVisibleLayers(), ImpMacroDown(), ImpMacroUp(), SdrObject::IsMacroHit(), nMacroTol, SdrObjMacroHitRec::nTol, pMacroObj, pMacroPV, SdrObjMacroHitRec::pPageView, and SdrObjMacroHitRec::pVisiLayer.
Referenced by BegMacroObj(), and MovAction().
|
overridevirtual |
Reimplemented from SdrMarkView.
Definition at line 220 of file svdedxv.cxx.
References DefaultTabChange, SdrModel::GetDefaultTabulator(), SfxHint::GetId(), SdrHint::GetKind(), SdrPaintView::GetModel(), SdrModel::GetRefDevice(), mpTextEditOutliner, SdrMarkView::Notify(), and RefDeviceChange.
|
protectedvirtual |
Definition at line 2691 of file svdedxv.cxx.
|
protectedvirtual |
Definition at line 2696 of file svdedxv.cxx.
|
virtual |
Definition at line 1224 of file svdedxv.cxx.
References SdrMarkView::AdjustMarkHdl(), aMinTextEditArea, aOldCalcFieldValueLink, sdr::overlay::OverlayObjectList::append(), aTextEditArea, BeginEdit, SfxBroadcaster::Broadcast(), createLocalTextUndoManager(), DynCastSdrTextObj(), SdrViewIter::ForAllViews(), basegfx::fround(), unotools::WeakReference< class interface_type >::get(), vcl::Window::GetCursor(), OutlinerView::GetEditView(), SvtOptionsDrawinglayer::getHilightColor(), SvtAccessibilityOptions::GetIsAutomaticFontColor(), SdrObject::GetLayer(), SdrPageView::GetLockedLayers(), SdrPaintView::GetModel(), SdrTextObj::GetObjIdentifier(), vcl::Window::GetOutDev(), OutputDevice::GetOutDevType(), SdrPaintWindow::GetOutputDevice(), SdrPageWindow::GetOverlayManager(), OutputDevice::GetOwnerWindow(), SdrPageView::GetPage(), SdrPageView::GetPageWindow(), SdrPageWindow::GetPaintWindow(), SdrPaintView::GetPaintWindow(), SdrMarkView::getPossibleGridOffsetForSdrObject(), SdrObject::getSdrModelFromSdrObject(), SdrObject::getSdrPageFromSdrObject(), SdrPaintView::GetSdrPageView(), GetTextEditObject(), basegfx::Tuple2D< typename TYPE >::getX(), basegfx::Tuple2D< typename TYPE >::getY(), vcl::Window::GrabFocus(), i, ImpMakeOutlinerView(), vcl::Window::Invalidate(), comphelper::LibreOfficeKit::isActive(), SdrLayerIDSet::IsSet(), IsTextEdit(), SdrEditView::IsUndoEnabled(), LINK, SdrMarkView::maHdlList, maTEOverlayGroup, mbTextEditDontDelete, mbTextEditNewObj, mbTextEditOnlyOneView, tools::Rectangle::Move(), mpLocalTextEditUndoManager, mpOldTextEditUndoManager, mpTextEditOutliner, mpTextEditOutlinerView, mpTextEditPV, mpTextEditWin, mxSelectionController, mxWeakTextEditObj, nCount, OUTDEV_WINDOW, SdrPaintWindow::OutputToWindow(), SdrPageView::PageWindowCount(), SdrPaintView::PaintWindowCount(), pTextEditCursorBuffer, SAL_WARN_IF, SdrEndTextEdit(), SdrMakeOutliner(), EditView::setEditViewCallbacks(), OutlinerView::SetEndCutPasteLinkHdl(), SdrUndoManager::SetEndTextEditHdl(), SdrHdlList::SetMoveOutside(), OutlinerView::ShowCursor(), Table, Point::X(), and Point::Y().
Referenced by SdrView::DoMouseEvent(), sdr::table::SvxTableController::EditCell(), SvxTextEditSourceImpl::GetEditViewForwarder(), and TextChainCursorManager::impChangeEditingTextObj().
|
virtual |
Definition at line 1565 of file svdedxv.cxx.
References SdrEditView::AddUndo(), tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), SdrMarkView::AdjustMarkHdl(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), aMinTextEditArea, aOldCalcFieldValueLink, aTextEditArea, SdrEditView::BegUndo(), SfxBroadcaster::Broadcast(), Changed, SdrMarkView::CheckMarked(), sdr::overlay::OverlayObjectList::clear(), COL_BLACK(), SdrUndoFactory::CreateUndoDeleteObject(), DBG_ASSERT, Default, Deleted, EndEdit, SdrEditView::EndUndo(), unotools::WeakReference< class interface_type >::get(), OutlinerView::GetEditView(), OutlinerView::GetInvalidateMore(), SdrMarkView::GetMarkedObjectListWriteAccess(), SdrPaintView::GetModel(), vcl::Window::GetOutDev(), OutlinerView::GetOutputArea(), SdrUndoManager::GetRedoActionCountBeforeTextEdit(), SdrModel::GetSdrUndoFactory(), OutlinerView::GetWindow(), OutlinerView::HideCursor(), i, SdrPaintView::InvalidateOneWin(), SdrUndoManager::isEndTextEditTriggeredFromUndo(), SdrEditView::IsUndoEnabled(), vcl::Window::LogicToPixel(), SdrMarkView::maHdlList, maTEOverlayGroup, mbTextEditDontDelete, mbTextEditNewObj, mpLocalTextEditUndoManager, mpOldTextEditUndoManager, mpTextEditOutliner, mpTextEditOutlinerView, mpTextEditPV, mpTextEditWin, mxWeakTextEditObj, vcl::Window::PixelToLogic(), pTextEditCursorBuffer, SdrUndoManager::Redo(), vcl::Window::SetCursor(), EditView::setEditViewCallbacks(), SdrUndoManager::SetEndTextEditHdl(), OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), SdrHdlList::SetMoveOutside(), SdrMarkList::SetNameDirty(), ShouldBeDeleted, SvxResId(), Text, Unchanged, SdrUndoManager::Undo(), and tools::Rectangle::Union().
Referenced by SdrView::DoMouseEvent(), sdr::table::SvxTableController::EditCell(), SdrEditView::EndTextEditAllViews(), SdrEditView::EndTextEditCurrentView(), SvxTextEditSourceImpl::GetEditViewForwarder(), sdr::table::SvxTableController::gotoCell(), TextChainCursorManager::impChangeEditingTextObj(), SdrView::KeyInput(), sdr::table::SvxTableController::MergeMarkedCells(), ModelHasChanged(), sdr::table::SvxTableController::onDelete(), sdr::table::SvxTableController::onInsert(), sdr::table::SvxTableController::PasteObject(), SdrEditView::ReplaceObjectAtView(), SdrBeginTextEdit(), sdr::table::SvxTableController::SplitMarkedCells(), sdr::table::SvxTableController::StopTextEdit(), and ~SdrObjEditView().
bool SdrObjEditView::SetAttributes | ( | const SfxItemSet & | rSet, |
bool | bReplaceAll | ||
) |
Definition at line 2287 of file svdedxv.cxx.
References SdrEditView::AddUndo(), SdrEditView::BegUndo(), Application::CreateMessageDialog(), EE_FEATURE_END(), EE_FEATURE_START(), EE_ITEMS_END(), EE_ITEMS_START(), SdrEditView::EndUndo(), SfxWhichIter::FirstWhich(), SdrPaintView::FlushComeBackTimer(), unotools::WeakReference< class interface_type >::get(), SfxItemIter::GetCurItem(), SfxItemSet::GetItemState(), SdrMarkView::GetMarkedObjectByIndex(), SdrMarkView::GetMarkedObjectCount(), SdrPaintView::GetModel(), OutlinerView::GetOutliner(), SfxItemSet::GetRanges(), SdrMarkView::ImpGetDescriptionString(), ImpIsTextEditAllSelected(), ImpMakeTextCursorAreaVisible(), IsInvalidItem(), Outliner::IsModified(), SdrEditView::IsUndoEnabled(), mpTextEditOutlinerView, mxSelectionController, mxWeakTextEditObj, SfxItemIter::NextItem(), SfxWhichIter::NextWhich(), SfxItemSet::Put(), OutlinerView::RemoveAttribs(), RemoveWhichRange(), rSet, SearchOutlinerItems(), OutlinerView::SetAttribs(), SdrEditView::SetAttributes(), SdrModel::SetChanged(), and SdrEditView::SetNotPersistAttrToMarked().
Referenced by SdrDragCrop::EndSdrDrag(), and SdrCreateView::SetAttributes().
|
inline |
Definition at line 189 of file svdedxv.hxx.
void SdrObjEditView::SetStyleSheet | ( | SfxStyleSheet * | pStyleSheet, |
bool | bDontRemoveHardAttr | ||
) |
Definition at line 2453 of file svdedxv.cxx.
References OutlinerView::GetOutliner(), Outliner::GetParagraphCount(), mpTextEditOutlinerView, mxSelectionController, Outliner::SetStyleSheet(), and SdrEditView::SetStyleSheet().
Referenced by SdrCreateView::SetStyleSheet().
void SdrObjEditView::SetTextEditWin | ( | vcl::Window * | pWin | ) |
Definition at line 1855 of file svdedxv.cxx.
References unotools::WeakReference< class interface_type >::get(), vcl::Window::GrabFocus(), OutlinerView::HideCursor(), ImpFindOutlinerView(), ImpMakeTextCursorAreaVisible(), mpTextEditOutlinerView, mpTextEditWin, mxWeakTextEditObj, and OutlinerView::ShowCursor().
Referenced by Command(), KeyInput(), and MouseButtonDown().
|
overridevirtual |
Reimplemented from SdrPaintView.
Definition at line 131 of file svdedxv.cxx.
References SdrViewIter::ForAllViews(), SdrPageView::GetPage(), comphelper::LibreOfficeKit::isActive(), and SdrPaintView::ShowSdrPage().
Referenced by FmFormView::ShowSdrPage().
|
static |
returns true if the shape identified by its inventor and identifier supports format paint brush operation
Definition at line 2736 of file svdedxv.cxx.
References Caption, CircleArc, CircleCut, CircleOrEllipse, CircleSection, CustomShape, Default, E3d, Edge, FreehandFill, FreehandLine, Graphic, Group, Line, Measure, NONE, OLE2, OLEPluginFrame, OutlineText, Page, PathFill, PathLine, PathPoly, PathPolyLine, Polygon, PolyLine, Rectangle, Table, Text, TitleText, and UNO.
|
overridevirtual |
Reimplemented from SdrMarkView.
Reimplemented in SdrCreateView, and SdrDragView.
Definition at line 208 of file svdedxv.cxx.
References SdrObject::GetCurrentBoundRect(), IsMacroObj(), pMacroObj, and SdrMarkView::TakeActionRect().
Referenced by SdrDragView::TakeActionRect().
void SdrObjEditView::TakeFormatPaintBrush | ( | std::shared_ptr< SfxItemSet > & | rFormatSet | ) |
returns a format paint brush set from the current selection
Definition at line 2800 of file svdedxv.cxx.
References Default, SdrEditView::GetAttrFromMarked(), OutlinerView::GetAttribs(), GetFormatRangeImpl(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), GetTextEditOutlinerView(), mxSelectionController, and Table.
void SdrObjEditView::TextEditDrawing | ( | SdrPaintWindow & | rPaintWindow | ) |
Definition at line 840 of file svdedxv.cxx.
References EditViewInvalidate(), vcl::Region::GetBoundRect(), vcl::Window::GetOutDev(), SdrPaintWindow::GetOutputDevice(), SdrPaintWindow::GetRedrawRegion(), SdrPaintWindow::GetTargetOutputDevice(), GetTextEditOutliner(), Outliner::GetView(), Outliner::GetViewCount(), OutlinerView::GetWindow(), SdrPaintWindow::GetWindow(), i, ImpPaintOutlinerView(), comphelper::LibreOfficeKit::isActive(), and IsTextEdit().
|
friend |
Definition at line 65 of file svdedxv.hxx.
|
friend |
Definition at line 64 of file svdedxv.hxx.
|
protected |
Definition at line 98 of file svdedxv.hxx.
Referenced by BegMacroObj(), BrkMacroObj(), and EndMacroObj().
|
protected |
Definition at line 96 of file svdedxv.hxx.
Referenced by EditViewInvalidate(), ImpInvalidateOutlinerView(), ImpPaintOutlinerView(), IsTextEditFrameHit(), ModelHasChanged(), SdrBeginTextEdit(), and SdrEndTextEdit().
|
protected |
Definition at line 97 of file svdedxv.hxx.
Referenced by SdrBeginTextEdit(), and SdrEndTextEdit().
|
protected |
Definition at line 95 of file svdedxv.hxx.
Referenced by ImpMakeOutlinerView(), ModelHasChanged(), SdrBeginTextEdit(), and SdrEndTextEdit().
|
private |
Definition at line 80 of file svdedxv.hxx.
Referenced by EditViewInvalidate(), EditViewSelectionChange(), SdrBeginTextEdit(), and SdrEndTextEdit().
|
protected |
Definition at line 106 of file svdedxv.hxx.
Referenced by BegMacroObj(), EndMacroObj(), ImpMacroDown(), and ImpMacroUp().
|
protected |
Definition at line 105 of file svdedxv.hxx.
|
protected |
Definition at line 102 of file svdedxv.hxx.
Referenced by SdrBeginTextEdit(), and SdrEndTextEdit().
|
protected |
Definition at line 104 of file svdedxv.hxx.
Referenced by SdrBeginTextEdit(), and SdrEndTextEdit().
|
protected |
Definition at line 103 of file svdedxv.hxx.
Referenced by AddDeviceToPaintView(), DeleteDeviceFromPaintView(), and SdrBeginTextEdit().
|
private |
Definition at line 113 of file svdedxv.hxx.
Referenced by SdrBeginTextEdit(), and SdrEndTextEdit().
|
private |
Definition at line 112 of file svdedxv.hxx.
Referenced by DisposeUndoManager(), SdrBeginTextEdit(), SdrEndTextEdit(), and ~SdrObjEditView().
|
protected |
Definition at line 86 of file svdedxv.hxx.
Referenced by AddDeviceToPaintView(), Command(), DeleteDeviceFromPaintView(), DisposeUndoManager(), GetAttributes(), SdrView::GetPreferredPointer(), GetSelectionLevel(), SdrView::GetStatusText(), ImpChainingEventHdl(), ImpFindOutlinerView(), ImpIsTextEditAllSelected(), ImpMakeOutlinerView(), ImpPaintOutlinerView(), IsTextEditFrameHit(), IsTextEditHit(), IsTextEditInSelectionMode(), KeyInput(), ModelHasChanged(), MouseButtonDown(), MouseButtonUp(), MouseMove(), Notify(), SdrBeginTextEdit(), SdrEndTextEdit(), and ~SdrObjEditView().
|
protected |
Definition at line 87 of file svdedxv.hxx.
Referenced by Command(), GetAttributes(), SdrView::GetPreferredPointer(), GetScriptType(), GetSelectionLevel(), SdrView::GetStatusText(), GetStyleSheet(), ImpIsTextEditAllSelected(), ImpMakeTextCursorAreaVisible(), KeyInput(), ModelHasChanged(), MouseButtonDown(), MouseButtonUp(), MouseMove(), SdrBeginTextEdit(), SdrEndTextEdit(), SetAttributes(), SetStyleSheet(), and SetTextEditWin().
|
protected |
Definition at line 85 of file svdedxv.hxx.
Referenced by GetTextEditPageView(), HideSdrPage(), SdrBeginTextEdit(), and SdrEndTextEdit().
|
protected |
Definition at line 88 of file svdedxv.hxx.
Referenced by Command(), SdrView::DeleteMarked(), EditViewCursorRect(), EditViewInputContext(), EditViewOutputDevice(), EditViewPointerPosPixel(), GetClipboard(), GetDropTarget(), ImpMakeTextCursorAreaVisible(), KeyInput(), MouseButtonDown(), MouseButtonUp(), MouseMove(), SdrBeginTextEdit(), SdrEndTextEdit(), SetTextEditWin(), and ~SdrObjEditView().
|
protected |
Definition at line 109 of file svdedxv.hxx.
Referenced by SdrView::MarkAll(), and MarkListHasChanged().
|
protected |
Definition at line 108 of file svdedxv.hxx.
Referenced by ApplyFormatPaintBrush(), SdrExchangeView::CreateMarkedObjModel(), SdrView::DeleteMarked(), GetAttributes(), GetStyleSheet(), SdrView::MarkAll(), MarkListHasChanged(), SdrExchangeView::Paste(), SdrBeginTextEdit(), SetAttributes(), SetStyleSheet(), and TakeFormatPaintBrush().
|
protected |
Definition at line 84 of file svdedxv.hxx.
Referenced by AddDeviceToPaintView(), DeleteDeviceFromPaintView(), GetAttributes(), GetScriptType(), ImpChainingEventHdl(), ImpHandleMotionThroughBoxesKeyInput(), ImpMakeOutlinerView(), ImpMoveCursorAfterChainingEvent(), IsTextEdit(), IsTextEditFrameHit(), IsTextEditHit(), ModelHasChanged(), SdrBeginTextEdit(), SdrEndTextEdit(), SetAttributes(), and SetTextEditWin().
|
protected |
Definition at line 100 of file svdedxv.hxx.
Referenced by BegMacroObj(), EndMacroObj(), SdrView::GetPreferredPointer(), ImpMacroDown(), ImpMacroUp(), and MovMacroObj().
|
protected |
Definition at line 91 of file svdedxv.hxx.
Referenced by BegMacroObj(), BrkMacroObj(), EndMacroObj(), SdrView::GetPreferredPointer(), ImpMacroDown(), ImpMacroUp(), MovMacroObj(), and TakeActionRect().
|
protected |
Definition at line 92 of file svdedxv.hxx.
Referenced by BegMacroObj(), BrkMacroObj(), EndMacroObj(), SdrView::GetPreferredPointer(), ImpMacroDown(), ImpMacroUp(), and MovMacroObj().
|
protected |
Definition at line 93 of file svdedxv.hxx.
Referenced by BegMacroObj(), BrkMacroObj(), EndMacroObj(), ImpMacroDown(), and ImpMacroUp().
|
protected |
Definition at line 90 of file svdedxv.hxx.
Referenced by SdrBeginTextEdit(), and SdrEndTextEdit().