summaryrefslogtreecommitdiff
path: root/xmloff/dtd/form.mod
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 13:09:36 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 13:09:36 +0000
commit67adf489011b98cd5f405d44791ec9f6a2d5ea6e (patch)
treeede8b98c329cb1508c4dca34c4c5ecc78958a74e /xmloff/dtd/form.mod
parentf958e2809e38b4ece12f49492c0d748f69bfd0e6 (diff)
INTEGRATION: CWS insight01 (1.15.8); FILE MERGED
2004/07/23 12:29:17 oj 1.15.8.3: RESYNC: (1.16-1.17); FILE MERGED 2004/05/28 10:18:14 oj 1.15.8.2: RESYNC: (1.15-1.16); FILE MERGED 2004/02/20 11:15:34 oj 1.15.8.1: #i25414# extend form file format for form:datasource
Diffstat (limited to 'xmloff/dtd/form.mod')
-rw-r--r--xmloff/dtd/form.mod23
1 files changed, 13 insertions, 10 deletions
diff --git a/xmloff/dtd/form.mod b/xmloff/dtd/form.mod
index 436986c63a60..1381eee7eac8 100644
--- a/xmloff/dtd/form.mod
+++ b/xmloff/dtd/form.mod
@@ -1,5 +1,5 @@
<!--
- $Id: form.mod,v 1.17 2004-07-05 16:05:04 obo Exp $
+ $Id: form.mod,v 1.18 2004-08-02 14:09:36 hr Exp $
The Contents of this file are made available subject to the terms of
either of the following licenses
@@ -85,6 +85,7 @@
<!ENTITY % tab-index "form:tab-index CDATA #IMPLIED">
<!ENTITY % target-frame "office:target-frame CDATA '_blank'">
<!ENTITY % target-location "xlink:href %url; #IMPLIED">
+<!ENTITY % database-location "xlink:href %url; #IMPLIED">
<!ENTITY % tab-stop "form:tab-stop %boolean; 'true'">
<!ENTITY % title "form:title CDATA #IMPLIED">
<!ENTITY % default-value "form:default-value CDATA #IMPLIED">
@@ -101,14 +102,19 @@
<!ENTITY % list-source-types "(table|query|sql|sql-pass-through|value-list|table-fields)">
<!ENTITY % list-source-type "form:list-source-type %list-source-types; #IMPLIED">
<!ENTITY % column-style-name "form:column-style-name %styleName; #IMPLIED">
-
+<!ENTITY % min-value "form:min-value %float; #IMPLIED">
+<!ENTITY % max-value "form:max-value %float; #IMPLIED">
+<!ENTITY % step-size "form:step-size %positiveInteger; '1'">
+<!ENTITY % page-step-size "form:page-step-size %positiveInteger; #IMPLIED">
+<!ENTITY % delay-for-repeat "form:delay-for-repeat %positiveInteger; #IMPLIED">
+<!ENTITY % orientation "form:orientation (horizontal|vertical) #IMPLIED">
<!ELEMENT form:control (%controls;)+>
<!ATTLIST form:control %name;
%service-name;
%control-id;>
-<!ELEMENT form:form (form:properties?, office:events?, (form:control|form:form)*)>
+<!ELEMENT form:form (form:properties?, office:events?, (form:control|form:form)*, form:datasource?)>
<!ATTLIST form:form %name; %service-name;>
<!ATTLIST form:form xlink:href %url; #IMPLIED>
<!ATTLIST form:form form:enctype CDATA "application/x-www-form-urlencoded">
@@ -130,6 +136,10 @@
<!ATTLIST form:form form:order CDATA #IMPLIED>
<!ATTLIST form:form form:tab-cycle %cycles; #IMPLIED>
+<!ATTLIST form:datasource %database-location;
+ connection-resource %string; #IMPLIED
+>
+
<!ELEMENT office:forms (form:form*)>
<!ATTLIST office:forms form:automatic-focus %boolean; "false">
<!ATTLIST office:forms form:apply-design-mode %boolean; "true">
@@ -376,13 +386,6 @@
%delay-for-repeat;
%orientation;>
-<!ENTITY % min-value "form:min-value %float; #IMPLIED">
-<!ENTITY % max-value "form:max-value %float; #IMPLIED">
-<!ENTITY % step-size "form:step-size %positiveInteger; '1'">
-<!ENTITY % page-step-size "form:page-step-size %positiveInteger; #IMPLIED">
-<!ENTITY % delay-for-repeat "form:delay-for-repeat %positiveInteger; #IMPLIED">
-<!ENTITY % orientation "form:orientation (horizontal|vertical) #IMPLIED">
-
<!ELEMENT form:properties (form:property+)>
<!ELEMENT form:property (form:property-value*)>
<!ATTLIST form:property form:property-is-list %boolean; #IMPLIED>