quote:
How to Add and Format Row and Cell Borders
To request a uniform border around a row or cell, use this syntax:
TYPE=REPORT, LABEL=row_label, [COLUMN=column,] BORDER=option,
[BORDER-STYLE=line_style,] [BORDER-COLOR={color|RGB(r g b)},] $
To specify different characteristics for the top, bottom, left, and/or right borders, use this
syntax
TYPE=REPORT, LABEL=row_label, [COLUMN=column,] BORDER-position=option,
[BORDER-[position-]STYLE=line_style,]
[BORDER-[position-]COLOR={color|RGB(r g b)},] $
To specify different characteristics for the top, bottom, left, and/or right borders, use this
syntax
TYPE=REPORT, LABEL=row_label, [COLUMN=column,] BORDER-position=option,
[BORDER-[position-]STYLE=line_style,]
[BORDER-[position-]COLOR={color|RGB(r g b)},] $
where:
row_label
Is the row to which the specified border characteristics are applied.
column
Used in conjunction with row label, designates a cell (at the point of intersection of the
row and the column) to which the specified border characteristics are applied.
option
Can be one of the following values:
ON turns borders on for the entire heading or footing. ON generates the same line as
MEDIUM.
OFF turns borders off for the entire heading or footing. OFF is the default.
LIGHT specifies a thin line. You can specify a light line for the entire heading or footing,
or for one or more border positions.
MEDIUM identifies a medium line (ON sets the line as MEDIUM). You can specify a light
line for the entire heading or footing, or for one or more border positions. Note that the
medium line setting ensures consistency with lines created with GRID attributes.
HEAVY identifies a thick line. You can specify a heavy line for the entire heading or footing,
or for one or more border positions.
width specifies the line width in points (where 72 pts=1 inch). You can specify a line
width in points for the entire heading or footing. or for one or more border positions.
Line width specified in points is displayed differently in HTML and PDF output. For uniform
appearance, regardless of display format, use LIGHT, MEDIUM, or HEAVY.
position
Specifies which border line to format. Valid values are: TOP, BOTTOM, LEFT, RIGHT.
You can specify a position qualifier for any of the BORDER keywords. This enables you
to format line width, line style, and line color individually, for any side of the border.
line_style
Sets the style of the border line. WebFOCUS StyleSheets support all of the standard
Cascading Style Sheets line styles. Several 3-dimensional styles are only available in
HTML, as noted by asterisks. Valid values are:
NONE
SOLID
DOTTED
DASHED
DOUBLE
GROOVE*
RIDGE*
INSET*
OUTSET*
color
Is one of the preset color values. The default value is BLACK.
If the display or output device does not support colors, it substitutes shades of gray.
RGB
Specifies the font color using a mixture of red, green, and blue.
(r g b)
Is the desired intensity of red, green, and blue, respectively. The values are on a scale
of 0 to 255, where 0 is the least intense and 255 is the most intense. Note that using
the three color components in equal intensities results in shades of gray.
Note: For HTML reports, the BORDERS feature requires that Cascading Style Sheets be
turned ON. This code is not required for PDF and PS reports.
Frank | |
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7 |
FOCUS/WebFOCUS 1990 - 2011 |
SET ASNAMES=ON TABLE FILE CAR SUM SALES BY COUNTRY AS LAND ON TABLE HOLD AS HOLD1 END DEFINE FILE CAR LAND/A20='TOTAL'; END TABLE FILE CAR SUM SALES BY LAND ON TABLE HOLD AS HOLD2 END
Frank | |
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7 |
On... SUBFOOT " <25><CT.FIELD" " <25>========="
Frank | |
prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7 |
SET CSSURL='http://localhost/tests/dunder.css'; TABLE FILE CAR PRINT CAR SALES BY COUNTRY ON COUNTRY SUBFOOT WITHIN " <+0> <SALES" ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, $ TYPE=SUBFOOT, CLASS='dbll', $ TYPE=SUBFOOT, BY=1, LINE=1, OBJECT=FIELD, CLASS='dblu', $ ENDSTYLE END
.dbll { text-align:right; padding:0 0 4px 0; } .dblu { text-align:right; border-bottom:3px double black; }
FOCUS/WebFOCUS 1990 - 2011 |
FOCUS/WebFOCUS 1990 - 2011 |