37 class EventMultiplexerEvent;
43class OutlineViewShell;
44class OutlineViewModelChangeGuard;
113 virtual bool SetAttributes(
const SfxItemSet& rSet,
bool bReplaceAll =
false,
bool bSlide =
false,
bool bMaster =
false)
override;
125 DropTargetHelper& rTargetHelper,
OutlineViewModelChangeGuard(OutlineView &rView)
~OutlineViewModelChangeGuard() COVERITY_NOEXCEPT_FALSE
~OutlineViewPageChangesGuard()
OutlineViewPageChangesGuard(OutlineView *pView)
Show a textual overview of the text contents of all slides.
Derivative of sd::View for the outline mode |* .
void FillOutliner()
creates outliner model from draw model
SvxLRSpaceItem maLRSpaceItem
DECL_LINK(EndMovingHdl, ::Outliner *, void)
SdrOutliner & GetOutliner()
DECL_LINK(IndentingPagesHdl, OutlinerView *, bool)
void ConnectToApplication()
This method is called by the view shell that owns the view to tell the view that it can safely connec...
sal_Int32 mnPagesProcessed
sal_uLong GetPaperWidth() const
OutlineViewShell & mrOutlineViewShell
void BeginModelChange()
call this method before you do anything that can modify the outliner and or the drawing document mode...
DECL_LINK(BeginDropHdl, EditView *, void)
DECL_LINK(PaintingFirstLineHdl, PaintFirstLineInfo *, void)
static SdrTextObj * CreateTitleTextObject(SdPage *pPage)
SdPage * GetPageForParagraph(Paragraph *pPara)
void ResetLinks() const
Restore old links.
sal_Int32 mnPagesToProcess
void SetSelectedPages()
Mark pages as selected / not selected.
virtual ~OutlineView() override
Destructor, restore Links, clear Outliner.
SdPage * InsertSlideForParagraph(Paragraph *pPara)
creates and inserts an empty slide for the given paragraph.
DECL_LINK(StatusEventHdl, EditStatus &, void)
void EndModelChange()
call this method after BeginModelChange(), when all possible model changes are done.
void IgnoreCurrentPageChanges(bool bIgnore)
After this method has been called with <TRUE> following changes of the current page are ignored in th...
virtual void GetAttributes(SfxItemSet &rTargetSet, bool bOnlyHardAttr=false) const override
Get attributes of the selected text.
Paragraph * GetParagraphForPage(::Outliner const &rOutl, SdPage const *pPage)
Paragraph * GetPrevTitle(const Paragraph *pPara)
Return the title before a random paragraph.
Color maDocColor
stores the last used document color.
static SdrTextObj * CreateOutlineTextObject(SdPage *pPage)
OutlinerView * GetViewByWindow(vcl::Window const *pWin) const
Return a pointer to the OutlinerView corresponding to the window.
DECL_LINK(DepthChangedHdl, ::Outliner::DepthChangeHdlParam, void)
void PrepareClose()
updates draw model with all changes from outliner model
void SetActualPage(SdPage const *pActual)
selects the paragraph for the given page at the outliner view
Paragraph * GetNextTitle(const Paragraph *pPara)
Return the title after a random paragraph.
DECL_LINK(BeginMovingHdl, ::Outliner *, void)
virtual void OnBeginPasteOrDrop(PasteOrDropInfos *pInfo) override
DECL_LINK(EndDropHdl, EditView *, void)
DECL_LINK(AppEventListenerHdl, VclSimpleEvent &, void)
this link is called from the vcl application when the stylesettings change.
virtual void AddDeviceToPaintView(OutputDevice &rDev, vcl::Window *pWindow) override
DECL_LINK(RemovingPagesHdl, OutlinerView *, bool)
void Paint(const ::tools::Rectangle &rRect, ::sd::Window const *pWin)
DECL_LINK(ParagraphRemovingHdl, ::Outliner::ParagraphHdlParam, void)
SfxStyleSheet * GetStyleSheet() const override
Get StyleSheet from the selection.
SdPage * GetActualPage()
returns the first slide that is selected in the outliner or where the cursor is located
void UpdateParagraph(sal_Int32 nPara)
virtual void OnEndPasteOrDrop(PasteOrDropInfos *pInfo) override
this is called after a paste or drop operation, make sure that the newly inserted paragraphs get the ...
void onUpdateStyleSettings(bool bForceUpdate)
updates the high contrast settings and document color if they changed.
virtual bool SetAttributes(const SfxItemSet &rSet, bool bReplaceAll=false, bool bSlide=false, bool bMaster=false) override
Set attributes of the selected text.
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
void SetLinks()
Set new links.
OutlineView(DrawDocShell &rDocSh, vcl::Window *pWindow, OutlineViewShell &rOutlineViewSh)
static SdrTextObj * GetOutlineTextObject(SdrPage const *pPage)
Look for the outline text object in one page of the model.
std::unique_ptr< OutlinerView > mpOutlinerViews[MAX_OUTLINERVIEWS]
void TryToMergeUndoActions()
merge edit engine undo actions if possible
virtual void DeleteDeviceFromPaintView(OutputDevice &rDev) override
void DisconnectFromApplication()
std::vector< Paragraph * > maOldParaOrder
DECL_LINK(ParagraphInsertedHdl, ::Outliner::ParagraphHdlParam, void)
void UpdateDocument()
updates all changes in the outliner model to the draw model
virtual SvtScriptType GetScriptType() const override
std::vector< Paragraph * > maSelectedParas
std::unique_ptr< OutlineViewModelChangeGuard, o3tl::default_delete< OutlineViewModelChangeGuard > > maDragAndDropModelGuard
holds a model guard during drag and drop between BeginMovingHdl and EndMovingHdl
std::unique_ptr< SfxProgress > mpProgress
static SdrTextObj * GetTitleTextObject(SdrPage const *pPage)
Look for the title text object in one page of the model.
DECL_LINK(EventMultiplexerListener, sd::tools::EventMultiplexerEvent &, void)
An SdWindow contains the actual working area of ViewShell.
const int MAX_OUTLINERVIEWS