diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-22 08:41:51 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-22 08:41:51 +0000 |
commit | 806c1c634284debf2a25c7e9c9d022eb676d4f6b (patch) | |
tree | 7bf4e8724e8e6d9819b8edee608554ee3ad8e386 /sw/inc/doc.hxx | |
parent | 4e88d7024a06daf410e46ea8e3c24eeff01d8a40 (diff) |
INTEGRATION: CWS aig01 (1.42.26); FILE MERGED
2003/05/20 11:12:06 fme 1.42.26.1: #108778# New calculation for fly frame offsets for word documents
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 19e242e7c47f..e13e208e50a5 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: doc.hxx,v $ * - * $Revision: 1.42 $ + * $Revision: 1.43 $ * - * last change: $Author: vg $ $Date: 2003-04-17 17:48:30 $ + * last change: $Author: vg $ $Date: 2003-05-22 09:41:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -266,6 +266,7 @@ enum SwMoveFlags #define DUMMY_PARASPACEMAX_AT_PAGES 0x20 #define DUMMY_TAB_COMPAT 0x40 #define DUMMY_USE_VIRTUAL_DEVICE 0x80 +#define DUMMY_ADD_FLY_OFFSETS 0x01 #define SW_HYPH_ERROR 0 @@ -1834,6 +1835,13 @@ public: else n8Dummy1 &= ~DUMMY_USE_VIRTUAL_DEVICE; } + sal_Bool IsAddFlyOffsets() const { return n8Dummy2 & DUMMY_ADD_FLY_OFFSETS; } + void SetAddFlyOffsets( sal_Bool bNew ) + { + if( bNew ) n8Dummy2 |= DUMMY_ADD_FLY_OFFSETS; + else n8Dummy2 &= ~DUMMY_ADD_FLY_OFFSETS; + } + void ReadLayoutCache( SvStream& rStream ); void WriteLayoutCache( SvStream& rStream ); SwLayoutCache* GetLayoutCache() const { return pLayoutCache; } |