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 (std::u16string_view rServiceName)
 
void SetServiceName (std::u16string_view 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 28 of file addinhelpid.hxx.

Constructor & Destructor Documentation

ScUnoAddInHelpIdGenerator::ScUnoAddInHelpIdGenerator ( )
delete

Count of array entries.

ScUnoAddInHelpIdGenerator::ScUnoAddInHelpIdGenerator ( std::u16string_view  rServiceName)

Definition at line 148 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 172 of file addinhelpid.cxx.

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

Referenced by ScUnoAddInCollection::ReadConfiguration().

void ScUnoAddInHelpIdGenerator::SetServiceName ( std::u16string_view  rServiceName)

Sets service name of the AddIn.

Has to be done before requesting help IDs.

Definition at line 153 of file addinhelpid.cxx.

References nArrayCount, pAnalysisHelpIds, pCurrHelpIds, pDateFuncHelpIds, and u.

Referenced by ScUnoAddInHelpIdGenerator().

Member Data Documentation

sal_uInt32 ScUnoAddInHelpIdGenerator::nArrayCount
private

Array of function names and help IDs.

Definition at line 32 of file addinhelpid.hxx.

Referenced by GetHelpId(), and SetServiceName().

const ScUnoAddInHelpId* ScUnoAddInHelpIdGenerator::pCurrHelpIds
private

Definition at line 31 of file addinhelpid.hxx.

Referenced by GetHelpId(), and SetServiceName().


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