~ubuntu-branches/ubuntu/breezy/koffice/breezy

« back to all changes in this revision

Viewing changes to doc/kugar/dataref.docbook

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
-->
7
7
 
8
 
<chapter id="kugardata-element">
9
 
<title><sgmltag class="element">KugarData</sgmltag></title>
 
8
<sect1 id="kugardata-element">
 
9
<title><sgmltag class="element">KugarData element</sgmltag></title>
10
10
 
11
11
<para>
12
12
The <sgmltag class="element">KugarData</sgmltag> element defines a
13
13
report's data source.  The basic structure is a collection of rows and
14
 
columns. This document does not define data types and their attributes
15
 
at this time. The report template defines column data type information.
 
14
columns. This document does not define data types and their attributes.
 
15
<!--at this time. -->The report template defines column data type information.
16
16
</para>
17
17
 
18
18
<para>
23
23
</para>
24
24
 
25
25
<synopsis>
26
 
&lt;!ELEMENT KugarData (<link linkend="row-element">Row</link>* )&gt;
 
26
&lt;!ELEMENT KugarData (Row*)&gt;
27
27
&lt;!ATTLIST KugarData
28
 
 <link linkend="template-att">Template</link> CDATA  #REQUIRED&gt;
 
28
        Template      CDATA  #REQUIRED&gt;
29
29
 
30
 
&lt;!ELEMENT <link linkend="row-element">Row</link> EMPTY&gt;
31
 
&lt;!ATTLIST <link linkend="row-element">Row</link>
32
 
 <link linkend="column-att">col1</link>   CDATA  #REQUIRED
33
 
 <link linkend="column-att">col2</link>   CDATA  #REQUIRED
34
 
 <link linkend="column-att">...</link>    CDATA  #REQUIRED
35
 
 <link linkend="column-att">coln</link>   CDATA  #REQUIRED&gt;
 
30
&lt;!ELEMENT Row EMPTY&gt;
 
31
&lt;!ATTLIST Row
 
32
        level         CDATA  #REQUIRED
 
33
        col1          CDATA  #IMPLIED
 
34
        col2          CDATA  #IMPLIED
 
35
        ...           CDATA  #IMPLIED
 
36
        coln          CDATA  #IMPLIED&gt;
36
37
</synopsis>
37
38
 
38
 
<variablelist>
39
 
<varlistentry>
40
 
<term>Elements</term>
41
 
<listitem>
42
39
 
43
 
<variablelist>
44
 
<varlistentry id="row-element">
45
 
<term><sgmltag class="element">Row</sgmltag></term>
46
 
<listitem>
 
40
<sect2 id="kugar-data-element">
 
41
<title>Kugar data element</title>
47
42
<para>
48
43
The <sgmltag class="element">KugarData</sgmltag> element contains zero
49
44
or more <sgmltag class="element">Row</sgmltag> elements.  A <sgmltag
50
 
class="element">Row</sgmltag> must contain one or more attributes
51
 
representing data columns.
52
 
</para>
53
 
</listitem>
54
 
</varlistentry>
55
 
</variablelist>
56
 
</listitem>
57
 
</varlistentry>
58
 
 
59
 
<varlistentry>
60
 
<term>Attributes</term>
61
 
<listitem>
62
 
 
 
45
class="element">Row</sgmltag> must contain one <sgmltag class="attribute">level</sgmltag>
 
46
attribute with value corresponding to detail level in the template. Other attributes
 
47
represent data columns.
 
48
</para>
 
49
<para>
 
50
<anchor id="template-att"/>The value of the <sgmltag class="attribute">Template</sgmltag>
 
51
attribute is the &URL; of the report template
 
52
used to format the data
 
53
</para>
 
54
<!--
63
55
<variablelist>
64
56
<varlistentry id="template-att">
65
57
<term><sgmltag class="attribute">Template</sgmltag></term>
71
63
</para>
72
64
</listitem>
73
65
</varlistentry>
74
 
 
75
 
<varlistentry id="column-att">
76
 
<term><sgmltag class="attribute">Column</sgmltag></term>
77
 
<listitem>
78
 
<para>
79
 
This is an attribute of the <link linkend="row-element"><sgmltag
80
 
class="element">Row</sgmltag></link>.  The name of the attribute is the
81
 
column name, and uses the format as given in the <sgmltag
82
 
class="element">KugarData</sgmltag> definition.  The attribute name is
83
 
used in the report template to bind the data to the report fields.
84
 
</para>
85
 
</listitem>
86
 
</varlistentry>
87
 
</variablelist>
88
 
</listitem>
89
 
</varlistentry>
90
 
</variablelist>
91
 
 
92
 
</chapter>
 
66
-->
 
67
</sect2>
 
68
 
 
69
<sect2 id="row-element">
 
70
<title>Row element</title>
 
71
 
 
72
<variablelist>
 
73
 
 
74
<varlistentry>
 
75
<term>Attributes</term>
 
76
<listitem>
 
77
 
 
78
<variablelist>
 
79
 
 
80
<varlistentry>
 
81
<term><anchor id="level-att"/><sgmltag class="attribute">level</sgmltag></term>
 
82
<listitem>
 
83
<para>
 
84
The attribute value indicates which detail in the report template
 
85
is used to display data. Rows can contain various column set for various levels,
 
86
so any attribute except <sgmltag class="attribute">level</sgmltag> should
 
87
be stated as #IMPLIED.
 
88
</para>
 
89
</listitem>
 
90
</varlistentry>
 
91
 
 
92
<varlistentry>
 
93
<term><anchor id="column-att"/><sgmltag class="attribute">column</sgmltag></term>
 
94
<listitem>
 
95
<para>
 
96
The name of the attribute is the column name, and uses the format as given
 
97
in the <sgmltag class="element">KugarData</sgmltag> definition.
 
98
The attribute name is used in the report template to bind the data to the
 
99
report fields.
 
100
</para>
 
101
</listitem>
 
102
</varlistentry>
 
103
</variablelist>
 
104
</listitem>
 
105
</varlistentry>
 
106
</variablelist>
 
107
 
 
108
</sect2>
 
109
 
 
110
</sect1>
 
111