diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-25 18:11:47 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-25 18:23:01 +0200 |
commit | 6df9dd68ec4fe457103c0327559653ed187b94ce (patch) | |
tree | 029f0f85924bde7dc6f042eff645015e5825b669 /include | |
parent | 718f155caacb2e969df7afcfc41ab3b207dba484 (diff) |
move OOXML_COLOR_AUTO from writerfilter to msfilter, we need it from sw
Change-Id: I145c08d17ccb36bfbf734306cd9d27e8423debdd
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. */ |