Special

Special

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>
Attributes
Type

Sets the type of special object.

ValueType
0Current Date
1Page Number
Text

Not used.

X

Sets the x coordinate for positioning the field.

Y

Sets the y coordinate 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. he color is defined as an RGB 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 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 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 Style
0None
1Solid
2Dash
3Dot
4Dash Dot
5Dash Dot Dot
FontFamily

Sets the font family for the field's text.

FontFamily="Helvetica"

FontSize

Sets the font size for the field's text.

FontWeight

Sets the font weight for the field's text.

ValueFont Weight
25Light
50Normal
63Demi Bold
75Bold
87Black
FontItalic

Sets the font italic flag for the field's text.

ValueItalic
0False
1True
HAlignment

Sets the field's horizontal text alignment.

ValueHorizontal Alignment
0Left
1Center
2Right
VAlignment

Sets the field's vertical text alignment

ValueVertical Alignment
0Top
1Middle
2Bottom
WordWrap

Sets the word wrap flag for the field's text.

ValueWord Wrap
0False
1True
DateFormat

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 data type other than date, set to 0.

ValueDate Format
0m/d/yy
1m-d-yy
2mm/dd/yy
3mm-dd-yy
4m/d/yyy
5m-d-yy
6mm/dd/yyyy
7mm-dd-yyyy
8yyyy/m/d
9yyyy-m-d
Precision

Sets the field's numeric precision. If data type other than a numeric type, set to 0.

KDE Logo