LibreOffice Module sd (master) 1
|
Public Member Functions | |
Implementation () | |
~Implementation () | |
OutlinerView * | GetOutlinerView () |
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::VectorGraphicSearchContext & | getVectorGraphicSearchContext () |
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... | |
OutlinerView * | mpOutlineView |
The outline view used for searching and spelling. More... | |
sd::VectorGraphicSearchContext | maVectorGraphicSearchContext |
Definition at line 73 of file Outliner.cxx.
SdOutliner::Implementation::Implementation | ( | ) |
Definition at line 1961 of file Outliner.cxx.
SdOutliner::Implementation::~Implementation | ( | ) |
Definition at line 1968 of file Outliner.cxx.
|
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.
|
inline |
Definition at line 103 of file Outliner.cxx.
References maVectorGraphicSearchContext.
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.
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().
|
private |
Definition at line 119 of file Outliner.cxx.
Referenced by getVectorGraphicSearchContext().
|
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.
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.
|
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().