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     [CLOSED] PDF, Column Title, WRAP and the exclamation mark

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] PDF, Column Title, WRAP and the exclamation mark
 Login/Join
 
Expert
posted
I'm sure I've encountered this before, but I can't come up with a solution. I'm using WRAP to make a column narrower. The Column Title gets truncated with an exclamation mark - I thought that the colmn title would wrap, just like the data.

Example:

TABLE FILE CAR
PRINT
MODEL AS 'THIS IS A MODEL'

ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLE *
TYPE=REPORT, SQUEEZE=ON,
FONT='ARIAL', SIZE=9,
BORDER=1, BORDER-COLOR=SILVER,
$

TYPE=TITLE, STYLE=BOLD, $

TYPE=REPORT, COLUMN=MODEL, WRAP=0.5, $
ENDSTYLE
END

One solution would be to use commas in the column title (This,is a,model) but because I use borders, borders appear between each column title line.

This message has been edited. Last edited by: Francis Mariani,


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
Expert
posted Hide Post
Well, borders do not appear between each line of the column title in this example, but in my real-world report they do, because of the background colour.

TABLE FILE CAR
PRINT
MODEL AS 'THIS,IS A,MODEL'

ON TABLE PCHOLD FORMAT PDF

ON TABLE SET STYLE *
TYPE=REPORT, FONT=HELVETICA, SIZE=7,
  BORDER=LIGHT, BORDER-COLOR=GREY,
  TOPGAP=0.02,
  BOTTOMGAP=0.02,
  LEFTGAP=0.06,
  RIGHTGAP=0.06,
  $

TYPE=TITLE,
  STYLE=BOLD,
  COLOR='WHITE',
  BACKCOLOR=RGB(8 94 129),
  $

TYPE=REPORT, COLUMN=MODEL, WRAP=0.5, $
ENDSTYLE
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Interestingly, at 300% the PDF shows no lines between the title lines...


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
Platinum Member
posted Hide Post
Francis,

I tried several options and was unable to get the desired result. I think you may need to seek professional help on this one. Cool

Norb


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
 
Posts: 242 | Location: Minneapolis | Registered: February 16, 2006Report This Post
Guru
posted Hide Post
I concur with Norb. It happens without aliases too...

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


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
 
Posts: 402 | Location: Upland, IN | Registered: June 08, 2012Report This Post
Expert
posted Hide Post
I'm on a working vacation, far from a printer but I'll assume that it's a rendering issue and when printed, the lines will not appear.

Cheers.



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
Platinum Member
posted Hide Post
You may be far from a printer but I'm seeing the same subtle striping on the chipmunk's back as well. Are you certain it's not JUST YOU! Big Grin

Have a great working vacation,

Norb


prod:7.6.9, win2k3 mre, caster, bid, devstudio 7.6.9
 
Posts: 242 | Location: Minneapolis | Registered: February 16, 2006Report This Post
Guru
posted Hide Post
I stumbled upon this post again, the solution is quite simple. If you haven't figured it out by now, just add a comma into the column alias i.e.
MODEL AS 'THIS,IS A,4 LINE,MODEL'
to get:
THIS
IS A
4 LINE
MODEL
Thanks to Susannah
Wrap column title in PDF report


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
 
Posts: 402 | Location: Upland, IN | Registered: June 08, 2012Report This Post
Expert
posted Hide Post
J, thanks for your feedback. I am aware of the solution, but I was unsure of using it as, in some version of Adobe PDF Reader, I saw dark grey lines between the individual lines of the column title and was afraid they would print.

Cheers,


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     [CLOSED] PDF, Column Title, WRAP and the exclamation mark

Copyright © 1996-2020 Information Builders