summaryrefslogtreecommitdiff
path: root/sw/inc/fldbas.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-08-31 14:50:41 +0000
committerKurt Zenker <kz@openoffice.org>2004-08-31 14:50:41 +0000
commit2bf0f2103e24ff92bedec101f0299297bcbdb337 (patch)
treeb2983c4f112c8651b8468fb9e370b626b274d893 /sw/inc/fldbas.hxx
parent1e6f6a230936803090aed11afb775884ffdfc84a (diff)
INTEGRATION: CWS c02v1 (1.6.562); FILE MERGED
2004/08/11 15:02:12 os 1.6.562.1: #i30878# access to static pFldNames now non-inline
Diffstat (limited to 'sw/inc/fldbas.hxx')
-rw-r--r--sw/inc/fldbas.hxx29
1 files changed, 27 insertions, 2 deletions
diff --git a/sw/inc/fldbas.hxx b/sw/inc/fldbas.hxx
index a5ed81f87580..73469b621b09 100644
--- a/sw/inc/fldbas.hxx
+++ b/sw/inc/fldbas.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fldbas.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: rt $ $Date: 2004-08-23 10:55:53 $
+ * last change: $Author: kz $ $Date: 2004-08-31 15:50:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -340,6 +340,8 @@ public:
USHORT Which() const { return nWhich; }
inline void UpdateFlds() const;
+
+ static SvStringsDtor* GetFldNames();
};
inline void SwFieldType::UpdateFlds() const
@@ -502,6 +504,29 @@ public:
};
+/*--------------------------------------------------------------------
+ Beschreibung: Sortierung von Felder nach der Position
+ --------------------------------------------------------------------*/
+class SwFieldList
+{
+public:
+ SwFieldList(SwEditShell* pShell);
+ ~SwFieldList();
+
+ // Felder eines bestimmten Typen aufnehmen
+ void InsertFields(USHORT nTypeId, const String* pName=0);
+
+ USHORT Count() const;
+
+ SwField* GetLastField() const;
+ SwField* GetNextField() const;
+
+private:
+ SwEditShell* pSh;
+ _SetGetExpFlds* pSrtLst;
+};
+
+
#endif // FIELDIDS_ONLY