summaryrefslogtreecommitdiff
path: root/wizards/source/importwizard/DialogModul.xba
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-03-27 16:59:30 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-03-27 16:59:30 +0000
commit6652c8336ff201af224d6c0b787f5d79ec4f1810 (patch)
tree794890c79560e699edb06e59868357a5a5f68da0 /wizards/source/importwizard/DialogModul.xba
parent0f757610e5cb4de88a9ef20a7563f9da2973f6ee (diff)
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'wizards/source/importwizard/DialogModul.xba')
-rw-r--r--wizards/source/importwizard/DialogModul.xba12
1 files changed, 10 insertions, 2 deletions
diff --git a/wizards/source/importwizard/DialogModul.xba b/wizards/source/importwizard/DialogModul.xba
index 08c6e4fc33e5..731d9bc8635a 100644
--- a/wizards/source/importwizard/DialogModul.xba
+++ b/wizards/source/importwizard/DialogModul.xba
@@ -30,7 +30,7 @@ Public sKeyName(SBMAXAPPLCOUNT-1) as String
Public sValueName(SBMAXAPPLCOUNT-1) as String
Public sCRLF as String
Public MSFilterName(5,2) as String
-Public XMLFilterName(7,2)
+Public XMLFilterName(7,2) as String
&apos; e.g.:
&apos; XMLFilterName(x,0) = &quot;sdw&quot; &apos; in documents we take the extensions; in SO-templates the appropriate Filtername
@@ -63,6 +63,8 @@ Public Const SBAPPLKEY = 9
&apos; Applications(X,8) = &quot;File:///...&quot; (TargetUrl of the templates)
&apos; Applications(X,9) = 0 (Key to the original Index of the Applications)
+Public Const SBMAXEXTENSIONLENGTH = 7
+
Sub FillStep_Welcome()
Dim i as Integer
@@ -367,7 +369,6 @@ Sub SetupMSConfiguration()
End Sub
-
Sub SetupXMLConfiguration()
iApplSection = 1000
Wizardmode = SBXMLMODE
@@ -381,6 +382,7 @@ Sub SetupXMLConfiguration()
XMLFilterName(1,0) = &quot;sdc&quot;
XMLFilterName(1,1) = &quot;StarOffice XML (Calc)&quot;
XMLFilterName(1,2) = &quot;sxc&quot;
+
XMLFilterName(2,0) = &quot;sdd|sda&quot;
XMLFilterName(2,1) = &quot;StarOffice XML (Impress)|sdraw: StarOffice XML (Draw)&quot;
XMLFilterName(2,2) = &quot;sxi|sxd&quot;
@@ -496,6 +498,12 @@ Sub InitializeProgressPage(oDialog as Object)
End Sub
+Sub SetProgressDisplay(AbsFound as Integer)
+ ImportDialog.LabelRetrieval.Label = sProgressPage_2 &amp; &quot; &quot; &amp; ReplaceString(sProgressPage_5, Str(AbsFound) &amp; &quot; &quot;, &quot;%1&quot;)
+ ImportDialog.LabelCurDocumentRetrieval.Label = sProgressFound &amp; &quot; &quot; &amp; CStr(AbsDocuFound) &amp; &quot; &quot; &amp; sProgressMoreDocs
+ ImportDialog.LabelCurTemplateRetrieval.Label = sProgressFound &amp; &quot; &quot; &amp; CStr(AbsTemplateFound) &amp; &quot; &quot; &amp; sProgressMoreTemplates
+End Sub
+
Sub TakoverFolderName(aEvent as Object)
Dim RefControlName as String
Dim oRefControl