Index: svtools/source/config/ctloptions.cxx
===================================================================
RCS file: /cvsroot/thaioo/OpenOffice_Test/svtools/source/config/ctloptions.cxx,v
retrieving revision 1.2
diff -a -u -r1.2 ctloptions.cxx
--- svtools/source/config/ctloptions.cxx	17 Sep 2004 07:51:26 -0000	1.2
+++ svtools/source/config/ctloptions.cxx	7 Oct 2004 06:10:26 -0000
@@ -313,6 +313,9 @@
 	}
 
 	m_bIsLoaded = sal_True;
+	
+	// Set CTL Numerals from setting value     
+	OutputCTLNumerals::SetOutputCTLNumerals((OutputCTLNumerals::TextNumerals) m_eCTLTextNumerals );	
 }
 //------------------------------------------------------------------------------
 void SvtCTLOptions_Impl::SetCTLFontEnabled( sal_Bool _bEnabled )
@@ -349,6 +352,7 @@
         SetModified();
         m_eCTLTextNumerals = _eNumerals;
     }
+    OutputCTLNumerals::SetOutputCTLNumerals((OutputCTLNumerals::TextNumerals)_eNumerals );
 }
 // global ----------------------------------------------------------------
 
Index: vcl/inc/svapp.hxx
===================================================================
RCS file: /cvsroot/thaioo/OpenOffice_Test/vcl/inc/svapp.hxx,v
retrieving revision 1.1.1.1
diff -a -u -r1.1.1.1 svapp.hxx
--- vcl/inc/svapp.hxx	15 Sep 2004 05:29:22 -0000	1.1.1.1
+++ vcl/inc/svapp.hxx	7 Oct 2004 06:10:51 -0000
@@ -598,4 +598,27 @@
 
 #endif
 
+// -----------------
+// - OutputCTLNumerals -
+// -----------------
+
+class OutputCTLNumerals
+{
+public:
+enum TextNumerals
+    {
+       NUMERALS_ARABIC = 0,
+       NUMERALS_HINDI,
+       NUMERALS_SYSTEM
+    };
+
+private:
+    //TextNumerals CTLNumerals = NUMERALS_ARABIC;
+    static TextNumerals CTLNumerals;
+
+public:
+    static void SetOutputCTLNumerals(TextNumerals CTLNumerals);
+    static TextNumerals GetOutputCTLNumerals();
+};
+
 #endif // _APP_HXX
Index: vcl/source/app/svapp.cxx
===================================================================
RCS file: /cvsroot/thaioo/OpenOffice_Test/vcl/source/app/svapp.cxx,v
retrieving revision 1.1.1.1
diff -a -u -r1.1.1.1 svapp.cxx
--- vcl/source/app/svapp.cxx	15 Sep 2004 05:29:23 -0000	1.1.1.1
+++ vcl/source/app/svapp.cxx	7 Oct 2004 06:10:51 -0000
@@ -2363,3 +2363,16 @@
 
     return bRet;
 }
+
+// OutputCTLNumerals
+OutputCTLNumerals::TextNumerals OutputCTLNumerals::CTLNumerals;
+void OutputCTLNumerals::SetOutputCTLNumerals(TextNumerals aCTLNumerals)
+{
+       CTLNumerals = aCTLNumerals;
+}
+
+OutputCTLNumerals::TextNumerals OutputCTLNumerals::GetOutputCTLNumerals()
+{
+       return CTLNumerals;
+}
+
Index: vcl/source/gdi/outdev3.cxx
===================================================================
RCS file: /cvsroot/thaioo/OpenOffice_Test/vcl/source/gdi/outdev3.cxx,v
retrieving revision 1.1.1.1
diff -a -u -r1.1.1.1 outdev3.cxx
--- vcl/source/gdi/outdev3.cxx	15 Sep 2004 05:29:24 -0000	1.1.1.1
+++ vcl/source/gdi/outdev3.cxx	7 Oct 2004 06:10:51 -0000
@@ -5014,7 +5014,9 @@
     if( eTextLanguage == LANGUAGE_SYSTEM )
         eTextLanguage = GetSystemLanguage();
 
-    meTextLanguage = eTextLanguage;
+    OutputCTLNumerals::TextNumerals optNumerals = OutputCTLNumerals::GetOutputCTLNumerals();
+    meTextLanguage = ( optNumerals == OutputCTLNumerals::NUMERALS_ARABIC ) ? LANGUAGE_ENGLISH_US : 
+                  ( optNumerals == OutputCTLNumerals::NUMERALS_HINDI)   ? LANGUAGE_ARABIC : eTextLanguage;
 }
 
 // -----------------------------------------------------------------------
