LibreOffice Module sd (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
sd::View Class Reference

#include <View.hxx>

Inheritance diagram for sd::View:
[legend]
Collaboration diagram for sd::View:
[legend]

Public Member Functions

 View (SdDrawDocument &rDrawDoc, OutputDevice *pOutDev, ViewShell *pViewSh=nullptr)
 
virtual ~View () override
 
void CompleteRedraw (OutputDevice *pOutDev, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr) override
 The event will be forwarded to the View. More...
 
virtual void GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr=false) const
 
virtual bool SetAttributes (const SfxItemSet &rSet, bool bReplaceAll=false, bool bSlide=false, bool bMaster=false)
 
virtual void MarkListHasChanged () override
 
void SelectAll ()
 
void DoCut ()
 
void DoCopy ()
 
void DoPaste (::sd::Window *pWindow=nullptr)
 
virtual void DoConnect (SdrOle2Obj *pOleObj) override
 Connect OLE object to client. More...
 
virtual bool SetStyleSheet (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr=false)
 
void StartDrag (const Point &rStartPos, vcl::Window *pWindow)
 
virtual void DragFinished (sal_Int8 nDropAction)
 
virtual sal_Int8 AcceptDrop (const AcceptDropEvent &rEvt, DropTargetHelper &rTargetHelper, SdrLayerID nLayer)
 
virtual sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt, ::sd::Window *pTargetWindow, sal_uInt16 nPage, SdrLayerID nLayer)
 
css::uno::Reference< css::datatransfer::XTransferable > CreateClipboardDataObject ()
 
css::uno::Reference< css::datatransfer::XTransferable > CreateDragDataObject (::sd::View *, vcl::Window &rWindow, const Point &rDragPos)
 
css::uno::Reference< css::datatransfer::XTransferable > CreateSelectionDataObject (::sd::View *)
 
void UpdateSelectionClipboard ()
 
void ClearSelectionClipboard ()
 
DrawDocShellGetDocSh () const
 
SdDrawDocumentGetDoc () const
 
ViewShellGetViewShell () const
 
SfxViewShellGetSfxViewShell () const override
 
std::unique_ptr< SdrUndoManagercreateLocalTextUndoManager () 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
 ends current text editing More...
 
bool RestoreDefaultText (SdrTextObj *pTextObj)
 restores the default text if the given text object is currently in edit mode and no text has been entered already. More...
 
bool InsertData (const TransferableDataHelper &rDataHelper, const Point &rPos, sal_Int8 &rDnDAction, bool bDrag, SotClipboardFormatId nFormat=SotClipboardFormatId::NONE, sal_uInt16 nPage=SDRPAGE_NOTFOUND, SdrLayerID nLayer=SDRLAYER_NOTFOUND)
 
bool InsertMetaFile (const TransferableDataHelper &rDataHelper, const Point &rInsertPos, ImageMap const *pImageMap, bool bOptimize)
 gets the metafile from the given transferable helper and insert it as a graphic shape. More...
 
SdrGrafObjInsertGraphic (const Graphic &rGraphic, sal_Int8 &rAction, const Point &rPos, SdrObject *pSelectedObj, ImageMap const *pImageMap)
 If an empty graphic object is provided, we fill it. More...
 
void InsertMediaURL (const OUString &rMediaURL, sal_Int8 &rAction, const Point &rPos, const Size &rSize, bool const bLink)
 
SdrMediaObjInsertMediaObj (const OUString &rURL, sal_Int8 &rAction, const Point &rPos, const Size &rSize)
 
bool PasteRTFTable (const ::tools::SvRef< SotTempStream > &xStm, SdrPage *pPage, SdrInsertFlags nPasteOptions)
 
bool IsPresObjSelected (bool bOnPage=true, bool bOnMasterPage=true, bool bCheckPresObjListOnly=false, bool bCheckLayoutOnly=false) const
 Is a presentation object selected? More...
 
void SetMarkedOriginalSize ()
 Sets the original size of the marked objects. More...
 
bool IsMorphingAllowed () const
 
bool IsVectorizeAllowed () const
 
virtual SfxStyleSheetGetStyleSheet () const
 
bool GetExchangeList (std::vector< OUString > &rExchangeList, std::vector< OUString > &rBookmarkList, const sal_uInt16 nType)
 return parameter: pExchangeList == NULL -> all names are unique bNameOK == false -> cancel by user nType == 0 -> pages nType == 1 -> objects nType == 2 -> pages and objects
More...
 
virtual void onAccessibilityOptionsChanged () override
 
bool isRecordingUndo () const
 returns true if we have an undo manager and there is an open list undo action More...
 
virtual void AddCustomHdl () override
 
SmartTagSetgetSmartTags ()
 
void updateHandles ()
 
virtual SdrViewContext GetContext () const override
 
virtual bool HasMarkablePoints () const override
 
virtual sal_Int32 GetMarkablePointCount () const override
 
virtual bool HasMarkedPoints () const override
 
virtual bool MarkPoint (SdrHdl &rHdl, bool bUnmark=false) override
 
virtual void CheckPossibilities () override
 
virtual bool MarkPoints (const ::tools::Rectangle *pRect, bool bUnmark) override
 
bool ShouldToggleOn (const bool bBulletOnOffMode, const bool bNormalBullet)
 
void ChangeMarkedObjectsBulletsNumbering (const bool bToggle, const bool bHandleBullets, const SvxNumRule *pNumRule)
 change the bullets/numbering of the marked objects More...
 
void SetPossibilitiesDirty ()
 
void SetMoveAllowed (bool bSet)
 
void SetMoveProtected (bool bSet)
 
void SetResizeFreeAllowed (bool bSet)
 
void SetResizePropAllowed (bool bSet)
 
void SetResizeProtected (bool bSet)
 
SdrObjectGetEmptyPresentationObject (PresObjKind eKind)
 
SdPageGetPage ()
 
SdrObjectGetSelectedSingleObject (SdPage const *pPage)
 
void SetAuthor (const OUString &rAuthor)
 
const OUString & GetAuthor () const
 
SearchContextgetSearchContext ()
 
virtual bool MarkPoints (const tools::Rectangle *pRect, bool bUnmark)
 
- Public Member Functions inherited from FmFormView
 FmFormView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~FmFormView () override
 
rtl::Reference< SdrObjectCreateFieldControl (std::u16string_view rFieldDesc) const
 
rtl::Reference< SdrObjectCreateFieldControl (const svx::ODataAccessDescriptor &_rColumnDescriptor)
 
rtl::Reference< SdrObjectCreateXFormsControl (const svx::OXFormsDescriptor &_rDesc)
 
virtual void MarkListHasChanged () override
 
virtual void AddDeviceToPaintView (OutputDevice &rNewDev, vcl::Window *pWindow) override
 
virtual void DeleteDeviceFromPaintView (OutputDevice &rOldDev) override
 
virtual SdrPageViewShowSdrPage (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
 
FmFormPageGetCurPage ()
 
SVX_DLLPRIVATE void ActivateControls (SdrPageView const *)
 
SVX_DLLPRIVATE void DeactivateControls (SdrPageView const *)
 
SVX_DLLPRIVATE void ChangeDesignMode (bool bDesign)
 
SVX_DLLPRIVATE FmXFormViewGetImpl () const
 
SVX_DLLPRIVATE FmFormShellGetFormShell () 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 SdrPaintWindowBeginCompleteRedraw (OutputDevice *pOut) override
 
virtual void EndCompleteRedraw (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer) override
 
SVX_DLLPRIVATE const OutputDeviceGetActualOutDev () 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 MouseEventGetMouseEvent () const
 
virtual std::unique_ptr< SdrModelCreateMarkedObjModel () 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< E3dSceneSetCurrent3DObj (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::RectangleGetMarkedRect () const
 
virtual void DeleteMarked ()
 
bool BegMark (const Point &rPnt, bool bAddMark, bool bUnmark)
 
OUString GetStatusText ()
 
virtual void onAccessibilityOptionsChanged ()
 
virtual sdr::contact::ObjectContactcreateViewSpecificObjectContact (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
 
SdrObjectGetCreateObj () 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)
 
SfxStyleSheetGetStyleSheet () 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
 
SdrHdlGetDragHdl () const
 
SdrDragMethodGetDragMethod () 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::RectangleGetWorkArea () 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< SdrModelCreateMarkedObjModel () 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
 
SdrPageViewShowSdrPage (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
 
SdrTextObjGetTextEditObject () const
 
SdrPageViewGetTextEditPageView () const
 
void SetTextEditWin (vcl::Window *pWin)
 
const SdrOutlinerGetTextEditOutliner () const
 
SdrOutlinerGetTextEditOutliner ()
 
const OutlinerViewGetTextEditOutlinerView () const
 
OutlinerViewGetTextEditOutlinerView ()
 
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)
 
SfxStyleSheetGetStyleSheet () 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)
 
SfxStyleSheetGetStyleSheetFromMarked () const
 
void SetStyleSheetToMarked (SfxStyleSheet *pStyleSheet, bool bDontRemoveHardAttr)
 
void GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr) const
 
