diff options
author | Behrend Cornelius <bc@openoffice.org> | 2001-11-06 16:16:14 +0000 |
---|---|---|
committer | Behrend Cornelius <bc@openoffice.org> | 2001-11-06 16:16:14 +0000 |
commit | 8e27f7b3945b77fa66b7ec3998d1951065320014 (patch) | |
tree | 3bf722bea5d5bfda0ff90d80676d076c77aef194 /wizards/source/importwizard/Language.xba | |
parent | bd63ceaced74c7ad857a813ab0be99df9554403f (diff) |
94306# Conversion now with Modulecheck
Diffstat (limited to 'wizards/source/importwizard/Language.xba')
-rw-r--r-- | wizards/source/importwizard/Language.xba | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/wizards/source/importwizard/Language.xba b/wizards/source/importwizard/Language.xba index 4ad26c5a654d..969510484fef 100644 --- a/wizards/source/importwizard/Language.xba +++ b/wizards/source/importwizard/Language.xba @@ -5,7 +5,7 @@ Public sMSTemplateCheckbox(2) As String Public sMSDocumentCheckbox(2) As String Public sSODocumentCheckbox(4) As String -Public sSOHelperdocuments(1) As String +Public sSOHelperdocuments(1,1) As String Public sTemplateCheckbox(SBMAXAPPLCOUNT-1) As String Public sDocumentCheckbox(SBMAXAPPLCOUNT-1) As String Public sTemplateGroupName As String @@ -38,6 +38,7 @@ Public sSumSODocuments(4) as String Public sSumSOTemplates(4) as String Public sSumMSDocuments(3) as String Public sSumMSTemplates(3) as String +Public ModuleList(3) as String Sub LoadLanguage() @@ -63,8 +64,14 @@ Sub LoadLanguage() GetApplResourceArray(2013, 5, sSODocumentCheckBox()) 'StarOffice Applicationnames - GetApplResourceArray(2017,2, sSOHelperDocuments()) + sSOHelperDocuments(0,0) = GetResText(2017) + sSOHelperDocuments(0,1) = "com.sun.star.text.GlobalDocument" + sSOHelperDocuments(1,0) = GetResText(2018) + sSOHelperDocuments(1,1) = "com.sun.star.formula.FormulaProperties" + + GetApplResourceArray(2017,2, sSOHelperDocuments()) + sContainerName(0) = GetResText(1030) sContainerName(1) = "StarOffice" @@ -103,18 +110,22 @@ Sub LoadLanguage() GetApplResourceArray(3200, 3, sSumMSDocuments()) GetApplResourceArray(3210, 3, sSumMSTemplates()) With ImportDialog - sImportLabel = GetResText(1033) - sExportLabel = GetResText(1034) + sImportLabel = GetResText(1033) + sExportLabel = GetResText(1034) sSearchInSubDir = GetResText(1022) - .TemplateSearchSubDir.Label = sSearchInSubDir - .DocumentImportLabel.Label = sImportLabel - .DocumentExportLabel.Label = sExportLabel - .DocumentSearchSubDir.Label = sSearchInSubDir - .TemplateImportLabel.Label = sImportLabel - .TemplateExportLabel.Label = sExportLabel - .chkLogfile.Label = GetResText(2032) + .chkTemplateSearchSubDir.Label = sSearchInSubDir + .lblDocumentImport.Label = sImportLabel + .lblDocumentExport.Label = sExportLabel + .chkDocumentSearchSubDir.Label = sSearchInSubDir + .lblTemplateImport.Label = sImportLabel + .lblTemplateExport.Label = sExportLabel + .chkLogfile.Label = GetResText(2032) .chkLogfile.Helptext = GetResText(2033) - End With + End With + ModuleList(0) = "com.sun.star.text.TextDocument" + ModuleList(1) = "com.sun.star.sheet.SpreadsheetDocument" + ModuleList(2) = "com.sun.star.drawing.DrawingDocument/com.sun.star.presentation.PresentationDocument" + ModuleList(3) = "com.sun.star.formula.FormulaProperties/com.sun.star.text.GlobalDocument" End If End Sub |