LibreOffice Module sd (master) 1
|
Derivative of sd::View for the outline mode |* . More...
#include <OutlineView.hxx>
Public Member Functions | |
OutlineView (DrawDocShell &rDocSh, vcl::Window *pWindow, OutlineViewShell &rOutlineViewSh) | |
virtual | ~OutlineView () override |
Destructor, restore Links, clear Outliner. More... | |
void | ConnectToApplication () |
This method is called by the view shell that owns the view to tell the view that it can safely connect to the application. More... | |
void | DisconnectFromApplication () |
virtual void | AddDeviceToPaintView (OutputDevice &rDev, vcl::Window *pWindow) override |
virtual void | DeleteDeviceFromPaintView (OutputDevice &rDev) override |
OutlinerView * | GetViewByWindow (vcl::Window const *pWin) const |
Return a pointer to the OutlinerView corresponding to the window. More... | |
SdrOutliner & | GetOutliner () |
Paragraph * | GetPrevTitle (const Paragraph *pPara) |
Return the title before a random paragraph. More... | |
Paragraph * | GetNextTitle (const Paragraph *pPara) |
Return the title after a random paragraph. More... | |
SdPage * | GetActualPage () |
returns the first slide that is selected in the outliner or where the cursor is located More... | |
SdPage * | GetPageForParagraph (Paragraph *pPara) |
Paragraph * | GetParagraphForPage (::Outliner const &rOutl, SdPage const *pPage) |
void | SetActualPage (SdPage const *pActual) |
selects the paragraph for the given page at the outliner view More... | |
void | Paint (const ::tools::Rectangle &rRect, ::sd::Window const *pWin) |
DECL_LINK (ParagraphInsertedHdl, ::Outliner::ParagraphHdlParam, void) | |
DECL_LINK (ParagraphRemovingHdl, ::Outliner::ParagraphHdlParam, void) | |
DECL_LINK (DepthChangedHdl, ::Outliner::DepthChangeHdlParam, void) | |
DECL_LINK (StatusEventHdl, EditStatus &, void) | |
DECL_LINK (BeginMovingHdl, ::Outliner *, void) | |
DECL_LINK (EndMovingHdl, ::Outliner *, void) | |
DECL_LINK (RemovingPagesHdl, OutlinerView *, bool) | |
DECL_LINK (IndentingPagesHdl, OutlinerView *, bool) | |
DECL_LINK (BeginDropHdl, EditView *, void) | |
DECL_LINK (EndDropHdl, EditView *, void) | |
DECL_LINK (PaintingFirstLineHdl, PaintFirstLineInfo *, void) | |
sal_uLong | GetPaperWidth () const |
void | PrepareClose () |
updates draw model with all changes from outliner model More... | |
virtual void | GetAttributes (SfxItemSet &rTargetSet, bool bOnlyHardAttr=false) const override |
Get attributes of the selected text. More... | |
virtual bool | SetAttributes (const SfxItemSet &rSet, bool bReplaceAll=false, bool bSlide=false, bool bMaster=false) override |
Set attributes of the selected text. More... | |
void | FillOutliner () |
creates outliner model from draw model More... | |
void | SetLinks () |
Set new links. More... | |
void | ResetLinks () const |
Restore old links. More... | |
SfxStyleSheet * | GetStyleSheet () const override |
Get StyleSheet from the selection. More... | |
void | SetSelectedPages () |
Mark pages as selected / not selected. More... | |
virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt, DropTargetHelper &rTargetHelper, SdrLayerID nLayer) override |
virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt, ::sd::Window *pTargetWindow, sal_uInt16 nPage, SdrLayerID nLayer) override |
virtual SvtScriptType | GetScriptType () const override |
void | IgnoreCurrentPageChanges (bool bIgnore) |
After this method has been called with <TRUE> following changes of the current page are ignored in that the corresponding text is not selected. More... | |
SdPage * | InsertSlideForParagraph (Paragraph *pPara) |
creates and inserts an empty slide for the given paragraph. More... | |
void | UpdateParagraph (sal_Int32 nPara) |
Public Member Functions inherited from sd::View | |
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 () |
DrawDocShell * | GetDocSh () const |
SdDrawDocument & | GetDoc () const |
ViewShell * | GetViewShell () const |
SfxViewShell * | GetSfxViewShell () const override |
std::unique_ptr< SdrUndoManager > | createLocalTextUndoManager () 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... | |
SdrGrafObj * | InsertGraphic (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) |
SdrMediaObj * | InsertMediaObj (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 SfxStyleSheet * | GetStyleSheet () 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 |
SmartTagSet & | getSmartTags () |
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) |
SdrObject * | GetEmptyPresentationObject (PresObjKind eKind) |
SdPage * | GetPage () |
SdrObject * | GetSelectedSingleObject (SdPage const *pPage) |
void | SetAuthor (const OUString &rAuthor) |
const OUString & | GetAuthor () const |
SearchContext & | getSearchContext () |
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< 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 SdrTextObj * | GetTitleTextObject (SdrPage const *pPage) |
Look for the title text object in one page of the model. More... | |
static SdrTextObj * | GetOutlineTextObject (SdrPage const *pPage) |
Look for the outline text object in one page of the model. More... | |
static SdrTextObj * | CreateTitleTextObject (SdPage *pPage) |
static SdrTextObj * | CreateOutlineTextObject (SdPage *pPage) |
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) |
Protected Member Functions | |
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 and new slides are inserted. More... | |
Protected Member Functions inherited from sd::View | |
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< SdrUndoManager > | createLocalTextUndoManager () |
void | ImpMoveCursorAfterChainingEvent (TextChainCursorManager *pCursorManager) |
std::unique_ptr< TextChainCursorManager > | ImpHandleMotionThroughBoxesKeyInput (const KeyEvent &rKEvt, bool *bOutHandled) |
OutlinerView * | ImpFindOutlinerView (vcl::Window const *pWin) const |
OutlinerView * | ImpMakeOutlinerView (vcl::Window *pWin, OutlinerView *pGivenView, SfxViewShell *pViewShell=nullptr) const |
void | ImpPaintOutlinerView (OutlinerView &rOutlView, const tools::Rectangle &rRect, OutputDevice &rTargetDevice) const |
void | ImpInvalidateOutlinerView (OutlinerView const &rOutlView) const |
void | ImpChainingEventHdl () |
DECL_DLLPRIVATE_LINK (ImpAfterCutOrPasteChainingEventHdl, LinkParamNone *, void) | |
bool | ImpIsTextEditAllSelected () const |
void | ImpMakeTextCursorAreaVisible () |
DECL_DLLPRIVATE_LINK (ImpOutlinerStatusEventHdl, EditStatus &, void) | |
DECL_DLLPRIVATE_LINK (ImpOutlinerCalcFieldValueHdl, EditFieldInfo *, void) | |
DECL_DLLPRIVATE_LINK (EndTextEditHdl, SdrUndoManager *, void) | |
void | ImpMacroUp (const Point &rUpPos) |
void | ImpMacroDown (const Point &rDownPos) |
DECL_LINK (BeginPasteOrDropHdl, PasteOrDropInfos *, void) | |
DECL_LINK (EndPasteOrDropHdl, PasteOrDropInfos *, void) | |
SdrObjEditView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrObjEditView () override |
virtual void | OnBeginPasteOrDrop (PasteOrDropInfos *pInfo) |
virtual void | OnEndPasteOrDrop (PasteOrDropInfos *pInfo) |
Protected Member Functions inherited from SdrGlueEditView | |
SdrGlueEditView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrGlueEditView () override |
Protected Member Functions inherited from SdrPolyEditView | |
SdrPolyEditView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrPolyEditView () override |
Protected Member Functions inherited from SdrEditView | |
void | ImpBroadcastEdgesOfMarkedNodes () |
void | ImpConvertTo (bool bPath, bool bLineToArea) |
rtl::Reference< SdrObject > | ImpConvertOneObj (SdrObject *pObj, bool bPath, bool bLineToArea) |
void | ImpCheckToTopBtmPossible () |
void | ImpCopyAttributes (const SdrObject *pSource, SdrObject *pDest) const |
void | ImpDismantleOneObject (const SdrObject *pObj, SdrObjList &rOL, size_t &rPos, SdrPageView *pPV, bool bMakeLines) |
bool | ImpDelLayerCheck (SdrObjList const *pOL, SdrLayerID nDelID) const |
void | ImpDelLayerDelObjs (SdrObjList *pOL, SdrLayerID nDelID) |
std::vector< rtl::Reference< SdrObject > > | DeleteMarkedList (SdrMarkList const &rMark) |
virtual void | CheckPossibilities () |
void | ForcePossibilities () const |
SdrEditView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrEditView () override |
Protected Member Functions inherited from SdrMarkView | |
bool | getPossibleGridOffsetForSdrObject (basegfx::B2DVector &rOffset, const SdrObject *pObj, const SdrPageView *pPV) const |
bool | getPossibleGridOffsetForPosition (basegfx::B2DVector &rOffset, const basegfx::B2DPoint &rPoint, const SdrPageView *pPV) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void | ModelHasChanged () override |
virtual void | SetMarkHandles (SfxViewShell *pOtherShell) |
void | modelHasChangedLOKit () |
void | SetMarkRects () |
void | CheckMarked () |
void | AddDragModeHdl (SdrDragMode eMode) |
virtual bool | MouseMove (const MouseEvent &rMEvt, OutputDevice *pWin) override |
virtual bool | RequestHelp (const HelpEvent &rHEvt) override |
virtual void | AddCustomHdl () |
void | ForceRefToMarked () |
void | ForceUndirtyMrkPnt () const |
virtual SdrObject * | CheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObject *pObj, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay) const |
SdrObject * | CheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObjList const *pOL, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay, SdrObject *&rpRootObj) const |
SdrObject * | CheckSingleSdrObjectHit (const Point &rPnt, sal_uInt16 nTol, SdrObjList const *pOL, SdrPageView *pPV, SdrSearchOptions nOptions, const SdrLayerIDSet *pMVisLay, SdrObject *&rpRootObj, const SdrMarkList *pMarkList) const |
bool | ImpIsFrameHandles () const |
OUString | ImpGetDescriptionString (TranslateId pStrCacheID, ImpGetDescriptionOptions nOpt=ImpGetDescriptionOptions::NONE) const |
bool | ImpMarkPoint (SdrHdl *pHdl, SdrMark *pMark, bool bUnmark) |
virtual bool | MarkPoints (const tools::Rectangle *pRect, bool bUnmark) |
bool | MarkGluePoints (const tools::Rectangle *pRect, bool bUnmark) |
void | SetMoveOutside (bool bOn) |
bool | MarkableObjectsExceed (int n) const |
SdrMarkView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrMarkView () override |
SdrMarkList & | GetMarkedObjectListWriteAccess () |
Protected Member Functions inherited from SdrSnapView | |
SdrSnapView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrSnapView () override |
Protected Member Functions inherited from SdrPaintView | |
void | DeletePaintWindow (const SdrPaintWindow &rOld) |
void | ConfigurationChanged (::utl::ConfigurationBroadcaster *, ConfigurationHints) override |
sal_uInt16 | ImpGetMinMovLogic (short nMinMov, const OutputDevice *pOut) const |
sal_uInt16 | ImpGetHitTolLogic (short nHitTol, const OutputDevice *pOut) const |
void | FlushComeBackTimer () const |
void | TheresNewMapMode () |
void | ImpSetGlueVisible2 (bool bOn) |
void | ImpSetGlueVisible3 (bool bOn) |
void | ImpSetGlueVisible4 (bool bOn) |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
void | GlueInvalidate () const |
virtual void | ModelHasChanged () |
SdrPaintView (SdrModel &rSdrModel, OutputDevice *pOut) | |
virtual | ~SdrPaintView () override |
void | ImpFormLayerDrawing (SdrPaintWindow &rPaintWindow) |
Private Member Functions | |
void | BeginModelChange () |
call this method before you do anything that can modify the outliner and or the drawing document model. More... | |
void | EndModelChange () |
call this method after BeginModelChange(), when all possible model changes are done. More... | |
void | TryToMergeUndoActions () |
merge edit engine undo actions if possible More... | |
void | UpdateDocument () |
updates all changes in the outliner model to the draw model More... | |
void | onUpdateStyleSettings (bool bForceUpdate) |
updates the high contrast settings and document color if they changed. More... | |
DECL_LINK (AppEventListenerHdl, VclSimpleEvent &, void) | |
this link is called from the vcl application when the stylesettings change. More... | |
DECL_LINK (EventMultiplexerListener, sd::tools::EventMultiplexerEvent &, void) | |
Private Attributes | |
OutlineViewShell & | mrOutlineViewShell |
SdrOutliner & | mrOutliner |
std::unique_ptr< OutlinerView > | mpOutlinerViews [MAX_OUTLINERVIEWS] |
std::vector< Paragraph * > | maOldParaOrder |
std::vector< Paragraph * > | maSelectedParas |
sal_Int32 | mnPagesToProcess |
sal_Int32 | mnPagesProcessed |
bool | mbFirstPaint |
sal_uLong | mnPaperWidth |
std::unique_ptr< SfxProgress > | mpProgress |
Color | maDocColor |
stores the last used document color. More... | |
std::unique_ptr< OutlineViewModelChangeGuard, o3tl::default_delete< OutlineViewModelChangeGuard > > | maDragAndDropModelGuard |
holds a model guard during drag and drop between BeginMovingHdl and EndMovingHdl More... | |
SvxLRSpaceItem | maLRSpaceItem |
Image | maSlideImage |
Friends | |
class | OutlineViewModelChangeGuard |
Derivative of sd::View for the outline mode |* .
Definition at line 53 of file OutlineView.hxx.
sd::OutlineView::OutlineView | ( | DrawDocShell & | rDocSh, |
vcl::Window * | pWindow, | ||
OutlineViewShell & | rOutlineViewSh | ||
) |
Definition at line 72 of file outlview.cxx.
References COL_WHITE(), EE_APPEND, EE_PARA_OUTLLRSPACE(), FillOutliner(), get(), sd::ViewShell::GetActiveWindow(), sd::ViewShellBase::GetEventMultiplexer(), SfxShell::GetFrame(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), vcl::CommandInfoProvider::GetImageForCommand(), sd::DrawDocShell::GetUndoManager(), sd::ViewShell::GetViewShellBase(), sd::Window::GetViewSize(), LINK, maSlideImage, mnPaperWidth, sd::View::mpDocSh, mpOutlinerViews, mrOutliner, mrOutlineViewShell, onUpdateStyleSettings(), SD_MOD, sd::UndoManager::SetLinkedUndoManager(), vcl::Size26, Size::Width(), and xFrame.
|
overridevirtual |
Destructor, restore Links, clear Outliner.
Definition at line 129 of file outlview.cxx.
References DBG_ASSERT, DisconnectFromApplication(), sd::ViewShellBase::GetEventMultiplexer(), SvtAccessibilityOptions::GetIsAutomaticFontColor(), sd::ViewShell::GetViewShellBase(), LINK, maDragAndDropModelGuard, mpOutlinerViews, mpProgress, mrOutliner, mrOutlineViewShell, and ResetLinks().
|
overridevirtual |
Reimplemented from sd::View.
Definition at line 1306 of file outlview.cxx.
References DND_ACTION_NONE.
|
overridevirtual |
Reimplemented from FmFormView.
Definition at line 196 of file outlview.cxx.
References FmFormView::AddDeviceToPaintView(), COL_WHITE(), EE_APPEND, get(), OutputDevice::GetOwnerWindow(), sd::MAX_OUTLINERVIEWS, mpOutlinerViews, mrOutliner, and OutputDevice::SetBackground().
|
private |
call this method before you do anything that can modify the outliner and or the drawing document model.
It will create needed undo actions
Definition at line 1398 of file outlview.cxx.
References SdrEditView::BegUndo(), sd::ViewShell::GetViewShellBase(), SfxViewShell::GetViewShellId(), mrOutliner, mrOutlineViewShell, and SdResId().
Referenced by sd::OutlineViewModelChangeGuard::OutlineViewModelChangeGuard().
void sd::OutlineView::ConnectToApplication | ( | ) |
This method is called by the view shell that owns the view to tell the view that it can safely connect to the application.
This method must not be called before the view shell is on the shell stack.
Definition at line 162 of file outlview.cxx.
References Application::AddEventListener(), sd::ViewShell::GetActiveWindow(), sd::ViewShell::GetViewShellBase(), sd::ViewShellBase::GetViewShellManager(), sd::Window::GrabFocus(), LINK, and mrOutlineViewShell.
|
static |
Definition at line 916 of file outlview.cxx.
References AUTOLAYOUT_CHART, AUTOLAYOUT_CHARTTEXT, AUTOLAYOUT_NONE, AUTOLAYOUT_OBJ, AUTOLAYOUT_OBJTEXT, AUTOLAYOUT_ORG, AUTOLAYOUT_TAB, AUTOLAYOUT_TITLE, AUTOLAYOUT_TITLE_CONTENT, AUTOLAYOUT_TITLE_ONLY, DBG_ASSERT, SdPage::GetAutoLayout(), SdPage::GetLayoutRect(), GetOutlineTextObject(), SdPage::InsertAutoLayoutShape(), Outline, and SdPage::SetAutoLayout().
Referenced by sd::OutlineViewShell::UpdateOutlineObject().
|
static |
Definition at line 897 of file outlview.cxx.
References AUTOLAYOUT_NONE, AUTOLAYOUT_TITLE_ONLY, DBG_ASSERT, SdPage::GetAutoLayout(), SdPage::GetTitleRect(), GetTitleTextObject(), SdPage::InsertAutoLayoutShape(), SdPage::SetAutoLayout(), and Title.
Referenced by sd::OutlineViewShell::UpdateTitleObject().
|
private |
this link is called from the vcl application when the stylesettings change.
Its only purpose is to call onUpdateStyleSettings() then.
sd::OutlineView::DECL_LINK | ( | BeginDropHdl | , |
EditView * | , | ||
void | |||
) |
sd::OutlineView::DECL_LINK | ( | BeginMovingHdl | , |
::Outliner * | , | ||
void | |||
) |
sd::OutlineView::DECL_LINK | ( | DepthChangedHdl | , |
::Outliner::DepthChangeHdlParam | , | ||
void | |||
) |
sd::OutlineView::DECL_LINK | ( | EndDropHdl | , |
EditView * | , | ||
void | |||
) |
sd::OutlineView::DECL_LINK | ( | EndMovingHdl | , |
::Outliner * | , | ||
void | |||
) |
|
private |
sd::OutlineView::DECL_LINK | ( | IndentingPagesHdl | , |
OutlinerView * | , | ||
bool | |||
) |
sd::OutlineView::DECL_LINK | ( | PaintingFirstLineHdl | , |
PaintFirstLineInfo * | , | ||
void | |||
) |
sd::OutlineView::DECL_LINK | ( | ParagraphInsertedHdl | , |
::Outliner::ParagraphHdlParam | , | ||
void | |||
) |
sd::OutlineView::DECL_LINK | ( | ParagraphRemovingHdl | , |
::Outliner::ParagraphHdlParam | , | ||
void | |||
) |
sd::OutlineView::DECL_LINK | ( | RemovingPagesHdl | , |
OutlinerView * | , | ||
bool | |||
) |
sd::OutlineView::DECL_LINK | ( | StatusEventHdl | , |
EditStatus & | , | ||
void | |||
) |
|
overridevirtual |
Reimplemented from FmFormView.
Definition at line 233 of file outlview.cxx.
References FmFormView::DeleteDeviceFromPaintView(), get(), vcl::Window::GetOutDev(), sd::MAX_OUTLINERVIEWS, mpOutlinerViews, and mrOutliner.
void sd::OutlineView::DisconnectFromApplication | ( | ) |
Definition at line 176 of file outlview.cxx.
References LINK, and Application::RemoveEventListener().
Referenced by ~OutlineView().
|
private |
call this method after BeginModelChange(), when all possible model changes are done.
Definition at line 1406 of file outlview.cxx.
References DBG_ASSERT, SdrEditView::EndUndo(), SfxUndoManager::GetUndoActionCount(), sd::DrawDocShell::GetUndoManager(), SfxShell::Invalidate(), sd::View::mpDocSh, mrOutliner, mrOutlineViewShell, TryToMergeUndoActions(), and UpdateDocument().
Referenced by sd::OutlineViewModelChangeGuard::~OutlineViewModelChangeGuard().
|
overridevirtual |
Reimplemented from sd::View.
Definition at line 1311 of file outlview.cxx.
References DND_ACTION_NONE.
void sd::OutlineView::FillOutliner | ( | ) |
creates outliner model from draw model
Definition at line 1000 of file outlview.cxx.
References SdrTextObj::GetOutlinerParaObject(), GetOutlineTextObject(), SdPage::GetPresObj(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), SdPage::GetStyleSheetForPresObj(), GetTitleTextObject(), OutlinerParaObject::IsEffectivelyVertical(), SdrObject::IsEmptyPresObj(), SdPage::IsSelected(), mpOutlinerViews, sd::View::mrDoc, mrOutliner, n, p, ResetLinks(), SetLinks(), OutlinerParaObject::SetVertical(), Standard, Text, Title, and UpdateParagraph().
Referenced by sd::FuInsertFile::InsSDDinOlMode(), and OutlineView().
SdPage * sd::OutlineView::GetActualPage | ( | ) |
returns the first slide that is selected in the outliner or where the cursor is located
Definition at line 1135 of file outlview.cxx.
References OutlinerView::CreateSelectionList(), DBG_ASSERT, sd::ViewShell::GetActiveWindow(), GetPageForParagraph(), SdDrawDocument::GetSdPage(), sd::DrawDocShell::GetUndoManager(), GetViewByWindow(), maDragAndDropModelGuard, sd::View::mpDocSh, sd::View::mrDoc, mrOutlineViewShell, and Standard.
Referenced by PrepareClose().
|
overridevirtual |
Get attributes of the selected text.
Reimplemented from sd::View.
Definition at line 990 of file outlview.cxx.
References sd::ViewShell::GetActiveWindow(), OutlinerView::GetAttribs(), GetViewByWindow(), mrOutlineViewShell, and SfxItemSet::Put().
Return the title after a random paragraph.
Definition at line 303 of file outlview.cxx.
References Outliner::HasParaFlag(), mrOutliner, and nPos.
Referenced by UpdateDocument().
|
inline |
Definition at line 82 of file OutlineView.hxx.
References mrOutliner.
Referenced by sd::DrawDocShell::ClearUndoBuffer(), GetCurrentPage(), sd::ViewShell::ImpGetUndoManager(), and sd::TextObjectBar::TextObjectBar().
|
static |
Look for the outline text object in one page of the model.
Definition at line 879 of file outlview.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), and pObject.
Referenced by CreateOutlineTextObject(), FillOutliner(), and sd::OutlineViewShell::UpdateOutlineObject().
Definition at line 1157 of file outlview.cxx.
References GetPrevTitle(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), Outliner::HasParaFlag(), sd::View::mrDoc, and Standard.
Referenced by GetActualPage(), and OnEndPasteOrDrop().
|
inline |
Definition at line 108 of file OutlineView.hxx.
References mnPaperWidth.
Paragraph * sd::OutlineView::GetParagraphForPage | ( | ::Outliner const & | rOutl, |
SdPage const * | pPage | ||
) |
Definition at line 1176 of file outlview.cxx.
References SdrPage::GetPageNum(), Outliner::GetParagraph(), Outliner::HasParaFlag(), and mrOutliner.
Referenced by SetActualPage().
Return the title before a random paragraph.
Definition at line 281 of file outlview.cxx.
References Outliner::HasParaFlag(), mrOutliner, and nPos.
Referenced by GetPageForParagraph(), and InsertSlideForParagraph().
|
overridevirtual |
Reimplemented from SdrObjEditView.
Definition at line 1317 of file outlview.cxx.
References SdrObjEditView::GetScriptType(), EditTextObject::GetScriptType(), OutlinerParaObject::GetTextObject(), and mrOutliner.
|
overridevirtual |
Get StyleSheet from the selection.
Reimplemented from sd::View.
Definition at line 1219 of file outlview.cxx.
References sd::ViewShell::GetActiveWindow(), OutlinerView::GetStyleSheet(), GetViewByWindow(), and mrOutlineViewShell.
|
static |
Look for the title text object in one page of the model.
Definition at line 858 of file outlview.cxx.
References SdrObjList::GetObj(), SdrObjList::GetObjCount(), and pObject.
Referenced by CreateTitleTextObject(), FillOutliner(), and sd::OutlineViewShell::UpdateTitleObject().
OutlinerView * sd::OutlineView::GetViewByWindow | ( | vcl::Window const * | pWin | ) | const |
Return a pointer to the OutlinerView corresponding to the window.
Definition at line 262 of file outlview.cxx.
References vcl::Window::GetWindow(), and mpOutlinerViews.
Referenced by sd::FuOutlineText::DoCopy(), sd::FuOutlineText::DoCut(), sd::FuPresentationObjects::DoExecute(), sd::FuOutlineText::DoPaste(), sd::FuOutlineText::DoPasteUnformatted(), GetActualPage(), GetAttributes(), GetStyleSheet(), sd::FuInsertFile::InsSDDinOlMode(), sd::FuOutlineText::KeyInput(), sd::FuOutlineText::MouseButtonDown(), sd::FuOutlineText::MouseButtonUp(), sd::FuOutlineText::MouseMove(), Paint(), and SetAttributes().
void sd::OutlineView::IgnoreCurrentPageChanges | ( | bool | bIgnore | ) |
After this method has been called with <TRUE> following changes of the current page are ignored in that the corresponding text is not selected.
This is used to suppress unwanted side effects between selection and cursor position.
Definition at line 1388 of file outlview.cxx.
References mrOutliner.
Referenced by sd::OutlineViewPageChangesGuard::OutlineViewPageChangesGuard(), and sd::OutlineViewPageChangesGuard::~OutlineViewPageChangesGuard().
creates and inserts an empty slide for the given paragraph.
creates and inserts an empty slide for the given paragraph
Definition at line 345 of file outlview.cxx.
References SdrEditView::AddUndo(), SdDrawDocument::AllocSdPage(), AUTOLAYOUT_TITLE, AUTOLAYOUT_TITLE_CONTENT, AUTOLAYOUT_TITLE_ONLY, SdrUndoFactory::CreateUndoNewPage(), DBG_ASSERT, SdPage::GetAutoLayout(), SdPage::GetLayoutName(), SdrPage::GetLeftBorder(), SdrPage::GetLowerBorder(), GetPrevTitle(), SdrPage::GetRightBorder(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), SdrModel::GetSdrUndoFactory(), SdrPage::GetSize(), SdrPage::GetUpperBorder(), SdDrawDocument::InsertPage(), sd::View::isRecordingUndo(), sd::View::mrDoc, mrOutliner, Notes, Standard, and SdrPage::TRG_GetMasterPage().
Referenced by OnEndPasteOrDrop(), and UpdateDocument().
|
overrideprotectedvirtual |
Reimplemented from sd::View.
Definition at line 1624 of file outlview.cxx.
|
overrideprotectedvirtual |
this is called after a paste or drop operation, make sure that the newly inserted paragraphs get the correct style sheet and new slides are inserted.
Reimplemented from sd::View.
Definition at line 1630 of file outlview.cxx.
References DBG_ASSERT, SfxStyleSheetBasePool::Find(), SdStyleSheet::GetApiName(), sd::View::GetDoc(), SfxStyleSheetBase::GetFamily(), SfxStyleSheetBase::GetName(), GetPageForParagraph(), SdPage::GetStyleSheetForPresObj(), SdrModel::GetStyleSheetPool(), Outliner::HasParaFlag(), InsertSlideForParagraph(), mrOutliner, PasteOrDropInfos::nStartPara, Outline, Title, and UpdateParagraph().
|
private |
updates the high contrast settings and document color if they changed.
bForceUpdate | forces the method to set all style settings |
Definition at line 1330 of file outlview.cxx.
References svtools::DOCCOLOR, svtools::ColorConfig::GetColorValue(), maDocColor, sd::MAX_OUTLINERVIEWS, mpOutlinerViews, mrOutliner, svtools::ColorConfigValue::nColor, and vcl::Window::SetBackground().
Referenced by OutlineView().
void sd::OutlineView::Paint | ( | const ::tools::Rectangle & | rRect, |
::sd::Window const * | pWin | ||
) |
Definition at line 181 of file outlview.cxx.
References GetViewByWindow(), OutlinerView::HideCursor(), mbFirstPaint, OutlinerView::Paint(), and OutlinerView::ShowCursor().
void sd::OutlineView::PrepareClose | ( | ) |
updates draw model with all changes from outliner model
Definition at line 953 of file outlview.cxx.
References SdrEditView::BegUndo(), SdrEditView::EndUndo(), GetActualPage(), sd::DrawDocShell::GetUndoManager(), sd::View::mpDocSh, sd::View::mrDoc, mrOutliner, SdResId(), sd::UndoManager::SetLinkedUndoManager(), SdDrawDocument::SetSelected(), and UpdateDocument().
Referenced by sd::FuInsertFile::InsSDDinOlMode().
void sd::OutlineView::ResetLinks | ( | ) | const |
Restore old links.
Definition at line 1291 of file outlview.cxx.
References mrOutliner.
Referenced by FillOutliner(), and ~OutlineView().
void sd::OutlineView::SetActualPage | ( | SdPage const * | pActual | ) |
selects the paragraph for the given page at the outliner view
Definition at line 1205 of file outlview.cxx.
References GetParagraphForPage(), mbFirstPaint, mpOutlinerViews, and mrOutliner.
|
overridevirtual |
Set attributes of the selected text.
Reimplemented from sd::View.
Definition at line 970 of file outlview.cxx.
References sd::ViewShell::GetActiveWindow(), GetViewByWindow(), SfxShell::Invalidate(), mrOutlineViewShell, rSet, and OutlinerView::SetAttribs().
void sd::OutlineView::SetLinks | ( | ) |
Set new links.
Definition at line 1270 of file outlview.cxx.
References LINK, and mrOutliner.
Referenced by FillOutliner().
void sd::OutlineView::SetSelectedPages | ( | ) |
Mark pages as selected / not selected.
Definition at line 1230 of file outlview.cxx.
References DBG_ASSERT, SdDrawDocument::GetSdPage(), Outliner::HasParaFlag(), mpOutlinerViews, sd::View::mrDoc, mrOutliner, nPos, SdPage::SetSelected(), and Standard.
|
private |
merge edit engine undo actions if possible
Definition at line 1461 of file outlview.cxx.
References SfxUndoArray::GetUndoAction(), SfxUndoManager::GetUndoAction(), SfxUndoManager::GetUndoActionCount(), SfxUndoArray::Insert(), SfxUndoArray::maUndoActions, mrOutliner, nCount, SfxUndoArray::nCurUndoAction, SfxUndoArray::Remove(), and SfxUndoManager::RemoveLastUndoAction().
Referenced by EndModelChange().
|
private |
updates all changes in the outliner model to the draw model
Definition at line 1428 of file outlview.cxx.
References DBG_ASSERT, GetNextTitle(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), InsertSlideForParagraph(), sd::View::mrDoc, mrOutliner, mrOutlineViewShell, SdDrawDocument::SetSelected(), Standard, sd::OutlineViewShell::UpdateOutlineObject(), and sd::OutlineViewShell::UpdateTitleObject().
Referenced by EndModelChange(), and PrepareClose().
void sd::OutlineView::UpdateParagraph | ( | sal_Int32 | nPara | ) |
Definition at line 1617 of file outlview.cxx.
References maLRSpaceItem, mrOutliner, and SfxItemSet::Put().
Referenced by FillOutliner(), and OnEndPasteOrDrop().
|
friend |
Definition at line 56 of file OutlineView.hxx.
|
private |
stores the last used document color.
this is changed in onUpdateStyleSettings()
Definition at line 187 of file OutlineView.hxx.
Referenced by onUpdateStyleSettings().
|
private |
holds a model guard during drag and drop between BeginMovingHdl and EndMovingHdl
Definition at line 202 of file OutlineView.hxx.
Referenced by GetActualPage(), and ~OutlineView().
|
private |
Definition at line 204 of file OutlineView.hxx.
Referenced by UpdateParagraph().
|
private |
Definition at line 172 of file OutlineView.hxx.
|
private |
Definition at line 173 of file OutlineView.hxx.
|
private |
Definition at line 205 of file OutlineView.hxx.
Referenced by OutlineView().
|
private |
Definition at line 178 of file OutlineView.hxx.
Referenced by Paint(), and SetActualPage().
|
private |
Definition at line 176 of file OutlineView.hxx.
|
private |
Definition at line 175 of file OutlineView.hxx.
|
private |
Definition at line 180 of file OutlineView.hxx.
Referenced by GetPaperWidth(), and OutlineView().
|
private |
Definition at line 170 of file OutlineView.hxx.
Referenced by AddDeviceToPaintView(), DeleteDeviceFromPaintView(), FillOutliner(), GetViewByWindow(), onUpdateStyleSettings(), OutlineView(), SetActualPage(), SetSelectedPages(), and ~OutlineView().
|
private |
Definition at line 182 of file OutlineView.hxx.
Referenced by ~OutlineView().
|
private |
Definition at line 169 of file OutlineView.hxx.
Referenced by AddDeviceToPaintView(), BeginModelChange(), DeleteDeviceFromPaintView(), EndModelChange(), FillOutliner(), GetNextTitle(), GetOutliner(), GetParagraphForPage(), GetPrevTitle(), GetScriptType(), IgnoreCurrentPageChanges(), InsertSlideForParagraph(), OnEndPasteOrDrop(), onUpdateStyleSettings(), OutlineView(), PrepareClose(), ResetLinks(), SetActualPage(), SetLinks(), SetSelectedPages(), TryToMergeUndoActions(), UpdateDocument(), UpdateParagraph(), and ~OutlineView().
|
private |
Definition at line 168 of file OutlineView.hxx.
Referenced by BeginModelChange(), ConnectToApplication(), EndModelChange(), GetActualPage(), GetAttributes(), GetStyleSheet(), OutlineView(), SetAttributes(), UpdateDocument(), and ~OutlineView().