summaryrefslogtreecommitdiff
path: root/wizards/source
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-09-11 16:49:12 +0000
committerKurt Zenker <kz@openoffice.org>2009-09-11 16:49:12 +0000
commit8c47ef98ad3132ba3c0d7ffd376d0b004750a7b7 (patch)
treec6fd0baf0b97df0b3d1df3ea519a447a06052087 /wizards/source
parentf4d4dc069847440395f37daad745a08b89b8c45a (diff)
CWS-TOOLING: integrate CWS extras320
2009-09-09 07:44:31 +0200 jsk r275963 : #i104797# - changed number of currencies from 13 to 16 2009-08-20 10:20:49 +0200 va r275169 : #i99047# Added Font Hinting 2009-08-18 12:50:42 +0200 va r275092 : #i99047# Added Font Hinting 2009-08-18 10:44:16 +0200 va r275083 : #i104220# French Holiday: Added Whit Sunday 2009-08-14 11:46:39 +0200 va r274973 : #i104220# Corrected French Holidays 2009-08-11 17:51:29 +0200 va r274872 : #i98254# Button for Logfile expanded. 2009-08-11 17:28:09 +0200 va r274870 : #i103011# Added latest 3 Euro Countries 2009-08-11 17:27:48 +0200 va r274869 : #i103011# Added latest 3 Euro Countries 2009-08-11 17:17:41 +0200 va r274868 : #i102567# Updated AutoCorrection 2009-08-11 17:16:59 +0200 va r274867 : #i102567# Updated AutoCorrection 2009-08-11 17:16:27 +0200 va r274866 : #i102567# Updated AutoCorrection
Diffstat (limited to 'wizards/source')
-rw-r--r--wizards/source/euro/Init.xba65
-rw-r--r--wizards/source/euro/euro.src17
-rw-r--r--wizards/source/importwizard/ImportDialog.xdl2
-rw-r--r--wizards/source/schedule/LocalHolidays.xba4
4 files changed, 79 insertions, 9 deletions
diff --git a/wizards/source/euro/Init.xba b/wizards/source/euro/Init.xba
index baedb650a0f9..45fdafdbafe5 100644
--- a/wizards/source/euro/Init.xba
+++ b/wizards/source/euro/Init.xba
@@ -68,6 +68,9 @@ Public sCurrAUSTRIAN as String
Public sCurrFINNISH as String
Public sCurrGREEK as String
Public sCurrSLOVENIAN as String
+Public sCurrCYPRIOT as String
+Public sCurrMALTESE as String
+Public sCurrSLOVAK as String
Public sCurrUNKNOWN as String
Public sCurrSYSUNKNOWN as String
@@ -76,7 +79,7 @@ Public sPrgsCONVERTING as String
Public sPrgsUNPROTECT as String
Public sInclusiveSubDir as String
-Public Const SBCOUNTRYCOUNT = 12
+Public Const SBCOUNTRYCOUNT = 15
Public CurMimeType as String
Public CurCellCount as Long
Public oSheets as Object
@@ -112,8 +115,8 @@ Public CurExtension(2) as String
Public Currfactor as Double
Public CurrSymbolList(2) as String
Public CurrLanguage as String
-Public CurrValue(12,5)
-Public LangIDValue(12,2,2) as String
+Public CurrValue(15,5)
+Public LangIDValue(15,2,2) as String
Public PreName as String
Public Separator as String
Public BitmapDir as String
@@ -189,8 +192,11 @@ Dim LocWorkPath as String
sCurrFINNISH = GetResText(1510)
sCurrGREEK = GetResText(1511)
sCurrSLOVENIAN = GetResText(1512)
- sCurrUNKNOWN = GetResText(1513)
- sCurrSYSUNKNOWN = GetResText(1514)
+ sCurrCYPRIOT = GetResText(1513)
+ sCurrMALTESE = GetResText(1514)
+ sCurrSLOVAK = GetResText(1515)
+ sCurrUNKNOWN = GetResText(1516)
+ sCurrSYSUNKNOWN = GetResText(1517)
.cmdCancel.Label = sCANCEL
.cmdHelp.Label = sHELP
.cmdBack.Label = GetResText(1002)
@@ -299,6 +305,10 @@ Sub InitializeLanguages()
LangIDValue(7,0,1) = &quot;IE&quot;
LangIDValue(7,0,2) = &quot;-1809&quot;
+ LangIDValue(7,1,0) = &quot;ga&quot;
+ LangIDValue(7,1,1) = &quot;IE&quot;
+ LangIDValue(7,1,2) = &quot;-83C&quot;
+
&apos; CURRENCIES_LUXEMBOURG
LangIDValue(8,0,0) = &quot;fr&quot;
LangIDValue(8,0,1) = &quot;LU&quot;
@@ -330,7 +340,23 @@ Sub InitializeLanguages()
&apos; CURRENCIES_SLOVENIAN
LangIDValue(12,0,0) = &quot;sl&quot;
LangIDValue(12,0,1) = &quot;SI&quot;
- LangIDValue(12,0,2) = &quot;-408&quot;
+ LangIDValue(12,0,2) = &quot;-424&quot;
+
+&apos; CURRENCIES_CYPRIOT
+ LangIDValue(13,0,0) = &quot;el&quot;
+ LangIDValue(13,0,1) = &quot;CY&quot;
+ LangIDValue(13,0,2) = &quot;-408&quot;
+
+&apos; CURRENCIES_MALTESE
+ LangIDValue(14,0,0) = &quot;mt&quot;
+ LangIDValue(14,0,1) = &quot;MT&quot;
+ LangIDValue(14,0,2) = &quot;-43A&quot;
+
+&apos; CURRENCIES_SLOVAK
+ LangIDValue(15,0,0) = &quot;sk&quot;
+ LangIDValue(15,0,1) = &quot;SK&quot;
+ LangIDValue(15,0,2) = &quot;-41B&quot;
+
End Sub
@@ -456,6 +482,33 @@ Dim i as Integer
CurrValue(12,4) = &quot;SIT&quot;
CurrValue(12,5) = &quot;SIT&quot;
+ CurrValue(13,0) = sCurrCYPRIOT
+ &apos; real conversion rate
+ CurrValue(13,1) = 0.585274
+ &apos; rounded conversion rate
+ CurrValue(13,2) = 0.6
+ CurrValue(13,3) = &quot;£C&quot;
+ CurrValue(13,4) = &quot;£&quot;
+ CurrValue(13,5) = &quot;CYP&quot;
+
+ CurrValue(14,0) = sCurrMALTESE
+ &apos; real conversion rate
+ CurrValue(14,1) = 0.429300
+ &apos; rounded conversion rate
+ CurrValue(14,2) = 0.4
+ CurrValue(14,3) = chr(8356)
+ CurrValue(14,4) = &quot;Lm&quot;
+ CurrValue(14,5) = &quot;MTL&quot;
+
+ CurrValue(15,0) = sCurrSLOVAK
+ &apos; real conversion rate
+ CurrValue(15,1) = 30.1260
+ &apos; rounded conversion rate
+ CurrValue(15,2) = 30
+ CurrValue(15,3) = &quot;Sk&quot;
+ CurrValue(15,4) = &quot;Sk&quot;
+ CurrValue(15,5) = &quot;SKK&quot;
+
i = -1
CurrSymbolList(0) = &quot;&quot;
CurrSymbolList(1) = &quot;&quot;
diff --git a/wizards/source/euro/euro.src b/wizards/source/euro/euro.src
index c62a756d1733..227c11203792 100644
--- a/wizards/source/euro/euro.src
+++ b/wizards/source/euro/euro.src
@@ -429,11 +429,26 @@ Text [ en-US ] = "Slovenian Tolar";
String CURRENCIES + 13
{
-Text [ en-US ] = "The currency set for the document is not a European currency!";
+Text [ en-US ] = "Cypriot Pound";
};
String CURRENCIES + 14
{
+Text [ en-US ] = "Maltese Lira";
+};
+
+String CURRENCIES + 15
+{
+Text [ en-US ] = "Slovak Koruna";
+};
+
+String CURRENCIES + 16
+{
+Text [ en-US ] = "The currency set for the document is not a European currency!";
+};
+
+String CURRENCIES + 17
+{
Text [ en-US ] = "The language set for your operating system is not a language of the European Monetary Union.";
};
diff --git a/wizards/source/importwizard/ImportDialog.xdl b/wizards/source/importwizard/ImportDialog.xdl
index dbc7e118c99e..082c06bc8970 100644
--- a/wizards/source/importwizard/ImportDialog.xdl
+++ b/wizards/source/importwizard/ImportDialog.xdl
@@ -89,7 +89,7 @@
<dlg:fixedline dlg:id="hlnDocuments" dlg:tab-index="42" dlg:left="6" dlg:top="110" dlg:width="258" dlg:height="8" dlg:page="2" dlg:value="hlnDocuments"/>
<dlg:fixedline dlg:id="FixedLine1" dlg:tab-index="43" dlg:left="6" dlg:top="181" dlg:width="258" dlg:height="6"/>
<dlg:fixedline dlg:id="hlnProgress" dlg:tab-index="44" dlg:left="6" dlg:top="55" dlg:width="258" dlg:height="8" dlg:page="4" dlg:value="hlnProgress"/>
- <dlg:button dlg:id="cmdShowLogFile" dlg:tab-index="45" dlg:disabled="true" dlg:left="105" dlg:top="142" dlg:width="60" dlg:height="14" dlg:page="4" dlg:value="cmdShowLogFile">
+ <dlg:button dlg:id="cmdShowLogFile" dlg:tab-index="45" dlg:disabled="true" dlg:left="75" dlg:top="142" dlg:width="120" dlg:height="14" dlg:page="4" dlg:value="cmdShowLogFile">
<script:event script:event-name="on-performaction" script:macro-name="vnd.sun.star.script:ImportWizard.FilesModul.OpenLogDocument?language=Basic&amp;location=application" script:language="Script"/>
</dlg:button>
</dlg:bulletinboard>
diff --git a/wizards/source/schedule/LocalHolidays.xba b/wizards/source/schedule/LocalHolidays.xba
index 7c7d46ce664d..0b347c03f031 100644
--- a/wizards/source/schedule/LocalHolidays.xba
+++ b/wizards/source/schedule/LocalHolidays.xba
@@ -13,8 +13,10 @@ Dim lDate&amp;
CalInsertBankholiday(DateSerial(YearInt, 1, 1), &quot;Jour de l&apos;an&quot;, cHolidayType_Full)
lEasterDate = CalEasterTable(YearInt)
CalInsertBankholiday(lEasterDate, &quot;Pâques&quot;, cHolidayType_Full)
- CalInsertBankholiday(lEasterDate + 10, &quot;Pentecôte&quot;, cHolidayType_Full)
+ CalInsertBankholiday(lEasterDate + 1, &quot;Lundi de Pâques&quot;, cHolidayType_Full)
CalInsertBankholiday(lEasterDate + 39, &quot;Ascension&quot;, cHolidayType_Full)
+ CalInsertBankholiday(lEasterDate + 49, &quot;Pentecôte&quot;, cHolidayType_Full)
+ CalInsertBankholiday(lEasterDate + 50, &quot;Lundi de Pentecôte&quot;, cHolidayType_Full)
CalInsertBankholiday(DateSerial(YearInt, 5, 1), &quot;Fête du travail&quot;, cHolidayType_Full)
CalInsertBankholiday(DateSerial(YearInt, 5, 8), &quot;Victoire 1945&quot;, cHolidayType_Full)
CalInsertBankholiday(DateSerial(YearInt, 7, 14), &quot;Fête Nationale&quot;, cHolidayType_Full)