summaryrefslogtreecommitdiff
path: root/wizards/source
diff options
context:
space:
mode:
authorBehrend Cornelius <bc@openoffice.org>2001-12-12 12:48:38 +0000
committerBehrend Cornelius <bc@openoffice.org>2001-12-12 12:48:38 +0000
commit368974c057495e8cf16d0cc6845505aaee4d948e (patch)
tree1986c5a0f1fe353d9ec9f47fc88677ede77cbda9 /wizards/source
parent180e8828224821143dd476a1b9f2888a7e3b400c (diff)
#95873# Referencing NumberingStyles improved
Diffstat (limited to 'wizards/source')
-rw-r--r--wizards/source/template/Autotext.xba8
-rw-r--r--wizards/source/template/Correspondence.xba4
-rw-r--r--wizards/source/template/ModuleAgenda.xba4
-rw-r--r--wizards/source/template/Samples.xba4
-rw-r--r--wizards/source/template/script.xlb14
5 files changed, 17 insertions, 17 deletions
diff --git a/wizards/source/template/Autotext.xba b/wizards/source/template/Autotext.xba
index da7be89c194a..ad2affe14436 100644
--- a/wizards/source/template/Autotext.xba
+++ b/wizards/source/template/Autotext.xba
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
-<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Autotext" script:language="StarBasic">Option Explicit
+ <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Autotext" script:language="StarBasic">Option Explicit
Public UserfieldDataType(14) as String
Public oDocAuto as Object
@@ -46,8 +46,8 @@ Sub Main()
BulletList(6) = 79
BulletList(7) = 58
- oDocAuto = ThisComponent
- oStyles = oDocAuto.Stylefamilies.NumberingStyles
+ oDocAuto = ThisComponent
+ oStyles = oDocAuto.Stylefamilies.GetByName(&quot;NumberingStyles&quot;)
&apos; Prepare the Search-Descriptor
oSearchDesc = oDocAuto.createsearchDescriptor()
@@ -160,4 +160,4 @@ Sub CreatePlaceholder(oCursor as Object, sFoundContent as String)
End Sub
-</script:module>
+</script:module> \ No newline at end of file
diff --git a/wizards/source/template/Correspondence.xba b/wizards/source/template/Correspondence.xba
index 41686edbb1eb..33a80f58867b 100644
--- a/wizards/source/template/Correspondence.xba
+++ b/wizards/source/template/Correspondence.xba
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
-<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Correspondence" script:language="StarBasic">Option Explicit
+ <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Correspondence" script:language="StarBasic">Option Explicit
Public msgNoTextmark$, msgError$
Public sAddressbook$
@@ -247,4 +247,4 @@ Dim bCorrectField as Boolean
End If
End If
End Sub
-</script:module>
+</script:module> \ No newline at end of file
diff --git a/wizards/source/template/ModuleAgenda.xba b/wizards/source/template/ModuleAgenda.xba
index 651a1a613eb9..92737f2b35ee 100644
--- a/wizards/source/template/ModuleAgenda.xba
+++ b/wizards/source/template/ModuleAgenda.xba
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
-<script:module xmlns:script="http://openoffice.org/2000/script" script:name="ModuleAgenda" script:language="StarBasic">&apos; All variables must be declared before use
+ <script:module xmlns:script="http://openoffice.org/2000/script" script:name="ModuleAgenda" script:language="StarBasic">&apos; All variables must be declared before use
Option Explicit
&apos; Used for &quot;disabling&quot; the cancel button of the dialog
@@ -198,4 +198,4 @@ Dim Taglist() as String
Bookmarkname = TagList(0)
sTrueContent = TagList(1)
End Sub
-</script:module>
+</script:module> \ No newline at end of file
diff --git a/wizards/source/template/Samples.xba b/wizards/source/template/Samples.xba
index 3d18f3102219..b42bc7bbc452 100644
--- a/wizards/source/template/Samples.xba
+++ b/wizards/source/template/Samples.xba
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
-<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Samples" script:language="StarBasic">Option Explicit
+ <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Samples" script:language="StarBasic">Option Explicit
Const SAMPLES = 1000
Const STYLES = 1100
@@ -177,4 +177,4 @@ Sub KillTempFile()
End If
End Sub
-</script:module>
+</script:module> \ No newline at end of file
diff --git a/wizards/source/template/script.xlb b/wizards/source/template/script.xlb
index 9339742c35bf..68fa241acad9 100644
--- a/wizards/source/template/script.xlb
+++ b/wizards/source/template/script.xlb
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
-<library:library xmlns:library="http://openoffice.org/2000/library" library:name="Template" library:readonly="true" library:passwordprotected="false">
- <library:element library:name="ModuleAgenda"/>
- <library:element library:name="Correspondence"/>
- <library:element library:name="Samples"/>
- <library:element library:name="Autotext"/>
- <library:element library:name="Greeting"/>
-</library:library>
+ <library:library xmlns:library="http://openoffice.org/2000/library" library:name="Template" library:readonly="true" library:passwordprotected="false">
+ <library:element library:name="ModuleAgenda"/>
+ <library:element library:name="Correspondence"/>
+ <library:element library:name="Samples"/>
+ <library:element library:name="Autotext"/>
+ <library:element library:name="Greeting"/>
+ </library:library>