INTEGRATION: CWS aw024 (1.6.1052); FILE MERGED

2005/09/19 17:47:07 aw 1.6.1052.2: RESYNC: (1.6-1.7); FILE MERGED
2005/08/04 15:37:38 sj 1.6.1052.1: #48467# using GraphicExporter component for exports, graphic filter progress now works now via xStatusIndicater instead of callback mechanism
This commit is contained in:
Ivo Hinkelmann 2006-11-14 14:38:19 +00:00
parent b12f2cf5be
commit 2e1f3bcdda

View file

@ -4,9 +4,9 @@
*
* $RCSfile: jpeg.hxx,v $
*
* $Revision: 1.7 $
* $Revision: 1.8 $
*
* last change: $Author: rt $ $Date: 2005-09-08 09:51:45 $
* last change: $Author: ihi $ $Date: 2006-11-14 15:38:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -48,6 +48,9 @@
#ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_
#include <com/sun/star/beans/PropertyValue.hpp>
#endif
#ifndef _COM_SUN_STAR_TASK_XSTATUSINDICATOR_HPP_
#include <com/sun/star/task/XStatusIndicator.hpp>
#endif
#ifdef _JPEGPRIVATE
@ -107,21 +110,21 @@ class JPEGWriter
Bitmap aBmp;
BitmapReadAccess* pAcc;
BYTE* pBuffer;
PFilterCallback pCallback;
void* pCallerData;
BOOL bNative;
sal_Bool bGreys;
sal_Int32 nQuality;
com::sun::star::uno::Reference< com::sun::star::task::XStatusIndicator > xStatusIndicator;
public:
void* GetScanline( long nY );
public:
JPEGWriter( SvStream& rOStm, PFilterCallback pCallback, void* pCallData );
JPEGWriter( SvStream& rOStm, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >* pFilterData );
~JPEGWriter() {};
BOOL Write( const Graphic& rGraphic, const
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >* pFilterData );
BOOL Write( const Graphic& rGraphic );
};
#endif // _JPEGPRIVATE
@ -132,8 +135,6 @@ public:
BOOL ImportJPEG( SvStream& rStream, Graphic& rGraphic, void* pCallerData, sal_Int32 nImportFlags );
BOOL ExportJPEG( SvStream& rStream, const Graphic& rGraphic,
PFilterCallback pCallback, void* pCallerData,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >* pFilterData );
BOOL ExportJPEG( SvStream& rStream, const Graphic& rGraphic, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >* pFilterData );
#endif // _JPEG_HXX