Focal Point
[CLOSED] Bottom of PDF Border/Grid gets eaten (only 3 sides of box)

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

November 18, 2008, 01:43 PM
hammo1j
[CLOSED] Bottom of PDF Border/Grid gets eaten (only 3 sides of box)
Using stylesheet syntax like

TYPE=DATA,BORDER=LIGHT,$

We frequently find that the bottom of a boz is missing.

Does anyone know the reason/ a workaround/ whether it's fixed in a later release than ours (762)?

All answers gratefully received!

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



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
November 18, 2008, 01:57 PM
Darin Lee
Would the bottom of the box happen to go past the printable area or the specified margins of the page? If you move the box up (or the margins down) a bit is it still missing?


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
November 18, 2008, 02:23 PM
susannah
765, we find exactly the same behaviour.
the border-bottom just doesn't show up at all.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
November 18, 2008, 02:25 PM
Darin Lee
Same problem if you use
SET PRINTPLUS=ON
SET PAGE-NUM=NOLEAD

??

Can't tell exactly what you're seeing without an example.


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
November 18, 2008, 02:44 PM
Francis Mariani
Appears to work in 7.6.5. I assume the problem occurs in PDF reports. Perhaps it's caused by something else in the style sheet.

TABLE FILE GGSALES

SUM DOLLARS
BY PRODUCT
BY REGION
BY CITY

ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLESHEET *
FONT='ARIAL', SIZE=8, $
TYPE=DATA,BORDER=LIGHT, $
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
November 19, 2008, 03:37 PM
Waz
I've seen the same issue with PDF, in 7.6.6, but only on wrapping a column, seems to lose track of things once a column has wrapped to another line, but only at the bottom of the page.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

November 19, 2008, 04:05 PM
Hua
This happened to my report when I give a blank line after the sorted field value changed.


Developer Studio 7.6.11
AS400 - V5R4
HTML,PDF,XLS
November 20, 2008, 08:08 AM
hammo1j
Hua's right

I will experiment further with Waz's idea but lunch is finished now.

I did investigate settings of BOTTOMGAP and TOPGAP and they have no bearing on the issue.

Thanks to all!

DEFINE FILE GGSALES 
MEGASTRING/A200 WITH DOLLARS = 'Thanks for that info Waz. I suppose that''s why they call you Mr PDF on the forum. I wonder if this massive string will cause problems. I hope so.' ; 
END

TABLE FILE GGSALES

SUM DOLLARS
    MEGASTRING 
BY PRODUCT
BY REGION
BY CITY SKIP-LINE

ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLESHEET *
FONT='ARIAL', SIZE=8, $
TYPE=DATA,BORDER=LIGHT, $
TYPE=REPORT,COLUMN=MEGASTRING, WRAP=1.0, $
ENDSTYLE

ON TABLE PCHOLD FORMAT PDF
END




Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
November 20, 2008, 10:19 AM
<JG>
The issue is the SKIP-LINE. That is what is throwing it out.

subfoot, subhead do not.

If you look at FrancisĀ“ example which works he has no skip-line.

However if you use GRID=ON instead of BORDER=LIGHT that works.
February 07, 2012, 02:45 PM
Pam Kratt
I did not have skip line but had this problem. I found if I had multiple lines in my subhead with each line having different formating (first line was the only line to have the box around it), my bottom border would not appear.

To fix, I faked out the report by creating a dummy sort field in my define that was equal to my original sort field. Then I had both fields in my by statements and then separated out the subhead and put the first line with the borders in the first sort and put all other lines in the other sort subhead. This fixed my issue.

Just thought I would put another suggestion to help others if they run across this issue.


webfocus 8.105M; os: windows; pdf, html, exl2k, csv