1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE dlg:window PUBLIC
"-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
3 <dlg:window xmlns:
dlg=
"http://openoffice.org/2000/dialog" xmlns:
script=
"http://openoffice.org/2000/script" dlg:
id=
"DialogStyles" dlg:
left=
"170" dlg:
top=
"93" dlg:
width=
"120" dlg:
height=
"169" dlg:
help-url=
"HID:34650" dlg:
closeable=
"true" dlg:
moveable=
"true">
5 <dlg:button dlg:
id=
"cmdCancel" dlg:
tab-index=
"0" dlg:
left=
"5" dlg:
top=
"150" dlg:
width=
"50" dlg:
height=
"13" dlg:
help-url=
"HID:34652" dlg:
value=
"cmdCancel">
6 <script:event script:
event-name=
"on-performaction" script:
macro-name=
"vnd.sun.star.script:Template.Samples.RestoreCurrentStyles?language=Basic&location=application" script:
language=
"Script"/>
8 <dlg:button dlg:
id=
"cmdOk" dlg:
tab-index=
"1" dlg:
left=
"65" dlg:
top=
"150" dlg:
width=
"50" dlg:
height=
"12" dlg:
help-url=
"HID:34653" dlg:
value=
"cmdOk">
9 <script:event script:
event-name=
"on-performaction" script:
macro-name=
"vnd.sun.star.script:Template.Samples.CloseStyleDialog?language=Basic&location=application" script:
language=
"Script"/>
11 <dlg:menulist dlg:
id=
"lbStyles" dlg:
tab-index=
"2" dlg:
left=
"5" dlg:
top=
"5" dlg:
width=
"110" dlg:
height=
"133" dlg:
help-url=
"HID:34651">
12 <script:event script:
event-name=
"on-itemstatechange" script:
macro-name=
"vnd.sun.star.script:Template.Samples.SelectStyle?language=Basic&location=application" script:
language=
"Script"/>