summaryrefslogtreecommitdiff
path: root/sw/inc/dbfld.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-02-09 12:43:24 +0000
committerRüdiger Timm <rt@openoffice.org>2006-02-09 12:43:24 +0000
commitc9d46a789ad38613ca943b8cd2455b04e3a84617 (patch)
tree22408c66f80911ad6f147e7e55a62e4aafc87ef8 /sw/inc/dbfld.hxx
parent4a154de894c26d9a112fd995e145845d3ff7db42 (diff)
INTEGRATION: CWS rtfpp2 (1.7.148); FILE MERGED
2005/12/16 15:22:11 os 1.7.148.1: #129052# property FieldCode added to SwDBField
Diffstat (limited to 'sw/inc/dbfld.hxx')
-rw-r--r--sw/inc/dbfld.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/inc/dbfld.hxx b/sw/inc/dbfld.hxx
index c6ec6e1d47ae..88739f5e5390 100644
--- a/sw/inc/dbfld.hxx
+++ b/sw/inc/dbfld.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: dbfld.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 01:38:39 $
+ * last change: $Author: rt $ $Date: 2006-02-09 13:43:24 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -87,6 +87,7 @@ public:
class SW_DLLPUBLIC SwDBField : public SwValueField
{
String aContent;
+ String sFieldCode; // contains Word's field code
USHORT nSubType;
BOOL bIsInBodyTxt : 1;
BOOL bValidValue : 1;
@@ -133,6 +134,12 @@ public:
// Name erfragen
virtual const String& GetPar1() const;
+ // access to the command string
+ const String& GetFieldCode() const
+ { return sFieldCode;}
+ void SetFieldCode(const String& rStr)
+ { sFieldCode = rStr; }
+
// DBName
inline const SwDBData& GetDBData() const { return ((SwDBFieldType*)GetTyp())->GetDBData(); }
virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const;