summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/document-info.dtd
blob: bff7a00beca6680cc21019be9ba5b214b6b37043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!--    $Id: document-info.dtd 466019 2005-10-01 11:07:55Z mlaurent $

This is an XML document type definition (DTD) for the documentinfo.xml files which
are used by all KOffice-1.1 and 1.1.1 programs, to store information about the
document (e.g. title and abstract) and its author.

ChangeLog:
Initial version (for koffice-1.1.1) written by David Faure <[email protected]>.
-->

<!--
  The document-info for a KOffice document contains one main element for each tab of
the "Document Info" dialog. As of KOffice-1.1, this includes: author and about.
A third page, "log" is planned for the future.
-->
<!ELEMENT document-info
    (author?, about?, log?)>

<!--
  The "author" element stores information about the author of the document.
-->
<!ELEMENT author
    (full-name?, initial?, title?, company?, email?, telephone?, telephone-work?, fax?, country?, postal-code?, city?, street?, position?)>

<!ELEMENT full-name
    (#PCDATA)>
<!ELEMENT initial
    (#PCDATA)>
<!ELEMENT title
    (#PCDATA)>
<!ELEMENT company
    (#PCDATA)>
<!ELEMENT email
    (#PCDATA)>
<!ELEMENT telephone
    (#PCDATA)>
<!ELEMENT telephone-work
    (#PCDATA)>
<!ELEMENT fax
    (#PCDATA)>
<!ELEMENT country
    (#PCDATA)>
<!ELEMENT postal-code
    (#PCDATA)>
<!ELEMENT city
    (#PCDATA)>
<!ELEMENT street
    (#PCDATA)>
<!ELEMENT position
    (#PCDATA)>

<!--
  The "about" element contains information about the document itself.
  This includes an optional title for the document, and an optional abstract.
-->
<!ELEMENT about
    (abstract?, title?, keyword?, subject?, initial-creator?,
  editing-cycles?, creation-date?, date?)>
<!ELEMENT abstract
    (#PCDATA)>
<!--title already defined above-->
<!ELEMENT keyword
    (#PCDATA)>
<!ELEMENT subject
    (#PCDATA)>
<!ELEMENT initial-creator
    (#PCDATA)>
<!ELEMENT editing-cycles
    (#PCDATA)>
<!ELEMENT creation-date
    (#PCDATA)>
<!ELEMENT date
    (#PCDATA)>

<!--
  The "log" element is unused at the moment.
-->
<!ELEMENT log
    EMPTY>