summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8graf.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8graf.hxx')
-rw-r--r--sw/source/filter/ww8/ww8graf.hxx88
1 files changed, 5 insertions, 83 deletions
diff --git a/sw/source/filter/ww8/ww8graf.hxx b/sw/source/filter/ww8/ww8graf.hxx
index 9088213a3def..5c6fbfdcb09c 100644
--- a/sw/source/filter/ww8/ww8graf.hxx
+++ b/sw/source/filter/ww8/ww8graf.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ww8graf.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: cmc $ $Date: 2002-09-24 14:39:51 $
+ * last change: $Author: cmc $ $Date: 2002-12-10 12:41:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,6 +59,9 @@
*
************************************************************************/
+/* vi:set tabstop=4 shiftwidth=4 expandtab: */
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */
+
#ifndef _WW8GRAF_HXX
#define _WW8GRAF_HXX
@@ -69,87 +72,6 @@
#include <stack>
#endif
-#if defined WNT || defined WIN || defined OS2
-#define __WW8_NEEDS_PACK
-#pragma pack(2)
-#endif
-
-struct WW8_FSPA
-{
-public:
- long nSpId; //Shape Identifier. Used in conjunction with the office art data (found via fcDggInfo in the FIB) to find the actual data for this shape.
- long nXaLeft; //left of rectangle enclosing shape relative to the origin of the shape
- long nYaTop; //top of rectangle enclosing shape relative to the origin of the shape
- long nXaRight; //right of rectangle enclosing shape relative to the origin of the shape
- long nYaBottom;//bottom of the rectangle enclosing shape relative to the origin of the shape
- USHORT bHdr:1;
- //0001 1 in the undo doc when shape is from the header doc, 0 otherwise (undefined when not in the undo doc)
- USHORT nbx:2;
- //0006 x position of shape relative to anchor CP
- //0 relative to page margin
- //1 relative to top of page
- //2 relative to text (column for horizontal text; paragraph for vertical text)
- //3 reserved for future use
- USHORT nby:2;
- //0018 y position of shape relative to anchor CP
- //0 relative to page margin
- //1 relative to top of page
- //2 relative to text (paragraph for horizontal text; column for vertical text)
- USHORT nwr:4;
- //01E0 text wrapping mode
- //0 like 2, but doesn't require absolute object
- //1 no text next to shape
- //2 wrap around absolute object
- //3 wrap as if no object present
- //4 wrap tightly around object
- //5 wrap tightly, but allow holes
- //6-15 reserved for future use
- USHORT nwrk:4;
- //1E00 text wrapping mode type (valid only for wrapping modes 2 and 4
- //0 wrap both sides
- //1 wrap only on left
- //2 wrap only on right
- //3 wrap only on largest side
- USHORT bRcaSimple:1;
- //2000 when set, temporarily overrides bx, by, forcing the xaLeft, xaRight, yaTop, and yaBottom fields to all be page relative.
- USHORT bBelowText:1;
- //4000
- //1 shape is below text
- //0 shape is above text
- USHORT bAnchorLock:1;
- //8000 1 anchor is locked
- // 0 anchor is not locked
- long nTxbx; //count of textboxes in shape (undo doc only)
-public:
- enum FSPAOrient {RelPgMargin, RelPageBorder, RelText};
-};
-
-
-struct WW8_FSPA_SHADOW // alle Member an gleicher Position und Groesse,
-{ // wegen: pF = (WW8_FSPA*)pFS;
- SVBT32 nSpId;
- SVBT32 nXaLeft;
- SVBT32 nYaTop;
- SVBT32 nXaRight;
- SVBT32 nYaBottom;
- SVBT16 aBits1;
- SVBT32 nTxbx;
-};
-
-struct WW8_TXBXS
-{
- SVBT32 cTxbx_iNextReuse;
- SVBT32 cReusable;
- SVBT16 fReusable;
- SVBT32 reserved;
- SVBT32 ShapeId;
- SVBT32 txidUndo;
-};
-
-#ifdef __WW8_NEEDS_PACK
-#pragma pack()
-#endif
-
struct EscherShape
{
ULONG mnEscherShapeOrder;