LibreOffice Module sd (master) 1
Public Member Functions | Public Attributes | Private Attributes | List of all members
SdOutliner::Implementation Class Reference
Collaboration diagram for SdOutliner::Implementation:
[legend]

Public Member Functions

 Implementation ()
 
 ~Implementation ()
 
OutlinerViewGetOutlinerView ()
 Return the OutlinerView that was provided by the last call to ProvideOutlinerView() (or NULL when there was no such call.) More...
 
void ProvideOutlinerView (Outliner &rOutliner, const std::shared_ptr< sd::ViewShell > &rpViewShell, vcl::Window *pWindow)
 Provide in the member mpOutlineView an instance of OutlinerView that is either taken from the ViewShell, when it is an OutlineViewShell, or is created. More...
 
void ReleaseOutlinerView ()
 This method is called when the OutlinerView is no longer used. More...
 
sd::VectorGraphicSearchContextgetVectorGraphicSearchContext ()
 

Public Attributes

EditMode meOriginalEditMode
 The original edit mode directly after switching to a different view mode. More...
 

Private Attributes

bool mbOwnOutlineView
 Flag that specifies whether we own the outline view pointed to by <member>mpOutlineView</member> and thus have to delete it in <member>EndSpelling()</member>. More...
 
OutlinerViewmpOutlineView
 The outline view used for searching and spelling. More...
 
sd::VectorGraphicSearchContext maVectorGraphicSearchContext
 

Detailed Description

Definition at line 73 of file Outliner.cxx.

Constructor & Destructor Documentation

◆ Implementation()

SdOutliner::Implementation::Implementation ( )

Definition at line 1961 of file Outliner.cxx.

◆ ~Implementation()

SdOutliner::Implementation::~Implementation ( )

Definition at line 1968 of file Outliner.cxx.

Member Function Documentation

◆ GetOutlinerView()

OutlinerView * SdOutliner::Implementation::GetOutlinerView ( )
inline

Return the OutlinerView that was provided by the last call to ProvideOutlinerView() (or NULL when there was no such call.)

Definition at line 88 of file Outliner.cxx.

References mpOutlineView.

◆ getVectorGraphicSearchContext()

sd::VectorGraphicSearchContext & SdOutliner::Implementation::getVectorGraphicSearchContext ( )
inline

Definition at line 103 of file Outliner.cxx.

References maVectorGraphicSearchContext.

◆ ProvideOutlinerView()

void SdOutliner::Implementation::ProvideOutlinerView ( Outliner rOutliner,
const std::shared_ptr< sd::ViewShell > &  rpViewShell,
vcl::Window pWindow 
)

Provide in the member mpOutlineView an instance of OutlinerView that is either taken from the ViewShell, when it is an OutlineViewShell, or is created.

We try to create a new OutlinerView only when there is none available, either from an OutlinerViewShell or a previous call to ProvideOutlinerView().

When an OutlinerView already exists it is initialized.

This is necessary to support the spell checker which can not cope with exchanging the OutlinerView.

Definition at line 1983 of file Outliner.cxx.

References Outliner::GetEditEngine(), Outliner::GetParagraph(), Outliner::GetView(), EditEngine::HasView(), Outliner::InsertView(), Outliner::SetPaperSize(), Outliner::SetText(), Outliner::SetUpdateLayout(), sd::ViewShell::ST_DRAW, sd::ViewShell::ST_HANDOUT, sd::ViewShell::ST_IMPRESS, sd::ViewShell::ST_NONE, sd::ViewShell::ST_NOTES, sd::ViewShell::ST_OUTLINE, and sd::ViewShell::ST_PRESENTATION.

◆ ReleaseOutlinerView()

void SdOutliner::Implementation::ReleaseOutlinerView ( )

This method is called when the OutlinerView is no longer used.

Definition at line 2047 of file Outliner.cxx.

References OutlinerView::SetWindow().

Member Data Documentation

◆ maVectorGraphicSearchContext

sd::VectorGraphicSearchContext SdOutliner::Implementation::maVectorGraphicSearchContext
private

Definition at line 119 of file Outliner.cxx.

Referenced by getVectorGraphicSearchContext().

◆ mbOwnOutlineView

bool SdOutliner::Implementation::mbOwnOutlineView
private

Flag that specifies whether we own the outline view pointed to by <member>mpOutlineView</member> and thus have to delete it in <member>EndSpelling()</member>.

Definition at line 110 of file Outliner.cxx.

◆ meOriginalEditMode

EditMode SdOutliner::Implementation::meOriginalEditMode

The original edit mode directly after switching to a different view mode.

Used for restoring the edit mode when leaving that view mode again.

Definition at line 80 of file Outliner.cxx.

◆ mpOutlineView

OutlinerView* SdOutliner::Implementation::mpOutlineView
private

The outline view used for searching and spelling.

If searching or spell checking an outline view this data member points to that view. For all other views an instance is created. The <member>mbOwnOutlineView</member> distinguishes between both cases.

Definition at line 117 of file Outliner.cxx.

Referenced by GetOutlinerView().


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