LibreOffice Module sc (master)  1
Functions | Variables
stylehelper.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <svl/style.hxx>
#include <o3tl/string_view.hxx>
#include <osl/diagnose.h>
#include <stylehelper.hxx>
#include <globstr.hrc>
#include <scresid.hxx>
Include dependency graph for stylehelper.cxx:

Go to the source code of this file.

Functions

static const ScDisplayNameMap * lcl_GetStyleNameMap (SfxStyleFamily nType)
 
static bool lcl_EndsWithUser (std::u16string_view rString)
 

Variables

constexpr OUStringLiteral SC_STYLE_PROG_STANDARD = u"Default"
 
constexpr OUStringLiteral SC_STYLE_PROG_RESULT = u"Result"
 
constexpr OUStringLiteral SC_STYLE_PROG_RESULT1 = u"Result2"
 
constexpr OUStringLiteral SC_STYLE_PROG_HEADING = u"Heading"
 
constexpr OUStringLiteral SC_STYLE_PROG_HEADING1 = u"Heading1"
 
constexpr OUStringLiteral SC_STYLE_PROG_REPORT = u"Report"
 
constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_INNER = u"Pivot Table Value"
 
constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_RESULT = u"Pivot Table Result"
 
constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_CATEGORY = u"Pivot Table Category"
 
constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_TITLE = u"Pivot Table Title"
 
constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_FIELDNAME = u"Pivot Table Field"
 
constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_TOP = u"Pivot Table Corner"
 
constexpr OUStringLiteral SC_SUFFIX_USER = u" (user)"
 

Function Documentation

static bool lcl_EndsWithUser ( std::u16string_view  rString)
static
static const ScDisplayNameMap* lcl_GetStyleNameMap ( SfxStyleFamily  nType)
static

Variable Documentation

constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_CATEGORY = u"Pivot Table Category"

Definition at line 46 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_FIELDNAME = u"Pivot Table Field"

Definition at line 48 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_INNER = u"Pivot Table Value"

Definition at line 44 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_RESULT = u"Pivot Table Result"

Definition at line 45 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_TITLE = u"Pivot Table Title"

Definition at line 47 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_PIVOT_STYLE_PROG_TOP = u"Pivot Table Corner"

Definition at line 49 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_STYLE_PROG_HEADING = u"Heading"

Definition at line 40 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_STYLE_PROG_HEADING1 = u"Heading1"

Definition at line 41 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_STYLE_PROG_REPORT = u"Report"

Definition at line 42 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_STYLE_PROG_RESULT = u"Result"

Definition at line 38 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_STYLE_PROG_RESULT1 = u"Result2"

Definition at line 39 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_STYLE_PROG_STANDARD = u"Default"

Definition at line 37 of file stylehelper.cxx.

Referenced by lcl_GetStyleNameMap().

constexpr OUStringLiteral SC_SUFFIX_USER = u" (user)"