|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi,
I need to generate a report which has values in its subhead. The report is working fine in HTML format. But in PDF format im unable to get the grid lines on the subhead. Is there anyway to get grid lines on the subhead? I tried to use stylesheets to achieve this. But that too dint help. I referred the below links. http://forums.informationbuilders.com/eve/forums/a/tpc/...051099571#8051099571 http://techsupport.informationbuilders.com/sps/81321120.html This is the code which i used. *-------------FEX file----------------- SET CSSURL = approot\stylesheet.css TABLE FILE CAR CAR AS '' SEATS AS '' BY COUNTRY AS '' ON TABLE PCHOLD FORMAT PDF ON COUNTRY SUBHEAD "COUNTRY <+0> CAR <+0>SEATS" ON TABLE NOTOTAL ON TABLE SET STYLE * TYPE=DATA,GRID=ON,$ TYPE=SUBHEAD,JUSTIFY=CENTER, SIZE=10,$ TYPE=SUBHEAD,ITEM=1,POSITION=P1,OBJECT=TEXT,class='locked_foot1',$ TYPE=SUBHEAD,ITEM=2,POSITION=P2,OBJECT=TEXT,class='locked_foot1',$ TYPE=SUBHEAD,ITEM=3,POSITION=P3,OBJECT=TEXT,class='locked_foot1',$ ENDSTYLE END *-----------stylesheet.css--------- td.locked_foot1, th.locked_foot1 { background-color: WhiteSmoke; font-weight: bold; border-top: 1px solid black; border-bottom: none; border-right: 1px solid silver; border-left: 1px solid silver; text-align: right; } Please help me to find a solution for this issue. Thanks, Arun WF Release : V7.1.7 , Platform : Linux , O/P formats : HTML/XLS/PDF |
||
|
|
Expert |
Arun,
You are using CSS which is only applicable to HTML output not PDF (as signified by CLASS= in your stylesheet). Use BORDER-TOP, BORDER-BOTTOM to get your grids but refer to their usage within the documentation. Also check out Mickey Grackin's two articles in the tips and techniques section from within the IB - Development Centre (link top left). T Old FOCUS coders never die, they just become functionally stable. (Tony A
|
|||||
|
|
Master |
Arun,
If you aim is to create borders around different items in the HEADING, I'm afraid that there is no option for that in WF for PDF. However, creating a border around the HEADING itself exists. For example:
TABLE FILE CAR
PRINT
SALES
BY COUNTRY NOPRINT
BY CAR NOPRINT
BY MODEL
BY BODYTYPE
ON CAR PAGE-BREAK
HEADING
"Country: <COUNTRY"
"Car:<CAR"
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
FONT='ARIAL',
SIZE=9,
$
TYPE=TITLE,
STYLE=BOLD,
$
TYPE=HEADING,
BORDER-TOP=LIGHT,
BORDER-BOTTOM=LIGHT,
BORDER-LEFT=LIGHT,
BORDER-RIGHT=LIGHT,
SIZE=12,
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
JUSTIFY=LEFT,
WIDTH=1.000,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=2,
JUSTIFY=LEFT,
WIDTH=1.000,
$
TYPE=HEADING,
LINE=1,
OBJECT=FIELD,
ITEM=1,
JUSTIFY=LEFT,
WIDTH=1.000,
$
TYPE=HEADING,
LINE=2,
OBJECT=TEXT,
ITEM=1,
JUSTIFY=LEFT,
WIDTH=1.000,
$
TYPE=HEADING,
LINE=2,
OBJECT=TEXT,
ITEM=2,
JUSTIFY=LEFT,
WIDTH=1.000,
$
TYPE=HEADING,
LINE=2,
OBJECT=FIELD,
ITEM=1,
JUSTIFY=LEFT,
WIDTH=1.000,
$
ENDSTYLE
END
Notice the use of WIDTH to align the HEADING items: use the alignment grid in the DS painter. |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

