diff options
author | Oliver Specht <os@openoffice.org> | 2000-11-29 16:20:06 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2000-11-29 16:20:06 +0000 |
commit | 7304ecb5ad15133ccbabfbdba3d9b31a2d2e52bf (patch) | |
tree | e9afc408e2505606af87c6dff7e7b4d8af302424 /sw/inc | |
parent | 5d273f57a312e7f43f24aa2e8e17b45b985e73fb (diff) |
#80913# forbidden rules
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/format.hxx | 5 | ||||
-rw-r--r-- | sw/inc/globals.hrc | 5 | ||||
-rw-r--r-- | sw/inc/hintids.hxx | 8 | ||||
-rw-r--r-- | sw/inc/paratr.hxx | 9 | ||||
-rw-r--r-- | sw/inc/rcid.hrc | 10 | ||||
-rw-r--r-- | sw/inc/swatrset.hxx | 9 | ||||
-rw-r--r-- | sw/inc/unoprnms.hxx | 9 |
7 files changed, 35 insertions, 20 deletions
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx index 7d1eb8afc66e..8cc5f59a4895 100644 --- a/sw/inc/format.hxx +++ b/sw/inc/format.hxx @@ -2,9 +2,9 @@ * * $RCSfile: format.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jp $ $Date: 2000-11-20 09:36:59 $ + * last change: $Author: os $ $Date: 2000-11-29 17:18:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -340,6 +340,7 @@ public: inline const SwFmtDrop &GetDrop( BOOL = TRUE ) const; inline const SvxScriptSpaceItem &GetScriptSpace(BOOL = TRUE) const; inline const SvxHangingPunctuationItem &GetHangingPunctuation(BOOL = TRUE) const; + inline const SvxForbiddenRuleItem &GetForbiddenRule(BOOL = TRUE) const; // TabellenBox-Attribute - impl. steht im cellatr.hxx inline const SwTblBoxNumFormat &GetTblBoxNumFmt( BOOL = TRUE ) const; diff --git a/sw/inc/globals.hrc b/sw/inc/globals.hrc index dc63829bc8d4..f736c8dc5227 100644 --- a/sw/inc/globals.hrc +++ b/sw/inc/globals.hrc @@ -2,9 +2,9 @@ * * $RCSfile: globals.hrc,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jp $ $Date: 2000-11-27 08:59:23 $ + * last change: $Author: os $ $Date: 2000-11-29 17:18:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -303,6 +303,7 @@ #define TP_CHAR_POS (RC_GLOBALS_BEGIN + 98) #define TP_CHAR_TWOLN (RC_GLOBALS_BEGIN + 99) +#define TP_PARA_ASIAN (RC_GLOBALS_BEGIN + 100) // Kontext-Menues (Format-Menue) -------------------------------------------- diff --git a/sw/inc/hintids.hxx b/sw/inc/hintids.hxx index f96a4852d95b..c9062efd5301 100644 --- a/sw/inc/hintids.hxx +++ b/sw/inc/hintids.hxx @@ -2,9 +2,9 @@ * * $RCSfile: hintids.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: jp $ $Date: 2000-11-20 09:36:59 $ + * last change: $Author: os $ $Date: 2000-11-29 17:18:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -180,7 +180,7 @@ RES_PARATR_BEGIN = RES_TXTATR_END, RES_PARATR_NUMRULE, // 64 RES_PARATR_SCRIPTSPACE, // 65 RES_PARATR_HANGINGPUNCTUATION, // 66 - RES_PARATR_DUMMY1, // 67 + RES_PARATR_FORBIDDEN_RULES, // 67 RES_PARATR_DUMMY2, // 68 RES_PARATR_DUMMY3, // 69 RES_PARATR_DUMMY4, // 70 @@ -482,7 +482,7 @@ BOOL IsInRange( const USHORT* pRange, const USHORT nId ); #define ITEMID_HYPHENZONE RES_PARATR_HYPHENZONE #define ITEMID_SCRIPTSPACE RES_PARATR_SCRIPTSPACE #define ITEMID_HANGINGPUNCTUATION RES_PARATR_HANGINGPUNCTUATION - +#define ITEMID_FORBIDDENRULE RES_PARATR_FORBIDDEN_RULES //Defines fuer die ehemaligen GrfAttribute, die jetzt im svx zu finden sind. #define ITEMID_GRF_CROP RES_GRFATR_CROPGRF diff --git a/sw/inc/paratr.hxx b/sw/inc/paratr.hxx index 2b3e81342e59..bb5548a791ec 100644 --- a/sw/inc/paratr.hxx +++ b/sw/inc/paratr.hxx @@ -2,9 +2,9 @@ * * $RCSfile: paratr.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jp $ $Date: 2000-11-20 09:36:59 $ + * last change: $Author: os $ $Date: 2000-11-29 17:18:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -269,6 +269,8 @@ inline const SvxScriptSpaceItem& SwAttrSet::GetScriptSpace(BOOL bInP) const { return (const SvxScriptSpaceItem&)Get(RES_PARATR_SCRIPTSPACE,bInP); } inline const SvxHangingPunctuationItem &SwAttrSet::GetHangingPunctuation(BOOL bInP) const { return (const SvxHangingPunctuationItem&)Get(RES_PARATR_HANGINGPUNCTUATION,bInP); } +inline const SvxForbiddenRuleItem &SwAttrSet::GetForbiddenRule(BOOL bInP) const + { return (const SvxForbiddenRuleItem&)Get(RES_PARATR_FORBIDDEN_RULES, bInP); } /****************************************************************************** * Implementierung der Paragraph-Attribut Methoden vom SwFmt @@ -298,6 +300,7 @@ inline const SvxScriptSpaceItem& SwFmt::GetScriptSpace(BOOL bInP) const { return aSet.GetScriptSpace(bInP) ; } inline const SvxHangingPunctuationItem &SwFmt::GetHangingPunctuation(BOOL bInP) const { return aSet.GetHangingPunctuation(bInP) ; } - +inline const SvxForbiddenRuleItem &SwFmt::GetForbiddenRule(BOOL bInP) const + { return (const SvxForbiddenRuleItem&)aSet.Get(RES_PARATR_FORBIDDEN_RULES, bInP); } #endif diff --git a/sw/inc/rcid.hrc b/sw/inc/rcid.hrc index 11faf7eb934e..af1d69a634ba 100644 --- a/sw/inc/rcid.hrc +++ b/sw/inc/rcid.hrc @@ -2,9 +2,9 @@ * * $RCSfile: rcid.hrc,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:27 $ + * last change: $Author: os $ $Date: 2000-11-29 17:18:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -79,7 +79,7 @@ #define RC_VIEW (RC_BASE + 600) #define RC_CHRDLG (RC_BASE + 700) #define RC_RIBBAR (RC_BASE + 720) -#define RC_GLOBALS (RC_BASE + 820) +#define RC_GLOBALS (RC_BASE + 800) #define RC_FMTUI (RC_BASE + 920) #define RC_FRMDLG (RC_BASE + 1000) #define RC_FLDDLG (RC_BASE + 1100) @@ -157,11 +157,11 @@ // #define RC_RIBBAR_BEGIN RC_RIBBAR -#define RC_RIBBAR_END (RC_RIBBAR_BEGIN + 99) +#define RC_RIBBAR_END (RC_RIBBAR_BEGIN + 79) // globale Ressourcen #define RC_GLOBALS_BEGIN RC_GLOBALS -#define RC_GLOBALS_END (RC_GLOBALS_BEGIN + 99) +#define RC_GLOBALS_END (RC_GLOBALS_BEGIN + 119) // Format-Vorlagen #define RC_FMTUI_BEGIN RC_FMTUI diff --git a/sw/inc/swatrset.hxx b/sw/inc/swatrset.hxx index 3c552590483a..c0505b60185d 100644 --- a/sw/inc/swatrset.hxx +++ b/sw/inc/swatrset.hxx @@ -2,9 +2,9 @@ * * $RCSfile: swatrset.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jp $ $Date: 2000-11-20 09:36:59 $ + * last change: $Author: os $ $Date: 2000-11-29 17:18:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -160,6 +160,7 @@ class SvxHyphenZoneItem; class SwFmtDrop; class SvxScriptSpaceItem; class SvxHangingPunctuationItem; +class SvxForbiddenRuleItem; // TabellenBox-Attribute class SwTblBoxNumFormat; @@ -337,6 +338,7 @@ public: inline const SwFmtDrop &GetDrop( BOOL = TRUE ) const; inline const SvxScriptSpaceItem &GetScriptSpace(BOOL = TRUE) const; inline const SvxHangingPunctuationItem &GetHangingPunctuation(BOOL = TRUE) const; + inline const SvxForbiddenRuleItem &GetForbiddenRule(BOOL = TRUE) const; // TabellenBox-Attribute - impl. steht im cellatr.hxx inline const SwTblBoxNumFormat &GetTblBoxNumFmt( BOOL = TRUE ) const; @@ -350,6 +352,9 @@ public: /************************************************************************* $Log: not supported by cvs2svn $ + Revision 1.5 2000/11/20 09:36:59 jp + new para attributes - expand para range + Revision 1.4 2000/11/16 21:29:02 jp SwFmt2Lines moved to SVX and renamed diff --git a/sw/inc/unoprnms.hxx b/sw/inc/unoprnms.hxx index c5c5669b5df1..4f23620bd1a9 100644 --- a/sw/inc/unoprnms.hxx +++ b/sw/inc/unoprnms.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unoprnms.hxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: os $ $Date: 2000-11-29 11:35:14 $ + * last change: $Author: os $ $Date: 2000-11-29 17:18:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -617,6 +617,11 @@ extern const SwPropNameLen __FAR_DATA UNO_NAME_IS_ON; extern const SwPropNameLen __FAR_DATA UNO_NAME_Z_ORDER; extern const SwPropNameLen __FAR_DATA UNO_NAME_CONTENT_SECTION; extern const SwPropNameLen __FAR_DATA UNO_NAME_HEADER_SECTION; + +extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_IS_HANGING_PUNCTUATION; +extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_IS_CHARACTER_DISTANCE; +extern const SwPropNameLen __FAR_DATA UNO_NAME_PARA_IS_FORBIDDEN_RULES; + #endif |