diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-16 09:19:29 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-16 09:19:29 +0000 |
commit | e0d5c37d767870256e9fd8baff815f3d2186b64c (patch) | |
tree | fe7da002e78ed723f53986f88bf818ccaecd7a52 /sw/inc/section.hxx | |
parent | b0756a8c97a68bbcc5200492310810b7b0a16bfc (diff) |
INTEGRATION: CWS eforms2 (1.5.526); FILE MERGED
2004/10/11 14:42:14 dvo 1.5.526.3: RESYNC: (1.6-1.7); FILE MERGED
2004/10/08 12:51:05 dvo 1.5.526.2: RESYNC: (1.5-1.6); FILE MERGED
2004/06/23 13:12:02 fme 1.5.526.1: #114856# Enhanced forms - Editable sections in read-only documents
Diffstat (limited to 'sw/inc/section.hxx')
-rw-r--r-- | sw/inc/section.hxx | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index 0400e8d69758..cda05ddf99c1 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -2,9 +2,9 @@ * * $RCSfile: section.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: kz $ $Date: 2004-10-04 18:59:31 $ + * last change: $Author: obo $ $Date: 2004-11-16 10:19:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -137,6 +137,9 @@ class SW_DLLPUBLIC SwSection : public SwClient BOOL bProtectFlag : 1; // Flags fuer schnelle Abfragen, wird ueber // Attribut im Format gesetzt BOOL bHiddenFlag : 1; // Flag: Absaetze versteckt ? + // --> FME 2004-06-22 #114856# edit in readonly sections + BOOL bEditInReadonlyFlag : 1; + // <-- BOOL bHidden : 1; // alle Absaetze nicht sichtbar ? BOOL bCondHiddenFlag : 1; // Hiddenflag fuer die Bedingung ? BOOL bConnectFlag : 1; // Flag: "Verbindung zum Server" vorhanden? @@ -144,9 +147,13 @@ class SW_DLLPUBLIC SwSection : public SwClient SW_DLLPRIVATE void _SetHiddenFlag( int bHidden, int bCondition ); SW_DLLPRIVATE void _SetProtectFlag( int bFlag ) { bProtectFlag = bFlag; } - /* SW_DLLPUBLIC */ int _IsProtect() const; + // --> FME 2004-06-22 #114856# edit in readonly sections + void _SetEditInReadonlyFlag( int bFlag ) { bEditInReadonlyFlag = bFlag; } + int _IsEditInReadonly() const; + // <-- + public: TYPEINFO(); // rtti @@ -175,6 +182,11 @@ public: int IsProtect() const { return GetFmt() ? _IsProtect() : IsProtectFlag(); } + // --> FME 2004-06-22 #114856# edit in readonly sections + int IsEditInReadonly()const { return GetFmt() ? _IsEditInReadonly() : IsEditInReadonlyFlag(); } + void SetEditInReadonly( int bFlag = TRUE ); + // <-- + void SetHidden( int bFlag = TRUE ); void SetProtect( int bFlag = TRUE ); @@ -182,6 +194,9 @@ public: // aktuell an der Section gesetzt ist!!) int IsHiddenFlag() const { return bHiddenFlag; } int IsProtectFlag() const { return bProtectFlag; } + // --> FME 2004-06-22 #114856# edit in readonly sections + int IsEditInReadonlyFlag() const { return bEditInReadonlyFlag; } + // <-- void SetCondHidden( int bFlag = TRUE ); int IsCondHidden() const { return bCondHiddenFlag; } |