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

Generates help IDs for standard Calc AddIns. More...

#include <addinhelpid.hxx>

Collaboration diagram for ScUnoAddInHelpIdGenerator:
[legend]

Public Member Functions

 ScUnoAddInHelpIdGenerator ()=delete
 Count of array entries. More...
 
 ScUnoAddInHelpIdGenerator (const OUString &rServiceName)
 
void SetServiceName (const OUString &rServiceName)
 Sets service name of the AddIn. More...
 
OString GetHelpId (const OUString &rFuncName) const
 

Private Attributes

const ScUnoAddInHelpIdpCurrHelpIds
 
sal_uInt32 nArrayCount
 Array of function names and help IDs. More...
 

Detailed Description

Generates help IDs for standard Calc AddIns.

Definition at line 29 of file addinhelpid.hxx.

Constructor & Destructor Documentation

ScUnoAddInHelpIdGenerator::ScUnoAddInHelpIdGenerator ( )
delete

Count of array entries.

ScUnoAddInHelpIdGenerator::ScUnoAddInHelpIdGenerator ( const OUString &  rServiceName)

Definition at line 149 of file addinhelpid.cxx.

References SetServiceName().

Member Function Documentation

OString ScUnoAddInHelpIdGenerator::GetHelpId ( const OUString &  rFuncName) const
Returns
The help ID of the function with given built-in name or 0 if not found.

Definition at line 173 of file addinhelpid.cxx.

References nArrayCount, pCurrHelpIds, ScUnoAddInHelpId::pFuncName, and ScUnoAddInHelpId::sHelpId.

Referenced by ScUnoAddInCollection::ReadConfiguration().

void ScUnoAddInHelpIdGenerator::SetServiceName ( const OUString &  rServiceName)

Sets service name of the AddIn.

Has to be done before requesting help IDs.

Definition at line 154 of file addinhelpid.cxx.

References nArrayCount, pAnalysisHelpIds, pCurrHelpIds, and pDateFuncHelpIds.

Referenced by ScUnoAddInHelpIdGenerator().

Member Data Documentation

sal_uInt32 ScUnoAddInHelpIdGenerator::nArrayCount
private

Array of function names and help IDs.

Definition at line 33 of file addinhelpid.hxx.

Referenced by GetHelpId(), and SetServiceName().

const ScUnoAddInHelpId* ScUnoAddInHelpIdGenerator::pCurrHelpIds
private

Definition at line 32 of file addinhelpid.hxx.

Referenced by GetHelpId(), and SetServiceName().


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