LibreOffice Module svx (master)
1
|
#include <svdcrtv.hxx>
Public Member Functions | |
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 bool | MouseMove (const MouseEvent &rMEvt, OutputDevice *pWin) override |
handle mouse over effects for handles More... | |
void | SetMeasureLayer (const OUString &rName) |
void | SetEditMode (SdrViewEditMode eMode) |
void | SetEditMode (bool bOn=true) |
void | SetCreateMode (bool bOn=true) |
void | SetGluePointEditMode (bool bOn=true) |
bool | IsTextTool () const |
bool | IsEdgeTool () const |
bool | IsMeasureTool () const |
void | SetCurrentObj (SdrObjKind nIdent, SdrInventor nInvent=SdrInventor::Default) |
void | TakeCurrentObj (SdrObjKind &nIdent, SdrInventor &nInvent) const |
SdrInventor | GetCurrentObjInventor () const |
SdrObjKind | GetCurrentObjIdentifier () const |
bool | BegCreateObj (const Point &rPnt, OutputDevice *pOut=nullptr, short nMinMov=-3) |
bool | BegCreatePreparedObject (const Point &rPnt, sal_Int16 nMinMov, SdrObject *pPreparedFactoryObject) |
void | MovCreateObj (const Point &rPnt) |
bool | EndCreateObj (SdrCreateCmd eCmd) |
void | BckCreateObj () |
void | BrkCreateObj () |
bool | IsCreateObj () const |
SdrObject * | GetCreateObj () const |
bool | BegCreateCaptionObj (const Point &rPnt, const Size &rObjSiz, OutputDevice *pOut=nullptr, short nMinMov=-3) |
bool | IsCreate1stPointAsCenter () const |
void | SetCreate1stPointAsCenter (bool bOn) |
sal_uInt16 | GetAutoCloseDistPix () const |
sal_uInt16 | GetFreeHandMinDistPix () const |
bool | IsUseIncompatiblePathCreateInterface () const |
void | SetUseIncompatiblePathCreateInterface (bool bOn) |
void | SetConnectMarker (const SdrObjConnection &rCon) |
void | HideConnectMarker () |
void | GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const |
bool | SetAttributes (const SfxItemSet &rSet, bool bReplaceAll) |
SfxStyleSheet * | GetStyleSheet () const |
void | SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
![]() | |
bool | TakeDragObjAnchorPos (Point &rPos, bool bTopRight) const |
virtual bool | BegDragObj (const Point &rPnt, OutputDevice *pOut, SdrHdl *pHdl, short nMinMov=-3, SdrDragMethod *pForcedMeth=nullptr) |
void | MovDragObj (const Point &rPnt) |
bool | EndDragObj (bool bCopy=false) |
void | BrkDragObj () |
bool | IsDragObj () const |
SdrHdl * | GetDragHdl () const |
SdrDragMethod * | GetDragMethod () const |
bool | IsDraggingPoints () const |
bool | IsDraggingGluePoints () const |
void | SetDragWithCopy (bool bOn) |
bool | IsDragWithCopy () const |
void | SetInsertGluePoint (bool bOn) |
bool | IsInsertGluePoint () const |
bool | IsInsObjPointPossible () const |
bool | BegInsObjPoint (const Point &rPnt, bool bNewObj) |
void | MovInsObjPoint (const Point &rPnt) |
bool | EndInsObjPoint (SdrCreateCmd eCmd) |
bool | IsInsObjPoint () const |
void | SetInsObjPointMode (bool bOn) |
bool | IsInsObjPointMode () const |
bool | IsInsGluePointPossible () const |
bool | BegInsGluePoint (const Point &rPnt) |
bool | IsInsGluePoint () const |
void | SetInsGluePointMode (bool bOn) |
bool | IsInsGluePointMode () const |
void | SetDragStripes (bool bOn) |
bool | IsDragStripes () const |
void | SetNoDragXorPolys (bool bOn) |
bool | IsNoDragXorPolys () const |
void | SetSolidDragging (bool bOn) |
bool | IsSolidDragging () const |
void | SetMarkedHitMovesAlways (bool bOn) |
bool | IsMarkedHitMovesAlways () const |
bool | IsOrthoDesired () const |
bool | IsResizeAtCenter () const |
void | SetResizeAtCenter (bool bOn) |
bool | IsCrookAtCenter () const |
void | SetCrookAtCenter (bool bOn) |
void | SetWorkArea (const tools::Rectangle &rRect) |
const tools::Rectangle & | GetWorkArea () const |
virtual bool | TakeDragLimit (SdrDragMode eMode, tools::Rectangle &rRect) const |
![]() | |
::std::vector< SdrObject * > | GetMarkedObjects () const |
virtual void | DrawMarkedObj (OutputDevice &rOut) const |
GDIMetaFile | GetMarkedObjMetaFile (bool bNoVDevIfOneMtfMarked=false) const |
BitmapEx | GetMarkedObjBitmapEx (bool bNoVDevIfOneBmpMarked=false) const |
virtual std::unique_ptr< SdrModel > | CreateMarkedObjModel () const |
Graphic | GetAllMarkedGraphic () const |
virtual bool | Paste (const SdrModel &rMod, const Point &rPos, SdrObjList *pLst, SdrInsertFlags nOptions) |
bool | Paste (const OUString &rStr, const Point &rPos, SdrObjList *pLst, SdrInsertFlags nOptions) |
bool | Paste (SvStream &rInput, EETextFormat eFormat, const Point &rPos, SdrObjList *pLst, SdrInsertFlags nOptions) |
![]() | |
void | TextEditDrawing (SdrPaintWindow &rPaintWindow) |
SdrPageView * | ShowSdrPage (SdrPage *pPage) override |
void | HideSdrPage () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void | ModelHasChanged () override |
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 | 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 | AddWindowToPaintView (OutputDevice *pNewWin, vcl::Window *pWindow) override |
virtual void | DeleteWindowFromPaintView (OutputDevice *pOldWin) 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... | |
![]() | |
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) |
![]() | |
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) |
![]() | |
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... | |
std::vector< std::unique_ptr< SdrUndoAction > > | CreateConnectorUndo (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) |
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 | ClearPageView () 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 |
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 > const &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 |
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... | |
![]() | |
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 |
![]() | |
bool | IsBufferedOutputAllowed () const |
void | SetBufferedOutputAllowed (bool bNew) |
bool | IsBufferedOverlayAllowed () const |
void | SetBufferedOverlayAllowed (bool bNew) |
bool | IsPagePaintingAllowed () const |
void | SetPagePaintingAllowed (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 () |
SdrModel & | getSdrModelFromSdrView () const |
SdrModel * | GetModel () 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 |
SdrPageView * | GetSdrPageView () const |
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 (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) |
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) |
const SvtOptionsDrawinglayer & | getOptionsDrawinglayer () 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) |
![]() | |
virtual | ~SfxRepeatTarget ()=0 |
![]() | |
SfxBroadcaster () | |
SfxBroadcaster (const SfxBroadcaster &rBC) | |
virtual | ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE |
void | Broadcast (const SfxHint &rHint) |
bool | HasListeners () const |
size_t | GetListenerCount () const |
size_t | GetSizeOfVector () const |
SfxListener * | GetListener (size_t nNo) const |
![]() | |
virtual | ~ConfigurationListener () |
virtual void | ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0 |
Static Public Member Functions | |
static void | SetupObjLayer (const SdrPageView *pPageView, const OUString &aActiveLayer, SdrObject *pObj) |
Setup layer (eg. foreground / background) of the given object. More... | |
![]() | |
static size_t | GetDragXorPolyLimit () |
static size_t | GetDragXorPointLimit () |
![]() | |
static Graphic | GetObjGraphic (const SdrObject &rSdrObject) |
Generate a Graphic for the given draw object. More... | |
![]() | |
static bool | SupportsFormatPaintbrush (SdrInventor nObjectInventor, sal_uInt16 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... | |
Friends | |
class | SdrPageView |
Additional Inherited Members | |
![]() | |
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 vcl::Region | OptimizeDrawLayersRegion (OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect) |
![]() | |
static constexpr sal_uInt16 | mnFrameHandlesLimit = 50 |
Definition at line 35 of file svdcrtv.hxx.
|
protected |
Definition at line 180 of file svdcrtv.cxx.
|
overrideprotectedvirtual |
Definition at line 195 of file svdcrtv.cxx.
References SdrObject::Free(), ImpClearConnectMarker(), mpCreateViewExtraData, and pCurrentCreate.
|
overridevirtual |
Reimplemented from SdrDragView.
Definition at line 221 of file svdcrtv.cxx.
References SdrDragView::BckAction(), BckCreateObj(), and pCurrentCreate.
Referenced by SdrView::DoMouseEvent().
void SdrCreateView::BckCreateObj | ( | ) |
Definition at line 697 of file svdcrtv.cxx.
References SdrObject::BckCreate(), BrkCreateObj(), SdrDragStat::GetPointCount(), HideCreateObj(), SdrPaintView::maDragStat, pCurrentCreate, SdrDragStat::PrevPoint(), and ShowCreateObj().
Referenced by BckAction().
bool SdrCreateView::BegCreateCaptionObj | ( | const Point & | rPnt, |
const Size & | rObjSiz, | ||
OutputDevice * | pOut = nullptr , |
||
short | nMinMov = -3 |
||
) |
Definition at line 512 of file svdcrtv.cxx.
References Default, Size::Height(), ImpBegCreateObj(), OBJ_CAPTION, and Size::Width().
Referenced by SdrView::DoMouseEvent().
bool SdrCreateView::BegCreateObj | ( | const Point & | rPnt, |
OutputDevice * | pOut = nullptr , |
||
short | nMinMov = -3 |
||
) |
Definition at line 493 of file svdcrtv.cxx.
References ImpBegCreateObj(), nCurrentIdent, and nCurrentInvent.
Referenced by SdrView::DoMouseEvent().
bool SdrCreateView::BegCreatePreparedObject | ( | const Point & | rPnt, |
sal_Int16 | nMinMov, | ||
SdrObject * | pPreparedFactoryObject | ||
) |
Definition at line 498 of file svdcrtv.cxx.
References SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), ImpBegCreateObj(), nCurrentIdent, and nCurrentInvent.
|
overridevirtual |
Reimplemented from SdrDragView.
Definition at line 227 of file svdcrtv.cxx.
References SdrDragView::BrkAction(), and BrkCreateObj().
Referenced by SdrView::DoMouseEvent(), ImpBegCreateObj(), and SdrView::KeyInput().
void SdrCreateView::BrkCreateObj | ( | ) |
Definition at line 721 of file svdcrtv.cxx.
References SdrObject::BrkCreate(), SdrObject::Free(), HideCreateObj(), SdrPaintView::maDragStat, pCreatePV, and pCurrentCreate.
Referenced by BckCreateObj(), BrkAction(), and EndCreateObj().
|
protected |
Definition at line 249 of file svdcrtv.cxx.
References Default, ImpClearConnectMarker(), IsAction(), SdrMarkView::IsCreateMode(), nCurrentIdent, nCurrentInvent, OBJ_EDGE, and pCurrentCreate.
Referenced by MouseMove(), and SetCurrentObj().
|
overridevirtual |
Reimplemented from SdrDragView.
Definition at line 215 of file svdcrtv.cxx.
References SdrDragView::EndAction(), EndCreateObj(), ForceEnd, and pCurrentCreate.
Referenced by SdrView::DoMouseEvent().
bool SdrCreateView::EndCreateObj | ( | SdrCreateCmd | eCmd | ) |
Definition at line 587 of file svdcrtv.cxx.
References BrkCreateObj(), SdrObject::EndCreate(), ForceEnd, SdrObject::Free(), basegfx::fround(), SdrPageView::GetCurrentGroup(), SdrDragStat::GetPoint(), SdrDragStat::GetPointCount(), SdrMarkView::getPossibleGridOffsetForSdrObject(), basegfx::B2DTuple::getX(), basegfx::B2DTuple::getY(), HideCreateObj(), i, SdrEditView::InsertObjectAtView(), SdrDragStat::IsMinMoved(), SdrPaintView::maActualLayer, SdrPaintView::maDragStat, SdrObject::NbcMove(), nCount, pCreatePV, pCurrentCreate, Point, SdrDragStat::ResetMinMoved(), SetupObjLayer(), and ShowCreateObj().
Referenced by SdrView::DoMouseEvent(), and EndAction().
void SdrCreateView::GetAttributes | ( | SfxItemSet & | rTargetSet, |
bool | bOnlyHardAttr | ||
) | const |
Definition at line 861 of file svdcrtv.cxx.
References SdrObjEditView::GetAttributes(), SdrObject::GetMergedItemSet(), pCurrentCreate, and SfxItemSet::Put().
Referenced by SdrView::GetAttributes().
|
inline |
Definition at line 133 of file svdcrtv.hxx.
Referenced by SdrPathObj::EndCreate().
|
inline |
|
inline |
Definition at line 106 of file svdcrtv.hxx.
|
inline |
Definition at line 105 of file svdcrtv.hxx.
|
inline |
Definition at line 138 of file svdcrtv.hxx.
Referenced by ImpPathForDragAndCreate::MovCreate().
SfxStyleSheet * SdrCreateView::GetStyleSheet | ( | ) | const |
Definition at line 887 of file svdcrtv.cxx.
References SdrObjEditView::GetStyleSheet(), SdrObject::GetStyleSheet(), and pCurrentCreate.
void SdrCreateView::HideConnectMarker | ( | ) |
Definition at line 292 of file svdcrtv.cxx.
References ImpClearConnectMarker().
Referenced by SdrEdgeObj::applySpecialDrag(), SdrEdgeObj::BckCreate(), SdrEdgeObj::BrkCreate(), and SdrEdgeObj::EndCreate().
|
protected |
Definition at line 847 of file svdcrtv.cxx.
References IsCreateObj(), SdrDragStat::IsShown(), SdrPaintView::maDragStat, mpCreateViewExtraData, and SdrDragStat::SetShown().
Referenced by BckCreateObj(), BrkCreateObj(), EndCreateObj(), and MovCreateObj().
|
protected |
Definition at line 368 of file svdcrtv.cxx.
References SdrObject::BegCreate(), tools::Rectangle::Bottom(), BrkAction(), COL_BLACK, COL_WHITE, Default, SdrObject::Free(), SdrModel::GetItemPool(), SdrPage::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdrPageView::GetLockedLayers(), SdrPageView::GetPage(), SdrPaintView::GetSdrPageView(), SdrSnapView::GetSnapPos(), SdrPageView::GetVisibleLayers(), SdrDragView::GetWorkArea(), ImpClearConnectMarker(), SdrPaintView::ImpGetMinMovLogic(), tools::Rectangle::IsEmpty(), SdrLayerIDSet::IsSet(), tools::Rectangle::Left(), SdrPaintView::maActualLayer, SdrPaintView::maDefaultAttr, SdrPaintView::maDragStat, SdrObjFactory::MakeNewObject(), SdrPaintView::maMeasureLayer, SdrPaintView::mpDefaultStyleSheet, SdrPaintView::mpDragWin, SdrPaintView::mpModel, SdrObject::NbcSetLogicRect(), SdrObject::NbcSetStyleSheet(), nCurrentIdent, nCurrentInvent, OBJ_EDGE, OBJ_FREEFILL, OBJ_FREELINE, OBJ_MEASURE, OBJ_NONE, OBJ_OUTLINETEXT, OBJ_TEXT, OBJ_TITLETEXT, pCreatePV, pCurrentCreate, Point, SdrDragStat::Reset(), tools::Rectangle::Right(), SDRLAYER_NOTFOUND(), SdrObject::SetMergedItemSet(), SdrDragStat::SetMinMove(), SdrDragStat::SetPageView(), SdrDragStat::SetView(), ShowCreateObj(), tools::Rectangle::Top(), and SdrMarkView::UnmarkAllObj().
Referenced by BegCreateCaptionObj(), BegCreateObj(), and BegCreatePreparedObject().
|
protected |
Definition at line 175 of file svdcrtv.cxx.
References mpCoMaOverlay.
Referenced by CheckEdgeMode(), HideConnectMarker(), ImpBegCreateObj(), SetConnectMarker(), and ~SdrCreateView().
|
overridevirtual |
Reimplemented from SdrDragView.
Definition at line 202 of file svdcrtv.cxx.
References SdrDragView::IsAction(), and pCurrentCreate.
Referenced by CheckEdgeMode(), SdrView::DoMouseEvent(), SdrView::KeyInput(), SdrView::MouseButtonUp(), SdrView::PickAnything(), and FmFormPage::RequestHelp().
|
inline |
Definition at line 129 of file svdcrtv.hxx.
Referenced by SdrMeasureObj::MovCreate(), ImpPathForDragAndCreate::MovCreate(), and SdrDragStat::TakeCreateRect().
|
inline |
Definition at line 115 of file svdcrtv.hxx.
Referenced by SdrView::GetPreferredPointer(), HideCreateObj(), SdrView::PickAnything(), and ShowCreateObj().
bool SdrCreateView::IsEdgeTool | ( | ) | const |
Definition at line 321 of file svdcrtv.cxx.
References Create, Default, SdrMarkView::meEditMode, nCurrentIdent, nCurrentInvent, and OBJ_EDGE.
Referenced by SetCurrentObj().
bool SdrCreateView::IsMeasureTool | ( | ) | const |
Definition at line 326 of file svdcrtv.cxx.
References Create, Default, SdrMarkView::meEditMode, nCurrentIdent, nCurrentInvent, and OBJ_MEASURE.
Referenced by SdrPaintView::MergeNotPersistDefaultAttr(), and SdrPaintView::SetNotPersistDefaultAttr().
bool SdrCreateView::IsTextTool | ( | ) | const |
Definition at line 316 of file svdcrtv.cxx.
References Create, Default, SdrMarkView::meEditMode, nCurrentIdent, nCurrentInvent, OBJ_OUTLINETEXT, OBJ_TEXT, and OBJ_TITLETEXT.
Referenced by SdrView::PickAnything(), and SetCurrentObj().
|
inline |
Definition at line 148 of file svdcrtv.hxx.
Referenced by ImpPathForDragAndCreate::BegCreate(), SdrPathObj::EndCreate(), ImpPathForDragAndCreate::EndCreate(), and ImpPathForDragAndCreate::TakeDragPolyPolygon().
|
overridevirtual |
handle mouse over effects for handles
Reimplemented from SdrObjEditView.
Reimplemented in SdrView.
Definition at line 297 of file svdcrtv.cxx.
References CheckEdgeMode(), MouseEvent::GetPosPixel(), SdrPaintView::GetSdrPageView(), SdrEdgeObj::ImpFindConnector(), SdrMarkView::IsMarkedObjHit(), SdrObjEditView::MouseMove(), SdrMarkView::PickHandle(), OutputDevice::PixelToLogic(), Point, and SetConnectMarker().
Referenced by SdrView::MouseMove().
Reimplemented from SdrDragView.
Reimplemented in E3dView.
Definition at line 207 of file svdcrtv.cxx.
References SdrDragView::MovAction(), MovCreateObj(), and pCurrentCreate.
Referenced by SdrView::DoMouseEvent(), and E3dView::MovAction().
Definition at line 519 of file svdcrtv.cxx.
References SdrObject::ActionChanged(), SdrDragStat::CheckMinMoved(), SdrDragStat::GetNow(), SdrDragStat::GetPrev(), SdrSnapView::GetSnapPos(), HideCreateObj(), SdrExchangeView::ImpLimitToWorkArea(), SdrSnapView::IsBigOrtho(), SdrDragStat::IsMinMoved(), SdrDragStat::IsNoSnap(), SdrSnapView::IsOrtho(), SdrDragStat::IsOrtho4Possible(), SdrDragStat::IsOrtho8Possible(), SdrPaintView::maDragStat, SdrObject::MovCreate(), SdrDragStat::NextMove(), SdrDragStat::NextPoint(), OrthoDistance4(), OrthoDistance8(), pCreatePV, pCurrentCreate, Point, and ShowCreateObj().
Referenced by MovAction().
bool SdrCreateView::SetAttributes | ( | const SfxItemSet & | rSet, |
bool | bReplaceAll | ||
) |
Definition at line 873 of file svdcrtv.cxx.
References pCurrentCreate, SdrObjEditView::SetAttributes(), and SdrObject::SetMergedItemSetAndBroadcast().
Referenced by SdrView::SetAttributes().
void SdrCreateView::SetConnectMarker | ( | const SdrObjConnection & | rCon | ) |
Definition at line 269 of file svdcrtv.cxx.
References ImpClearConnectMarker(), mpCoMaOverlay, and SdrObjConnection::pObj.
Referenced by SdrEdgeObj::applySpecialDrag(), MouseMove(), and SdrEdgeObj::MovCreate().
|
inline |
Definition at line 130 of file svdcrtv.hxx.
Referenced by SdrView::DoMouseEvent().
|
inline |
Definition at line 91 of file svdcrtv.hxx.
References SdrMarkView::SetCreateMode().
void SdrCreateView::SetCurrentObj | ( | SdrObjKind | nIdent, |
SdrInventor | nInvent = SdrInventor::Default |
||
) |
Definition at line 331 of file svdcrtv.cxx.
References aCurrentCreatePointer, CheckEdgeMode(), SdrObject::Free(), SdrObject::GetCreatePointer(), SdrPaintView::GetModel(), SdrPaintView::ImpSetGlueVisible3(), IsEdgeTool(), IsTextTool(), SdrObjFactory::MakeNewObject(), nCurrentIdent, nCurrentInvent, and OBJ_NONE.
Referenced by sdr::table::SvxTableController::StopTextEdit().
|
inline |
Definition at line 89 of file svdcrtv.hxx.
References SdrMarkView::SetEditMode().
Referenced by sdr::table::SvxTableController::StopTextEdit().
|
inline |
Definition at line 90 of file svdcrtv.hxx.
References SdrMarkView::SetEditMode().
|
inline |
Definition at line 92 of file svdcrtv.hxx.
References SdrMarkView::SetGluePointEditMode().
|
inline |
Definition at line 86 of file svdcrtv.hxx.
void SdrCreateView::SetStyleSheet | ( | SfxStyleSheet * | pStyleSheet, |
bool | bDontRemoveHardAttr | ||
) |
Definition at line 899 of file svdcrtv.cxx.
References pCurrentCreate, SdrObjEditView::SetStyleSheet(), and SdrObject::SetStyleSheet().
|
static |
Setup layer (eg. foreground / background) of the given object.
Definition at line 563 of file svdcrtv.cxx.
References SdrLayerAdmin::GetControlLayerName(), SdrPage::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdrPageView::GetPage(), SDRLAYER_NOTFOUND(), and SdrObject::SetLayer().
Referenced by EndCreateObj().
|
inline |
Definition at line 149 of file svdcrtv.hxx.
|
protected |
Definition at line 733 of file svdcrtv.cxx.
References a, SfxItemSet::Get(), SdrObject::GetMergedItemSet(), SdrCircObj::GetObjIdentifier(), SdrObject::GetObjIdentifier(), SdrPaintWindow::GetOverlayManager(), SdrPaintView::GetPaintWindow(), SdrDragStat::GetPointCount(), SdrObject::GetSnapRect(), SdrDragStat::GetStart(), IsCreateObj(), SdrDragStat::IsShown(), SdrDragView::IsSolidDragging(), SdrPaintView::maDragStat, mpCreateViewExtraData, SdrObject::NbcSetSnapRect(), OBJ_CIRC, OBJ_NONE, SdrPaintView::PaintWindowCount(), pCurrentCreate, Point, SdrDragStat::SetShown(), SdrObject::TakeCreatePoly(), XATTR_FILLSTYLE(), and XATTR_LINESTYLE().
Referenced by BckCreateObj(), EndCreateObj(), ImpBegCreateObj(), and MovCreateObj().
|
overridevirtual |
Reimplemented from SdrDragView.
Definition at line 233 of file svdcrtv.cxx.
References SdrDragStat::GetActionRect(), SdrDragStat::GetNow(), SdrDragStat::GetPrev(), tools::Rectangle::IsEmpty(), SdrPaintView::maDragStat, pCurrentCreate, and SdrDragView::TakeActionRect().
|
inline |
Definition at line 104 of file svdcrtv.hxx.
Referenced by ImpPathForDragAndCreate::MovCreate().
|
friend |
Definition at line 37 of file svdcrtv.hxx.
|
protected |
Definition at line 48 of file svdcrtv.hxx.
Referenced by SdrView::GetPreferredPointer(), and SetCurrentObj().
|
protected |
Definition at line 55 of file svdcrtv.hxx.
|
protected |
Definition at line 56 of file svdcrtv.hxx.
|
protected |
Definition at line 42 of file svdcrtv.hxx.
Referenced by ImpClearConnectMarker(), and SetConnectMarker().
|
protected |
Definition at line 46 of file svdcrtv.hxx.
Referenced by HideCreateObj(), ShowCreateObj(), and ~SdrCreateView().
|
protected |
Definition at line 50 of file svdcrtv.hxx.
|
protected |
Definition at line 53 of file svdcrtv.hxx.
Referenced by BegCreateObj(), BegCreatePreparedObject(), CheckEdgeMode(), SdrView::DoMouseEvent(), ImpBegCreateObj(), IsEdgeTool(), IsMeasureTool(), IsTextTool(), and SetCurrentObj().
|
protected |
Definition at line 52 of file svdcrtv.hxx.
Referenced by BegCreateObj(), BegCreatePreparedObject(), CheckEdgeMode(), SdrView::DoMouseEvent(), ImpBegCreateObj(), IsEdgeTool(), IsMeasureTool(), IsTextTool(), and SetCurrentObj().
|
protected |
Definition at line 51 of file svdcrtv.hxx.
|
protected |
Definition at line 41 of file svdcrtv.hxx.
Referenced by BrkCreateObj(), EndCreateObj(), ImpBegCreateObj(), and MovCreateObj().
|
protected |
Definition at line 40 of file svdcrtv.hxx.
Referenced by BckAction(), BckCreateObj(), BrkCreateObj(), CheckEdgeMode(), EndAction(), EndCreateObj(), GetAttributes(), SdrView::GetPreferredPointer(), SdrView::GetStatusText(), GetStyleSheet(), ImpBegCreateObj(), IsAction(), MovAction(), MovCreateObj(), SetAttributes(), SetStyleSheet(), ShowCreateObj(), TakeActionRect(), and ~SdrCreateView().