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

#include <PivotLayoutTreeList.hxx>

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

Public Member Functions

 ScPivotLayoutTreeList (std::unique_ptr< weld::TreeView > xControl)
 
virtual ~ScPivotLayoutTreeList () override
 
void Setup (ScPivotLayoutDialog *pParent, SvPivotTreeListType eType)
 
void FillFields (ScPivotFieldVector &rFieldVector)
 
virtual void InsertEntryForSourceTarget (weld::TreeView &rSource, int nTarget) override
 
- Public Member Functions inherited from ScPivotLayoutTreeListBase
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

void InsertEntryForItem (const ScItemValue *pItemValue, int nPosition)
 
- Protected Member Functions inherited from ScPivotLayoutTreeListBase
 DECL_LINK (GetFocusHdl, weld::Widget &, void)
 
 DECL_LINK (MnemonicActivateHdl, weld::Widget &, bool)
 
 DECL_LINK (LoseFocusHdl, weld::Widget &, void)
 

Private Member Functions

 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (DoubleClickHdl, weld::TreeView &, bool)
 

Private Attributes

std::vector< std::unique_ptr< ScItemValue > > maItemValues
 
std::vector< ScDPNamemaDataFieldNames
 
VclPtr< AbstractScDPSubtotalDlgmpSubtotalDlg
 

Additional Inherited Members

- Public Types inherited from ScPivotLayoutTreeListBase
enum  SvPivotTreeListType {
  UNDEFINED ,
  LABEL_LIST ,
  PAGE_LIST ,
  ROW_LIST ,
  COLUMN_LIST
}
 
- Protected Attributes inherited from ScPivotLayoutTreeListBase
std::unique_ptr< weld::TreeViewmxControl
 
ScPivotLayoutTreeDropTarget maDropTargetHelper
 
SvPivotTreeListType meType
 
ScPivotLayoutDialogmpParent
 

Detailed Description

Definition at line 17 of file PivotLayoutTreeList.hxx.

Constructor & Destructor Documentation

◆ ScPivotLayoutTreeList()

ScPivotLayoutTreeList::ScPivotLayoutTreeList ( std::unique_ptr< weld::TreeView xControl)

Definition at line 19 of file PivotLayoutTreeList.cxx.

References LINK, and ScPivotLayoutTreeListBase::mxControl.

◆ ~ScPivotLayoutTreeList()

ScPivotLayoutTreeList::~ScPivotLayoutTreeList ( )
overridevirtual

Member Function Documentation

◆ DECL_LINK() [1/2]

ScPivotLayoutTreeList::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/2]

ScPivotLayoutTreeList::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private

◆ FillFields()

void ScPivotLayoutTreeList::FillFields ( ScPivotFieldVector rFieldVector)

◆ InsertEntryForItem()

void ScPivotLayoutTreeList::InsertEntryForItem ( const ScItemValue pItemValue,
int  nPosition 
)
protected

◆ InsertEntryForSourceTarget()

void ScPivotLayoutTreeList::InsertEntryForSourceTarget ( weld::TreeView rSource,
int  nTarget 
)
overridevirtual

◆ Setup()

void ScPivotLayoutTreeList::Setup ( ScPivotLayoutDialog pParent,
SvPivotTreeListType  eType 
)

Member Data Documentation

◆ maDataFieldNames

std::vector<ScDPName> ScPivotLayoutTreeList::maDataFieldNames
private

Definition at line 21 of file PivotLayoutTreeList.hxx.

◆ maItemValues

std::vector<std::unique_ptr<ScItemValue> > ScPivotLayoutTreeList::maItemValues
private

Definition at line 20 of file PivotLayoutTreeList.hxx.

Referenced by FillFields(), and InsertEntryForItem().

◆ mpSubtotalDlg

VclPtr<AbstractScDPSubtotalDlg> ScPivotLayoutTreeList::mpSubtotalDlg
private

Definition at line 23 of file PivotLayoutTreeList.hxx.

Referenced by ~ScPivotLayoutTreeList().


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