diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2012-11-30 22:03:16 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-01-07 19:39:46 +0100 |
commit | b3a1909a792956ce3a6ab52675017304969d7a66 (patch) | |
tree | f3cce0e366a66ed2254c4901c3f17b0f001aad1e /sax/inc | |
parent | 0d957d1c10eeb6e0d15cc2fbc56239c1ec40fb6c (diff) |
added Converter::convertColor with opacity parameter
Change-Id: I0f3759d8f75f2739b2815c37e8c81bc97e097ec8
Diffstat (limited to 'sax/inc')
-rw-r--r-- | sax/inc/sax/tools/converter.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sax/inc/sax/tools/converter.hxx b/sax/inc/sax/tools/converter.hxx index 601ce6c6532c..8b84feb5c984 100644 --- a/sax/inc/sax/tools/converter.hxx +++ b/sax/inc/sax/tools/converter.hxx @@ -95,10 +95,15 @@ public: static void convertMeasurePx( ::rtl::OUStringBuffer& rBuffer, sal_Int32 nValue ); - /** convert string to color */ + /** convert string to rgb color */ static bool convertColor( sal_Int32& rColor, const ::rtl::OUString&rValue ); + /** convert string to argb color */ + static bool convertColor( sal_Int32& rColor, + const ::rtl::OUString&rValue, + const double alpha); + /** convert color to string */ static void convertColor( ::rtl::OUStringBuffer &rBuffer, sal_Int32 nColor ); |