LibreOffice Module oox (master) 1
|
#include <oox/token/tokens.hxx>
#include <drawingml/table/tablestyle.hxx>
#include <frozen/bits/defines.h>
#include <frozen/bits/elsa_std.h>
#include <frozen/unordered_map.h>
Go to the source code of this file.
Functions | |
static void | createStyleIdMap () |
sal_Int32 | resolveToken (OUString const &rString) |
void | setBorderLineType (const oox::drawingml::LinePropertiesPtr &pLineProp, sal_Int32 nToken) |
void | insertBorderLine (TableStylePart &aTableStylePart, sal_Int32 nToken, oox::drawingml::LinePropertiesPtr pLineProp) |
std::unique_ptr< TableStyle > | CreateTableStyle (const OUString &styleId) |
Variables | |
std::map< OUString, std::pair< OUString, OUString > > | mStyleIdMap |
constexpr frozen::unordered_map< std::u16string_view, sal_Int32, 6 > | tokens |
|
static |
Definition at line 38 of file predefined-table-styles.cxx.
References mStyleIdMap.
Referenced by CreateTableStyle().
std::unique_ptr< TableStyle > CreateTableStyle | ( | const OUString & | styleId | ) |
Definition at line 228 of file predefined-table-styles.cxx.
References createStyleIdMap(), insertBorderLine(), mStyleIdMap, resolveToken(), setBorderLineType(), and oox::drawingml::Color::setSchemeClr().
Referenced by oox::drawingml::table::TableProperties::getUsedTableStyle().
void insertBorderLine | ( | TableStylePart & | aTableStylePart, |
sal_Int32 | nToken, | ||
oox::drawingml::LinePropertiesPtr | pLineProp | ||
) |
Definition at line 218 of file predefined-table-styles.cxx.
References oox::drawingml::table::TableStylePart::getLineBorders(), and nToken.
Referenced by CreateTableStyle().
sal_Int32 resolveToken | ( | OUString const & | rString | ) |
Definition at line 205 of file predefined-table-styles.cxx.
References tokens.
Referenced by CreateTableStyle().
void setBorderLineType | ( | const oox::drawingml::LinePropertiesPtr & | pLineProp, |
sal_Int32 | nToken | ||
) |
Definition at line 213 of file predefined-table-styles.cxx.
References nToken.
Referenced by CreateTableStyle().
std::map<OUString, std::pair<OUString, OUString> > mStyleIdMap |
Definition at line 32 of file predefined-table-styles.cxx.
Referenced by createStyleIdMap(), and CreateTableStyle().
|
constexpr |
Definition at line 200 of file predefined-table-styles.cxx.
Referenced by resolveToken().