Focal Point
[SOLVED] pdf heading background color

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

February 16, 2010, 10:10 AM
JohnB
[SOLVED] pdf heading background color
Background coloring in a PDF report spans the page width. How can you make it span the report width, so the background coloring lines up with the last column on the right? One way is to make the column widths wider, but then you can wind up with a report with the columns spread far apart. Is there a way to adjust the width of the heading?

Thank you,

John

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


WF 7.7.03, Windows 7, HTML, Excel, PDF
February 16, 2010, 10:22 AM
Francis Mariani
In my experience, background colouring in a PDF report spans the report width and not the page width.

TABLE FILE CAR
SUM
SALES
BY COUNTRY
BY CAR
HEADING CENTER
"WEBFOCUS REPORT"

ON TABLE SET PAGE NOLEAD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON,
FONT='ARIAL', SIZE=8, BACKCOLOR=NAVY, COLOR=WHITE, $
ENDSTYLE

ON TABLE PCHOLD FORMAT PDF
END




Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
February 16, 2010, 11:26 AM
JohnB
Due to the nature and complexity of the reports, the style sheets for each output format are coded manually

quote:
TYPE=REPORT, SQUEEZE=ON,
is what I was missing.

Thank you!


WF 7.7.03, Windows 7, HTML, Excel, PDF