diff options
author | jp <jp@openoffice.org> | 2001-10-24 17:43:03 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2001-10-24 17:43:03 +0000 |
commit | 091498c17fd1d8b430d4ca6c040d37df06133b66 (patch) | |
tree | c9ab73b7b4112b60060e4488cf119b9fa16758bc /sw/inc | |
parent | 49a15e899836b8b36ccae0816b5c2b4fb2657fb5 (diff) |
Task #88180#: change parameters of PutValue/QueryValue methods
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/authfld.hxx | 12 | ||||
-rw-r--r-- | sw/inc/chpfld.hxx | 8 | ||||
-rw-r--r-- | sw/inc/dbfld.hxx | 32 | ||||
-rw-r--r-- | sw/inc/ddefld.hxx | 8 | ||||
-rw-r--r-- | sw/inc/docufld.hxx | 70 | ||||
-rw-r--r-- | sw/inc/expfld.hxx | 25 | ||||
-rw-r--r-- | sw/inc/fldbas.hxx | 12 | ||||
-rw-r--r-- | sw/inc/flddat.hxx | 8 | ||||
-rw-r--r-- | sw/inc/reffld.hxx | 8 | ||||
-rw-r--r-- | sw/inc/usrfld.hxx | 12 |
10 files changed, 96 insertions, 99 deletions
diff --git a/sw/inc/authfld.hxx b/sw/inc/authfld.hxx index aa0661d52500..5fee5cf26baa 100644 --- a/sw/inc/authfld.hxx +++ b/sw/inc/authfld.hxx @@ -2,9 +2,9 @@ * * $RCSfile: authfld.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: os $ $Date: 2001-06-06 10:41:23 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -135,8 +135,8 @@ public: virtual SwFieldType* Copy() const; virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew ); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); inline SwDoc* GetDoc() const { return m_pDoc; } inline void SetDoc(SwDoc* pNewDoc) { m_pDoc = pNewDoc; } @@ -223,8 +223,8 @@ public: virtual void SetPar1(const String& rStr); virtual SwFieldType* ChgTyp( SwFieldType* ); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); long GetHandle() const { return nHandle; } diff --git a/sw/inc/chpfld.hxx b/sw/inc/chpfld.hxx index fcca48550201..47cd435aa72d 100644 --- a/sw/inc/chpfld.hxx +++ b/sw/inc/chpfld.hxx @@ -2,9 +2,9 @@ * * $RCSfile: chpfld.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:24 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -117,8 +117,8 @@ public: inline const String& GetNumber() const; inline const String& GetTitle() const; - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; inline BYTE SwChapterField::GetLevel() const { return nLevel; } diff --git a/sw/inc/dbfld.hxx b/sw/inc/dbfld.hxx index 479e8e9d6f81..ace0f47fadb1 100644 --- a/sw/inc/dbfld.hxx +++ b/sw/inc/dbfld.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dbfld.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: os $ $Date: 2001-02-21 12:13:10 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -95,8 +95,8 @@ public: const String& GetColumnName() const {return sColumn;} const SwDBData& GetDBData() const {return aDBData;} - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -156,8 +156,8 @@ public: // DBName inline const SwDBData& GetDBData() const { return ((SwDBFieldType*)GetTyp())->GetDBData(); } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; inline void SwDBField::SetExpansion(const String& rStr) @@ -194,8 +194,8 @@ public: // Name oder Inhalt virtual String GetCntnt(BOOL bName = FALSE) const; - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; @@ -235,8 +235,8 @@ public: // Condition virtual const String& GetPar1() const; virtual void SetPar1(const String& rStr); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; inline BOOL SwDBNextSetField::IsCondValid() const @@ -289,8 +289,8 @@ public: virtual void SetPar2(const String& rStr); // Die Datensatznummer steht in nFormat !! - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; inline BOOL SwDBNumSetField::IsCondValid() const @@ -324,8 +324,8 @@ public: virtual String Expand() const; virtual SwField* Copy() const; - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -357,8 +357,8 @@ public: inline long GetSetNumber() const; inline void SetSetNumber(long nNum); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; inline long SwDBSetNumberField::GetSetNumber() const diff --git a/sw/inc/ddefld.hxx b/sw/inc/ddefld.hxx index 021c25be7db8..e3bb1edf21bc 100644 --- a/sw/inc/ddefld.hxx +++ b/sw/inc/ddefld.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ddefld.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: ama $ $Date: 2001-07-05 10:08:08 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -97,8 +97,8 @@ public: virtual SwFieldType* Copy() const; virtual const String& GetName() const; - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); String GetCmd() const; void SetCmd( const String& rStr ); diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index ff6011f6895f..b1c90d332862 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -2,9 +2,9 @@ * * $RCSfile: docufld.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: dvo $ $Date: 2001-08-02 18:37:23 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -212,8 +212,8 @@ public: virtual USHORT GetSubType() const; // virtual void SetSubType(USHORT nSub); // OM: entfernt, da unbenoetigt und gefaehrlich - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); const String& GetUserString() const { return sUserStr; } void SetUserString( const String& rS ) { sUserStr = rS; } @@ -249,8 +249,8 @@ public: inline void SetExpansion(const String& rStr) { aContent = rStr; } inline const String& GetContent() const { return aContent; } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -284,8 +284,8 @@ public: inline void SetExpansion(const String& rStr) { aContent = rStr; } inline const String& GetContent() const { return aContent; } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -313,8 +313,8 @@ public: virtual String Expand() const; virtual SwField* Copy() const; - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; @@ -355,8 +355,8 @@ public: virtual USHORT GetSubType() const; virtual void SetSubType(USHORT nSub); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -430,8 +430,8 @@ public: virtual USHORT GetSubType() const; // virtual void SetSubType(USHORT nSub); // OM: entfernt, da unbenoetigt und gefaehrlich - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -467,8 +467,8 @@ public: // Bedingung erfragen/setzen virtual const String& GetPar1() const; virtual void SetPar1(const String& rStr); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -514,8 +514,8 @@ public: // Macrotext virtual String GetPar2() const; virtual void SetPar2(const String& rStr); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); static void CreateMacroString( String& rMacro, const String& rMacroName, @@ -564,8 +564,8 @@ public: virtual void SetPar2(const String& rStr); const String& GetTxt() const { return sTxt; } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -597,8 +597,8 @@ public: virtual SwField* Copy() const; inline void SetExpansion(const String& rStr) { aContent = rStr; } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -636,8 +636,8 @@ public: inline void SetExpansion(const String& rStr) { aContent = rStr; } inline const String& GetContent() const { return aContent; } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; @@ -679,8 +679,8 @@ public: short GetOffset() const { return nOffset; } void SetOffset( short nOff ) { nOffset = nOff; } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -724,8 +724,8 @@ public: const String& GetText() const { return sTxt; } void ChangeExpansion( const SwFrm* pFrm, const SwTxtFld* pFld ); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -767,8 +767,8 @@ public: SwCharFmt* GetCharFmt() const { return ((SwJumpEditFieldType*)GetTyp())->GetCharFmt(); } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -813,8 +813,8 @@ public: BOOL IsCodeURL() const { return bCodeURL; } void SetCodeURL( BOOL bURL ) { bCodeURL = bURL; } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -849,10 +849,8 @@ public: virtual const String& GetPar1() const; virtual void SetPar1(const String& rStr); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, - const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, - const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx index de3290d3eb9b..4228f5ae9627 100644 --- a/sw/inc/expfld.hxx +++ b/sw/inc/expfld.hxx @@ -2,9 +2,9 @@ * * $RCSfile: expfld.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: os $ $Date: 2001-07-20 12:49:47 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -166,8 +166,8 @@ public: virtual USHORT GetSubType() const; virtual void SetSubType(USHORT nType); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); static USHORT GetReferenceTextPos( const SwFmtFld& rFmt, SwDoc& rDoc); }; @@ -238,8 +238,8 @@ public: const SwNode* GetOutlineChgNd() const { return pOutlChgNd; } void SetOutlineChgNd( const SwNode* p ) { pOutlChgNd = p; } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; inline void SwSetExpFieldType::SetType( USHORT nTyp ) @@ -305,8 +305,8 @@ public: // Die Formel virtual String GetPar2() const; virtual void SetPar2(const String& rStr); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; inline const String& SwSetExpField::GetExpStr() const @@ -380,8 +380,8 @@ public: virtual USHORT GetSubType() const; virtual void SetSubType(USHORT nSub); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; /*-------------------------------------------------------------------- @@ -458,12 +458,11 @@ public: void CalcField( SwTblCalcPara& rCalcPara ); virtual String GetCntnt(BOOL bName = FALSE) const; - // Die Formel virtual String GetPar2() const; virtual void SetPar2(const String& rStr); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx index 059cb46ddc9d..323846ee1b3e 100644 --- a/sw/inc/fldbas.hxx +++ b/sw/inc/fldbas.hxx @@ -2,9 +2,9 @@ * * $RCSfile: fldbas.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: os $ $Date: 2001-02-02 11:47:02 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -326,8 +326,8 @@ public: // nur in abgeleiteten Klassen virtual const String& GetName() const; virtual SwFieldType* Copy() const = 0; - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); USHORT Which() const { return nWhich; } @@ -403,8 +403,8 @@ public: virtual void SetPar1(const String& rStr); virtual void SetPar2(const String& rStr); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); // hat das Feld eine Action auf dem ClickHandler ? (z.B. INetFelder,..) FASTBOOL HasClickHdl() const; // ist es ein Fix-Feld? diff --git a/sw/inc/flddat.hxx b/sw/inc/flddat.hxx index 660e8ef3da45..3085e5d6ee23 100644 --- a/sw/inc/flddat.hxx +++ b/sw/inc/flddat.hxx @@ -2,9 +2,9 @@ * * $RCSfile: flddat.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:25 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -173,8 +173,8 @@ public: virtual String Expand() const; virtual SwField* Copy() const; - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; #endif // _FLDDAT_HXX diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx index f48af6c4901e..d7ecb32dae15 100644 --- a/sw/inc/reffld.hxx +++ b/sw/inc/reffld.hxx @@ -2,9 +2,9 @@ * * $RCSfile: reffld.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:27 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -153,8 +153,8 @@ public: virtual void SetPar1(const String& rStr); virtual String GetPar2() const; - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; diff --git a/sw/inc/usrfld.hxx b/sw/inc/usrfld.hxx index 7868ce7be81f..576ac8a73964 100644 --- a/sw/inc/usrfld.hxx +++ b/sw/inc/usrfld.hxx @@ -2,9 +2,9 @@ * * $RCSfile: usrfld.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:29 $ + * last change: $Author: jp $ $Date: 2001-10-24 18:43:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -107,8 +107,8 @@ public: BOOL IsDeleted() const { return bDeleted; } void SetDeleted( BOOL b ) { bDeleted = b; } - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; inline BOOL SwUserFieldType::IsValid() const @@ -159,8 +159,8 @@ public: // Inhalt virtual String GetPar2() const; virtual void SetPar2(const String& rStr); - virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, const String& rProperty ) const; - virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, const String& rProperty ); + virtual BOOL QueryValue( com::sun::star::uno::Any& rVal, BYTE nMId ) const; + virtual BOOL PutValue( const com::sun::star::uno::Any& rVal, BYTE nMId ); }; #endif // _USRFLD_HXX |