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

Go to the source code of this file.

Functions

sal_Int16 GetCommandContextIndex (const OUString &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

OUString GetCommandContextByIndex ( sal_Int16  nIndex)

Definition at line 73 of file ccoll.cxx.

References aCommandContext, and COND_COMMAND_COUNT.

sal_Int16 GetCommandContextIndex ( const OUString &  rContextName)

Definition at line 62 of file ccoll.cxx.

References aCommandContext, COND_COMMAND_COUNT, and i.

Variable Documentation

const char* const aCommandContext[COND_COMMAND_COUNT]

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

Definition at line 30 of file ccoll.cxx.

Referenced by GetCommandContextByIndex(), and GetCommandContextIndex().