Focal Point
[Solved]Blank line between report heading and title for PDF format

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

March 05, 2013, 04:52 AM
SriAravind
[Solved]Blank line between report heading and title for PDF format
Hi,
I am getting a blank line between report heading and title for PDF report. Below is the sample code:
  
TABLE FILE CAR
PRINT 
     'CAR.ORIGIN.COUNTRY'
     'CAR.COMP.CAR'
     'CAR.CARREC.MODEL'
     'CAR.BODY.DEALER_COST'
     'CAR.BODY.RETAIL_COST'
     'CAR.BODY.SALES'
HEADING
"CAR SALES"
ON TABLE SET NODATA ' '
ON TABLE SET EMPTYREPORT ON
ON TABLE SET PAGE OFF
ON TABLE SET PAGE NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     PAGESIZE='Letter',
     LEFTMARGIN=0.000000,
     RIGHTMARGIN=0.000000,
     TOPMARGIN=0.000000,
     BOTTOMMARGIN=0.000000,
     SQUEEZE=ON,
     ORIENTATION=LANDSCAPE,
$
TYPE=DATA,
     BORDER-TOP=OFF,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     BORDER-TOP-STYLE=SOLID,
     BORDER-BOTTOM-STYLE=SOLID,
     BORDER-LEFT-STYLE=SOLID,
     BORDER-RIGHT-STYLE=SOLID,
     BORDER-TOP-COLOR='SILVER',
     BORDER-BOTTOM-COLOR='SILVER',
     BORDER-LEFT-COLOR='SILVER',
     BORDER-RIGHT-COLOR='SILVER',
     FONT='ARIAL',
     SIZE=8,
     STYLE=NORMAL,
$
TYPE=TITLE,
     BORDER-TOP=OFF,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     BORDER-BOTTOM-STYLE=SOLID,
     BORDER-LEFT-STYLE=SOLID,
     BORDER-RIGHT-STYLE=SOLID,
     BORDER-BOTTOM-COLOR='SILVER',
     BORDER-LEFT-COLOR='SILVER',
     BORDER-RIGHT-COLOR='SILVER',
     FONT='ARIAL',
     SIZE=8,
     COLOR='BLACK',
     STYLE=BOLD,
$
TYPE=HEADING,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=OFF,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
     BORDER-TOP-STYLE=SOLID,
     BORDER-LEFT-STYLE=SOLID,
     BORDER-RIGHT-STYLE=SOLID,
     BORDER-TOP-COLOR='SILVER',
     BORDER-LEFT-COLOR='SILVER',
     BORDER-RIGHT-COLOR='SILVER',
     SIZE=10,
     BACKCOLOR=RGB(236 241 247),
     STYLE=BOLD,
$
TYPE=REPORT,
     COLUMN=N1,
     SIZE=8,
     COLOR='BLACK',
     STYLE=NORMAL,
     WRAP=0.750000,
     JUSTIFY=LEFT,
$

ENDSTYLE
END


Result:


Any suggestions would be greatly helpful.

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


WebFocus Version 7.7.05
Windows, HTML/PDF/EXL2K/AHTML
March 05, 2013, 07:18 AM
SriAravind
How do i eliminate the blank line between heading and title?


WebFocus Version 7.7.05
Windows, HTML/PDF/EXL2K/AHTML
March 05, 2013, 09:00 AM
Prarie
Please do a search on the forum - that is probably one of the most asked questions here.
March 05, 2013, 03:00 PM
Francis Mariani
I don't think there's a way. It's not really a blank line, it's some "space". I've reduced the space by setting the REPORT font SIZE to 1, then specifying the desired font SIXE, on HEADING, TITLE, DATA, SUBFOOT, SUBTOTAL, etc.


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
March 05, 2013, 03:05 PM
Francis Mariani
This might do it!

Image in Heading and space between Heading and Title


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
March 06, 2013, 12:48 AM
SriAravind
Francis, Thanks for the prompt response.


WebFocus Version 7.7.05
Windows, HTML/PDF/EXL2K/AHTML
March 06, 2013, 08:27 AM
Kevin W
I seem to post this a lot. Smiler

I am a big fan of PRINTPLUS=ON with PDFs. It cleans things up.


WebFOCUS 7.7.05 (Someday 8)
Windows 7, All Outputs
In Focus since 1983.