LibreOffice Module sc (master) 1
|
#include <drawview.hxx>
Public Member Functions | |
ScDrawView (OutputDevice *pOut, ScViewData *pData) | |
virtual | ~ScDrawView () override |
virtual void | MarkListHasChanged () override |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void | DoConnect (SdrOle2Obj *pOleObj) override |
virtual void | MakeVisible (const tools::Rectangle &rRect, vcl::Window &rWin) override |
virtual void | DeleteMarked () override |
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) override |
virtual SdrEndTextEditKind | SdrEndTextEdit (bool bDontDeleteReally=false) override |
void | MarkDropObj (SdrObject *pObj) |
void | SetMarkedToLayer (SdrLayerID nLayerNo) |
void | InvalidateAttribs () |
void | InvalidateDrawTextAttrs () |
void | BeginDrag (vcl::Window *pWindow, const Point &rStartPos) |
void | DoCut () |
void | DoCopy () |
void | GetScale (Fraction &rFractX, Fraction &rFractY) const |
void | RecalcScale () |
void | UpdateWorkArea () |
SCTAB | GetTab () const |
void | CalcNormScale (Fraction &rFractX, Fraction &rFractY) const |
void | SetPageAnchored () |
void | SetCellAnchored (bool bResizeWithCell) |
ScAnchorType | GetAnchorType () const |
void | UpdateIMap (SdrObject *pObj) |
void | UpdateUserViewOptions () |
void | SetMarkedOriginalSize () |
void | FitToCellSize () |
bool | SelectObject (std::u16string_view rName) |
bool | HasMarkedControl () const |
bool | HasMarkedInternal () const |
bool | InsertObjectSafe (SdrObject *pObj, SdrPageView &rPV) |
SdrObject * | GetMarkedNoteCaption (ScDrawObjData **ppCaptData) |
Returns the selected object, if it is the caption object of a cell note. More... | |
void | LockCalcLayer (SdrLayerID nLayer, bool bLock) |
Locks/unlocks the specified layer in the draw page. More... | |
void | LockBackgroundLayer (bool bLock) |
Locks/unlocks the background layer that contains background objects. More... | |
void | LockInternalLayer (bool bLock=true) |
Locks/unlocks the internal layer that contains caption objects of cell notes. More... | |
void | UnlockInternalLayer () |
Unlocks the internal layer that contains caption objects of cell notes. More... | |
SdrEndTextEditKind | ScEndTextEdit () |
css::uno::Reference< css::datatransfer::XTransferable > | CopyToTransferable () |
SdrObject * | GetObjectByName (std::u16string_view rName) |
bool | GetObjectIsMarked (const SdrObject *pObject) |
void | SelectCurrentViewObject (std::u16string_view rName) |
SdrObject * | ApplyGraphicToObject (SdrObject &rHitObject, const Graphic &rGraphic, const OUString &rBeginUndoText, const OUString &rFile) |
void | SyncForGrid (SdrObject *pObj) |
bool | calculateGridOffsetForSdrObject (SdrObject &rSdrObject, basegfx::B2DVector &rTarget) const |
bool | calculateGridOffsetForB2DRange (const basegfx::B2DRange &rB2DRange, basegfx::B2DVector &rTarget) const |
void | resetGridOffsetsForAllSdrPageViews () |
SfxViewShell * | GetSfxViewShell () const override |
See SdrMarkView::GetSfxViewShell(). More... | |
virtual sdr::contact::ObjectContact * | createViewSpecificObjectContact (SdrPageWindow &rPageWindow, const char *pDebugName) const override |
Public Member Functions inherited from FmFormView | |
FmFormView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~FmFormView () override |
rtl::Reference< SdrObject > | CreateFieldControl (std::u16string_view rFieldDesc) const |
rtl::Reference< SdrObject > | CreateFieldControl (const svx::ODataAccessDescriptor &_rColumnDescriptor) |
rtl::Reference< SdrObject > | CreateXFormsControl (const svx::OXFormsDescriptor &_rDesc) |
virtual void | MarkListHasChanged () override |
virtual void | AddDeviceToPaintView (OutputDevice &rNewDev, vcl::Window *pWindow) override |
virtual void | DeleteDeviceFromPaintView (OutputDevice &rOldDev) override |
virtual SdrPageView * | ShowSdrPage (SdrPage *pPage) override |
virtual void | HideSdrPage () override |
virtual bool | MouseButtonDown (const MouseEvent &_rMEvt, OutputDevice *_pWin) override |
SVX_DLLPRIVATE void | GrabFirstControlFocus () |
SVX_DLLPRIVATE css::uno::Reference< css::form::runtime::XFormController > | GetFormController (const css::uno::Reference< css::form::XForm > &_rxForm, const OutputDevice &_rDevice) const |
bool | KeyInput (const KeyEvent &rKEvt, vcl::Window *pWin) override |
FmFormPage * | GetCurPage () |
SVX_DLLPRIVATE void | ActivateControls (SdrPageView const *) |
SVX_DLLPRIVATE void | DeactivateControls (SdrPageView const *) |
SVX_DLLPRIVATE void | ChangeDesignMode (bool bDesign) |
SVX_DLLPRIVATE FmXFormView * | GetImpl () const |
SVX_DLLPRIVATE FmFormShell * | GetFormShell () const |
void | SetFormShell (FmFormShell *pShell, FormShellAccess) |
void | SetMoveOutside (bool _bMoveOutside, ImplAccess) |
void | InsertControlContainer (const css::uno::Reference< css::awt::XControlContainer > &xCC) |
void | RemoveControlContainer (const css::uno::Reference< css::awt::XControlContainer > &xCC) |
virtual SdrPaintWindow * | BeginCompleteRedraw (OutputDevice *pOut) override |
virtual void | EndCompleteRedraw (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer) override |
SVX_DLLPRIVATE const OutputDevice * | GetActualOutDev () const |
SVX_DLLPRIVATE bool | checkUnMarkAll (const css::uno::Reference< css::uno::XInterface > &_xSource) |
Public Member Functions inherited from E3dView | |
E3dView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~E3dView () override |
virtual void | DrawMarkedObj (OutputDevice &rOut) const override |
E3dDefaultAttributes & | Get3DDefaultAttributes () |
virtual bool | BegDragObj (const Point &rPnt, OutputDevice *pOut, SdrHdl *pHdl, short nMinMov=-3, SdrDragMethod *pForcedMeth=nullptr) override |
virtual void | CheckPossibilities () override |
void | SetMouseEvent (const MouseEvent &rNew) |
const MouseEvent & | GetMouseEvent () const |
virtual std::unique_ptr< SdrModel > | CreateMarkedObjModel () const override |
virtual bool | Paste (const SdrModel &rMod, const Point &rPos, SdrObjList *pLst, SdrInsertFlags nOptions) override |
bool | ImpCloneAll3DObjectsToDestScene (E3dScene const *pSrcScene, E3dScene *pDstScene, Point aOffset) |
bool | IsConvertTo3DObjPossible () const |
void | ConvertMarkedObjTo3D (bool bExtrude=true, const basegfx::B2DPoint &rPnt1=basegfx::B2DPoint(0.0, 0.0), const basegfx::B2DPoint &rPnt2=basegfx::B2DPoint(0.0, 1.0)) |
void | ConvertMarkedToPolyObj () |
rtl::Reference< E3dScene > | SetCurrent3DObj (E3dObject *p3DObj) |
void | Start3DCreation () |
bool | Is3DRotationCreationActive () const |
virtual void | MovAction (const Point &rPnt) override |
void | End3DCreation (bool bUseDefaultValuesForMirrorAxes=false) |
void | ResetCreationActive () |
double | GetDefaultCamPosZ () |
double | GetDefaultCamFocal () |
bool | IsBreak3DObjPossible () const |
void | Break3DObj () |
SfxItemSet | Get3DAttributes () const |
void | Set3DAttributes (const SfxItemSet &rAttr) |
Public Member Functions inherited from SdrView | |
SdrView (SdrModel &rSdrModel, OutputDevice *pOut=nullptr) | |
virtual | ~SdrView () override |
virtual bool | IsSdrView () const final |
void | EnableExtendedMouseEventDispatcher (bool bOn) |
bool | IsExtendedMouseEventDispatcherEnabled () const |
void | EnableExtendedKeyInputDispatcher (bool bOn) |
bool | IsExtendedKeyInputDispatcherEnabled () const |
void | SetMasterPagePaintCaching (bool bOn) |
bool | IsMasterPagePaintCaching () const |
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 |
virtual bool | Command (const CommandEvent &rCEvt, vcl::Window *pWin) override |
virtual void | ConfigurationChanged (utl::ConfigurationBroadcaster *, ConfigurationHints) override |
bool | SetAttributes (const SfxItemSet &rSet, bool bReplaceAll=false) |
void | GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr=false) const |
PointerStyle | GetPreferredPointer (const Point &rMousePos, const OutputDevice *pOut, sal_uInt16 nModifier=0, bool bLeftDown=false) const |
SdrHitKind | PickAnything (const MouseEvent &rMEvt, SdrMouseEventKind nMouseDownOrMoveOrUp, SdrViewEvent &rVEvt) const |
SdrHitKind | PickAnything (const Point &rLogicPos, SdrViewEvent &rVEvt) const |
bool | DoMouseEvent (const SdrViewEvent &rVEvt) |
virtual SdrViewContext | GetContext () const |
void | MarkAll () |
void | UnmarkAll () |
const tools::Rectangle & | GetMarkedRect () const |
virtual void | DeleteMarked () |
bool | BegMark (const Point &rPnt, bool bAddMark, bool bUnmark) |
OUString | GetStatusText () |
virtual void | onAccessibilityOptionsChanged () |
virtual sdr::contact::ObjectContact * | createViewSpecificObjectContact (SdrPageWindow &rPageWindow, const char *pDebugName) const |
bool | MoveShapeHandle (const sal_uInt32 handleNum, const Point &aEndPoint, const sal_Int32 aObjectOrdNum=-1) |
Public Member Functions inherited from SdrCreateView | |
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 |
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) |
Public Member Functions inherited from SdrDragView | |
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 |
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 | SetDragThresholdPixels (sal_Int32 nDragThresholdPixels) |
sal_Int32 | GetDragThresholdPixels () 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 |
Public Member Functions inherited from SdrExchangeView | |
::std::vector< SdrObject * > | GetMarkedObjects () const |
virtual void | DrawMarkedObj (OutputDevice &rOut) const |
GDIMetaFile | GetMarkedObjMetaFile (bool bNoVDevIfOneMtfMarked=false) const |
BitmapEx | GetMarkedObjBitmapEx (bool bNoVDevIfOneBmpMarked=false, const sal_uInt32 nMaximumQuadraticPixels=500000, const std::optional< Size > &rTargetDPI=std::nullopt) 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) |
Public Member Functions inherited from SdrObjEditView | |
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 |
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) |
virtual void | MarkListHasChanged () override |
const rtl::Reference< sdr::SelectionController > & | getSelectionController () const |
void | TakeFormatPaintBrush (std::shared_ptr< SfxItemSet > &rFormatSet) |
void | ApplyFormatPaintBrush (SfxItemSet &rFormatSet, bool bNoCharacterFormats, bool bNoParagraphFormats) |
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 |
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) |
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) |
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 |
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 |
bool | IsPageShadowVisible () const |
bool | IsPageBorderVisible () const |
bool | IsBordVisible () const |
bool | IsGridVisible () const |
bool | IsGridFront () const |
bool | IsHlplVisible () const |
bool | IsHlplFront () const |
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) |
virtual void | InvalidateOneWin (OutputDevice &rWin, const tools::Rectangle &rRect) |
void | SetActiveLayer (const OUString &rName) |
const OUString & | GetActiveLayer () const |
void | LeaveOneGroup () |
void | LeaveAllGroup () |
bool | IsGroupEntered () const |
void | SetDefaultAttr (const SfxItemSet &rAttr, bool bReplaceAll) |
const SfxItemSet & | GetDefaultAttr () const |
void | SetDefaultStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr) |
void | SetNotPersistDefaultAttr (const SfxItemSet &rAttr) |
void | MergeNotPersistDefaultAttr (SfxItemSet &rAttr) const |
bool | IsSwapAsynchron () const |
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) |
bool | IsAnimationEnabled () const |
void | SetAnimationEnabled (bool bEnable=true) |
void | SetAnimationPause (bool bSet) |
void | SetAnimationMode (const SdrAnimationMode eMode) |
void | VisAreaChanged (const OutputDevice *pOut) |
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) |
Static Public Member Functions | |
static void | CheckOle (const SdrMarkList &rMarkList, bool &rAnyOle, bool &rOneOle) |
Static Public Member Functions inherited from FmFormView | |
static void | createControlLabelPair (OutputDevice const *_pOutDev, sal_Int32 _nXOffsetMM, sal_Int32 _nYOffsetMM, const css::uno::Reference< css::beans::XPropertySet > &_rxField, const css::uno::Reference< css::util::XNumberFormats > &_rxNumberFormats, SdrObjKind _nControlObjectID, SdrInventor _nInventor, SdrObjKind _nLabelObjectID, SdrModel &_rModel, rtl::Reference< SdrUnoObj > &_rpLabel, rtl::Reference< SdrUnoObj > &_rpControl) |
Static Public Member Functions inherited from E3dView | |
static void | DoDepthArrange (E3dScene const *pScene, double fDepth) |
Static Public Member Functions inherited from SdrCreateView | |
static void | SetupObjLayer (const SdrPageView *pPageView, const OUString &aActiveLayer, SdrObject *pObj) |
Static Public Member Functions inherited from SdrDragView | |
static size_t | GetDragXorPolyLimit () |
static size_t | GetDragXorPointLimit () |
Static Public Member Functions inherited from SdrExchangeView | |
static Graphic | GetObjGraphic (const SdrObject &rSdrObject, bool bSVG=false) |
Static Public Member Functions inherited from SdrObjEditView | |
static bool | SupportsFormatPaintbrush (SdrInventor nObjectInventor, SdrObjKind nObjectIdentifier) |
static void | ApplyFormatPaintBrushToText (SfxItemSet const &rFormatSet, SdrTextObj &rTextObj, SdrText *pText, bool bNoCharacterFormats, bool bNoParagraphFormats) |
Private Member Functions | |
void | Construct () |
virtual void | ModelHasChanged () override |
virtual void | AddCustomHdl () override |
void | ImplClearCalcDropMarker () |
std::unique_ptr< SdrUndoManager > | createLocalTextUndoManager () override |
Private Attributes | |
ScViewData * | pViewData |
VclPtr< OutputDevice > | pDev |
ScDocument & | rDoc |
needed ? More... | |
SCTAB | nTab |
Fraction | aScaleX |
Fraction | aScaleY |
std::unique_ptr< SdrDropMarkerOverlay > | pDropMarker |
SdrObject * | pDropMarkObj |
bool | bInConstruct |
Definition at line 33 of file drawview.hxx.
ScDrawView::ScDrawView | ( | OutputDevice * | pOut, |
ScViewData * | pData | ||
) |
Definition at line 42 of file drawvie3.cxx.
References Construct(), comphelper::LibreOfficeKit::isActive(), ScDocument::IsLayoutRTL(), SvtOptionsDrawinglayer::IsOverlayBuffer_Calc(), SvtOptionsDrawinglayer::IsPaintBuffer_Calc(), nTab, pData, pOut, rDoc, SdrPaintView::SetBufferedOutputAllowed(), SdrPaintView::SetBufferedOverlayAllowed(), and SdrMarkView::SetNegativeX().
|
overridevirtual |
Definition at line 133 of file drawview.cxx.
References ImplClearCalcDropMarker().
|
overrideprivatevirtual |
Reimplemented from SdrMarkView.
Definition at line 138 of file drawview.cxx.
References SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScDrawLayer::GetObjDataTab(), ScViewData::GetView(), SdrMarkView::maHdlList, nCount, nPos, nTab, and pViewData.
Referenced by SetCellAnchored().
SdrObject * ScDrawView::ApplyGraphicToObject | ( | SdrObject & | rHitObject, |
const Graphic & | rGraphic, | ||
const OUString & | rBeginUndoText, | ||
const OUString & | rFile | ||
) |
Definition at line 1117 of file drawview.cxx.
References SdrEditView::AddUndo(), SdrEditView::BegUndo(), SdrObject::Clone(), SdrEditView::EndUndo(), SdrPaintView::GetModel(), SdrObject::getSdrModelFromSdrObject(), SdrPaintView::GetSdrPageView(), SdrObject::IsClosedObj(), SfxItemSet::Put(), SdrEditView::ReplaceObjectAtView(), and SdrObject::SetMergedItemSetAndBroadcast().
Referenced by lcl_InsertGraphic(), ScViewFunc::PasteGraphic(), and ScViewFunc::PasteOnDrawObjectLinked().
void ScDrawView::BeginDrag | ( | vcl::Window * | pWindow, |
const Point & | rStartPos | ||
) |
Definition at line 59 of file drawvie4.cxx.
References aDragStartDiff, SdrMarkView::AreObjectsMarked(), SdrCreateView::BrkAction(), CheckOle(), E3dView::CreateMarkedObjModel(), DND_ACTION_COPYMOVE, DND_ACTION_LINK, SfxObjectShell::FillTransferableObjectDescriptor(), tools::SvRef< typename T >::get(), SdrMarkView::GetAllMarkedRect(), ScViewData::GetDocShell(), SdrMarkView::GetMarkedObjectList(), SfxObjectShell::GetMedium(), INetURLObject::GetURLNoPass(), SfxMedium::GetURLObject(), TransferableObjectDescriptor::maDisplayName, pViewData, SC_MOD, ScDrawLayer::SetGlobalDrawPersist(), and tools::Rectangle::TopLeft().
Definition at line 411 of file drawvie4.cxx.
References ScDrawUtil::CalcScale(), ScViewData::GetDocShell(), ScDocShell::GetOutputFactor(), ScDocument::GetTableArea(), nPPTX, nPPTY, ScGlobal::nScreenPPTX, ScGlobal::nScreenPPTY, nTab, pDev, pViewData, and rDoc.
Referenced by lcl_InsertGraphic(), ScViewFunc::PasteGraphic(), and SetMarkedOriginalSize().
bool ScDrawView::calculateGridOffsetForB2DRange | ( | const basegfx::B2DRange & | rB2DRange, |
basegfx::B2DVector & | rTarget | ||
) | const |
Definition at line 1056 of file drawview.cxx.
References ScAddress::Col(), convertTwipToMm100(), basegfx::fround(), ScViewData::GetActivePart(), ScViewData::GetActiveWin(), ScDrawLayer::GetCellAnchorFromPosition(), ScDocument::GetColOffset(), ScGridWindow::GetDrawMapMode(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMaxY(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinX(), basegfx::Range2D< typename TYPE, typename TRAITS >::getMinY(), ScDocument::GetRowOffset(), ScViewData::GetScrPos(), GetTab(), Point::getX(), comphelper::LibreOfficeKit::isActive(), basegfx::Range2D< typename TYPE, typename TRAITS >::isEmpty(), ScDocument::IsNegativePage(), ScDrawObjData::maStart, vcl::Window::PixelToLogic(), pViewData, rDoc, ScAddress::Row(), rTarget, Point::setX(), Point::setY(), ScAddress::Tab(), Point::X(), and Point::Y().
bool ScDrawView::calculateGridOffsetForSdrObject | ( | SdrObject & | rSdrObject, |
basegfx::B2DVector & | rTarget | ||
) | const |
Definition at line 991 of file drawview.cxx.
References ScAddress::Col(), convertTwipToMm100(), ScViewData::GetActivePart(), ScViewData::GetActiveWin(), ScDrawLayer::GetCellAnchorFromPosition(), ScDocument::GetColOffset(), ScGridWindow::GetDrawMapMode(), SdrObject::GetLogicRect(), ScDrawLayer::GetObjData(), ScDocument::GetRowOffset(), ScViewData::GetScrPos(), GetTab(), Point::getX(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isCompatFlagSet(), ScDocument::IsNegativePage(), ScDrawObjData::maStart, pData, vcl::Window::PixelToLogic(), pViewData, rDoc, ScAddress::Row(), rTarget, Point::setX(), Point::setY(), ScAddress::Tab(), Point::X(), and Point::Y().
|
static |
Definition at line 328 of file drawvie4.cxx.
Referenced by BeginDrag(), CopyToTransferable(), and ScSelectionTransferObj::CreateDrawData().
|
private |
Definition at line 71 of file drawview.cxx.
References bInConstruct, SdrView::EnableExtendedKeyInputDispatcher(), SdrView::EnableExtendedMouseEventDispatcher(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdrPaintView::GetModel(), SdrLayer::GetName(), ScViewData::GetSfxDocShell(), ScViewData::GetTabNo(), ScViewData::GetViewShell(), ScTabView::IsDrawSelMode(), SfxObjectShell::IsReadOnly(), ScDocument::IsTabProtected(), nTab, pViewData, rDoc, RecalcScale(), SC_LAYER_BACK(), SC_LAYER_CONTROLS(), SC_LAYER_FRONT(), SC_LAYER_HIDDEN(), SC_LAYER_INTERN(), SdrPaintView::SetActiveLayer(), SdrMarkView::SetFrameDragSingles(), SdrPaintView::SetHitTolerancePixel(), SdrPaintView::SetLayerLocked(), SdrPaintView::SetLayerVisible(), SdrPaintView::SetMinMoveDistancePixel(), SdrPaintView::SetSwapAsynchron(), FmFormView::ShowSdrPage(), UpdateUserViewOptions(), and UpdateWorkArea().
Referenced by ScDrawView().
uno::Reference< datatransfer::XTransferable > ScDrawView::CopyToTransferable | ( | ) |
Definition at line 375 of file drawvie4.cxx.
References CheckOle(), E3dView::CreateMarkedObjModel(), SfxObjectShell::FillTransferableObjectDescriptor(), get(), ScViewData::GetDocShell(), SdrMarkView::GetMarkedObjectList(), SfxObjectShell::GetMedium(), INetURLObject::GetURLNoPass(), SfxMedium::GetURLObject(), TransferableObjectDescriptor::maDisplayName, pViewData, ScTransferObj::SetDrawClipDoc(), ScDrawLayer::SetGlobalDrawPersist(), and ScGlobal::xDrawClipDocShellRef.
Referenced by ScTabViewObj::getTransferable().
|
overrideprivatevirtual |
Reimplemented from SdrObjEditView.
Definition at line 1108 of file drawview.cxx.
References ScViewData::GetDocShell(), and pViewData.
|
overridevirtual |
Reimplemented from SdrView.
Definition at line 1245 of file drawview.cxx.
|
overridevirtual |
Reimplemented from SdrView.
Definition at line 849 of file drawview.cxx.
References SfxUndoManager::AddUndoAction(), ScDrawLayer::BeginCalcUndo(), SdrView::DeleteMarked(), ScDrawLayer::GetCalcUndo(), ScViewData::GetDocShell(), ScDocument::GetDrawLayer(), GetMarkedNoteCaption(), ScDocShell::GetUndoManager(), ScDocument::IsUndoEnabled(), ScDrawObjData::maStart, ScNoteData::mxCaption, ScDocShell::PostPaintCell(), pViewData, rDoc, and ScDocument::ReleaseNote().
Referenced by DoCut(), ScDrawShell::ExecDrawFunc(), FuConstruct::KeyInput(), and FuDraw::KeyInput().
|
overridevirtual |
Reimplemented from SdrPaintView.
Definition at line 352 of file drawview.cxx.
References ScTabViewShell::ConnectObject(), ScViewData::GetViewShell(), and pViewData.
void ScDrawView::DoCopy | ( | ) |
Definition at line 333 of file drawvie4.cxx.
References E3dView::CreateMarkedObjModel(), SfxObjectShell::FillTransferableObjectDescriptor(), get(), ScViewData::GetActiveWin(), ScViewData::GetDocShell(), SdrMarkView::GetMarkedObjectList(), SfxObjectShell::GetMedium(), INetURLObject::GetURLNoPass(), SfxMedium::GetURLObject(), TransferableObjectDescriptor::maDisplayName, pViewData, rDoc, ScTransferObj::SetDrawClipDoc(), ScDrawLayer::SetGlobalDrawPersist(), and ScGlobal::xDrawClipDocShellRef.
Referenced by DoCut(), ScDrawShell::ExecDrawFunc(), and ScDrawTextObjectBar::ExecuteGlobal().
void ScDrawView::DoCut | ( | ) |
Definition at line 284 of file drawview.cxx.
References SdrEditView::BegUndo(), DeleteMarked(), DoCopy(), SdrEditView::EndUndo(), and ScResId().
Referenced by ScDrawShell::ExecDrawFunc(), and ScDrawTextObjectBar::ExecuteGlobal().
void ScDrawView::FitToCellSize | ( | ) |
Definition at line 515 of file drawvie4.cxx.
References SfxUndoManager::AddUndoAction(), SdrObject::AdjustToMaxRect(), ScDrawLayer::GetAnchorType(), ScDrawLayer::GetCellRect(), ScViewData::GetDocShell(), tools::Rectangle::GetHeight(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), ScDrawLayer::GetObjData(), SdrObject::GetObjIdentifier(), SdrObject::GetSnapRect(), ScDocShell::GetUndoManager(), tools::Rectangle::GetWidth(), ScDrawObjData::maStart, pViewData, rDoc, SAL_WARN, SCA_CELL, SCA_CELL_RESIZE, ScResId(), tools::Rectangle::setHeight(), SdrObject::SetSnapRect(), tools::Rectangle::setWidth(), and SdrObject::shouldKeepAspectRatio().
Referenced by ScDrawShell::ExecDrawFunc().
ScAnchorType ScDrawView::GetAnchorType | ( | ) | const |
Definition at line 116 of file drawvie3.cxx.
References SdrMarkView::AreObjectsMarked(), ScDrawLayer::GetAnchorType(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), i, nCount, SCA_CELL, SCA_CELL_RESIZE, SCA_DONTKNOW, and SCA_PAGE.
Referenced by ScDrawShell::ExecDrawFunc(), ScDrawShell::GetDrawFuncState(), and ScDrawShell::GetState().
SdrObject * ScDrawView::GetMarkedNoteCaption | ( | ScDrawObjData ** | ppCaptData | ) |
Returns the selected object, if it is the caption object of a cell note.
ppCaptData | (out-param) If not null, returns the pointer to the caption object data. |
Definition at line 813 of file drawview.cxx.
References SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScDrawLayer::GetNoteCaptionData(), ScViewData::GetTabNo(), and pViewData.
Referenced by DeleteMarked().
SdrObject * ScDrawView::GetObjectByName | ( | std::u16string_view | rName | ) |
Definition at line 643 of file drawview.cxx.
References DBG_ASSERT, ScDocument::GetDocumentShell(), SdrPaintView::GetModel(), SdrModel::GetPage(), ScDocument::GetTableCount(), ScDrawLayer::GetVisibleName(), i, SdrObjListIter::Next(), pObject, and rDoc.
Referenced by IMPL_LINK().
bool ScDrawView::GetObjectIsMarked | ( | const SdrObject * | pObject | ) |
Definition at line 787 of file drawview.cxx.
References SdrMarkView::IsObjMarked(), and pObject.
Referenced by IMPL_LINK().
Definition at line 292 of file drawview.cxx.
References aScaleX, and aScaleY.
Referenced by ScGridWindow::GetDrawMapMode().
|
overridevirtual |
See SdrMarkView::GetSfxViewShell().
Reimplemented from SdrMarkView.
Definition at line 844 of file drawview.cxx.
References ScViewData::GetViewShell(), and pViewData.
Referenced by ScDrawShell::GetDrawAttrState().
|
inline |
Definition at line 100 of file drawview.hxx.
References nTab.
Referenced by calculateGridOffsetForB2DRange(), calculateGridOffsetForSdrObject(), ScDrawTransferObj::SetDragSource(), and SyncForGrid().
bool ScDrawView::HasMarkedControl | ( | ) | const |
Definition at line 244 of file drawview.cxx.
References SdrMarkView::GetMarkedObjectList(), and SdrObjListIter::Next().
Referenced by ScDrawShell::GetDrawFuncState().
bool ScDrawView::HasMarkedInternal | ( | ) | const |
Definition at line 253 of file drawview.cxx.
References SdrMarkView::GetMarkedObjectList(), SdrObjListIter::Next(), and SC_LAYER_INTERN().
Referenced by ScDrawShell::GetDrawFuncState().
|
private |
Definition at line 128 of file drawview.cxx.
References pDropMarker.
Referenced by MarkDropObj(), and ~ScDrawView().
bool ScDrawView::InsertObjectSafe | ( | SdrObject * | pObj, |
SdrPageView & | rPV | ||
) |
Definition at line 797 of file drawview.cxx.
References SfxViewShell::GetIPClient(), ScViewData::GetViewShell(), SdrEditView::InsertObjectAtView(), SfxInPlaceClient::IsObjectInPlaceActive(), and pViewData.
Referenced by ScTabViewShell::InsertURLButton(), ScViewFunc::PasteDataFormat(), ScViewFunc::PasteGraphic(), and ScViewFunc::PasteObject().
void ScDrawView::InvalidateAttribs | ( | ) |
Definition at line 153 of file drawview.cxx.
References ScViewData::GetBindings(), SfxBindings::InvalidateAll(), and pViewData.
Referenced by ScDrawShell::ExecDrawAttr(), ScTabViewShell::ExecStyle(), ScDrawShell::ExecuteAreaDlg(), ScDrawShell::ExecuteLineDlg(), ScDrawShell::ExecuteMeasureDlg(), ScDrawShell::ExecuteTextAttrDlg(), and MarkListHasChanged().
void ScDrawView::InvalidateDrawTextAttrs | ( | ) |
Definition at line 162 of file drawview.cxx.
References ScViewData::GetBindings(), SfxBindings::Invalidate(), and pViewData.
Referenced by ScDrawTextObjectBar::ExecuteAttr(), ScDrawTextObjectBar::ExecuteExtra(), ScDrawTextObjectBar::ExecuteGlobal(), ScDrawTextObjectBar::ExecuteToggle(), and MarkListHasChanged().
|
inline |
Locks/unlocks the background layer that contains background objects.
Unlocked layer is required to be able to edit the objects.
Definition at line 131 of file drawview.hxx.
References LockCalcLayer(), and SC_LAYER_BACK().
Referenced by ScTabViewShell::ExecDraw(), MarkListHasChanged(), and SelectObject().
void ScDrawView::LockCalcLayer | ( | SdrLayerID | nLayer, |
bool | bLock | ||
) |
Locks/unlocks the specified layer in the draw page.
Unlocked layer is required to be able to edit the contained objects.
Definition at line 828 of file drawview.cxx.
References SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdrPaintView::GetModel(), SdrLayer::GetName(), SdrPaintView::IsLayerLocked(), and SdrPaintView::SetLayerLocked().
Referenced by LockBackgroundLayer(), and LockInternalLayer().
|
inline |
Locks/unlocks the internal layer that contains caption objects of cell notes.
Unlocked layer is required to be able to edit the contained objects.
Definition at line 135 of file drawview.hxx.
References LockCalcLayer(), and SC_LAYER_INTERN().
Referenced by lcl_UnLockComment(), MarkListHasChanged(), FuText::StopEditMode(), and UnlockInternalLayer().
|
overridevirtual |
Evaluate rWin properly change zoom if necessary
Reimplemented from SdrPaintView.
Definition at line 835 of file drawview.cxx.
References ScViewData::GetActiveWin(), ScViewData::GetView(), ScTabView::MakeVisible(), and pViewData.
Referenced by ScTabViewShell::ExecDraw(), and FuDraw::KeyInput().
void ScDrawView::MarkDropObj | ( | SdrObject * | pObj | ) |
Definition at line 898 of file drawview.cxx.
References ImplClearCalcDropMarker(), pDropMarker, and pDropMarkObj.
Referenced by ScGridWindow::DrawMarkDropObj().
|
overridevirtual |
Reimplemented from FmFormView.
Definition at line 358 of file drawview.cxx.
References a, bInConstruct, ScTabView::CheckSelectionTransfer(), SfxInPlaceClient::DeactivateObject(), SfxFrame::GetController(), ScModule::GetCurRefDlgId(), SfxViewFrame::GetFrame(), SfxViewShell::GetIPClient(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetObjIdentifier(), SdrOle2Obj::GetObjRef(), OutputDevice::GetOutDevType(), SdrPaintWindow::GetOutputDevice(), OutputDevice::GetOwnerWindow(), SdrPaintView::GetPaintWindow(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), i, InvalidateAttribs(), InvalidateDrawTextAttrs(), ScDocument::IsChart(), ScTabView::IsDrawSelMode(), ScTabViewShell::IsDrawTextShell(), SfxFrame::IsInPlace(), SfxInPlaceClient::IsObjectInPlaceActive(), ScModule::IsRefDialogOpen(), LockBackgroundLayer(), LockInternalLayer(), FmFormView::MarkListHasChanged(), OUTDEV_WINDOW, vcl::Window::PaintImmediately(), SdrPaintView::PaintWindowCount(), pViewData, SC_MOD, ScTabViewObj::SelectionChanged(), ScTabViewShell::SetChartShell(), ScTabViewShell::SetDrawFormShell(), ScTabViewShell::SetDrawShell(), ScTabViewShell::SetGraphicShell(), ScTabViewShell::SetMediaShell(), ScTabViewShell::SetOleObjectShell(), SfxShell::SetVerbs(), ScTabView::Unmark(), UpdateIMap(), and xController.
Referenced by ScViewFunc::PasteDraw(), and SetMarkedToLayer().
|
overrideprivatevirtual |
Reimplemented from SdrObjEditView.
Definition at line 605 of file drawview.cxx.
References SdrObjEditView::GetTextEditObject(), ScViewData::GetViewShell(), SdrObject::IsInserted(), SdrObjEditView::ModelHasChanged(), pViewData, SdrCreateView::SetCreateMode(), and ScTabViewShell::SetDrawTextUndo().
|
overridevirtual |
Reimplemented from SdrObjEditView.
Definition at line 202 of file drawvie3.cxx.
References SfxHint::GetId(), FmFormView::HideSdrPage(), SdrObjEditView::Notify(), nTab, rDoc, UpdateWorkArea(), and ValidTab().
void ScDrawView::RecalcScale | ( | ) |
Zoom, handed over ???
Definition at line 298 of file drawview.cxx.
References aScaleX, aScaleY, ScDrawUtil::CalcScale(), SdrPageView::GetPage(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), SdrPaintView::GetSdrPageView(), ScDocument::GetTableArea(), ScViewData::GetTabNo(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), i, nCount, nPPTX, nPPTY, nTab, pDev, pViewData, rDoc, resetGridOffsetsForAllSdrPageViews(), SyncForGrid(), Point::X(), and Point::Y().
Referenced by Construct().
void ScDrawView::resetGridOffsetsForAllSdrPageViews | ( | ) |
Definition at line 967 of file drawview.cxx.
References a, SdrPageWindow::GetObjectContact(), SdrPageView::GetPageWindow(), SdrPaintView::GetSdrPageView(), SdrPageView::PageWindowCount(), sdr::contact::ObjectContact::resetAllGridOffsets(), and sdr::contact::ObjectContact::supportsGridOffsets().
Referenced by RecalcScale().
SdrEndTextEditKind ScDrawView::ScEndTextEdit | ( | ) |
Definition at line 887 of file drawview.cxx.
References ScViewData::GetViewShell(), SdrObjEditView::IsTextEdit(), pViewData, SdrEndTextEdit(), and ScTabViewShell::SetDrawTextUndo().
Referenced by ScDrawShell::ExecFormText(), ScDrawTextObjectBar::ExecFormText(), ScTabViewShell::ExecStyle(), ScDrawTextObjectBar::Execute(), ScTabViewShell::PrepareClose(), ScModelObj::resetSelection(), and ScTabViewObj::select().
|
overridevirtual |
Reimplemented from SdrObjEditView.
Definition at line 540 of file drawview.cxx.
References o3tl::convert(), SfxFrame::GetController(), SfxViewFrame::GetFrame(), vcl::Window::GetMapMode(), MapMode::GetMapUnit(), SdrObjEditView::GetTextEditOutlinerView(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), comphelper::LibreOfficeKit::isActive(), o3tl::mm100, SfxLokHelper::notifyOtherViews(), pViewData, SdrObjEditView::SdrBeginTextEdit(), ScTabViewObj::SelectionChanged(), tools::Rectangle::toString(), o3tl::twip, and xController.
Referenced by FuText::MouseButtonDown(), and FuText::SetInEditMode().
|
overridevirtual |
Reimplemented from SdrObjEditView.
Definition at line 584 of file drawview.cxx.
References SfxFrame::GetController(), SfxViewFrame::GetFrame(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), comphelper::LibreOfficeKit::isActive(), SfxLokHelper::notifyOtherViews(), pViewData, SdrObjEditView::SdrEndTextEdit(), ScTabViewObj::SelectionChanged(), and xController.
Referenced by ScEndTextEdit(), and FuText::StopEditMode().
void ScDrawView::SelectCurrentViewObject | ( | std::u16string_view | rName | ) |
Definition at line 674 of file drawview.cxx.
References DBG_ASSERT, ScDocument::GetDocumentShell(), SdrObject::GetLayer(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdrPaintView::GetModel(), SdrLayer::GetName(), SdrModel::GetPage(), SdrPaintView::GetSdrPageView(), ScViewData::GetSfxDocShell(), ScDocument::GetTableCount(), ScViewData::GetView(), ScViewData::GetViewShell(), ScDrawLayer::GetVisibleName(), i, ScTabView::IsDrawSelMode(), SdrMarkView::IsObjMarked(), SfxObjectShell::IsReadOnly(), ScDocument::IsTabProtected(), SdrMarkView::MarkObj(), SdrObjListIter::Next(), nTab, pObject, pViewData, rDoc, SC_LAYER_BACK(), ScTabView::ScrollToObject(), SdrPaintView::SetLayerLocked(), and ScTabView::SetTabNo().
Referenced by IMPL_LINK().
bool ScDrawView::SelectObject | ( | std::u16string_view | rName | ) |
Definition at line 725 of file drawview.cxx.
References ScDocument::GetDocumentShell(), SdrObject::GetLayer(), SdrPaintView::GetModel(), SdrModel::GetPage(), SdrPaintView::GetSdrPageView(), ScViewData::GetSfxDocShell(), ScDocument::GetTableCount(), ScViewData::GetView(), ScViewData::GetViewShell(), ScDrawLayer::GetVisibleName(), i, ScTabView::IsDrawSelMode(), SfxObjectShell::IsReadOnly(), ScDocument::IsTabProtected(), LockBackgroundLayer(), SdrMarkView::MarkObj(), SdrObjListIter::Next(), nTab, pObject, pViewData, rDoc, SC_LAYER_BACK(), ScTabView::ScrollToObject(), ScTabView::SetTabNo(), and SdrView::UnmarkAll().
Referenced by ScGridWinUIObject::execute(), and ScTabViewShell::SelectObject().
void ScDrawView::SetCellAnchored | ( | bool | bResizeWithCell | ) |
Definition at line 90 of file drawvie3.cxx.
References AddCustomHdl(), SdrEditView::AddUndo(), SdrMarkView::AreObjectsMarked(), SdrEditView::BegUndo(), SdrEditView::EndUndo(), ScViewData::GetDocShell(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), i, nCount, nTab, pViewData, rDoc, ScResId(), ScDrawLayer::SetCellAnchoredFromPosition(), and ScDocShell::SetDrawModified().
Referenced by ScDrawShell::ExecDrawFunc().
void ScDrawView::SetMarkedOriginalSize | ( | ) |
Definition at line 432 of file drawvie4.cxx.
References SfxUndoManager::AddUndoAction(), CalcNormScale(), SdrOle2Obj::GetAspect(), ScViewData::GetDocShell(), SdrGrafObj::GetGraphic(), tools::Rectangle::GetHeight(), SdrObject::GetLogicRect(), MapMode::GetMapUnit(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrPaintView::GetModel(), SdrObject::GetObjIdentifier(), SdrGrafObj::getOriginalSize(), Graphic::GetPrefMapMode(), ScDocShell::GetUndoManager(), tools::Rectangle::GetWidth(), Size::Height(), i, OutputDevice::LogicToLogic(), nCount, pViewData, SdrObject::Resize(), ScResId(), ScDocShell::SetDrawModified(), MapMode::SetScaleX(), MapMode::SetScaleY(), TOOLS_WARN_EXCEPTION, tools::Rectangle::TopLeft(), VCLUnoHelper::UnoEmbed2VCLMapUnit(), and Size::Width().
Referenced by ScDrawShell::ExecDrawFunc().
void ScDrawView::SetMarkedToLayer | ( | SdrLayerID | nLayerNo | ) |
Definition at line 212 of file drawview.cxx.
References SdrEditView::AddUndo(), SdrMarkView::AreObjectsMarked(), SdrEditView::BegUndo(), SdrMarkView::CheckMarked(), SdrEditView::EndUndo(), ScViewData::GetDocShell(), SdrObject::GetLayer(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), i, MarkListHasChanged(), nCount, pViewData, SC_LAYER_INTERN(), ScResId(), ScDocShell::SetDrawModified(), and SdrObject::SetLayer().
Referenced by ScDrawShell::ExecDrawFunc().
void ScDrawView::SetPageAnchored | ( | ) |
Definition at line 65 of file drawvie3.cxx.
References SdrEditView::AddUndo(), SdrMarkView::AreObjectsMarked(), SdrEditView::BegUndo(), SdrEditView::EndUndo(), ScViewData::GetDocShell(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), i, SdrMarkView::maHdlList, nCount, nTab, pViewData, rDoc, SdrHdlList::RemoveAllByKind(), ScResId(), ScDocShell::SetDrawModified(), and ScDrawLayer::SetPageAnchored().
Referenced by ScDrawShell::ExecDrawFunc().
void ScDrawView::SyncForGrid | ( | SdrObject * | pObj | ) |
Definition at line 918 of file drawview.cxx.
References ScAddress::Col(), convertTwipToMm100(), ScViewData::GetActivePart(), ScViewData::GetActiveWin(), ScDrawLayer::GetCellAnchorFromPosition(), ScDocument::GetColOffset(), ScGridWindow::GetDrawMapMode(), SdrObject::GetLogicRect(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), ScDrawLayer::GetObjData(), ScDocument::GetRowOffset(), ScViewData::GetScrPos(), GetTab(), Point::getX(), i, comphelper::LibreOfficeKit::isActive(), ScDocument::IsNegativePage(), ScDrawObjData::maStart, nCount, pData, vcl::Window::PixelToLogic(), pViewData, rDoc, ScAddress::Row(), Point::setX(), Point::setY(), SyncForGrid(), ScAddress::Tab(), Point::X(), and Point::Y().
Referenced by RecalcScale(), and SyncForGrid().
|
inline |
Unlocks the internal layer that contains caption objects of cell notes.
Definition at line 137 of file drawview.hxx.
References LockInternalLayer().
Referenced by FuSelection::MouseButtonDown(), FuSelection::MouseButtonUp(), and FuText::SetInEditMode().
void ScDrawView::UpdateIMap | ( | SdrObject * | pObj | ) |
Definition at line 229 of file drawvie3.cxx.
References SvxIMapInfo::GetImageMap(), SvxIMapInfo::GetIMapInfo(), SfxViewFrame::GetTargetList(), SfxViewShell::GetViewFrame(), ScViewData::GetViewShell(), SfxViewFrame::HasChildWindow(), pViewData, ScIMapChildWindowId(), and ScIMapDlgSet().
Referenced by MarkListHasChanged().
void ScDrawView::UpdateUserViewOptions | ( | ) |
Definition at line 619 of file drawview.cxx.
References SvxOptionsGrid::GetFieldDivisionX(), SvxOptionsGrid::GetFieldDivisionY(), SvxOptionsGrid::GetFieldDrawX(), SvxOptionsGrid::GetFieldDrawY(), ScViewOptions::GetGridOptions(), SvxOptionsGrid::GetGridVisible(), ScViewOptions::GetOption(), ScViewData::GetOptions(), SvxOptionsGrid::GetUseGridSnap(), pViewData, SC_HANDLESIZE_BIG, SdrDragView::SetDragStripes(), SdrPaintView::SetGridCoarse(), SdrPaintView::SetGridFine(), SdrSnapView::SetGridSnap(), SdrPaintView::SetGridVisible(), SdrMarkView::SetMarkHdlSizePixel(), SdrSnapView::SetSnapEnabled(), SdrSnapView::SetSnapGridWidth(), and VOPT_HELPLINES.
Referenced by Construct().
void ScDrawView::UpdateWorkArea | ( | ) |
Definition at line 263 of file drawview.cxx.
References SdrPaintView::GetModel(), SdrModel::GetPage(), SdrPage::GetSize(), nTab, tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), SdrDragView::SetWorkArea(), and Size::Width().
Referenced by Construct(), and Notify().
|
private |
Definition at line 39 of file drawview.hxx.
Referenced by GetScale(), and RecalcScale().
|
private |
Definition at line 40 of file drawview.hxx.
Referenced by GetScale(), and RecalcScale().
|
private |
Definition at line 43 of file drawview.hxx.
Referenced by Construct(), and MarkListHasChanged().
|
private |
Definition at line 38 of file drawview.hxx.
Referenced by AddCustomHdl(), CalcNormScale(), Construct(), GetTab(), Notify(), RecalcScale(), ScDrawView(), SelectCurrentViewObject(), SelectObject(), SetCellAnchored(), SetPageAnchored(), and UpdateWorkArea().
|
private |
Definition at line 36 of file drawview.hxx.
Referenced by CalcNormScale(), and RecalcScale().
|
private |
Definition at line 41 of file drawview.hxx.
Referenced by ImplClearCalcDropMarker(), and MarkDropObj().
|
private |
Definition at line 42 of file drawview.hxx.
Referenced by MarkDropObj().
|
private |
Definition at line 35 of file drawview.hxx.
Referenced by AddCustomHdl(), BeginDrag(), CalcNormScale(), calculateGridOffsetForB2DRange(), calculateGridOffsetForSdrObject(), Construct(), CopyToTransferable(), createLocalTextUndoManager(), DeleteMarked(), DoConnect(), DoCopy(), FitToCellSize(), GetMarkedNoteCaption(), GetSfxViewShell(), InsertObjectSafe(), InvalidateAttribs(), InvalidateDrawTextAttrs(), MakeVisible(), MarkListHasChanged(), ModelHasChanged(), RecalcScale(), ScEndTextEdit(), SdrBeginTextEdit(), SdrEndTextEdit(), SelectCurrentViewObject(), SelectObject(), SetCellAnchored(), SetMarkedOriginalSize(), SetMarkedToLayer(), SetPageAnchored(), SyncForGrid(), UpdateIMap(), and UpdateUserViewOptions().
|
private |
needed ?
Definition at line 37 of file drawview.hxx.
Referenced by CalcNormScale(), calculateGridOffsetForB2DRange(), calculateGridOffsetForSdrObject(), Construct(), DeleteMarked(), DoCopy(), FitToCellSize(), GetObjectByName(), Notify(), RecalcScale(), ScDrawView(), SelectCurrentViewObject(), SelectObject(), SetCellAnchored(), SetPageAnchored(), and SyncForGrid().