summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/escher.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2003-12-09 10:46:14 +0000
committerKurt Zenker <kz@openoffice.org>2003-12-09 10:46:14 +0000
commit3772cec53e810e467af20e45513c14878a1c16d7 (patch)
tree7e391715242d9ea488cc7a3d813897885cbec67e /sw/source/filter/ww8/escher.hxx
parent52a4c7ef45806e8ee74be1ab353be1e112e74137 (diff)
INTEGRATION: CWS portlaoisefilterteam16 (1.7.24); FILE MERGED
2003/10/24 16:40:50 cmc 1.7.24.1: #i3958# Implement the insanely complicated mechanism word XP and later use to support inline escher objects, by means of a 0x08 escher object, a dummy 0x01 inline element which itself is an escher picture frame all inside a shape field, and with a magic property attached to the 0x08 and the 0x01 objects which must match
Diffstat (limited to 'sw/source/filter/ww8/escher.hxx')
-rw-r--r--sw/source/filter/ww8/escher.hxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/sw/source/filter/ww8/escher.hxx b/sw/source/filter/ww8/escher.hxx
index eff317f0264f..9aa598e86028 100644
--- a/sw/source/filter/ww8/escher.hxx
+++ b/sw/source/filter/ww8/escher.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: escher.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2003-09-25 07:40:09 $
+ * last change: $Author: kz $ $Date: 2003-12-09 11:46:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -68,6 +68,7 @@
#include <svx/escherex.hxx>
#endif
+const sal_uInt32 nInlineHack = 0x00010001;
class SwFrmFmt;
class WinwordAnchoring : public EscherExClientRecord_Base
@@ -76,10 +77,11 @@ public:
void WriteData(EscherEx& rEx) const;
void SetAnchoring(const SwFrmFmt& rFmt, bool bBROKEN = false);
private:
- sal_uInt32 nXAlign;
- sal_uInt32 nYAlign;
- sal_uInt32 nXRelTo;
- sal_uInt32 nYRelTo;
+ bool mbInline;
+ sal_uInt32 mnXAlign;
+ sal_uInt32 mnYAlign;
+ sal_uInt32 mnXRelTo;
+ sal_uInt32 mnYRelTo;
};
class SwBasicEscherEx : public EscherEx
@@ -114,6 +116,7 @@ public:
SwBasicEscherEx(SvStream* pStrm, SwWW8Writer& rWrt, UINT32 nDrawings = 1);
INT32 WriteGrfFlyFrame(const SwFrmFmt& rFmt, UINT32 nShapeId);
INT32 WriteOLEFlyFrame(const SwFrmFmt& rFmt, UINT32 nShapeId);
+ void WriteEmptyFlyFrame(const SwFrmFmt& rFmt, UINT32 nShapeId);
virtual void WriteFrmExtraData(const SwFrmFmt&);
virtual void WritePictures();
virtual ~SwBasicEscherEx();