Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to wrap a column on pdf reports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How to wrap a column on pdf reports
 Login/Join
 
<new2focus>
posted
How can I display both the columns in a single page? When I set WRAP=OFF it is not displaying the enitre content of the second column. Also how can I explicitly specify width for each column?

DEFINE FILE CAR
CAR_INFO/A60 = '[' || CAR || '-' || MODEL || '-' || BODYTYPE || ']';
LARGE_TEXT/A600 = IF COUNTRY EQ LAST COUNTRY
THEN (SUBSTR(600, LARGE_TEXT, 1, ARGLEN(600, LARGE_TEXT, 'I3'), ARGLEN(600, LARGE_TEXT, 'I3'), 'A535')
|| ' - ' || CAR_INFO) ELSE CAR_INFO;
END

TABLE FILE CAR
SUM LARGE_TEXT
BY COUNTRY
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='A4', SQUEEZE=ON, ORIENTATION=LANDSCAPE,
LEFTMARGIN=0.39, RIGHTMARGIN=0.39, TOPMARGIN=0.0, BOTTOMMARGIN=0.0, $

-*TYPE=REPORT, GRID=OFF, WRAP=OFF, TOPGAP=0.03, BOTTOMGAP=0.06,
TYPE=REPORT, GRID=OFF, WRAP=7, TOPGAP=0.03, BOTTOMGAP=0.06,
FONT='HELVETICA', SIZE=8, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $

TYPE=TITLE, BORDER=LIGHT, BACKCOLOR='LIGHT GREY', STYLE=-UNDERLINE+BOLD+ITALIC, $
TYPE=DATA, BORDER=LIGHT, $
ENDSTYLE
END
 
Report This Post
Guru
posted Hide Post
Give this a try:

DEFINE FILE CAR
CAR_INFO/A60 = '[' || CAR || '-' || MODEL || '-' || BODYTYPE || ']';
LARGE_TEXT/A600 = IF COUNTRY EQ LAST COUNTRY
THEN (SUBSTR(600, LARGE_TEXT, 1, ARGLEN(600, LARGE_TEXT, 'I3'), ARGLEN(600, LARGE_TEXT, 'I3'), 'A535')
|| ' - ' || CAR_INFO) ELSE CAR_INFO;
END

TABLE FILE CAR
SUM LARGE_TEXT
BY COUNTRY
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='A4', SQUEEZE=ON, ORIENTATION=LANDSCAPE,LEFTMARGIN=0.39, RIGHTMARGIN=0.39, TOPMARGIN=0.0, BOTTOMMARGIN=0.0, $
TYPE=REPORT, GRID=OFF,TOPGAP=0.03, BOTTOMGAP=0.06,FONT='HELVETICA', SIZE=8, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $
TYPE=REPORT,COLUMN=COUNTRY,SQUEEZE=0.75,$
TYPE=REPORT,COLUMN=LARGE_TEXT,WRAP=7.00,$

TYPE=TITLE, BORDER=LIGHT, BACKCOLOR='LIGHT GREY', STYLE=-UNDERLINE+BOLD+ITALIC, $
TYPE=DATA, BORDER=LIGHT, $
ENDSTYLE
END

These lines where changed/added:
TYPE=REPORT, GRID=OFF,TOPGAP=0.03, BOTTOMGAP=0.06,FONT='HELVETICA', SIZE=8, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $
TYPE=REPORT,COLUMN=COUNTRY,SQUEEZE=0.75,$
TYPE=REPORT,COLUMN=LARGE_TEXT,WRAP=7.00,$
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Guru
posted Hide Post
We are trying to wrap PDF using DevStudio 5.2.6 and the wrap does not work. The code works fine with EXL2K but in PDF the second and third line of text overwrite the first line of text and it looks horrible. Since we are trying to get the report onto one legal page we don't have a lot of options.

Any thoughts?
 
Posts: 238 | Location: Atlanta, GA/Rehovot, Israel | Registered: May 06, 2003Report This Post
<new2focus>
posted
Thanks Curtis.. Those 2 lines did the magic! Have a gr8 day!
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     How to wrap a column on pdf reports

Copyright © 1996-2020 Information Builders