diff options
author | jp <jp@openoffice.org> | 2002-01-21 17:12:10 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2002-01-21 17:12:10 +0000 |
commit | 9384a38f06326c77b4eddd0f220988ab564824dd (patch) | |
tree | 36b60bea76d6bf4a5ab18790690b6e5828c80423 /sw | |
parent | ef917d3734eaf00a5732540d20845e403fa68f49 (diff) |
Task #96678#: additional control for vertical layout
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/hintids.hxx | 7 | ||||
-rw-r--r-- | sw/source/core/bastyp/init.cxx | 17 |
2 files changed, 17 insertions, 7 deletions
diff --git a/sw/inc/hintids.hxx b/sw/inc/hintids.hxx index 3fbdf9414546..c314ad1ba3ae 100644 --- a/sw/inc/hintids.hxx +++ b/sw/inc/hintids.hxx @@ -2,9 +2,9 @@ * * $RCSfile: hintids.hxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: os $ $Date: 2001-07-04 11:31:42 $ + * last change: $Author: jp $ $Date: 2002-01-21 18:12:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -227,7 +227,7 @@ RES_FRMATR_BEGIN = RES_PARATR_END, RES_FTN_AT_TXTEND, // 104 RES_END_AT_TXTEND, // 105 RES_COLUMNBALANCE, // 106 - RES_FRMATR_DUMMY7, // 107 + RES_FRAMEDIR, // 107 RES_FRMATR_DUMMY8, // 108 RES_FRMATR_DUMMY9, // 109 RES_FRMATR_END @@ -474,6 +474,7 @@ BOOL IsInRange( const USHORT* pRange, const USHORT nId ); #define ITEMID_MACRO RES_FRMMACRO #define ITEMID_FMTKEEP RES_KEEP #define ITEMID_FMTBREAK RES_BREAK +#define ITEMID_FRAMEDIR RES_FRAMEDIR //Defines fuer die ehemaligen ParAttribute, die jetzt in paraitem.hxx //bzw. tabsitem.hxx von svx zu finden sind. diff --git a/sw/source/core/bastyp/init.cxx b/sw/source/core/bastyp/init.cxx index e504e07bec86..fce505260d8a 100644 --- a/sw/source/core/bastyp/init.cxx +++ b/sw/source/core/bastyp/init.cxx @@ -2,9 +2,9 @@ * * $RCSfile: init.cxx,v $ * - * $Revision: 1.25 $ + * $Revision: 1.26 $ * - * last change: $Author: jp $ $Date: 2001-09-05 10:24:30 $ + * last change: $Author: jp $ $Date: 2002-01-21 18:11:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -184,6 +184,9 @@ #ifndef _SVX_CHARRELIEFITEM_HXX #include <svx/charreliefitem.hxx> #endif +#ifndef _SVX_FRMDIRITEM_HXX +#include <svx/frmdiritem.hxx> +#endif #ifndef _SVX_DIALOGS_HRC #include <svx/dialogs.hrc> #endif @@ -574,7 +577,13 @@ SfxItemInfo __FAR_DATA aSlotTab[] = { 0, SFX_ITEM_POOLABLE }, // RES_FTN_AT_TXTEND { 0, SFX_ITEM_POOLABLE }, // RES_END_AT_TXTEND { 0, SFX_ITEM_POOLABLE }, // RES_COLUMNBALANCE - { 0, SFX_ITEM_POOLABLE }, // RES_FRMATR_DUMMY7 + +#ifdef VERTICAL_LAYOUT + { SID_ATTR_FRAMEDIRECTION, SFX_ITEM_POOLABLE }, // RES_FRAMEDIR +#else + { 0, SFX_ITEM_POOLABLE }, // RES_FRAMEDIR +#endif + { 0, SFX_ITEM_POOLABLE }, // RES_FRMATR_DUMMY8 { 0, SFX_ITEM_POOLABLE }, // RES_FRMATR_DUMMY9 @@ -826,9 +835,9 @@ void _InitCore() aAttrTab[ RES_FTN_AT_TXTEND - POOLATTR_BEGIN ] = new SwFmtFtnAtTxtEnd; aAttrTab[ RES_END_AT_TXTEND - POOLATTR_BEGIN ] = new SwFmtEndAtTxtEnd; aAttrTab[ RES_COLUMNBALANCE - POOLATTR_BEGIN ] = new SwFmtNoBalancedColumns; + aAttrTab[ RES_FRAMEDIR - POOLATTR_BEGIN ] = new SvxFrameDirectionItem; // FrameAttr - Dummies - aAttrTab[ RES_FRMATR_DUMMY7 - POOLATTR_BEGIN ] = new SfxBoolItem( RES_FRMATR_DUMMY7 ); aAttrTab[ RES_FRMATR_DUMMY8 - POOLATTR_BEGIN ] = new SfxBoolItem( RES_FRMATR_DUMMY8 ); aAttrTab[ RES_FRMATR_DUMMY9 - POOLATTR_BEGIN ] = new SfxBoolItem( RES_FRMATR_DUMMY9 ); // FrameAttr - Dummies |