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     [SOLVED] Wrap an Across Column

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Wrap an Across Column
 Login/Join
 
<Pietro De Santis>
posted
I have an Across Column that I'd like to WRAP to a certain size. It seems that the stylesheet command WRAP is not available for PDF. I need to, at least, wrap the text in the Across Column into two lines, e.g.
Constitutional Challenge

should be

Constitutional
Challenge

Does anyone have any ideas?

Thanks,

Pietro.

This message has been edited. Last edited by: Kerry,
 
Report This Post
Virtuoso
posted Hide Post
Did you try reformating as a text field (say, TX25)?
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Gold member
posted Hide Post
I have same issues in my report. When WRAP is applied at the report with across column (TYPE=REPORT,
WRAP=.879), the across values are not getting wrapped. Instead the values are getting overlapped with subsequent across values. If I increase the WRAP, report columns will get spanned across pages.

Is there any way to overcome this issue?
 
Posts: 77 | Registered: December 22, 2004Report This Post
Master
posted Hide Post
You are missing the AcrossColumn name in your Report type stylesheet.

Try this,
TABLE FILE CAR
PRINT CAR
ACROSS COUNTRY
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT,ACROSSCOLUMN=P1,COLOR=RED,
STYLE=BOLD,WRAP=0.05,$
ENDSTYLE
END
-RUN
-EXIT

Hope it helps,


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Gold member
posted Hide Post
Kamesh,

Thanks for the response. In your response, car values will get wrapped and their colors will be in RED. But I want the country values which is acrossvalues to get wrapped. Is there any way to wrap the across values?

I tried TYPE=ACROSSVALUE,ACROSS=column_name, wrap=.5 which is not working. If I try and change the colors for across values, it is working. But wrap is not working. Is it a limitation?
 
Posts: 77 | Registered: December 22, 2004Report This Post
Guru
posted Hide Post
It is a documented limitation at least in version 5.21 for PDF. I don't know if it was fixed in a later release.


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Gold member
posted Hide Post
Hi I have same problem of wrapping the acrossvalue in PDF file. Is there any resolution since 2006? I have Adobe reader 8.1.5.
My across value could be a string of ‘AAAA’, or a string of ‘DDDD EE FFFF’. When the across value is more than one line, I need to stack the column heading as
DDDD
EE
FFFF

I have no problem to display this report in HTML and EXCEL. but fail in PDF. The acrossvalue will not wrape,and it overlay the next acrossvalue, becasue I use Squeeze command to force column width.

thanks.

SQUEEZE=ON, TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=8, COLOR=BLACK,
BACKCOLOR=NONE, WRAP=OFF,STYLE=NORMAL,$
TYPE=REPORT,
COLUMN=NO, WRAP=0.5,$
$
TYPE=ACROSSVALUE,
ACROSS=2, WRAP=ON,
SIZE=8,STYLE=BOLD, BACKCOLOR=RGB(107 142 198), COLOR=WHITE,
WIDTH=0.5, GRID=ON, $
$
TYPE=REPORT, COLUMN= N4, SQUEEZE=.5,$
TYPE=REPORT, COLUMN= N5, SQUEEZE=.5,$
TYPE=REPORT, COLUMN= N6, SQUEEZE=.5,$
TYPE=REPORT, COLUMN= N7, SQUEEZE=.5,$
TYPE=REPORT, COLUMN= N8, SQUEEZE=.5,$
TYPE=REPORT, COLUMN= N9, SQUEEZE=.5,$
TYPE=REPORT, COLUMN= N10, SQUEEZE=.5,$
TYPE=REPORT, COLUMN= N11, SQUEEZE=.5,$
TYPE=REPORT, COLUMN= N12, SQUEEZE=.5,$
TYPE=REPORT, COLUMN= N13, SQUEEZE=.5,$
TYPE=REPORT, COLUMN= N14, SQUEEZE=.5,$


WebFOCUS 8.2.01 AppStudio
HTML, PDF, Excel
 
Posts: 61 | Registered: March 12, 2008Report This Post
Virtuoso
posted Hide Post
If you run a search on "wrap across column PDF", you will find a number of previous posts on this issue. Apparently, wrapping an ACROSS column in PDF output is very problematic. But in a posting entitled "[SOLVED] wrap in a stylesheet" dated June 19, 2008, mgrackin provides a work-around solution that may solve your issue.

This message has been edited. Last edited by: Dan Satchell,


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Gold member
posted Hide Post
Dan,

Thank you for directing me to mgrackin's work-around solution. It solves my problem. You guys are wonderful! Thanks a bunch!

Emily


WebFOCUS 8.2.01 AppStudio
HTML, PDF, Excel
 
Posts: 61 | Registered: March 12, 2008Report This Post
Expert
posted Hide Post
On behalf of Pietro De Santis, thank you for the workaround: [SOLVED] wrap in a stylesheet


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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     [SOLVED] Wrap an Across Column

Copyright © 1996-2020 Information Builders