Focal Point
[SOLVED] Can I control the thickness of the line produced by ON byvalue UNDER-LINE?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/831100622

August 31, 2009, 03:19 PM
JudyM
[SOLVED] Can I control the thickness of the line produced by ON byvalue UNDER-LINE?
We are trying to come up with a standard way to visually separate our subtotal sections. Our old tool used boxes.

We are currently using bold for the SUHEAD and SUBFOOT and indentation for the detail.

However, We like the idea of using the UNDER-LINE, but it is too thick and overpowers the page. Is there a way to make it thinner in a PDF?

This message has been edited. Last edited by: Kerry,


Judy Miller
Software Engr, Decision Support
Prism Group, Inc.
Email: judy@prism-grp.com

WebFOCUS 7.6.9
Windows XP
Output: PDF, Excel, COMT

August 31, 2009, 04:07 PM
Darin Lee
There are a couple of different ways to do this. Probably the easiest would be to add

TYPE=UNDERLINE, COLOR=SILVER, $

to your stylesheet. This doesn't change the width of the line, but changing it to silver (or gray or whatever rgb shade you want) decreases the significance of the underline. You could also remove the UNDER-LINE and add it in a SUBFOOT, then you could change the font size and/or style to make it look however you like.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
August 31, 2009, 04:24 PM
Prarie
You can play around with BORDERS also. Do some research.

TYPE=SUBTOTAL, BORDER-BOTTOM=LIGHT,$


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
You could probably accomplish what you are trying to do with the BORDER setting. If you would like to try to do this with a SUBFOOT here's an example that may help. The trick is to change the TOPGAP and BOTTOMGAP to 0, change the BACKCOLOR to the color you would like for the line and then change the font SIZE to be 1 or 2 depending on how thick the line should be.

TABLE FILE CAR
PRINT RCOST AS 'RCOST' DCOST AS 'DCOST'
BY COUNTRY
BY CAR
BY MODEL
BY BODYTYPE AS 'BODY'
ON COUNTRY SUBTOTAL
ON COUNTRY SUBFOOT
" "

ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON, GRID=OFF, LEFTGAP=0, RIGHTGAP=0.100, FONT='ARIAL',$
TYPE=SUBFOOT, TOPGAP=0, BOTTOMGAP=0, SIZE=1, BACKCOLOR=RED,$
ENDSTYLE
END


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
Why not add the "COLOR=SILVER" to your
TYPE=SUBTOTAL, BORDER-BOTTOM=LIGHT,$

        to get 

TYPE=SUBTOTAL, BORDER-BOTTOM=LIGHT, COLOR=SILVER,$
While you're at it...
Go one further and make it dotted which will lessen the impact even more.

TYPE=SUBTOTAL, BORDER-BOTTOM=LIGHT, BORDER-COLOR=SILVER, BORDER-STYLE=DOTTED, $
The following seemed to work the best for us:

TYPE=UNDERLINE, COLOR=DARK GREY, $

Thank you for the suggestions.


Judy Miller
Software Engr, Decision Support
Prism Group, Inc.
Email: judy@prism-grp.com

WebFOCUS 7.6.9
Windows XP
Output: PDF, Excel, COMT