LibreOffice Module sc (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
ScExtraEditViewManager Class Reference

#include <tabview.hxx>

Collaboration diagram for ScExtraEditViewManager:
[legend]

Public Member Functions

 ScExtraEditViewManager (ScTabViewShell *pThisViewShell, std::array< VclPtr< ScGridWindow >, 4 > const &pGridWin)
 
 ~ScExtraEditViewManager ()
 
void Add (SfxViewShell *pViewShell, ScSplitPos eWhich)
 
void Remove (SfxViewShell *pViewShell, ScSplitPos eWhich)
 

Private Types

enum  ModifierTagType {
  Adder ,
  Remover
}
 

Private Member Functions

template<ModifierTagType ModifierTag>
void Apply (SfxViewShell *pViewShell, ScSplitPos eWhich)
 
template<ModifierTagType ModifierTag>
void Modifier (ScGridWindow *pWin)
 

Private Attributes

ScTabViewShellmpThisViewShell
 
std::array< VclPtr< ScGridWindow >, 4 > const & mpGridWin
 
EditViewmpOtherEditView
 
int nTotalWindows
 

Detailed Description

Definition at line 83 of file tabview.hxx.

Member Enumeration Documentation

◆ ModifierTagType

Enumerator
Adder 
Remover 

Definition at line 86 of file tabview.hxx.

Constructor & Destructor Documentation

◆ ScExtraEditViewManager()

ScExtraEditViewManager::ScExtraEditViewManager ( ScTabViewShell pThisViewShell,
std::array< VclPtr< ScGridWindow >, 4 > const &  pGridWin 
)
inline

Definition at line 89 of file tabview.hxx.

◆ ~ScExtraEditViewManager()

ScExtraEditViewManager::~ScExtraEditViewManager ( )

Definition at line 101 of file tabview3.cxx.

References DBG_ASSERT, and nTotalWindows.

Member Function Documentation

◆ Add()

void ScExtraEditViewManager::Add ( SfxViewShell pViewShell,
ScSplitPos  eWhich 
)
inline

Definition at line 106 of file tabview3.cxx.

Referenced by ScTabView::AddWindowToForeignEditView().

◆ Apply()

void ScExtraEditViewManager::Apply ( SfxViewShell pViewShell,
ScSplitPos  eWhich 
)
private

◆ Modifier()

void ScExtraEditViewManager::Modifier ( ScGridWindow pWin)
private

Definition at line 140 of file tabview3.cxx.

References SAL_WARN.

◆ Remove()

void ScExtraEditViewManager::Remove ( SfxViewShell pViewShell,
ScSplitPos  eWhich 
)
inline

Definition at line 111 of file tabview3.cxx.

Referenced by ScTabView::RemoveWindowFromForeignEditView().

Member Data Documentation

◆ mpGridWin

std::array<VclPtr<ScGridWindow>, 4> const& ScExtraEditViewManager::mpGridWin
private

Definition at line 111 of file tabview.hxx.

Referenced by Apply().

◆ mpOtherEditView

EditView* ScExtraEditViewManager::mpOtherEditView
private

Definition at line 112 of file tabview.hxx.

Referenced by Apply().

◆ mpThisViewShell

ScTabViewShell* ScExtraEditViewManager::mpThisViewShell
private

Definition at line 110 of file tabview.hxx.

Referenced by Apply().

◆ nTotalWindows

int ScExtraEditViewManager::nTotalWindows
private

Definition at line 113 of file tabview.hxx.

Referenced by ~ScExtraEditViewManager().


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