Focal Point
using linebreak in pdf

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

May 17, 2007, 02:37 PM
RB
using linebreak in pdf
I am using linebreak for the concatenated field to break the line in to next line. I am getting unneccesary extra lines when I use border-bottom with line break.
how do I avoid unneccesary lines?

DEFINE FILE CAR
CR/A1 = HEXBYT(13, 'A1');
LF/A1 = HEXBYT(10, 'A1');
CRLF/A2 = CR || LF;
COUNTRYNAMECAR/A100= COUNTRY || CRLF || CAR || MODEL;
END
TABLE FILE CAR
PRINT COUNTRYNAMECAR
CAR
WHERE RECORDLIMIT EQ '10'
ON TABLE SET STYLE *
TYPE=REPORT, LINEBREAK=CRLF,SQUEEZE=1.5,$
TYPE=TITLE, BORDER-BOTTOM=LIGHT,$
ENDSTYLE
ON TABLE PCHOLD FORMAT PDF
END
-EXIT
May 17, 2007, 02:49 PM
Darin Lee
I may be missing something, but it appears that you're inserting a carriage return and line feed. If you don't want the extra line, take out the linefeed.


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
May 18, 2007, 10:03 AM
Alan B
Using the LF should be sufficient as Darin said. Also note the stylesheet option of LINEBREAK='LF' that helps PDF output line breaks.


Alan.
WF 7.705/8.007
May 21, 2007, 09:58 AM
RB
using style sheet option of 'LF' is helping me to break the data, but still I am getting extra lines under the title.

DEFINE FILE CAR
LF/A1 = HEXBYT(10, 'A1');
COUNTRYNAMECAR/A100= COUNTRY || LF || CAR || MODEL;
END
TABLE FILE CAR
PRINT COUNTRYNAMECAR
CAR
WHERE RECORDLIMIT EQ '10'
ON TABLE SET STYLE *
TYPE=REPORT, LINEBREAK=LF,SQUEEZE=1.5,$
TYPE=TITLE, BORDER-BOTTOM=LIGHT,$
ENDSTYLE
ON TABLE PCHOLD FORMAT PDF
END
-EXIT
May 21, 2007, 10:35 AM
Alan B
See the Focal Point tips and techniques here for Kasi and Mickey's articles which will give you a solution.


Alan.
WF 7.705/8.007