void SetAttributes (const SfxItemSet &rSet, bool bReplaceAll)
 
SfxStyleSheetGetStyleSheet () 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 SdrObjectGetMaxToTopObj (SdrObject *pObj) const
 
virtual SdrObjectGetMaxToBtmObj (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 SdrMarkListGetMarkedObjectList () const
 
size_t TryToFindMarkedObject (const SdrObject *pObj) const
 
SdrPageViewGetSdrPageViewOfMarkedByIndex (size_t nNum) const
 
SdrMarkGetSdrMarkByIndex (size_t nNum) const
 
SdrObjectGetMarkedObjectByIndex (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 SdrMarkListGetEdgesOfMarkedNodes () const
 
const SdrMarkListGetMarkedEdgesOfMarkedNodes () 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
 
SdrHdlPickHandle (const Point &rPnt) const
 
SdrObjectPickObj (const Point &rPnt, short nTol, SdrPageView *&rpPV, SdrSearchOptions nOptions, SdrObject **ppRootObj, bool *pbHitPassDirect=nullptr) const
 
SdrObjectPickObj (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
 
SdrHdlGetHdl (size_t nHdlNum) const
 
const SdrHdlListGetHdlList () 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
 
SdrHdlGetGluePointHdl (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::RectangleGetMarkedObjRect () const
 
tools::Rectangle GetMarkedObjBoundRect () const
 
const tools::RectangleGetMarkedPointsRect () const
 
const tools::RectangleGetMarkedGluePointsRect () const
 
const tools::RectangleGetAllMarkedRect () const
 
tools::Rectangle GetAllMarkedBoundRect () const
 
virtual void MarkListHasChanged ()
 
void EnterMarkedGroup ()
 
const PointGetRef1 () const
 
void SetRef1 (const Point &rPt)
 
const PointGetRef2 () const
 
void SetRef2 (const Point &rPt)
 
virtual SfxViewShellGetSfxViewShell () 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 FractionGetSnapGridWidthX () const
 
const FractionGetSnapGridWidthY () 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::OverlayManagerCreateOverlayManager (OutputDevice &rDevice) const
 
sal_uInt32 PaintWindowCount () const
 
SdrPaintWindowFindPaintWindow (const OutputDevice &rOut) const
 
SdrPaintWindowGetPaintWindow (sal_uInt32 nIndex) const
 
OutputDeviceGetFirstOutputDevice () const
 
bool ImpIsGlueVisible () const
 
SdrModelgetSdrModelFromSdrView () const
 
SdrModelGetModel () 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 SdrDragStatGetDragStat () const
 
virtual SdrPageViewShowSdrPage (SdrPage *pPage)
 
virtual void HideSdrPage ()
 
SdrPageViewGetSdrPageView () 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 SdrPaintWindowBeginCompleteRedraw (OutputDevice *pOut)
 
void DoCompleteRedraw (SdrPaintWindow &rPaintWindow, const vcl::Region &rReg, sdr::contact::ViewObjectContactRedirector *pRedirector=nullptr)
 
virtual void EndCompleteRedraw (SdrPaintWindow &rPaintWindow, bool bPaintFormLayer)
 
SdrPaintWindowBeginDrawLayers (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 ColorGetGridColor () 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 SizeGetGridCoarse () const
 
const SizeGetGridFine () 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 SfxItemSetGetDefaultAttr () 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)
 
SfxStyleSheetGetStyleSheet () 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::ColorConfiggetColorConfig () const
 
void onChangeColorConfig ()
 
void SetApplicationBackgroundColor (Color aBackgroundColor)
 
void SetApplicationDocumentColor (Color aDocumentColor)
 
void SetAnimationTimer (sal_uInt32 nTime)
 
void SetPaintTextEdit (bool bPaint)
 

Protected Member Functions

 DECL_DLLPRIVATE_LINK (OnParagraphInsertedHdl, ::Outliner::ParagraphHdlParam, void)
 
 DECL_DLLPRIVATE_LINK (OnParagraphRemovingHdl, ::Outliner::ParagraphHdlParam, void)
 
virtual void OnBeginPasteOrDrop (PasteOrDropInfos *pInfo) override
 
virtual void OnEndPasteOrDrop (PasteOrDropInfos *pInfo) override
 this is called after a paste or drop operation, make sure that the newly inserted paragraphs get the correct style sheet. More...
 
 DECL_DLLPRIVATE_LINK (DropErrorHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (DropInsertFileHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (ExecuteNavigatorDrop, void *, void)
 
void ImplClearDrawDropMarker ()
 
- Protected Member Functions inherited from E3dView
void InitView ()
 
void ImpCreate3DObject (E3dScene *pScene, SdrObject *pObj, bool bExtrude, double fDepth, basegfx::B2DHomMatrix const &rLatheMat)
 
void ImpCreateSingle3DObjectFlat (E3dScene *pScene, SdrObject *pObj, bool bExtrude, double fDepth, basegfx::B2DHomMatrix const &rLatheMat)
 
void ImpChangeSomeAttributesFor3DConversion (SdrObject *pObj)
 
void ImpChangeSomeAttributesFor3DConversion2 (SdrObject *pObj)
 
void InitScene (E3dScene *pScene, double fW, double fH, double fCamZ)
 
void ImpIsConvertTo3DPossible (SdrObject const *pObj, bool &rAny3D, bool &rGroupSelected) const
 
void BreakSingle3DObj (E3dObject *pObj)
 
- Protected Member Functions inherited from SdrCreateView
void ImpClearConnectMarker ()
 
bool ImpBegCreateObj (SdrInventor nInvent, SdrObjKind nIdent, const Point &rPnt, OutputDevice *pOut, sal_Int16 nMinMov, const tools::Rectangle &rLogRect, SdrObject *pPreparedFactoryObject)
 
void ShowCreateObj ()
 
void HideCreateObj ()
 
bool CheckEdgeMode ()
 
 SdrCreateView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrCreateView () override
 
- Protected Member Functions inherited from SdrDragView
virtual void SetMarkHandles (SfxViewShell *pOtherShell) override
 
void ShowDragObj ()
 
void HideDragObj ()
 
bool ImpBegInsObjPoint (bool bIdxZwang, const Point &rPnt, bool bNewObj, OutputDevice *pOut)
 
 SdrDragView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrDragView () override
 
- Protected Member Functions inherited from SdrExchangeView
void ImpGetPasteObjList (Point &rPos, SdrObjList *&rpLst)
 
void ImpPasteObject (SdrObject *pObj, SdrObjList &rLst, const Point &rCenter, const Size &rSiz, const MapMode &rMap, SdrInsertFlags nOptions)
 
bool ImpGetPasteLayer (const SdrObjList *pObjList, SdrLayerID &rLayer) const
 
bool ImpLimitToWorkArea (Point &rPt) const
 
 SdrExchangeView (SdrModel &rSdrModel, OutputDevice *pOut)
 
- Protected Member Functions inherited from SdrObjEditView
virtual std::unique_ptr< SdrUndoManagercreateLocalTextUndoManager ()
 
void ImpMoveCursorAfterChainingEvent (TextChainCursorManager *pCursorManager)
 
std::unique_ptr< TextChainCursorManagerImpHandleMotionThroughBoxesKeyInput (const KeyEvent &rKEvt, bool *bOutHandled)
 
OutlinerViewImpFindOutlinerView (vcl::Window const *pWin) const
 
OutlinerViewImpMakeOutlinerView (vcl::Window *pWin, OutlinerView *pGivenView, SfxViewShell *pViewShell=nullptr) const
 
void ImpPaintOutlinerView (OutlinerView &rOutlView, const tools::Rectangle &rRect, OutputDevice &rTargetDevice) const
 
void ImpInvalidateOutlinerView (OutlinerView const &rOutlView) const
 
void ImpChainingEventHdl ()
 
 DECL_DLLPRIVATE_LINK (ImpAfterCutOrPasteChainingEventHdl, LinkParamNone *, void)
 
bool ImpIsTextEditAllSelected () const
 
void ImpMakeTextCursorAreaVisible ()
 
 DECL_DLLPRIVATE_LINK (ImpOutlinerStatusEventHdl, EditStatus &, void)
 
 DECL_DLLPRIVATE_LINK (ImpOutlinerCalcFieldValueHdl, EditFieldInfo *, void)
 
 DECL_DLLPRIVATE_LINK (EndTextEditHdl, SdrUndoManager *, void)
 
void ImpMacroUp (const Point &rUpPos)
 
void ImpMacroDown (const Point &rDownPos)
 
 DECL_LINK (BeginPasteOrDropHdl, PasteOrDropInfos *, void)
 
 DECL_LINK (EndPasteOrDropHdl, PasteOrDropInfos *, void)
 
 SdrObjEditView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrObjEditView () override
 
virtual void OnBeginPasteOrDrop (PasteOrDropInfos *pInfo)
 
virtual void OnEndPasteOrDrop (PasteOrDropInfos *pInfo)
 
- Protected Member Functions inherited from SdrGlueEditView
 SdrGlueEditView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrGlueEditView () override
 
- Protected Member Functions inherited from SdrPolyEditView
 SdrPolyEditView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrPolyEditView () override
 
- Protected Member Functions inherited from SdrEditView
void ImpBroadcastEdgesOfMarkedNodes ()
 
void ImpConvertTo (bool bPath, bool bLineToArea)
 
rtl::Reference< SdrObjectImpConvertOneObj (SdrObject *pObj, bool bPath, bool bLineToArea)
 
void ImpCheckToTopBtmPossible ()
 
void ImpCopyAttributes (const SdrObject *pSource, SdrObject *pDest) const
 
void ImpDismantleOneObject (const SdrObject *pObj, SdrObjList &rOL, size_t &rPos, SdrPageView *pPV, bool bMakeLines)
 
bool ImpDelLayerCheck (SdrObjList const *pOL, SdrLayerID nDelID) const
 
void ImpDelLayerDelObjs (SdrObjList *pOL, SdrLayerID nDelID)
 
std::vector< rtl::Reference< SdrObject > > DeleteMarkedList (SdrMarkList const &rMark)
 
virtual void CheckPossibilities ()
 
void ForcePossibilities () const
 
 SdrEditView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrEditView () override
 
- Protected Member Functions inherited from SdrMarkView
bool getPossibleGridOffsetForSdrObject (basegfx::B2DVector &rOffset, const SdrObject *pObj, const SdrPageView *pPV) const
 
bool getPossibleGridOffsetForPosition (basegfx::B2DVector &rOffset, const basegfx::B2DPoint &rPoint, const SdrPageView *pPV) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual void ModelHasChanged () override
 
virtual void SetMarkHandles (SfxViewShell *pOtherShell)
 
void modelHasChangedLOKit ()
 
void SetMarkRects ()
 
void CheckMarked ()
 
void AddDragModeHdl (SdrDragMode eMode)
 
virtual bool MouseMove (const MouseEvent &rMEvt, OutputDevice *pWin) override
 
virtual bool RequestHelp (const HelpEvent &rHEvt) override
 
virtual void AddCustomHdl ()
 
void ForceRefToMarked ()
 
void ForceUndirtyMrkPnt () const
 
virtual SdrObjectCheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObject *pObj, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay) const
 
SdrObjectCheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObjList const *pOL, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay, SdrObject *&rpRootObj) const
 
SdrObjectCheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObjList const *pOL, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay, SdrObject *&rpRootObj, const SdrMarkList *pMarkList) const
 
bool ImpIsFrameHandles () const
 
OUString ImpGetDescriptionString (TranslateId pStrCacheID, ImpGetDescriptionOptions nOpt=ImpGetDescriptionOptions::NONE) const
 
bool ImpMarkPoint (SdrHdl *pHdl, SdrMark *pMark, bool bUnmark)
 
virtual bool MarkPoints (const tools::Rectangle *pRect, bool bUnmark)
 
bool MarkGluePoints (const tools::Rectangle *pRect, bool bUnmark)
 
void SetMoveOutside (bool bOn)
 
bool MarkableObjectsExceed (int n) const
 
 SdrMarkView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrMarkView () override
 
SdrMarkListGetMarkedObjectListWriteAccess ()
 
- Protected Member Functions inherited from SdrSnapView
 SdrSnapView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrSnapView () override
 
- Protected Member Functions inherited from SdrPaintView
void DeletePaintWindow (const SdrPaintWindow &rOld)
 
void ConfigurationChanged (::utl::ConfigurationBroadcaster *, ConfigurationHints) override
 
sal_uInt16 ImpGetMinMovLogic (short nMinMov, const OutputDevice *pOut) const
 
sal_uInt16 ImpGetHitTolLogic (short nHitTol, const OutputDevice *pOut) const
 
void FlushComeBackTimer () const
 
void TheresNewMapMode ()
 
void ImpSetGlueVisible2 (bool bOn)
 
void ImpSetGlueVisible3 (bool bOn)
 
void ImpSetGlueVisible4 (bool bOn)
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
void GlueInvalidate () const
 
virtual void ModelHasChanged ()
 
 SdrPaintView (SdrModel &rSdrModel, OutputDevice *pOut)
 
virtual ~SdrPaintView () override
 
void ImpFormLayerDrawing (SdrPaintWindow &rPaintWindow)
 

Protected Attributes

SdDrawDocumentmrDoc
 
DrawDocShellmpDocSh
 
ViewShellmpViewSh
 
std::unique_ptr< SdrMarkListmpDragSrcMarkList
 
SdrObjectmpDropMarkerObj
 
std::unique_ptr< SdrDropMarkerOverlaympDropMarker
 
sal_uInt16 mnDragSrcPgNum
 
Point maDropPos
 
::std::vector< OUString > maDropFileVector
 
sal_Int8 mnAction
 
Idle maDropErrorIdle
 
Idle maDropInsertFileIdle
 
rtl::Reference< avmedia::PlayerListenermxDropMediaSizeListener
 
sal_uInt16 mnLockRedrawSmph
 
bool mbIsDropAllowed
 
SmartTagSet maSmartTags
 
- Protected Attributes inherited from SdrCreateView
rtl::Reference< SdrObjectmpCurrentCreate
 
SdrPageViewmpCreatePV
 
std::unique_ptr< ImplConnectMarkerOverlaympCoMaOverlay
 
std::unique_ptr< ImpSdrCreateViewExtraDatampCreateViewExtraData
 
PointerStyle maCurrentCreatePointer
 
sal_Int32 mnAutoCloseDistPix
 
sal_Int32 mnFreeHandMinDistPix
 
SdrInventor mnCurrentInvent
 
SdrObjKind mnCurrentIdent
 
bool mb1stPointAsCenter
 
bool mbUseIncompatiblePathCreateInterface
 
- Protected Attributes inherited from SdrDragView
SdrHdlmpDragHdl
 
std::unique_ptr< SdrDragMethodmpCurrentSdrDragMethod
 
SdrUndoGeoObjmpInsPointUndo
 
tools::Rectangle maDragLimit
 
OUString maInsPointUndoStr
 
SdrHdlKind meDragHdl
 
sal_Int32 mnDragThresholdPixels
 
bool mbFramDrag
 
bool mbMarkedHitMovesAlways
 
bool mbDragLimit
 
bool mbDragHdl
 
bool mbDragStripes
 
bool mbSolidDragging
 
bool mbResizeAtCenter
 
bool mbCrookAtCenter
 
bool mbDragWithCopy
 
bool mbInsGluePoint
 
bool mbInsObjPointMode
 
bool mbInsGluePointMode
 
bool mbNoDragXorPolys
 
- Protected Attributes inherited from SdrObjEditView
unotools::WeakReference< SdrTextObjmxWeakTextEditObj
 
SdrPageViewmpTextEditPV
 
std::unique_ptr< SdrOutlinermpTextEditOutliner
 
OutlinerViewmpTextEditOutlinerView
 
VclPtr< vcl::WindowmpTextEditWin
 
vcl::CursorpTextEditCursorBuffer
 
SdrObjectpMacroObj
 
SdrPageViewpMacroPV
 
VclPtr< vcl::WindowpMacroWin
 
tools::Rectangle aTextEditArea
 
tools::Rectangle aMinTextEditArea
 
Link< EditFieldInfo *, void > aOldCalcFieldValueLink
 
Point aMacroDownPos
 
sal_uInt16 nMacroTol
 
bool mbTextEditDontDelete
 
bool mbTextEditOnlyOneView
 
bool mbTextEditNewObj
 
bool mbQuickTextEditMode
 
bool mbMacroDown
 
rtl::Reference< sdr::SelectionControllermxSelectionController
 
rtl::Reference< sdr::SelectionControllermxLastSelectionController
 
- Protected Attributes inherited from SdrEditView
bool m_bPossibilitiesDirty
 
bool m_bReadOnly
 
bool m_bGroupPossible
 
bool m_bUnGroupPossible
 
bool m_bGrpEnterPossible
 
bool m_bToTopPossible
 
bool m_bToBtmPossible
 
bool m_bReverseOrderPossible
 
bool m_bImportMtfPossible
 
bool m_bCombinePossible
 
bool m_bDismantlePossible
 
bool m_bCombineNoPolyPolyPossible
 
bool m_bDismantleMakeLinesPossible
 
bool m_bOrthoDesiredOnMarked
 
bool m_bOneOrMoreMovable
 
bool m_bMoreThanOneNoMovRot
 
bool m_bContortionPossible
 
bool m_bMoveAllowed
 
bool m_bResizeFreeAllowed
 
bool m_bResizePropAllowed
 
bool m_bRotateFreeAllowed
 
bool m_bRotate90Allowed
 
bool m_bMirrorFreeAllowed
 
bool m_bMirror45Allowed
 
bool m_bMirror90Allowed
 
bool m_bShearAllowed
 
bool m_bEdgeRadiusAllowed
 
bool m_bTransparenceAllowed
 
bool m_bCropAllowed
 
bool m_bGradientAllowed
 
bool m_bCanConvToPath
 
bool m_bCanConvToPoly
 
bool m_bCanConvToContour
 
bool m_bMoveProtect
 
bool m_bResizeProtect
 
- Protected Attributes inherited from SdrMarkView
SdrObjectmpMarkedObj
 
SdrPageViewmpMarkedPV
 
Point maRef1
 
Point maRef2
 
SdrHdlList maHdlList
 
sdr::ViewSelection maSdrViewSelection
 
std::vector< basegfx::B2DRectanglemaSubSelectionList
 
tools::Rectangle maMarkedObjRect
 
tools::Rectangle maMarkedPointsRect
 
tools::Rectangle maMarkedGluePointsRect
 
SdrDragMode meDragMode
 
SdrViewEditMode meEditMode
 
SdrViewEditMode meEditMode0
 
bool mbDesignMode
 
bool mbForceFrameHandles
 
bool mbPlusHdlAlways
 
bool mbInsPolyPoint
 
bool mbMarkedObjRectDirty
 
bool mbMrkPntDirty
 
bool mbMarkedPointsRectsDirty
 
bool mbMarkHandlesHidden
 
bool mbNegativeX
 
- Protected Attributes inherited from SdrSnapView
class ImplPageOriginOverlaympPageOriginOverlay
 
class ImplHelpLineOverlaympHelpLineOverlay
 
Size aMagnSiz
 
Fraction aSnapWdtX
 
Fraction aSnapWdtY
 
sal_uInt16 nMagnSizPix
 
Degree100 nSnapAngle
 
Degree100 nEliminatePolyPointLimitAngle
 
SdrCrookMode eCrookMode
 
bool bSnapEnab
 
bool bGridSnap
 
bool bBordSnap
 
bool bHlplSnap
 
bool bOFrmSnap
 
bool bOPntSnap
 
bool bOConSnap
 
bool bMoveSnapOnlyTopLeft
 
bool bOrtho
 
bool bBigOrtho
 
bool bAngleSnapEnab
 
bool bMoveOnlyDragging
 
bool bSlantButShear
 
bool bCrookNoContortion
 
bool bEliminatePolyPoints
 
- Protected Attributes inherited from SdrPaintView
VclPtr< OutputDevicempActualOutDev
 
VclPtr< OutputDevicempDragWin
 
SfxStyleSheetmpDefaultStyleSheet
 
OUString maActualLayer
 
OUString maMeasureLayer
 
std::vector< std::unique_ptr< SdrPaintWindow > > maPaintWindows
 
Size maGridBig
 
Size maGridFin
 
SdrDragStat maDragStat
 
tools::Rectangle maMaxWorkArea
 
SfxItemSet maDefaultAttr
 
Idle maComeBackIdle
 
SdrAnimationMode meAnimationMode
 
sal_uInt16 mnHitTolPix
 
sal_uInt16 mnMinMovPix
 
sal_uInt16 mnHitTolLog
 
sal_uInt16 mnMinMovLog
 
bool mbPageVisible
 
bool mbPageShadowVisible
 
bool mbPageBorderVisible
 
bool mbBordVisible
 
bool mbGridVisible
 
bool mbGridFront
 
bool mbHlplVisible
 
bool mbHlplFront
 
bool mbGlueVisible
 
bool mbGlueVisible2
 
bool mbGlueVisible3
 
bool mbGlueVisible4
 
bool mbSomeObjChgdFlag
 
bool mbSwapAsynchron
 
bool mbPrintPreview
 
bool mbAnimationPause
 
bool mbBufferedOutputAllowed
 
bool mbBufferedOverlayAllowed
 
bool mbPageDecorationAllowed
 
bool mbMasterPageVisualizationAllowed
 
bool mbPreviewRenderer
 
bool mbHideOle
 
bool mbHideChart
 
bool mbHideDraw
 
bool mbHideFormControl
 
bool mbPaintTextEdit
 
svtools::ColorConfig maColorConfig
 
Color maGridColor
 

Private Attributes

::std::unique_ptr< ViewClipboardmpClipboard
 
OutlinerMasterViewFilter maMasterViewFilter
 
SearchContext maSearchContext
 
OUString m_sAuthor
 

Additional Inherited Members

- 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)
 
- Static Protected Member Functions inherited from SdrEditView
static bool ImpCanConvertForCombine1 (const SdrObject *pObj)
 
static bool ImpCanConvertForCombine (const SdrObject *pObj)
 
static basegfx::B2DPolyPolygon ImpGetPolyPolygon1 (const SdrObject *pObj)
 
static basegfx::B2DPolyPolygon ImpGetPolyPolygon (const SdrObject *pObj)
 
static basegfx::B2DPolygon ImpCombineToSinglePolygon (const basegfx::B2DPolyPolygon &rPolyPolygon)
 
static bool ImpCanDismantle (const basegfx::B2DPolyPolygon &rPpolyPpolygon, bool bMakeLines)
 
static bool ImpCanDismantle (const SdrObject *pObj, bool bMakeLines)
 
static void ImpCrookObj (SdrObject *pO, const Point &rRef, const Point &rRad, SdrCrookMode eMode, bool bVertical, bool bNoContortion, bool bRotate, const tools::Rectangle &rMarkRect)
 
static void ImpDistortObj (SdrObject *pO, const tools::Rectangle &rRef, const XPolygon &rDistortedRect, bool bNoContortion)
 
- Static Protected Member Functions inherited from SdrPaintView
static void InitOverlayManager (rtl::Reference< sdr::overlay::OverlayManager > xOverlayManager)
 
static vcl::Region OptimizeDrawLayersRegion (const OutputDevice *pOut, const vcl::Region &rReg, bool bDisableIntersect)
 
- Static Protected Attributes inherited from SdrMarkView
static constexpr sal_uInt16 mnFrameHandlesLimit
 

Detailed Description

Definition at line 95 of file View.hxx.

Constructor & Destructor Documentation

◆ View()

sd::View::View ( SdDrawDocument rDrawDoc,
OutputDevice pOutDev,
ViewShell pViewSh = nullptr 
)

◆ ~View()

sd::View::~View ( )
overridevirtual

Member Function Documentation

◆ AcceptDrop()

sal_Int8 sd::View::AcceptDrop ( const AcceptDropEvent rEvt,
DropTargetHelper &  rTargetHelper,
SdrLayerID  nLayer 
)
virtual

Reimplemented in sd::OutlineView.

Definition at line 429 of file sdview2.cxx.

References tools::Rectangle::Contains(), DND_ACTION_COPY, DND_ACTION_LINK, DND_ACTION_MOVE, DND_ACTION_NONE, SdrPaintView::GetActiveLayer(), sd::ViewShell::GetActiveWindow(), GetDocSh(), SdrMarkView::GetDragMode(), SdrHdlList::GetHdl(), SdrHdlList::GetHdlCount(), SdrMarkView::GetHdlList(), SdrPaintView::getHitTolLog(), SdrHdl::GetKind(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdPageObjsTLV::SdPageObjsTransferable::GetListBoxDropFormatId(), SdrObject::GetLogicRect(), SdrMarkView::GetMarkedObjectCount(), SdrMark::GetMarkedSdrObj(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SdrLayer::GetName(), OutlinerView::GetOutputArea(), SdrHdl::getOverlayObjectList(), SdrMarkView::GetSdrMarkByIndex(), SdrObject::getSdrPageFromSdrObject(), SdrPaintView::GetSdrPageView(), SdrObjEditView::GetTextEditOutlinerView(), SdrObject::GetUserCall(), SdTransferable::GetView(), sd::ViewShell::GetViewShellBase(), OutlinerView::GetWindow(), ImplClearDrawDropMarker(), SdrObject::IsEmptyPresObj(), sdr::overlay::OverlayObjectList::isHitPixel(), SdrPageView::IsLayerLocked(), SdrPageView::IsLayerVisible(), SdrPage::IsMasterPage(), SdTransferable::IsPageTransferable(), SdPage::IsPresObj(), sd::SlideShow::IsRunning(), AcceptDropEvent::maPosPixel, mbIsDropAllowed, AcceptDropEvent::mbLeaving, AcceptDropEvent::mnAction, mpDropMarker, mpDropMarkerObj, mpViewSh, mrDoc, n, SdrMarkView::PickObj(), vcl::Window::PixelToLogic(), SD_MOD, SDR_HANDLE_COLOR_SIZE_NORMAL, SDR_HANDLE_COLOR_SIZE_SELECTED, SDRLAYER_NOTFOUND(), and tools::Rectangle::Union().

Referenced by sd::ViewShell::AcceptDrop().

◆ AddCustomHdl()

void sd::View::AddCustomHdl ( )
overridevirtual

Reimplemented from SdrMarkView.

Definition at line 1117 of file sdview.cxx.

References sd::SmartTagSet::addCustomHandles(), SdrMarkView::maHdlList, and maSmartTags.

◆ ChangeMarkedObjectsBulletsNumbering()

void sd::View::ChangeMarkedObjectsBulletsNumbering ( const bool  bToggle,
const bool  bHandleBullets,
const SvxNumRule pNumRule 
)

◆ CheckPossibilities()

void sd::View::CheckPossibilities ( )
overridevirtual

Reimplemented from E3dView.

Definition at line 1175 of file sdview.cxx.

References sd::SmartTagSet::CheckPossibilities(), E3dView::CheckPossibilities(), and maSmartTags.

◆ ClearSelectionClipboard()

void sd::View::ClearSelectionClipboard ( )

◆ CompleteRedraw()

void sd::View::CompleteRedraw ( OutputDevice pOutDev,
const vcl::Region rReg,
sdr::contact::ViewObjectContactRedirector pRedirector = nullptr 
)
overridevirtual

◆ CreateClipboardDataObject()

css::uno::Reference< css::datatransfer::XTransferable > sd::View::CreateClipboardDataObject ( )

◆ CreateDragDataObject()

css::uno::Reference< css::datatransfer::XTransferable > sd::View::CreateDragDataObject ( ::sd::View ,
vcl::Window rWindow,
const Point rDragPos 
)

◆ createLocalTextUndoManager()

std::unique_ptr< SdrUndoManager > sd::View::createLocalTextUndoManager ( )
overridevirtual

Reimplemented from SdrObjEditView.

Definition at line 650 of file sdview.cxx.

References mpDocSh.

◆ CreateSelectionDataObject()

css::uno::Reference< css::datatransfer::XTransferable > sd::View::CreateSelectionDataObject ( ::sd::View )

◆ DECL_DLLPRIVATE_LINK() [1/5]

sd::View::DECL_DLLPRIVATE_LINK ( DropErrorHdl  ,
Timer ,
void   
)
protected

◆ DECL_DLLPRIVATE_LINK() [2/5]

sd::View::DECL_DLLPRIVATE_LINK ( DropInsertFileHdl  ,
Timer ,
void   
)
protected

◆ DECL_DLLPRIVATE_LINK() [3/5]

sd::View::DECL_DLLPRIVATE_LINK ( ExecuteNavigatorDrop  ,
void *  ,
void   
)
protected

◆ DECL_DLLPRIVATE_LINK() [4/5]

sd::View::DECL_DLLPRIVATE_LINK ( OnParagraphInsertedHdl  ,
::Outliner::ParagraphHdlParam  ,
void   
)
protected

◆ DECL_DLLPRIVATE_LINK() [5/5]

sd::View::DECL_DLLPRIVATE_LINK ( OnParagraphRemovingHdl  ,
::Outliner::ParagraphHdlParam  ,
void   
)
protected

◆ DoConnect()

void sd::View::DoConnect ( SdrOle2Obj pOleObj)
overridevirtual

◆ DoCopy()

void sd::View::DoCopy ( )

◆ DoCut()

void sd::View::DoCut ( )

◆ DoPaste()

void sd::View::DoPaste ( ::sd::Window pWindow = nullptr)

◆ DragFinished()

void sd::View::DragFinished ( sal_Int8  nDropAction)
virtual

◆ ExecuteDrop()

sal_Int8 sd::View::ExecuteDrop ( const ExecuteDropEvent rEvt,
::sd::Window pTargetWindow,
sal_uInt16  nPage,
SdrLayerID  nLayer 
)
virtual

Reimplemented in sd::OutlineView.

Definition at line 609 of file sdview2.cxx.

References SfxUndoManager::AddUndoAction(), COL_BLACK(), tools::Rectangle::Contains(), DND_ACTION_NONE, SdrPaintView::GetActiveLayer(), SdDrawDocument::GetAnimationInfo(), TransferableDataHelper::GetAny(), SdAnimationInfo::GetBookmark(), INetBookmark::GetDescription(), SdrMarkView::GetDragMode(), SdPageObjsTLV::SdPageObjsTransferable::GetDragType(), SdrHdlList::GetHdl(), SdrHdlList::GetHdlCount(), SdrMarkView::GetHdlList(), SdrPaintView::getHitTolLog(), SdPageObjsTLV::SdPageObjsTransferable::getImplementation(), TransferableDataHelper::GetINetBookmark(), SdrHdl::GetKind(), SdrObject::GetLogicRect(), SdrMarkView::GetMarkedObjectCount(), SdrMark::GetMarkedSdrObj(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SfxShell::GetName(), OutlinerView::GetOutputArea(), SdrHdl::getOverlayObjectList(), SdrMarkView::GetSdrMarkByIndex(), SdrPaintView::GetSdrPageView(), SdDrawDocument::GetShapeUserData(), SdrObjEditView::GetTextEditOutlinerView(), sd::DrawDocShell::GetUndoManager(), INetBookmark::GetURL(), OutlinerView::GetWindow(), TransferableDataHelper::GetXTransferable(), TransferableDataHelper::HasFormat(), ImplClearDrawDropMarker(), InsertData(), sdr::overlay::OverlayObjectList::isHitPixel(), SdrPageView::IsLayerLocked(), LINK, SdAnimationInfo::maDimColor, ExecuteDropEvent::maDropEvent, map, ExecuteDropEvent::maPosPixel, SdAnimationInfo::maSoundFile, SdAnimationInfo::mbActive, SdAnimationInfo::mbDimHide, SdAnimationInfo::mbDimPrevious, SdAnimationInfo::mbPlayFull, SdAnimationInfo::mbSecondPlayFull, SdAnimationInfo::mbSecondSoundOn, SdAnimationInfo::mbSoundOn, SdAnimationInfo::meClickAction, SdAnimationInfo::meEffect, SdAnimationInfo::meSecondEffect, SdAnimationInfo::meSecondSpeed, SdAnimationInfo::meSpeed, SdAnimationInfo::meTextEffect, ExecuteDropEvent::mnAction, SdAnimationInfo::mnVerb, mpDocSh, mpDropMarker, mpDropMarkerObj, mpViewSh, mrDoc, n, NAVIGATOR_DRAGTYPE_EMBEDDED, NAVIGATOR_DRAGTYPE_LINK, nIndex, SdrMarkView::PickObj(), vcl::Window::PixelToLogic(), Application::PostUserEvent(), props, SdResId(), SdAnimationInfo::SetBookmark(), SdDrawDocument::SetChanged(), and tools::Rectangle::Union().

Referenced by sd::ViewShell::ExecuteDrop().

◆ GetAttributes()

void sd::View::GetAttributes ( SfxItemSet rTargetSet,
bool  bOnlyHardAttr = false 
) const
virtual

◆ GetAuthor()

const OUString & sd::View::GetAuthor ( ) const
inline

Definition at line 251 of file View.hxx.

◆ GetContext()

SdrViewContext sd::View::GetContext ( ) const
overridevirtual

Reimplemented from SdrView.

Definition at line 1127 of file sdview.cxx.

References SdrView::GetContext(), sd::SmartTagSet::getContext(), and maSmartTags.

◆ GetDoc()

SdDrawDocument & sd::View::GetDoc ( ) const
inline

◆ GetDocSh()

DrawDocShell * sd::View::GetDocSh ( ) const
inline

◆ GetEmptyPresentationObject()

SdrObject * sd::View::GetEmptyPresentationObject ( PresObjKind  eKind)

◆ GetExchangeList()

bool sd::View::GetExchangeList ( std::vector< OUString > &  rExchangeList,
std::vector< OUString > &  rBookmarkList,
const sal_uInt16  nType 
)

return parameter: pExchangeList == NULL -> all names are unique bNameOK == false -> cancel by user nType == 0 -> pages nType == 1 -> objects nType == 2 -> pages and objects

< Bookmark list and exchange list are identical

< name is unique

Definition at line 852 of file sdview2.cxx.

References sd::DrawDocShell::CheckPageName(), VclPtr< class reference_type >::clear(), SvxAbstractDialogFactory::Create(), SvxAbstractDialogFactory::CreateSvxNameDialog(), sd::ViewShell::GetFrameWeld(), SdDrawDocument::GetObj(), HID_SD_NAMEDIALOG_OBJECT, mpDocSh, mpViewSh, mrDoc, nType, RET_OK, and SdResId().

Referenced by sd::FuInsertFile::InsSDDinDrMode().

◆ GetMarkablePointCount()

sal_Int32 sd::View::GetMarkablePointCount ( ) const
overridevirtual

◆ GetPage()

SdPage * sd::View::GetPage ( )

◆ getSearchContext()

SearchContext & sd::View::getSearchContext ( )
inline

◆ GetSelectedSingleObject()

SdrObject * sd::View::GetSelectedSingleObject ( SdPage const *  pPage)

◆ GetSfxViewShell()

SfxViewShell * sd::View::GetSfxViewShell ( ) const
overridevirtual

Reimplemented from SdrMarkView.

Definition at line 639 of file sdview.cxx.

References sd::ViewShell::GetViewShellBase(), and mpViewSh.

◆ getSmartTags()

SmartTagSet & sd::View::getSmartTags ( )
inline

◆ GetStyleSheet()

SfxStyleSheet * sd::View::GetStyleSheet ( ) const
virtual
Returns
StyleSheet from selection

Reimplemented in sd::OutlineView.

Definition at line 634 of file sdview4.cxx.

References SdrCreateView::GetStyleSheet().

Referenced by sd::FuTemplate::DoExecute().

◆ GetViewShell()

ViewShell * sd::View::GetViewShell ( ) const
inline

◆ HasMarkablePoints()

bool sd::View::HasMarkablePoints ( ) const
overridevirtual

◆ HasMarkedPoints()

bool sd::View::HasMarkedPoints ( ) const
overridevirtual

Reimplemented from SdrMarkView.

Definition at line 1151 of file sdview.cxx.

References SdrMarkView::HasMarkedPoints(), sd::SmartTagSet::HasMarkedPoints(), and maSmartTags.

◆ ImplClearDrawDropMarker()

void sd::View::ImplClearDrawDropMarker ( )
protected

Definition at line 136 of file sdview.cxx.

References mpDropMarker.

Referenced by AcceptDrop(), ExecuteDrop(), and ~View().

◆ InsertData()

bool sd::View::InsertData ( const TransferableDataHelper rDataHelper,
const Point rPos,
sal_Int8 rDnDAction,
bool  bDrag,
SotClipboardFormatId  nFormat = SotClipboardFormatId::NONE,
sal_uInt16  nPage = SDRPAGE_NOTFOUND,
SdrLayerID  nLayer = SDRLAYER_NOTFOUND 
)

Definition at line 254 of file sdview3.cxx.

References a, SdrEditView::AddUndo(), Point::AdjustX(), Point::AdjustY(), SdDrawDocument::AllocPage(), aName, aStr, SdrEditView::BegUndo(), CHECK_FORMAT_TRANS, SfxClassificationHelper::CheckPaste(), tools::SvRef< typename T >::clear(), SfxItemSet::ClearItem(), SdrObject::CloneSdrObject(), COL_BLACK(), tools::Rectangle::Contains(), FileList::Count(), FmFormView::CreateFieldControl(), E3dView::CreateMarkedObjModel(), SfxObjectShell::CreateShellID(), SdrUndoFactory::CreateUndoAttrObject(), SdrUndoFactory::CreateUndoDeleteObject(), SdrUndoFactory::CreateUndoNewObject(), SdDrawDocument::CreatingDataObj(), SdDrawDocument::DeletePage(), DND_ACTION_COPY, DND_ACTION_LINK, DND_ACTION_MOVE, DragFinished(), DynCastE3dObject(), SdrEditView::EndUndo(), SdrGluePointList::FindGluePoint(), SdrMarkList::ForceSort(), SdrGluePoint::GetAbsolutePos(), SdrPaintView::GetActiveLayer(), sd::ViewShell::GetActiveWindow(), SdrObjList::GetAllObjBoundRect(), TransferableDataHelper::GetAny(), Graphic::GetBitmapEx(), TransferableDataHelper::GetBitmapEx(), SdrEdgeObj::GetConnection(), SdrObjConnection::GetConnectorId(), SdrObject::GetCurrentBoundRect(), SfxObjectShell::getDocProperties(), SdDrawDocument::GetDocSh(), SdTransferable::GetDocShell(), SdDrawDocument::GetDocumentType(), SfxObjectShell::GetEmbeddedObjectContainer(), FileList::GetFile(), TransferableDataHelper::GetFileList(), SotExchange::GetFormatDataFlavor(), SdrObject::GetGluePointList(), SdrGrafObj::GetGraphic(), TransferableDataHelper::GetGraphic(), SfxObjectShell::GetHeaderAttributes(), SdrPaintView::getHitTolLog(), SdTransferable::getImplementation(), TransferableDataHelper::GetInputStream(), SfxViewShell::GetIPClient(), SdrObject::GetLayer(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdPage::GetLayoutName(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrModel::GetMaxObjSize(), SdrObject::GetMergedItemSet(), SdrPaintView::GetModel(), SdrLayer::GetName(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObjConnection::GetObject(), SdrObject::GetOrdNum(), OutlinerView::GetOutputArea(), SdrPageView::GetPage(), SdrModel::GetPage(), SdrModel::GetPageCount(), SdPage::GetPageKind(), SdrPage::GetPageNum(), SdrObject::getParentSdrObjectFromSdrObject(), SdDrawDocument::GetPool(), Graphic::GetPrefMapMode(), BitmapEx::GetPrefSize(), Graphic::GetPrefSize(), SdDrawDocument::GetSdPage(), SdrMarkView::GetSdrMarkByIndex(), SdrPage::getSdrModelFromSdrPage(), SdrPaintView::getSdrModelFromSdrView(), SdrPaintView::GetSdrPageView(), SdrModel::GetSdrUndoFactory(), tools::Rectangle::GetSize(), svt::EmbeddedObjectRef::GetSize(), TransferableDataHelper::GetSotStorageStream(), SdTransferable::GetStartPos(), comphelper::OStorageHelper::GetStorageFromInputStream(), TransferableDataHelper::GetString(), comphelper::OStorageHelper::GetTemporaryStorage(), SdrObjEditView::GetTextEditOutlinerView(), TransferableDataHelper::GetTransferable(), TransferableDataHelper::GetTransferableObjectDescriptor(), SdTransferable::GetView(), SfxShell::GetViewShell(), SdrPageView::GetVisibleLayers(), OutlinerView::GetWindow(), SdrDragView::GetWorkArea(), SdTransferable::GetWorkDocument(), TransferableDataHelper::HasFormat(), Size::Height(), sd::FuPoor::HITPIX, i, sd::ImpCheckInsertPos(), sd::ImpGetClone(), vcl::ImportPDF(), Impress, comphelper::EmbeddedObjectContainer::InsertEmbeddedObject(), InsertGraphic(), InsertMetaFile(), SdrObjList::InsertObject(), FmFormPage::InsertObject(), SdrEditView::InsertObjectAtView(), SdrObjList::InsertObjectThenMakeNameUnique(), SdDrawDocument::InsertPage(), OutlinerView::InsertText(), tools::SvRef< typename T >::is(), SdrObject::IsClosedObj(), BitmapEx::IsEmpty(), SdrObject::IsGroupObject(), SdrPageView::IsLayerLocked(), SfxInPlaceClient::IsObjectInPlaceActive(), SdTransferable::IsPageTransferable(), IsPresObjSelected(), SdrObjEditView::IsTextEdit(), SdrEditView::IsUndoEnabled(), OutputDevice::LogicToLogic(), TransferableObjectDescriptor::maClassName, maDropErrorIdle, maDropFileVector, maDropInsertFileIdle, maDropPos, map, MarkListHasChanged(), TransferableObjectDescriptor::maSize, mbIsDropAllowed, mnAction, mnDragSrcPgNum, TransferableObjectDescriptor::mnViewAspect, SdrEditView::MoveAllMarked(), mpClipboard, mpDocSh, mpDragSrcMarkList, mpViewSh, mrDoc, nCount, nPos, SdrExchangeView::Paste(), E3dView::Paste(), PasteRTFTable(), SdrMarkView::PickObj(), vcl::Window::PixelToLogic(), props, SfxItemSet::Put(), XFillStyleItem::PutValue(), OutlinerView::Read(), TypeSerializer::readGraphic(), SdrObjList::RemoveObject(), SD_LT_SEPARATOR, SD_MOD, SDRATTR_CORNER_RADIUS(), SdResId(), SDRGLUEPOINT_NOTFOUND, SDRLAYER_NOTFOUND(), SdrObjectPrimitiveHit(), SDRPAGE_NOTFOUND, Graphic::SetGfxLink(), svt::EmbeddedObjectRef::SetGraphic(), Size::setHeight(), SdTransferable::SetInternalMove(), SdrObject::SetLayer(), SdrObject::SetMergedItemSetAndBroadcast(), tools::Rectangle::SetPos(), SdPage::SetPresentationLayout(), SdrObjList::SetSdrObjListRectsDirty(), Size::setWidth(), Point::setX(), Point::setY(), SfxClassificationHelper::ShowPasteInfo(), SdrMarkView::SortMarkedObjects(), Standard, Idle::Start(), SvxDrawingLayerImport(), SdrMarkList::TakeBoundRect(), tools::Rectangle::TopLeft(), svt::EmbeddedObjectRef::TryRunningState(), VCLUnoHelper::UnoEmbed2VCLMapUnit(), Size::Width(), x, Point::X(), and Point::Y().

Referenced by sd::FuInsertClipboard::DoExecute(), DoPaste(), sd::FuPoor::DoPasteUnformatted(), and ExecuteDrop().

◆ InsertGraphic()

SdrGrafObj * sd::View::InsertGraphic ( const Graphic rGraphic,
sal_Int8 rAction,
const Point rPos,
SdrObject pObj,
ImageMap const *  pImageMap 
)

If an empty graphic object is provided, we fill it.

Otherwise we fill an existing object at the specified position. If there is no object at the position, we create a new object and return a pointer to it.

Definition at line 78 of file sdview4.cxx.

References SdrEditView::AddUndo(), Size::AdjustHeight(), Size::AdjustWidth(), SdrEditView::BegUndo(), SdrObject::Clone(), tools::Rectangle::Contains(), o3tl::convert(), SdrUndoFactory::CreateUndoDeleteObject(), SdrUndoFactory::CreateUndoNewObject(), DND_ACTION_COPY, DND_ACTION_LINK, DND_ACTION_MOVE, SdrEditView::EndUndo(), sd::ViewShell::GetActiveWindow(), SdrObject::GetCurrentBoundRect(), Application::GetDefaultDevice(), OutputDevice::GetDPIX(), Graphic::GetGfxLink(), SdrPaintView::getHitTolLog(), SdDrawDocument::getImagePreferredDPI(), SfxViewShell::GetIPClient(), SdrObject::GetLayer(), SdrPage::GetLeftBorder(), SdrObject::GetLogicRect(), SdrPage::GetLowerBorder(), MapMode::GetMapUnit(), SdrPaintView::GetModel(), SdrObject::GetOrdNum(), vcl::Window::GetOutDev(), SdrPageView::GetPage(), SdrPageView::GetPageRect(), SfxShell::GetPool(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), SdrPage::GetRightBorder(), SdrObject::getSdrModelFromSdrObject(), SdrPaintView::getSdrModelFromSdrView(), SdrObject::getSdrPageFromSdrObject(), SdrPaintView::GetSdrPageView(), SdrModel::GetSdrUndoFactory(), SdrPage::GetSize(), tools::Rectangle::GetSize(), Graphic::GetSizePixel(), GfxLink::GetType(), SdrPage::GetUpperBorder(), SdrObject::GetUserCall(), SfxShell::GetViewShell(), Graphic, Size::Height(), o3tl::in, SdrObjList::InsertObject(), SdrEditView::InsertObjectAtView(), SdPage::InsertPresObj(), SdrObject::IsClosedObj(), SdrObject::IsEmptyPresObj(), SdrPage::IsMasterPage(), SfxInPlaceClient::IsObjectInPlaceActive(), SdPage::IsPresObj(), SdrEditView::IsUndoEnabled(), OutputDevice::LogicToLogic(), o3tl::mm100, mnAction, mpDocSh, mpViewSh, mrDoc, vcl::PDF_INSERT_MAGIC_SCALE_FACTOR, SdrMarkView::PickObj(), OutputDevice::PixelToLogic(), SfxItemSet::Put(), SdrObjList::RemoveObject(), SdrEditView::ReplaceObjectAtView(), SdrEndTextEdit(), SdResId(), SdrPaintView::SdrGrafObj, SdrObject::SetMergedItemSetAndBroadcast(), tools::Rectangle::TopLeft(), Size::Width(), Point::X(), and Point::Y().

Referenced by sd::FuInsertGraphic::DoExecute(), InsertData(), and InsertMetaFile().

◆ InsertMediaObj()

SdrMediaObj * sd::View::InsertMediaObj ( const OUString &  rURL,
sal_Int8 rAction,
const Point rPos,
const Size rSize 
)

◆ InsertMediaURL()

void sd::View::InsertMediaURL ( const OUString &  rMediaURL,
sal_Int8 rAction,
const Point rPos,
const Size rSize,
bool const  bLink 
)

Definition at line 301 of file sdview4.cxx.

References GetDoc(), SdrPaintView::GetModel(), InsertMediaObj(), and xModel.

◆ InsertMetaFile()

bool sd::View::InsertMetaFile ( const TransferableDataHelper rDataHelper,
const Point rInsertPos,
ImageMap const *  pImageMap,
bool  bOptimize 
)

gets the metafile from the given transferable helper and insert it as a graphic shape.

Parameters
bOptimizeif set to true, the metafile is analyzed and if only one bitmap action is present, then is inserted as a single graphic.

Definition at line 143 of file sdview3.cxx.

References GDIMetaFile::FirstAction(), MetaBmpAction::GetBitmap(), MetaBmpScaleAction::GetBitmap(), MetaBmpExAction::GetBitmapEx(), MetaBmpExScaleAction::GetBitmapEx(), TransferableDataHelper::GetGDIMetaFile(), GDIMetaFile::GetPrefMapMode(), GDIMetaFile::GetPrefSize(), Graphic::GetSizePixel(), Graphic::GetType(), MetaAction::GetType(), SdrDragView::GetWorkArea(), sd::ImpCheckInsertPos(), InsertGraphic(), mnAction, GDIMetaFile::NextAction(), Graphic::SetPrefMapMode(), and Graphic::SetPrefSize().

Referenced by InsertData().

◆ IsMorphingAllowed()

bool sd::View::IsMorphingAllowed ( ) const

◆ IsPresObjSelected()

bool sd::View::IsPresObjSelected ( bool  bOnPage = true,
bool  bOnMasterPage = true,
bool  bCheckPresObjListOnly = false,
bool  bCheckLayoutOnly = false 
) const

◆ isRecordingUndo()

bool sd::View::isRecordingUndo ( ) const

returns true if we have an undo manager and there is an open list undo action

Definition at line 1104 of file sdview.cxx.

References SdDrawDocument::GetUndoManager(), SdrModel::IsUndoEnabled(), and mrDoc.

Referenced by sd::OutlineView::InsertSlideForParagraph().

◆ IsVectorizeAllowed()

bool sd::View::IsVectorizeAllowed ( ) const

◆ MarkListHasChanged()

void sd::View::MarkListHasChanged ( )
overridevirtual

◆ MarkPoint()

bool sd::View::MarkPoint ( SdrHdl rHdl,
bool  bUnmark = false 
)
overridevirtual

◆ MarkPoints() [1/2]

bool sd::View::MarkPoints ( const ::tools::Rectangle pRect,
bool  bUnmark 
)
overridevirtual

◆ MarkPoints() [2/2]

virtual bool SdrMarkView::MarkPoints ( const tools::Rectangle pRect,
bool  bUnmark 
)
virtual

Reimplemented from SdrMarkView.

◆ onAccessibilityOptionsChanged()

void sd::View::onAccessibilityOptionsChanged ( )
overridevirtual

◆ OnBeginPasteOrDrop()

void sd::View::OnBeginPasteOrDrop ( PasteOrDropInfos pInfo)
overrideprotectedvirtual

Reimplemented from SdrObjEditView.

Reimplemented in sd::OutlineView.

Definition at line 1181 of file sdview.cxx.

References SdrObjEditView::GetTextEditOutliner(), and PasteOrDropInfos::nStartPara.

◆ OnEndPasteOrDrop()

void sd::View::OnEndPasteOrDrop ( PasteOrDropInfos pInfo)
overrideprotectedvirtual

this is called after a paste or drop operation, make sure that the newly inserted paragraphs get the correct style sheet.

Reimplemented from SdrObjEditView.

Reimplemented in sd::OutlineView.

Definition at line 1196 of file sdview.cxx.

References SdPage::GetPresObjKind(), SdrObject::getSdrPageFromSdrObject(), SdrObject::GetStyleSheet(), SdPage::GetStyleSheetForPresObj(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutliner(), NONE, PasteOrDropInfos::nStartPara, and Outline.

◆ PasteRTFTable()

bool sd::View::PasteRTFTable ( const ::tools::SvRef< SotTempStream > &  xStm,
SdrPage pPage,
SdrInsertFlags  nPasteOptions 
)

◆ RestoreDefaultText()

bool sd::View::RestoreDefaultText ( SdrTextObj pTextObj)

restores the default text if the given text object is currently in edit mode and no text has been entered already.

Is only useful just before text edit ends.

Definition at line 828 of file sdview.cxx.

References SdrTextObj::GetOutlinerParaObject(), SdrObject::getSdrPageFromSdrObject(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutliner(), SdrTextObj::HasText(), SdPage::RestoreDefaultText(), and SdrTextObj::SetTextEditOutliner().

Referenced by SdrEndTextEdit(), and sd::FuText::SetInEditMode().

◆ SdrBeginTextEdit()

bool sd::View::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 
)
overridevirtual

◆ SdrEndTextEdit()

SdrEndTextEditKind sd::View::SdrEndTextEdit ( bool  bDontDeleteReally = false)
overridevirtual

ends current text editing

Reimplemented from SdrObjEditView.

Definition at line 772 of file sdview.cxx.

References sd::OutlinerMasterViewFilter::End(), EndTextEdit, sd::DrawController::FireSelectionChangeListener(), sd::ViewShellBase::GetDrawController(), sd::ViewShellBase::GetEventMultiplexer(), SdrObject::getSdrPageFromSdrObject(), SdrObjEditView::GetTextEditObject(), GetViewShell(), sd::ViewShell::GetViewShellBase(), SdrTextObj::HasText(), comphelper::LibreOfficeKit::isActive(), SdrObject::IsEmptyPresObj(), SdrPage::IsMasterPage(), maMasterViewFilter, mpViewSh, SfxLokHelper::notifyOtherViews(), SdPage::onEndTextEdit(), RestoreDefaultText(), SdrObjEditView::SdrEndTextEdit(), and SdrObject::SetEmptyPresObj().

Referenced by sd::ViewShell::ActivateObject(), sd::AnimationWindow::AddObj(), SdModule::ApplyItemSet(), sd::FuDraw::cancel(), sd::FuText::cancel(), sd::FuText::ChangeFontSize(), sd::DrawDocShell::ClearUndoBuffer(), sd::DrawDocShell::ConvertTo(), sd::ViewShellManager::Implementation::Deactivate(), SdOutliner::DetectChange(), sd::FuText::disposing(), sd::FuExpandPage::DoExecute(), sd::FuInsertOLE::DoExecute(), sd::FuNavigation::DoExecute(), sd::FuPage::DoExecute(), sd::FuPresentationLayout::DoExecute(), SdOutliner::EndSpelling(), SdOutliner::EnterEditMode(), sd::TextObjectBar::Execute(), sd::ViewShell::Exit(), sd::DrawViewShell::FuTemporary(), InsertGraphic(), InsertMediaObj(), sd::InsertTableImpl(), sd::FuPoor::KeyInput(), sd::DrawViewShell::KeyInput(), sd::FuText::MouseButtonDown(), sd::FuText::MouseButtonUp(), SdOutliner::ProvideNextTextObject(), sd::slidesorter::controller::SlotManager::RenameSlide(), SdXImpressDocument::render(), sd::SdUnoDrawView::setCurrentPage(), sd::FuText::SetInEditMode(), sd::DrawDocShell::SetPrinter(), StartDrag(), sd::LayerTabBar::StartRenaming(), sd::TabControl::StartRenaming(), and sd::SlideShow::startWithArguments().

◆ SelectAll()

void sd::View::SelectAll ( )

◆ SetAttributes()

bool sd::View::SetAttributes ( const SfxItemSet rSet,
bool  bReplaceAll = false,
bool  bSlide = false,
bool  bMaster = false 
)
virtual

◆ SetAuthor()

void sd::View::SetAuthor ( const OUString &  rAuthor)
inline

Definition at line 250 of file View.hxx.

◆ SetMarkedOriginalSize()

void sd::View::SetMarkedOriginalSize ( )

◆ SetMoveAllowed()

void sd::View::SetMoveAllowed ( bool  bSet)
inline

Definition at line 241 of file View.hxx.

Referenced by sd::MotionPathTag::CheckPossibilities().

◆ SetMoveProtected()

void sd::View::SetMoveProtected ( bool  bSet)
inline

Definition at line 242 of file View.hxx.

Referenced by sd::MotionPathTag::CheckPossibilities().

◆ SetPossibilitiesDirty()

void sd::View::SetPossibilitiesDirty ( )
inline

Definition at line 240 of file View.hxx.

Referenced by sd::SmartTagSet::deselect(), and sd::SmartTagSet::select().

◆ SetResizeFreeAllowed()

void sd::View::SetResizeFreeAllowed ( bool  bSet)
inline

Definition at line 243 of file View.hxx.

Referenced by sd::MotionPathTag::CheckPossibilities().

◆ SetResizePropAllowed()

void sd::View::SetResizePropAllowed ( bool  bSet)
inline

Definition at line 244 of file View.hxx.

Referenced by sd::MotionPathTag::CheckPossibilities().

◆ SetResizeProtected()

void sd::View::SetResizeProtected ( bool  bSet)
inline

Definition at line 245 of file View.hxx.

Referenced by sd::MotionPathTag::CheckPossibilities().

◆ SetStyleSheet()

bool sd::View::SetStyleSheet ( SfxStyleSheet pStyleSheet,
bool  bDontRemoveHardAttr = false 
)
virtual

Reimplemented in sd::DrawView.

Definition at line 601 of file sdview.cxx.

References SdrCreateView::SetStyleSheet().

Referenced by sd::FuTemplate::DoExecute(), and sd::DrawView::SetStyleSheet().

◆ ShouldToggleOn()

bool sd::View::ShouldToggleOn ( const bool  bBulletOnOffMode,
const bool  bNormalBullet 
)

◆ StartDrag()

void sd::View::StartDrag ( const Point rStartPos,
vcl::Window pWindow 
)

◆ updateHandles()

void sd::View::updateHandles ( )

◆ UpdateSelectionClipboard()

void sd::View::UpdateSelectionClipboard ( )

Member Data Documentation

◆ m_sAuthor

OUString sd::View::m_sAuthor
private

Definition at line 290 of file View.hxx.

◆ maDropErrorIdle

Idle sd::View::maDropErrorIdle
protected

Definition at line 271 of file View.hxx.

Referenced by InsertData(), View(), and ~View().

◆ maDropFileVector

::std::vector<OUString> sd::View::maDropFileVector
protected

Definition at line 269 of file View.hxx.

Referenced by InsertData().

◆ maDropInsertFileIdle

Idle sd::View::maDropInsertFileIdle
protected

Definition at line 272 of file View.hxx.

Referenced by InsertData(), View(), and ~View().

◆ maDropPos

Point sd::View::maDropPos
protected

Definition at line 268 of file View.hxx.

Referenced by InsertData(), and PasteRTFTable().

◆ maMasterViewFilter

OutlinerMasterViewFilter sd::View::maMasterViewFilter
private

Definition at line 287 of file View.hxx.

Referenced by SdrBeginTextEdit(), and SdrEndTextEdit().

◆ maSearchContext

SearchContext sd::View::maSearchContext
private

Definition at line 288 of file View.hxx.

◆ maSmartTags

SmartTagSet sd::View::maSmartTags
protected

◆ mbIsDropAllowed

bool sd::View::mbIsDropAllowed
protected

Definition at line 275 of file View.hxx.

Referenced by AcceptDrop(), and InsertData().

◆ mnAction

sal_Int8 sd::View::mnAction
protected

Definition at line 270 of file View.hxx.

Referenced by InsertData(), InsertGraphic(), InsertMediaObj(), and InsertMetaFile().

◆ mnDragSrcPgNum

sal_uInt16 sd::View::mnDragSrcPgNum
protected

Definition at line 267 of file View.hxx.

Referenced by DragFinished(), InsertData(), IsPresObjSelected(), and StartDrag().

◆ mnLockRedrawSmph

sal_uInt16 sd::View::mnLockRedrawSmph
protected

◆ mpClipboard

::std::unique_ptr<ViewClipboard> sd::View::mpClipboard
private

Definition at line 286 of file View.hxx.

Referenced by InsertData().

◆ mpDocSh

DrawDocShell* sd::View::mpDocSh
protected

◆ mpDragSrcMarkList

std::unique_ptr<SdrMarkList> sd::View::mpDragSrcMarkList
protected

Definition at line 264 of file View.hxx.

Referenced by DragFinished(), InsertData(), IsPresObjSelected(), and StartDrag().

◆ mpDropMarker

std::unique_ptr<SdrDropMarkerOverlay> sd::View::mpDropMarker
protected

Definition at line 266 of file View.hxx.

Referenced by AcceptDrop(), ExecuteDrop(), and ImplClearDrawDropMarker().

◆ mpDropMarkerObj

SdrObject* sd::View::mpDropMarkerObj
protected

Definition at line 265 of file View.hxx.

Referenced by AcceptDrop(), and ExecuteDrop().

◆ mpViewSh

ViewShell* sd::View::mpViewSh
protected

◆ mrDoc

SdDrawDocument& sd::View::mrDoc
protected

◆ mxDropMediaSizeListener

rtl::Reference<avmedia::PlayerListener> sd::View::mxDropMediaSizeListener
protected

Definition at line 273 of file View.hxx.

Referenced by ~View().


The documentation for this class was generated from the following files: