summaryrefslogtreecommitdiff
path: root/drawinglayer/inc/drawinglayer/processor2d
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2007-08-02 10:43:45 +0000
committerArmin Weiss <aw@openoffice.org>2007-08-02 10:43:45 +0000
commit393cc8060dce29376fbd2b6b3e410fe4572e78d1 (patch)
treed2a7a5ee03ea3c6e3c8e3451db7835a506559daa /drawinglayer/inc/drawinglayer/processor2d
parenta81b5347d1e8f49732392bb14b05b6c71a556030 (diff)
#i39532# added support for diverse MetaFile comment hacks
Diffstat (limited to 'drawinglayer/inc/drawinglayer/processor2d')
-rw-r--r--drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx24
1 files changed, 17 insertions, 7 deletions
diff --git a/drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx b/drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx
index bc66696beee1..757ccd3517c9 100644
--- a/drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx
+++ b/drawinglayer/inc/drawinglayer/processor2d/vclmetafileprocessor2d.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: vclmetafileprocessor2d.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: aw $ $Date: 2007-07-27 09:03:17 $
+ * last change: $Author: aw $ $Date: 2007-08-02 11:43:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -40,6 +40,10 @@
#include <drawinglayer/processor2d/vclprocessor2d.hxx>
#endif
+#ifndef _COM_SUN_STAR_I18N_XBREAKITERATOR_HPP_
+#include <com/sun/star/i18n/XBreakIterator.hpp>
+#endif
+
//////////////////////////////////////////////////////////////////////////////
// predefines
class GDIMetaFile;
@@ -82,21 +86,27 @@ namespace drawinglayer
void impEndSvtGraphicStroke(SvtGraphicStroke* pSvtGraphicStroke);
// the current clipping PolyPolygon from MaskPrimitive2D
- basegfx::B2DPolyPolygon maClipPolyPolygon;
+ basegfx::B2DPolyPolygon maClipPolyPolygon;
// the target MetaFile
- GDIMetaFile& mrMetaFile;
+ GDIMetaFile& mrMetaFile;
// do not allow embedding SvtGraphicFills into each other,
// use a counter to prevent that
- sal_uInt32 mnSvtGraphicFillCount;
+ sal_uInt32 mnSvtGraphicFillCount;
// same for SvtGraphicStroke
- sal_uInt32 mnSvtGraphicStrokeCount;
+ sal_uInt32 mnSvtGraphicStrokeCount;
// hold the last unified transparence value to have ot handy
// on SvtGraphicStroke creation
- double mfCurrentUnifiedTransparence;
+ double mfCurrentUnifiedTransparence;
+
+ // break iterator support
+ // made static so it only needs to be fetched once, even with many single
+ // constructed VclMetafileProcessor2D. It's still incarnated on demand,
+ // but exists for OOo runtime now by purpose.
+ static ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XBreakIterator > mxBreakIterator;
protected:
// the local processor for BasePrinitive2D-Implementation based primitives,