From 893fe88469dec5b727d96f8ea1b4edb9e88288a7 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Wed, 30 Apr 2014 22:19:08 +0200 Subject: handle brightness+contrast from msoffice (bnc#875713) This is the same like 1139d618b8bc6ab823a96184bd0f0257980aad24, for docx. Change-Id: I1ef4e18444e8c60e9ae8f67249bcef1053f0d62d --- offapi/com/sun/star/graphic/XGraphicTransformer.idl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'offapi') diff --git a/offapi/com/sun/star/graphic/XGraphicTransformer.idl b/offapi/com/sun/star/graphic/XGraphicTransformer.idl index d1a6ddf00cb6..dbd9c8dc162e 100644 --- a/offapi/com/sun/star/graphic/XGraphicTransformer.idl +++ b/offapi/com/sun/star/graphic/XGraphicTransformer.idl @@ -51,6 +51,16 @@ interface XGraphicTransformer : ::com::sun::star::uno::XInterface com::sun::star::graphic::XGraphic applyDuotone( [ in ] com::sun::star::graphic::XGraphic In, [ in ] long ColorOne, [ in ] long ColorTwo ) raises( ::com::sun::star::lang::IllegalArgumentException ); + + /** changes brightness/contrast + + @param mso whether to use MSOffice brightness/contrast formula + @returns + The modified graphic + */ + com::sun::star::graphic::XGraphic applyBrightnessContrast( [ in ] com::sun::star::graphic::XGraphic In, + [ in ] long brightness, [ in ] long contrast, [ in ] boolean mso ) + raises( ::com::sun::star::lang::IllegalArgumentException ); }; } ; } ; } ; } ; -- cgit