From b3a1909a792956ce3a6ab52675017304969d7a66 Mon Sep 17 00:00:00 2001 From: "Chr. Rossmanith" Date: Fri, 30 Nov 2012 22:03:16 +0100 Subject: added Converter::convertColor with opacity parameter Change-Id: I0f3759d8f75f2739b2815c37e8c81bc97e097ec8 --- sax/inc/sax/tools/converter.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sax/inc') 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 ); -- cgit