summaryrefslogtreecommitdiff
path: root/xmlscript/test
diff options
context:
space:
mode:
authorDaniel Boelzle <dbo@openoffice.org>2001-02-21 19:49:30 +0000
committerDaniel Boelzle <dbo@openoffice.org>2001-02-21 19:49:30 +0000
commitbe442862608fdff54bd1b5e3d2568f1498ebc424 (patch)
tree86e1eedc42e24accf996d7bf0df1373afb33e8a8 /xmlscript/test
parent19196379120685ee6a17e63f4d329fa39b2e51b1 (diff)
further impl
Diffstat (limited to 'xmlscript/test')
-rw-r--r--xmlscript/test/makefile.mk24
-rw-r--r--xmlscript/test/test.xml38
2 files changed, 45 insertions, 17 deletions
diff --git a/xmlscript/test/makefile.mk b/xmlscript/test/makefile.mk
index e43a83507e9e..3368730ebf3f 100644
--- a/xmlscript/test/makefile.mk
+++ b/xmlscript/test/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.1 $
+# $Revision: 1.2 $
#
-# last change: $Author: dbo $ $Date: 2001-02-16 14:14:49 $
+# last change: $Author: dbo $ $Date: 2001-02-21 20:49:29 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -92,7 +92,7 @@ APP1STDLIBS= \
$(CPPULIB) \
$(CPPUHELPERLIB) \
$(SALLIB) \
- ixmlscript.lib
+ ixcr$(UPD)$(DLLPOSTFIX).lib
APP1DEF= $(MISC)$/imexp.def
@@ -108,14 +108,14 @@ APP1DEF= $(MISC)$/imexp.def
.IF "$(GUI)" == "WIN"
$(MISC)$/imexp.def: makefile.mk
- echo NAME imexp >$@
- echo DESCRIPTION 'XML dialogs im-/ exporter' >>$@
- echo EXETYPE WINDOWS >>$@
- echo STUB 'winSTUB.EXE' >>$@
- echo PROTMODE >>$@
- echo CODE PRELOAD MOVEABLE DISCARDABLE >>$@
- echo DATA PRELOAD MOVEABLE MULTIPLE >>$@
- echo HEAPSIZE 8192 >>$@
- echo STACKSIZE 32768 >>$@
+ echo NAME imexp >$@
+ echo DESCRIPTION 'XML dialogs im-/ exporter' >>$@
+ echo EXETYPE WINDOWS >>$@
+ echo STUB 'winSTUB.EXE' >>$@
+ echo PROTMODE >>$@
+ echo CODE PRELOAD MOVEABLE DISCARDABLE >>$@
+ echo DATA PRELOAD MOVEABLE MULTIPLE >>$@
+ echo HEAPSIZE 8192 >>$@
+ echo STACKSIZE 32768 >>$@
.ENDIF
diff --git a/xmlscript/test/test.xml b/xmlscript/test/test.xml
index 8513a6b94f3e..f9c62c66198b 100644
--- a/xmlscript/test/test.xml
+++ b/xmlscript/test/test.xml
@@ -1,12 +1,13 @@
<window xmlns="http://openoffice.org/2000/dialog"
xmlns:dlg="http://openoffice.org/2000/dialog"
- label="Test-Dialog" height="600" width="600">
+ label="Test-Dialog" height="800" width="800">
<dlg:styles>
<dlg:style style-id="bla" background-color="0xffffff" dlg:text-color="255"/>
<dlg:style style-id="bla2" background-color="0xff00ff" dlg:text-color="255193873"/>
<dlg:style style-id="bla3" background-color="0" dlg:text-color="0xffffff" font-name="Arial" font-height="24"/>
+ <dlg:style style-id="no_border" border="none"/>
</dlg:styles>
<dlg:bulletinboard xmlns:ns="http://www.fake">
@@ -58,7 +59,7 @@
</menupopup>
</combobox>
<combobox id="combo2" value="combotext2" left="310" top="150" width="50" height="50"
- spin-button="true"
+ spin="true"
>
<menupopup>
<menuitem value="Citem3"/>
@@ -101,13 +102,40 @@
<textfield id="field1" left="250" top="520" width="50" height="40"
value="edit text here..." readonly="true" vscroll="true"
multiline="true"
- align="right"/>
+ align="right" style-id="no_border"/>
<textfield id="field2" left="320" top="520" width="50" height="40"
- value="edit text2 here..." hscroll="true"
- multiline="true" echochar="*"
+ value="hidden text" hscroll="true"
+ echochar="*"
align="left"/>
+ <img id="image1" left="50" top="600" width="80" height="50"
+ src="../../test/w3c.jpg"/>
+
+ <filecontrol id="file1" left="150" top="600" width="100" height="100"
+ value="f:\script\xmlscript\test\w3c.jpg"/>
+<!--
+ <currencyfield id="currency1" left="250" top="600" width="100" height="20"
+ value="5.6075" value-min="0.5" value-max="10.0" value-step="0.1"
+ spin="true" thousands-separator="true" currency-symbol="$"/>
+
+ <numericfield id="numeric1" left="400" top="100" width="100" height="20"
+ value="5.6075" value-min="0.5" value-max="10.0" value-step="0.1"
+ thousands-separator="true" />
+-->
+
+ <datefield id="datefield1" left="400" top="50" width="100" height="20"
+ date-format="short DDMMYY"
+ spin="true"/>
+
+ <timefield id="time1" left="400" top="150" width="100" height="20"
+ time-format="24h short" value-min="0" value-max="12"
+ strict-format="true" value="6"
+ spin="true"/>
+
+ <patternfield id="pattern1" left="400" top="200" width="100" height="20"
+ value="pattern" strict-format="true" readonly="true"/>
+
</dlg:bulletinboard>
</window>