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] underline on report columns in PDF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] underline on report columns in PDF
 Login/Join
 
Gold member
posted
How do we get underline on report columns in PDF format, but the line starting from certain position and ending at certain position as well.

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


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


 
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008Report This Post
Expert
posted Hide Post
Hi Saggy,

Underlines on columns are there by default. What exactly are you looking to do? Have you tried using Stylesheets to control this?

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Gold member
posted Hide Post
Hi kerry,
i tried using the underline attribute on the columns in the report.I am able to display a underline a well But i want to control the start and endpoint of the underline which i display.If you could provide me any pointers regarding this it wud be of great help.


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


 
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008Report This Post
Expert
posted Hide Post
Although I cannot remember when, I think this same question has been asked before.

I would suggest doing a search of the forum


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Expert
posted Hide Post
SET BYDISPLAY=ON
TABLE FILE CAR
SUM
SALES
COMPUTE SEQ/D2 = SEQ + 1; NOPRINT
COMPUTE UL/A1 = IF SEQ FROM 5 TO 9 THEN '1' ELSE '0'; NOPRINT
BY COUNTRY
BY CAR
BY MODEL
BY BODYTYPE
ON TABLE SET STYLE *
GRID=OFF, $
TYPE=DATA, STYLE=UNDERLINE, WHEN= UL EQ '1', $
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
saggy, when you said underline a column, do you mean the title or the data ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
its on Data Waz..
and that to the line has to start frm a specific point and end at a specific point


7.6.4
Unix & Windows
Excel,HTML,PDF,PPT,AHTML


 
Posts: 68 | Location: Hyderabad | Registered: March 18, 2008Report This Post
Expert
posted Hide Post
Did you take a look at my suggestion?


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
saggy, francis' code is probably what you want.

you need to flag the records to underline and use a stylesheet entry with a macro. (WHEN=).


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
Saggy,

do you need to draw one line in the same place on every page or does the line only show up after certain data rows?

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


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
Mickey, I think your question it for saggy. Smiler


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Virtuoso
posted Hide Post
Correction has been made Smiler


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
This "may" be what you are looking for, BUT, it is very tedious:

  
TABLE FILE CAR
SUM
    RETAIL_COST AS 'Retail Cost'
	DEALER_COST AS 'Dealer Cost'
	  COMPUTE XPCT/P6.2B% = (RETAIL_COST / DEALER_COST) * 100; AS '%'
	SALES       AS 'Sales'
BY COUNTRY AS 'Country'
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
     ORIENTATION=LANDSCAPE,
     LEFTMARGIN  = 0.550000,
     RIGHTMARGIN = 0.250000,
     TOPMARGIN   = 0.35000000,
     BOTTOMMARGIN= 0.55000000,
$
TYPE=REPORT,
     GRID=OFF,
     FONT='ARIAL',
     SIZE=10,
$
-GOTO SKIP_LINES
TYPE=REPORT, NAME='TITLE_1', OBJECT=LINE, POSITION=(0.55 0.80), DIMENSION=(0.95 0.0), BORDER=1.0,$ 
TYPE=REPORT, NAME='TITLE_2', OBJECT=LINE, POSITION=(1.55 0.80), DIMENSION=(0.75 0.0), BORDER=1.0,$ 
TYPE=REPORT, NAME='TITLE_3', OBJECT=LINE, POSITION=(2.45 0.80), DIMENSION=(0.75 0.0), BORDER=1.0,$ 
TYPE=REPORT, NAME='TITLE_4', OBJECT=LINE, POSITION=(3.30 0.80), DIMENSION=(0.65 0.0), BORDER=1.0,$ 
TYPE=REPORT, NAME='TITLE_5', OBJECT=LINE, POSITION=(4.00 0.80), DIMENSION=(0.50 0.0), BORDER=1.0,$ 
TYPE=TITLE,STYLE=-UNDERLINE,$
-SKIP_LINES
ENDSTYLE
END
-RUN


Run the code the way it is, then, comment out GOTO SKIP_LINES and see the difference...

HTH

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Virtuoso
posted Hide Post
What Tom posted would be my suggestion if the lines are static.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Expert
posted Hide Post
The solution depends on what the report and data needs. As we don't know if the data is static or the lines are static or the data is dynamic, then at lease saggy has two options.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report 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] underline on report columns in PDF

Copyright © 1996-2020 Information Builders