diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/filter/msfilter/util.hxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/filter/msfilter/util.hxx b/include/filter/msfilter/util.hxx index 8c9f29a5ef30..e57f476c7b7b 100644 --- a/include/filter/msfilter/util.hxx +++ b/include/filter/msfilter/util.hxx @@ -71,8 +71,15 @@ enum TextCategory */ MSFILTER_DLLPUBLIC TextCategory categorizeCodePoint(sal_uInt32 codePoint, const OUString &rBcp47LanguageTag); -/// Converts tools Color to HTML color (without leading hashmark). -MSFILTER_DLLPUBLIC OString ConvertColor( const Color &rColor ); +#define OOXML_COLOR_AUTO 0x0a + +/** + * Converts tools Color to HTML color (without leading hashmark). + * + * @param rColor color to convert + * @param bAutoColor if OOXML_COLOR_AUTO should be recognized as an auto color + */ +MSFILTER_DLLPUBLIC OString ConvertColor( const Color &rColor, bool bAutoColor = false ); /** Paper size in 1/100 millimeters. */ |