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

#include <xltoolbar.hxx>

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

Public Member Functions

 ScCTB (sal_uInt16)
 
bool Read (SvStream &rS) override
 
bool IsMenuToolbar () const
 
bool ImportCustomToolBar (ScCTBWrapper &, CustomToolBarImportHelper &)
 
bool ImportMenuTB (ScCTBWrapper &, const css::uno::Reference< css::container::XIndexContainer > &, CustomToolBarImportHelper &)
 
const OUString & GetName ()
 
- Public Member Functions inherited from TBBase
 TBBase ()
 
virtual ~TBBase ()
 
 TBBase (TBBase const &)=default
 
 TBBase (TBBase &&)=default
 
TBBaseoperator= (TBBase const &)=default
 
TBBaseoperator= (TBBase &&)=default
 
virtual bool Read (SvStream &rS)=0
 
sal_uInt32 GetOffset () const
 

Private Attributes

sal_uInt16 nViews
 
TB tb
 
std::vector< TBVisualDatarVisualData
 
sal_uInt32 ectbid
 
std::vector< ScTBCrTBC
 

Additional Inherited Members

- Protected Attributes inherited from TBBase
sal_uInt32 nOffSet
 

Detailed Description

Definition at line 49 of file xltoolbar.hxx.

Constructor & Destructor Documentation

◆ ScCTB()

ScCTB::ScCTB ( sal_uInt16  nNum)
explicit

Definition at line 77 of file xltoolbar.cxx.

Member Function Documentation

◆ GetName()

const OUString & ScCTB::GetName ( )
inline

Definition at line 65 of file xltoolbar.hxx.

References TB::getName(), WString::getString(), and tb.

◆ ImportCustomToolBar()

bool ScCTB::ImportCustomToolBar ( ScCTBWrapper rWrapper,
CustomToolBarImportHelper helper 
)

Definition at line 170 of file xltoolbar.cxx.

References TB::getName(), TB::IsEnabled(), IsMenuToolbar(), name, rTBC, and tb.

◆ ImportMenuTB()

bool ScCTB::ImportMenuTB ( ScCTBWrapper rWrapper,
const css::uno::Reference< css::container::XIndexContainer > &  xMenuDesc,
CustomToolBarImportHelper helper 
)

Definition at line 160 of file xltoolbar.cxx.

References IsMenuToolbar(), and rTBC.

Referenced by ScTBC::ImportToolBarControl().

◆ IsMenuToolbar()

bool ScCTB::IsMenuToolbar ( ) const

Definition at line 155 of file xltoolbar.cxx.

References TB::IsMenuToolbar(), and tb.

Referenced by ImportCustomToolBar(), and ImportMenuTB().

◆ Read()

bool ScCTB::Read ( SvStream rS)
overridevirtual

Member Data Documentation

◆ ectbid

sal_uInt32 ScCTB::ectbid
private

Definition at line 54 of file xltoolbar.hxx.

Referenced by Read().

◆ nViews

sal_uInt16 ScCTB::nViews
private

Definition at line 51 of file xltoolbar.hxx.

Referenced by Read().

◆ rTBC

std::vector< ScTBC > ScCTB::rTBC
private

Definition at line 55 of file xltoolbar.hxx.

Referenced by ImportCustomToolBar(), ImportMenuTB(), and Read().

◆ rVisualData

std::vector<TBVisualData> ScCTB::rVisualData
private

Definition at line 53 of file xltoolbar.hxx.

Referenced by Read().

◆ tb

TB ScCTB::tb
private

Definition at line 52 of file xltoolbar.hxx.

Referenced by GetName(), ImportCustomToolBar(), IsMenuToolbar(), and Read().


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