Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     using linebreak in pdf
Go
New
Search
Notify
Tools
Reply
  
using linebreak in pdf
 Login/Join
 
Gold member
posted
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
 
Posts: 76 | Registered: October 28, 2003Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Reply With QuoteReport This Post
Gold member
posted Hide Post
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
 
Posts: 76 | Registered: October 28, 2003Reply With QuoteReport This Post
Virtuoso
posted Hide Post
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
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     using linebreak in pdf

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.