LibreOffice Module sw (master) 1
Functions | Variables
ccoll.cxx File Reference
#include <cmdid.h>
#include <ccoll.hxx>
#include <fmtcol.hxx>
#include <o3tl/string_view.hxx>
Include dependency graph for ccoll.cxx:

Go to the source code of this file.

Functions

sal_Int16 GetCommandContextIndex (std::u16string_view rContextName)
 
OUString GetCommandContextByIndex (sal_Int16 nIndex)
 

Variables

const char *const aCommandContext [COND_COMMAND_COUNT]
 ! order of entries has to be the same as in ! CommandStruct SwCondCollItem::aCmds[] More...
 

Function Documentation

◆ GetCommandContextByIndex()

OUString GetCommandContextByIndex ( sal_Int16  nIndex)

Definition at line 74 of file ccoll.cxx.

References aCommandContext, COND_COMMAND_COUNT, and nIndex.

◆ GetCommandContextIndex()

sal_Int16 GetCommandContextIndex ( std::u16string_view  rContextName)

Definition at line 63 of file ccoll.cxx.

References aCommandContext, COND_COMMAND_COUNT, o3tl::equalsAscii(), and i.

Variable Documentation

◆ aCommandContext

const char* const aCommandContext[COND_COMMAND_COUNT]

! order of entries has to be the same as in ! CommandStruct SwCondCollItem::aCmds[]

Definition at line 31 of file ccoll.cxx.

Referenced by GetCommandContextByIndex(), and GetCommandContextIndex().