diff options
author | Daniel Vogelheim <dvo@openoffice.org> | 2000-11-02 14:51:18 +0000 |
---|---|---|
committer | Daniel Vogelheim <dvo@openoffice.org> | 2000-11-02 14:51:18 +0000 |
commit | fc037d38c98071e94760e348ab9f4723906b72b5 (patch) | |
tree | 9a3c972daf6fef36a8cf8c3a7dcd3c8bd8909d01 /xmloff/dtd | |
parent | a09d0ec39aa933142f2a45a3a37b4a0987ef54f1 (diff) |
- added: sections now completed
(attribute text:protected moved into <style:properties style:protect=../>
- added: table of content im- and export
(TOC body does not work)
- added: URL textfield (for Calc, Draw, ...)
- fixed: tab-stop constant names in xmlkywd.hxx
- fixed: import of zero columns
- fixed: text hyperlinks now in DTD
Diffstat (limited to 'xmloff/dtd')
-rw-r--r-- | xmloff/dtd/office.mod | 4 | ||||
-rw-r--r-- | xmloff/dtd/text.mod | 82 |
2 files changed, 80 insertions, 6 deletions
diff --git a/xmloff/dtd/office.mod b/xmloff/dtd/office.mod index 25642b8f5b4c..b0b75564b25a 100644 --- a/xmloff/dtd/office.mod +++ b/xmloff/dtd/office.mod @@ -1,5 +1,5 @@ <!-- - $Id: office.mod,v 1.6 2000-11-01 11:55:17 dr Exp $ + $Id: office.mod,v 1.7 2000-11-02 15:51:17 dvo Exp $ The Contents of this file are made available subject to the terms of either of the following licenses @@ -126,7 +126,7 @@ <!ENTITY % body "(%text-decls;,table:content-validations?,table:label-ranges?, (text:h|text:p|text:ordered-list| text:unordered-list|table:table|chart:chart|draw:page| - draw:a|draw:text-box|draw:image|text:section)*, + draw:a|draw:text-box|draw:image|text:section|text:table-of-content)*, table:named-expressions?, table:database-ranges?,table:data-pilot-tables?, table:consolidation?)"> diff --git a/xmloff/dtd/text.mod b/xmloff/dtd/text.mod index 470955a3ed24..01e424c623ad 100644 --- a/xmloff/dtd/text.mod +++ b/xmloff/dtd/text.mod @@ -1,5 +1,5 @@ <!-- - $Id: text.mod,v 1.5 2000-10-31 09:40:33 dvo Exp $ + $Id: text.mod,v 1.6 2000-11-02 15:51:17 dvo Exp $ The Contents of this file are made available subject to the terms of either of the following licenses @@ -124,7 +124,7 @@ <!ENTITY % inline-text "(#PCDATA| text:span|text:tab-stop|text:s|text:line-break| - text:footnote|text:endnote| + text:footnote|text:endnote|text:a| text:bookmark|text:bookmark-start|text:bookmark-end| text:reference-mark|text:reference-mark-start| text:reference-mark-end|%fields;| @@ -143,6 +143,17 @@ <!ELEMENT text:span %inline-text;> <!ATTLIST text:span text:style-name %styleName; #REQUIRED> +<!ELEMENT text:a %inline-text;> +<!ATTLIST text:a xlink:href %uriReference; #REQUIRED> +<!ATTLIST text:a xlink:type (simple) #FIXED "simple"> +<!ATTLIST text:a xlink:actuate (onRequest) "onRequest"> +<!ATTLIST text:a xlink:show (new|replace) "replace"> +<!ATTLIST text:a office:name %string; #IMPLIED> +<!ATTLIST text:a office:target-frame-name %string; #IMPLIED> +<!ATTLIST text:a text:style-name %styleName; #IMPLIED> +<!ATTLIST text:a text:visited-style-name %styleName; #IMPLIED> + + <!ELEMENT text:s EMPTY> <!ATTLIST text:s text:c %positiveInteger; "1"> @@ -622,10 +633,14 @@ <!ELEMENT text:endnote-body (text:h|text:p| text:ordered-list|text:unordered-list)*> -<!ELEMENT text:section ((text:section-source|text:section-source-dde)?, +<!ENTITY % sectionText "((text:section-source|text:section-source-dde)?, (text:h|text:p|text:ordered-list| text:unordered-list|table:table|chart:chart|draw:page| - draw:a|draw:text-box|draw:image|text:section)*)> + draw:a|draw:text-box|draw:image|text:section| + text:table-of-content)*)"> + +<!ELEMENT text:section %sectionText; > + <!ATTLIST text:section text:name CDATA #REQUIRED> <!ATTLIST text:section text:style-name %styleName; #IMPLIED> <!ATTLIST text:section text:protected %boolean; "false"> @@ -643,3 +658,62 @@ <!ATTLIST text:section-source-dde text:dde-application CDATA #IMPLIED> <!ATTLIST text:section-source-dde text:dde-topic CDATA #IMPLIED> <!ATTLIST text:section-source-dde text:dde-item CDATA #IMPLIED> + +<!ELEMENT text:table-of-content (text:table-of-content-source, + text:table-of-content-body) > +<!ATTLIST text:table-of-content text:style-name %styleName; #IMPLIED> + +<!ELEMENT text:table-of-content-body %sectionText; > + +<!ELEMENT text:table-of-content-source (text:index-title-template | + text:index-entry-template | + text:index-source-styles)* > +<!ATTLIST text:table-of-content-source text:outline-level %integer; #IMPLIED> +<!ATTLIST text:table-of-content-source text:use-index-marks %boolean; "true"> +<!ATTLIST text:table-of-content-source text:index-scope (document|chapter) + "document"> +<!ATTLIST text:table-of-content-source text:relative-tab-stop-position + %boolean; "true"> + +<!ELEMENT text:index-title-template (#PCDATA)> +<!ATTLIST text:index-title-template text:style-name %styleName; #IMPLIED> + +<!ELEMENT text:index-entry-template (text:index-entry-chapter | + text:index-entry-page-number | + text:index-entry-text | + text:index-entry-span | + text:index-entry-tab-stop | + text:index-entry-link-start | + text:index-entry-link-end )* > +<!ATTLIST text:index-entry-template text:outline-level %integer; #REQUIRED> +<!ATTLIST text:index-entry-template text:style-name %styleName; #REQUIRED> + +<!ELEMENT text:index-entry-chapter EMPTY> +<!ATTLIST text:index-entry-chapter text:style-name %styleName; #IMPLIED> + +<!ELEMENT text:index-entry-text EMPTY> +<!ATTLIST text:index-entry-text text:style-name %styleName; #IMPLIED> + +<!ELEMENT text:index-entry-page-number EMPTY> +<!ATTLIST text:index-entry-page-number text:style-name %styleName; #IMPLIED> + +<!ELEMENT text:index-entry-span (#PCDATA)> +<!ATTLIST text:index-entry-span text:style-name %styleName; #IMPLIED> + +<!ELEMENT text:index-entry-tab-stop EMPTY> +<!ATTLIST text:index-entry-tab-stop text:style-name %styleName; #IMPLIED> +<!ATTLIST text:index-entry-tab-stop style:leader-char %character; " "> +<!ATTLIST text:index-entry-tab-stop style:type (left|right) "left"> +<!ATTLIST text:index-entry-tab-stop style:position %length; #IMPLIED> + +<!ELEMENT text:index-entry-link-start EMPTY> +<!ATTLIST text:index-entry-link-start text:style-name %styleName; #IMPLIED> + +<!ELEMENT text:index-entry-link-end EMPTY> +<!ATTLIST text:index-entry-link-end text:style-name %styleName; #IMPLIED> + +<!ELEMENT text:index-source-styles (text:index-source-style)*> +<!ATTLIST text:index-source-styles text:outline-level %integer; #REQUIRED> + +<!ELEMENT text:index-source-style EMPTY> +<!ATTLIST text:index-source-style text:style-name %styleName; #REQUIRED> |