summaryrefslogtreecommitdiff
path: root/include/svx/strarray.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/strarray.hxx')
-rw-r--r--include/svx/strarray.hxx36
1 files changed, 30 insertions, 6 deletions
diff --git a/include/svx/strarray.hxx b/include/svx/strarray.hxx
index 9b0f4ec8b9d4..a5dca6b84101 100644
--- a/include/svx/strarray.hxx
+++ b/include/svx/strarray.hxx
@@ -19,21 +19,45 @@
#ifndef INCLUDED_SVX_STRARRAY_HXX
#define INCLUDED_SVX_STRARRAY_HXX
-#include <tools/resary.hxx>
+#include <tools/fldunit.hxx>
#include <svx/svxdllapi.h>
+#include <vector>
// class SvxStringArray -------------------------------------------------
-class SVX_DLLPUBLIC SvxStringArray : public ResStringArray
+class SVX_DLLPUBLIC SvxStringArray
{
+ std::vector<OUString> m_aTranslations;
public:
- SvxStringArray( sal_uInt32 nResId );
- SvxStringArray( const ResId& rResId );
- ~SvxStringArray();
+ SvxStringArray(const char** pResId, size_t nLength);
+ const OUString GetString(sal_uInt32 nPos) const;
+};
+
+class SVX_DLLPUBLIC SvxFieldUnitTable
+{
+public:
+ static OUString GetString(sal_uInt32 i);
+ static sal_uInt32 Count();
+ static FieldUnit GetValue(sal_uInt32 i);
+};
- const OUString GetStringByPos( sal_uInt32 nPos ) const;
+class SVX_DLLPUBLIC SvxNumberingTypeTable
+{
+public:
+ static OUString GetString(sal_uInt32 i);
+ static sal_uInt32 Count();
+ static int GetValue(sal_uInt32 i);
+ static sal_uInt32 FindIndex(int nValue);
};
+class SVX_DLLPUBLIC SvxAttrNameTable
+{
+public:
+ static OUString GetString(sal_uInt32 i);
+ static sal_uInt32 Count();
+ static sal_uInt16 GetValue(sal_uInt32 i);
+ static sal_uInt32 FindIndex(int nValue);
+};
#endif