AlexanderDymocloudtemple@mksat.netPhilThompsonphil@river-bank.demon.co.ukKugarTemplate template
elementsSection bandsSection elementsReportHeaderLinePageHeaderLabelDetailHeaderFieldDetailCalculatedFieldDetailFooterSpecialPageFooterPage FooterReportFooterReport FooterReportHeader and ReportFooter sections
The ReportHeader and ReportFooter elements define report sections
that are usually printed at the beginning and end of the report.
<!ELEMENT ReportHeader (Line*, Label*, Special*)>
<!ATTLIST ReportHeader
Height CDATA #REQUIRED
PrintFrequency CDATA #REQUIRED>
<!ELEMENT ReportFooter (Line*, Label*, Special*, CalculatedField*)>
<!ATTLIST ReportFooter
Height CDATA #REQUIRED
PrintFrequency CDATA #REQUIRED>
AttributesHeightSets the height of the report section. If you don't want
this section, set this value to 0.
PrintFrequency
Set the print frequency of the section.
ValuePrint Frequency0First Page1Every Page2Last PagePageHeader and PageFooter sections
The PageHeader and PageFooter elements define report sections
that are usually printed on every page of the report.
<!ELEMENT PageHeader (Line*, Label*, Special*)>
<!ATTLIST PageHeader
Height CDATA #REQUIRED
PrintFrequency CDATA #REQUIRED>
<!ELEMENT PageFooter (Line*, Label*, Special*)>
<!ATTLIST PageFooter
Height CDATA #REQUIRED
PrintFrequency CDATA #REQUIRED>
AttributesHeightSets the height of the report section. If you don't want
this section, set this value to 0.
PrintFrequency
Set the print frequency of the section.
ValuePrint Frequency0First Page1Every Page2Last PageDetailHeader and DetailFooter sections
The DetailHeader and DetailFooter elements define report sections
that are printed before and after details of a given level and below on the report.
<!ELEMENT DetailHeader (Line*, Label*, Special*)>
<!ATTLIST DetailHeader
Height CDATA #REQUIRED
Level CDATA #REQUIRED>
<!ELEMENT DetailFooter (Line*, Label*, Special*)>
<!ATTLIST DetailFooter
Height CDATA #REQUIRED
Level CDATA #REQUIRED>
AttributesHeightSets the height of the report section. If you don't want
this section, set this value to 0.
Level
Set the hierarchy level of the section. Sections with higher levels will be printed
before sections with lower ones. Level can be any number beginning from 0.
Detail section
The Detail element defines the report
section that contains the report data. The report can have multiple details,
which are accessed by the detail's Level attribute.
<!ELEMENT Detail (Line*, Label*, Special*, Field*)>
<!ATTLIST Detail
Height CDATA #REQUIRED
Level CDATA #REQUIRED>
AttributesHeightSets the height of the report section. If you don't want
this section, set this value to 0.
Level
Set the hierarchy level of the section. Sections with higher levels will be printed
before sections with lower ones. Level can be any number beginning from 0. This is an attribute
of a row element in a data file.
Line
The Line element defines a report
object used to draw lines on a report.
<!ELEMENT Line EMPTY>
<!ATTLIST Line
X1 CDATA #REQUIRED
Y1 CDATA #REQUIRED
X2 CDATA #REQUIRED
Y2 CDATA #REQUIRED
Width CDATA #REQUIRED
Color CDATA #REQUIRED
Style CDATA #REQUIRED>
AttributesX1
Sets the starting x coordinate (relative to the section's upper left corner) for the line.
Y1
Sets the starting y coordinate (relative to the section's upper left corner) for the line.
X2
Sets the ending x coordinate (relative to the section's upper left corner) for the line.
Y2
Sets the ending y coordinate (relative to the section's upper left corner) for the line.
Width
Sets the width of the line.
Color
Sets the color of the line. The color is defined as an RGB (Red Green Blue) value
(r,g,b). r, g and b must be in the range 0..255.
Style
Sets the drawing style for the line.
ValueLine Style0No Pen1Solid2Dash3Dot4Dash Dot5Dash Dot DotLabel
The Label element defines a report
object used to draw fixed text on a report.
<!ELEMENT Label EMPTY>
<!ATTLIST Label
Text CDATA #REQUIRED
X CDATA #REQUIRED
Y CDATA #REQUIRED
Width CDATA #REQUIRED
Height CDATA #REQUIRED
BackgroundColor CDATA #REQUIRED
ForegroundColor CDATA #REQUIRED
BorderColor CDATA #REQUIRED
BorderWidth CDATA #REQUIRED
BorderStyle CDATA #REQUIRED
FontFamily CDATA #REQUIRED
FontSize CDATA #REQUIRED
FontWeight CDATA #REQUIRED
FontItalic CDATA #REQUIRED
HAlignment CDATA #REQUIRED
VAlignment CDATA #REQUIRED
WordWrap CDATA #REQUIRED>
AttributesText
Sets the label's text.
X
Sets the x coordinate (relative to the section's upper left corner) for positioning the label.
Y
Sets the y coordinate (relative to the section's upper left corner) for positioning the label.
Width
Sets the width of the label.
Height
Sets the height of the label.
BackgroundColor
Sets the background color of the label. The color is defined as an
RGB (Red Green Blue) value (r,g,b). r, g and b must be in the range 0..255.
ForegroundColor
Sets the foreground color of the label. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
BorderColor
Sets the border color of the label. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
BorderWidth
Sets the border width for the label.
BorderStyle
Sets the border style for the label.
ValueBorder Style0None1Solid2Dash3Dot4Dash Dot5Dash Dot DotFontFamily
Sets the font family for the label's text.
FontSize
Sets the font size for the label's text.
FontWeight
Sets the font weight for the label's text.
ValueFont Weight25Light50Normal63Demi Bold75Bold87BlackFontItalic
Sets the font italic flag for the label's text.
ValueItalic0False1TrueHAlignment
Sets the label's horizontal text alignment.
ValueHorizontal Alignment0Left1Center2RightVAlignment
Sets the label's vertical text alignment.
ValueVertical Alignment0Top1Middle2BottomWordWrap
Sets the word wrap flag for the label's text.
ValueWord Wrap0False1TrueField
The Field element defines a report
object used to draw data on a report.
<!ELEMENT Field EMPTY>
<!ATTLIST Field
Field CDATA #REQUIRED
Text CDATA #REQUIRED
X CDATA #REQUIRED
Y CDATA #REQUIRED
Width CDATA #REQUIRED
Height CDATA #REQUIRED
BackgroundColor CDATA #REQUIRED
ForegroundColor CDATA #REQUIRED
BorderColor CDATA #REQUIRED
BorderWidth CDATA #REQUIRED
BorderStyle CDATA #REQUIRED
FontFamily CDATA #REQUIRED
FontSize CDATA #REQUIRED
FontWeight CDATA #REQUIRED
FontItalic CDATA #REQUIRED
HAlignment CDATA #REQUIRED
VAlignment CDATA #REQUIRED
WordWrap CDATA #REQUIRED
DataType CDATA #REQUIRED
DateFormat CDATA #REQUIRED
Precision CDATA #REQUIRED
Currency CDATA #REQUIRED
NegValueColor CDATA #REQUIRED
CommaSeparator CDATA #REQUIRED>
AttributesField
Sets the data field for the object. This is an attribute of a row element in a data file.
Text
Not used.
X
Sets the x coordinate (relative to the section's upper left corner) for positioning the field.
Y
Sets the y coordinate (relative to the section's upper left corner) for positioning the field.
Width
Sets the width of the field.
Height
Sets the height of the field.
BackgroundColor
Sets the background color of the field. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
ForegroundColor
Sets the foreground color of the field. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
BorderColor
Sets the border color of the field. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
BorderWidth
Sets the border width for the field.
BorderStyle
Sets the border style for the field.
ValueBorder Style0None1Solid2Dash3Dot4Dash Dot5Dash Dot DotFontFamily
Sets the font family for the field's text.
FontSize
Sets the font size for the field's text.
FontWeight
Sets the font weight for the field's text.
ValueFont Weight25Light50Normal63Demi Bold75Bold87BlackFontItalic
Sets the font italic flag for the field's text.
ValueItalic0False1TrueHAlignment
Sets the field's horizontal text alignment.
ValueHorizontal Alignment0Left1Center2RightVAlignment
Sets the field's vertical text alignment
ValueVertical Alignment0Top1Middle2BottomWordWrap
Sets the word wrap flag for the field's text.
ValueWord Wrap0False1TrueDataType
Sets the field's data type.
ValueData Type0String1Integer2Float3Date4CurrencyDateFormat
Sets the field's date format. For this to work, the format of the date
from the data document must be in the format mm/dd/yyyy or mm-dd-yyyy,
otherwise the original date format is used. If the data type is other than
date, set this to 0.
ValueDate Format0m/d/yy1m-d-yy2mm/dd/yy3mm-dd-yy4m/d/yyyy5m-d-yyyy6mm/dd/yyyy7mm-dd-yyyy8yyyy/m/d9yyyy-m-d10dd.mm.yy11dd.mm.yyyyPrecision
Sets the field's numeric precision. If the data type is other than a numeric
type, set this to 0.
Currency
Sets the field's currency symbol If the data type is other than currency, set
this to 36 ($). The value is a number
representing a Unicode character.
NegValueColor
Sets the color for negative numeric values. The color is defined as an
RGB (Red Green Blue) value (r,g,b). r, g and b must be in the range 0..255. If data is
other than a numeric type, set to 255,0,0.
CommaSeparator
Sets whether commas are used in numeric fields. If the data type is other than
a numeric type, set this to 0.
ValueComma Separator0False1TrueCalculatedField
The CalculatedField element defines a report
object used to draw calculated values on a report.
<!ELEMENT CalculatedField EMPTY>
<!ATTLIST CalculatedField
CalculationType CDATA #REQUIRED
Field CDATA #REQUIRED
Text CDATA #REQUIRED
X CDATA #REQUIRED
Y CDATA #REQUIRED
Width CDATA #REQUIRED
Height CDATA #REQUIRED
BackgroundColor CDATA #REQUIRED
ForegroundColor CDATA #REQUIRED
BorderColor CDATA #REQUIRED
BorderWidth CDATA #REQUIRED
BorderStyle CDATA #REQUIRED
FontFamily CDATA #REQUIRED
FontSize CDATA #REQUIRED
FontWeight CDATA #REQUIRED
FontItalic CDATA #REQUIRED
HAlignment CDATA #REQUIRED
VAlignment CDATA #REQUIRED
WordWrap CDATA #REQUIRED
DataType CDATA #REQUIRED
DateFormat CDATA #REQUIRED
Precision CDATA #REQUIRED
Currency CDATA #REQUIRED
NegValueColor CDATA #REQUIRED
CommaSeparator CDATA #REQUIRED>
AttributesCalculationType
Sets the calculation type for the field.
ValueCalculation0Count1Sum2Average3Variance4Std DeviationField
Sets the data field for the object. This is an attribute of a row element in a data file.
Text
Not used.
X
Sets the x coordinate (relative to the section's upper left corner) for positioning the field.
Y
Sets the y coordinate (relative to the section's upper left corner) for positioning the field.
Width
Sets the width of the field.
Height
Sets the height of the field.
BackgroundColor
Sets the background color of the field. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
ForegroundColor
Sets the foreground color of the field. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
BorderColor
Sets the border color of the field. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
BorderWidth
Sets the border width for the field.
BorderStyle
Sets the border style for the field.
ValueBorder Style0None1Solid2Dash3Dot4Dash Dot5Dash Dot DotFontFamily
Sets the font family for the field's text.
FontSize
Sets the font size for the field's text.
FontWeight
Sets the font weight for the field's text.
ValueFont Weight25Light50Normal63Demi Bold75Bold87BlackFontItalic
Sets the font italic flag for the field's text.
ValueItalic0False1TrueHAlignment
Sets the field's horizontal text alignment.
ValueHorizontal Alignment0Left1Center2RightVAlignment
Sets the field's vertical text alignment.
ValueVertical Alignment0Top1Middle2BottomWordWrap
Sets the word wrap flag for the field's text.
ValueWord Wrap0False1TrueDataType
Sets the field's data type.
ValueData Type0String1Integer2Float3Date4CurrencyDateFormat
Sets the field's date format. For this to work, the format of the date
from the data document must be in the format mm/dd/yyyy or mm-dd-yyyy,
otherwise the original date format is used. If the data type is other than
date, set this to 0.
ValueDate Format0m/d/yy1m-d-yy2mm/dd/yy3mm-dd-yy4m/d/yyyy5m-d-yyyy6mm/dd/yyyy7mm-dd-yyyy8yyyy/m/d9yyyy-m-d10dd.mm.yy11dd.mm.yyyyPrecision
Sets the field's numeric precision. If the data type is other than a numeric
type, set this to 0.
Currency
Sets the field's currency symbol. If the data type is other than currency, set
this to 36 ($). The value is a number
representing an unicode character.
NegValueColor
Sets the color for negative numeric values. The color is defined as an
RGB (Red Green Blue) value (r,g,b). r, g and b must be in the range 0..255. If data is
other than a numeric type, set to 255,0,0.
CommaSeparator
Sets whether commas are used in numeric fields. If the data type is other than
a numeric type, set this to 0.
ValueComma Separator0False1TrueSpecial
The Special element defines a report
object used to draw page numbers and the current date on a report.
<!ELEMENT Special EMPTY>
<!ATTLIST Special
Type CDATA #REQUIRED
Text CDATA #REQUIRED
X CDATA #REQUIRED
Y CDATA #REQUIRED
Width CDATA #REQUIRED
Height CDATA #REQUIRED
BackgroundColor CDATA #REQUIRED
ForegroundColor CDATA #REQUIRED
BorderColor CDATA #REQUIRED
BorderWidth CDATA #REQUIRED
BorderStyle CDATA #REQUIRED
FontFamily CDATA #REQUIRED
FontSize CDATA #REQUIRED
FontWeight CDATA #REQUIRED
FontItalic CDATA #REQUIRED
HAlignment CDATA #REQUIRED
VAlignment CDATA #REQUIRED
WordWrap CDATA #REQUIRED
DateFormat CDATA #REQUIRED>
AttributesType
Sets the type of special object.
ValueType0Current Date1Page NumberText
Not used.
X
Sets the x coordinate (relative to the section's upper left corner) for positioning the field.
Y
Sets the y coordinate (relative to the section's upper left corner) for positioning the field.
Width
Sets the width of the field.
Height
Sets the height of the field.
BackgroundColor
Sets the background color of the field. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
ForegroundColor
Sets the foreground color of the field. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
BorderColor
Sets the border color of the field. The color is defined as an RGB (Red Green Blue)
value (r,g,b). r, g and b must be in the range 0..255.
BorderWidth
Sets the border width for the field.
BorderStyle
Sets the border style for the field.
ValueBorder Style0None1Solid2Dash3Dot4Dash Dot5Dash Dot DotFontFamily
Sets the font family for the field's text.
FontSize
Sets the font size for the field's text.
FontWeight
Sets the font weight for the field's text.
ValueFont Weight25Light50Normal63Demi Bold75Bold87BlackFontItalic
Sets the font italic flag for the field's text.
ValueItalic0False1TrueHAlignment
Sets the field's horizontal text alignment.
ValueHorizontal Alignment0Left1Center2RightVAlignment
Sets the field's vertical text alignment.
ValueVertical Alignment0Top1Middle2BottomWordWrap
Sets the word wrap flag for the field's text.
ValueWord Wrap0False1TrueDateFormat
Sets the field's date format. For this to work, the format of the date
from the data document must be in the format mm/dd/yyyy or mm-dd-yyyy,
otherwise the original date format is used. If the data type is other than
date, set this to 0.
ValueDate Format0m/d/yy1m-d-yy2mm/dd/yy3mm-dd-yy4m/d/yyyy5m-d-yyyy6mm/dd/yyyy7mm-dd-yyyy8yyyy/m/d9yyyy-m-d10dd.mm.yy11dd.mm.yyyyPrecision
Sets the field's numeric precision. If the data type is other than a numeric
type, set this to 0.