diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2006-02-09 12:43:24 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2006-02-09 12:43:24 +0000 |
commit | c9d46a789ad38613ca943b8cd2455b04e3a84617 (patch) | |
tree | 22408c66f80911ad6f147e7e55a62e4aafc87ef8 /sw/inc/dbfld.hxx | |
parent | #i10000# Comma added (got lost in resolving merge conflict). (diff) | |
download | core-c9d46a789ad38613ca943b8cd2455b04e3a84617.tar.gz core-c9d46a789ad38613ca943b8cd2455b04e3a84617.zip |
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.hxx | 11 |
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; |