summaryrefslogtreecommitdiff
path: root/svl/inc
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-11-25 13:07:42 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-27 23:00:03 -0600
commitcfce380c1bc5f048b24aff6dcf63bca67d26a980 (patch)
treebc0733d22ac6813e5e984cb33296a094bcbcffe0 /svl/inc
parent1c7db7de3deec8384c7246c5c6c4886bd37fdc96 (diff)
make GetIndexPuttingAndConverting String/OUString agnostic for now
plus convert GetKeyWord() and GetStandardName and some more zforlist implementation conversion Change-Id: I64abe35a4875d84518a1904ef3121269b79a6df0
Diffstat (limited to 'svl/inc')
-rw-r--r--svl/inc/svl/zforlist.hxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
index 175e4040109f..4558dc99bde6 100644
--- a/svl/inc/svl/zforlist.hxx
+++ b/svl/inc/svl/zforlist.hxx
@@ -463,6 +463,10 @@ public:
bool & rNewInserted,
xub_StrLen & rCheckPos );
+ sal_uInt32 GetIndexPuttingAndConverting( OUString & rString, LanguageType eLnge,
+ LanguageType eSysLnge, short & rType,
+ bool & rNewInserted, sal_Int32 & rCheckPos );
+
/** Create a format code string using format nIndex as a template and
applying other settings (passed from the dialog) */
OUString GenerateFormat(sal_uInt32 nIndex,
@@ -511,6 +515,13 @@ public:
LanguageType eLnge = LANGUAGE_DONTKNOW,
bool bUseStarFormat = false );
+ bool GetPreviewString(const OUString& sFormatString,
+ double fPreviewNumber,
+ OUString& sOutString,
+ Color** ppColor,
+ LanguageType eLnge,
+ bool bUseStarFormat );
+
/** Same as <method>GetPreviewString</method> but the format code string
may be either language/country eLnge or en_US english US */
bool GetPreviewStringGuess( const String& sFormatString, double fPreviewNumber,
@@ -784,11 +795,11 @@ public:
/** Return a keyword for a language/country and <type>NfKeywordIndex</type>
for XML import, to generate number format strings. */
- String GetKeyword( LanguageType eLnge, sal_uInt16 nIndex );
+ OUString GetKeyword( LanguageType eLnge, sal_uInt16 nIndex );
/** Return the GENERAL keyword in proper case ("General") for a
language/country, used in XML import */
- String GetStandardName( LanguageType eLnge );
+ OUString GetStandardName( LanguageType eLnge );
/** Check if a specific locale has supported locale data. */
static bool IsLocaleInstalled( LanguageType eLang );