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

#include <PivotLayoutTreeListBase.hxx>

Inheritance diagram for ScPivotLayoutTreeListBase:
[legend]
Collaboration diagram for ScPivotLayoutTreeListBase:
[legend]

Public Types

enum  SvPivotTreeListType {
  UNDEFINED ,
  LABEL_LIST ,
  PAGE_LIST ,
  ROW_LIST ,
  COLUMN_LIST
}
 

Public Member Functions

void Setup (ScPivotLayoutDialog *pParent)
 
 ScPivotLayoutTreeListBase (std::unique_ptr< weld::TreeView > xControl, SvPivotTreeListType eType=UNDEFINED)
 
weld::TreeViewget_widget ()
 
virtual ~ScPivotLayoutTreeListBase ()
 
void PushEntriesToPivotFieldVector (ScPivotFieldVector &rVector)
 
void RemoveEntryForItem (const ScItemValue *pItemValue)
 
virtual void InsertEntryForSourceTarget (weld::TreeView &rSource, int nTarget)
 

Protected Member Functions

 DECL_LINK (GetFocusHdl, weld::Widget &, void)
 
 DECL_LINK (MnemonicActivateHdl, weld::Widget &, bool)
 
 DECL_LINK (LoseFocusHdl, weld::Widget &, void)
 

Protected Attributes

std::unique_ptr< weld::TreeViewmxControl
 
ScPivotLayoutTreeDropTarget maDropTargetHelper
 
SvPivotTreeListType meType
 
ScPivotLayoutDialogmpParent
 

Detailed Description

Definition at line 33 of file PivotLayoutTreeListBase.hxx.

Member Enumeration Documentation

◆ SvPivotTreeListType

Enumerator
UNDEFINED 
LABEL_LIST 
PAGE_LIST 
ROW_LIST 
COLUMN_LIST 

Definition at line 36 of file PivotLayoutTreeListBase.hxx.

Constructor & Destructor Documentation

◆ ScPivotLayoutTreeListBase()

ScPivotLayoutTreeListBase::ScPivotLayoutTreeListBase ( std::unique_ptr< weld::TreeView xControl,
SvPivotTreeListType  eType = UNDEFINED 
)

Definition at line 15 of file PivotLayoutTreeListBase.cxx.

References eType, LINK, meType, mpParent, and mxControl.

◆ ~ScPivotLayoutTreeListBase()

ScPivotLayoutTreeListBase::~ScPivotLayoutTreeListBase ( )
virtual

Definition at line 26 of file PivotLayoutTreeListBase.cxx.

Member Function Documentation

◆ DECL_LINK() [1/3]

ScPivotLayoutTreeListBase::DECL_LINK ( GetFocusHdl  ,
weld::Widget ,
void   
)
protected

◆ DECL_LINK() [2/3]

ScPivotLayoutTreeListBase::DECL_LINK ( LoseFocusHdl  ,
weld::Widget ,
void   
)
protected

◆ DECL_LINK() [3/3]

ScPivotLayoutTreeListBase::DECL_LINK ( MnemonicActivateHdl  ,
weld::Widget ,
bool   
)
protected

◆ get_widget()

weld::TreeView & ScPivotLayoutTreeListBase::get_widget ( )
inline

◆ InsertEntryForSourceTarget()

void ScPivotLayoutTreeListBase::InsertEntryForSourceTarget ( weld::TreeView rSource,
int  nTarget 
)
virtual

◆ PushEntriesToPivotFieldVector()

void ScPivotLayoutTreeListBase::PushEntriesToPivotFieldVector ( ScPivotFieldVector rVector)

◆ RemoveEntryForItem()

void ScPivotLayoutTreeListBase::RemoveEntryForItem ( const ScItemValue pItemValue)

Definition at line 89 of file PivotLayoutTreeListBase.cxx.

References mxControl, nPos, sId, and weld::toId().

◆ Setup()

void ScPivotLayoutTreeListBase::Setup ( ScPivotLayoutDialog pParent)

Definition at line 30 of file PivotLayoutTreeListBase.cxx.

References mpParent.

Member Data Documentation

◆ maDropTargetHelper

ScPivotLayoutTreeDropTarget ScPivotLayoutTreeListBase::maDropTargetHelper
protected

Definition at line 47 of file PivotLayoutTreeListBase.hxx.

◆ meType

SvPivotTreeListType ScPivotLayoutTreeListBase::meType
protected

◆ mpParent

ScPivotLayoutDialog* ScPivotLayoutTreeListBase::mpParent
protected

◆ mxControl

std::unique_ptr<weld::TreeView> ScPivotLayoutTreeListBase::mxControl
protected

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