summaryrefslogtreecommitdiff
path: root/sw/inc/doc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r--sw/inc/doc.hxx22
1 files changed, 20 insertions, 2 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index ec8c6c0bd64d..1459c78f49a3 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: doc.hxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: jp $ $Date: 2000-12-21 09:27:52 $
+ * last change: $Author: jp $ $Date: 2001-01-19 16:45:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -155,6 +155,7 @@ class SwFmt;
class SwFmtCol;
class SwFmtINetFmt;
class SwFmtRefMark;
+class SwForbiddenCharacterTable;
class SwFrmFmt;
class SwFrmFmts;
class SwFtnIdxs;
@@ -219,6 +220,10 @@ struct SwHash;
struct SwSortOptions;
struct SwDefTOXBase_Impl;
+namespace com { namespace sun { namespace star { namespace i18n {
+ struct ForbiddenCharacters; // comes from the I18N UNO interface
+}}}};
+
namespace utl {
class TransliterationWrapper;
};
@@ -351,6 +356,9 @@ class SwDoc
// like footnote/endnote in sections
SwUnoCallBack *pUnoCallBack;
+
+ SwForbiddenCharacterTable* pForbiddenCharsTbl; // table of forbidden
+ // characters of this document
// -------------------------------------------------------------------
// sonstige
sal_uInt16 nUndoPos; // akt. Undo-InsertPosition (fuers Redo!)
@@ -1733,6 +1741,16 @@ public:
sal_Bool ContainsMSVBasic() const { return bContains_MSVBasic; }
void SetContainsMSVBasic( sal_Bool bFlag ) { bContains_MSVBasic = bFlag; }
+ // Interface for the forbidden characters of any asian/.. languages
+ const com::sun::star::i18n::
+ ForbiddenCharacters* GetForbiddenCharacters( ULONG nLang,
+ BOOL bLocaleData ) const;
+ void SetForbiddenCharacters( ULONG nLang,
+ const com::sun::star::i18n::ForbiddenCharacters& );
+ void ClearForbiddenCharacters( ULONG nLang );
+ const SwForbiddenCharacterTable* GetForbiddenCharacterTbl() const
+ { return pForbiddenCharsTbl; }
+
// ------------------- Zugriff auf Dummy-Member --------------------
sal_Bool IsParaSpaceMax() const { return n8Dummy1 & DUMMY_PARASPACEMAX; }