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] Highlighting some text in some colour at the footnote.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Highlighting some text in some colour at the footnote.
 Login/Join
 
Gold member
posted
I need to highlight some text at footnote with some colour (I need to highlight it by changing the background colour of that particular text and not by by changing the font colour )but can't find any such option available(may be due to the version I am using). Is there any way to do it by coding?

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


WebFocus 5.2.5
HP-UX(UNIX)
EXCEL, HTML, PDF and OLAP
 
Posts: 50 | Registered: August 04, 2009Report This Post
Expert
posted Hide Post
  
DEFINE FILE CAR
  FOOT1/A18 = 'This is the start ';
  FOOT2/A16 = 'This is colored ';
  FOOT3/A16 = 'This is the end.';
END
TABLE FILE CAR
PRINT
     SEATS
     DEALER_COST
     RETAIL_COST
     SALES
BY CAR
BY MODEL
ON CAR SUBTOTAL AS '*TOTAL'
HEADING
""
FOOTING
"<FOOT1<FOOT2<FOOT3"
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     UNITS=IN,
     SQUEEZE=ON,
	 GRID=OFF,
     ORIENTATION=PORTRAIT,
-*     PAGECOLOR=RGB(240 240 250),
$
TYPE=REPORT,
     FONT='ARIAL',
     SIZE=10,
     COLOR='BLACK',
     BACKCOLOR='NONE',
     STYLE=NORMAL,
     RIGHTGAP=0.125000,
$
TYPE=FOOTING,
     COLOR='BLACK',
     BACKCOLOR='WHITE',
$
TYPE=FOOTING,
     ITEM=2,
     COLOR='BLACK',
     BACKCOLOR='RED',
$
ENDSTYLE
END
-EXIT


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Gold member
posted Hide Post
Tom,

This didn't help. Web focus removed the content by itself.


WebFocus 5.2.5
HP-UX(UNIX)
EXCEL, HTML, PDF and OLAP
 
Posts: 50 | Registered: August 04, 2009Report This Post
Expert
posted Hide Post
Don't know what that means. You are on 5.2.5, so, that release has long left my memory. Instead of PDF, try it in HTML.

At any rate, that is the concept...


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
I even think that 525 is not supported anymore.
What I do know is that if you go to pdf then the footing line will have just that one color. You can't color parts of footer (or header) lines. So in your example, if you do
FOOTING
"<FOOT1"
"<FOOT2"
"<FOOT3"
  ...
TYPE=FOOTING,
     LINE=2,
     COLOR='BLACK',
     BACKCOLOR='RED',
$

then the second line will be colored red.
If this is not what you nedd, then please let us know what you do need.

Hope this helps....


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
quote:
You can't color parts of footer (or header) lines


Gerard,

Did you try the code, because, in 7.6.9, it works fine in PDF?
I've been doing that since 7.6.X, especially for text letters being mailed out from university's...FYI


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
No, I ran this on a 765 release.
I did know that there was a NFR for being able to color parts of a foot or head, but never even thought of it already being solved in 769. I'll try in 769 later and see if I also get the parts colored.
But since the person who asked is still on the old museum piece of 525, it will never work there like it does in 769.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
I ran Tom's code on 7.6.5 and it worked just fine. I have a 7.6.6 reporting server.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Guru
posted Hide Post
I tried it on 7.6.4. It does not work there. So the magic release is either 7.6.5 or 7.6.6


(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
Expert
posted Hide Post
That sounds correct. I was doing inline HTML to email addresses via RC prior, so, that seems right.

Gamp's suggestion should work with 5. Can't believe organizations haven't upgraded to 7 (2004, I think).


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
GamP's suggestion does work on 5.2.4, but the background is changed for the whole line, not just the text.

I don't ever throw away old versions, always good for something...


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
Hi,

Yes, line colouring is working.

But actually I was looking to colour some words in the middle of the line, to highlight it. With this discussion, it seams it will not work for 525.

hmmm ... bad luck!!!!!


WebFocus 5.2.5
HP-UX(UNIX)
EXCEL, HTML, PDF and OLAP
 
Posts: 50 | Registered: August 04, 2009Report This Post
Expert
posted Hide Post
Time to Upgrade ? 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
You CAN color words in the middle of a line, but only in HTML format. If you're wanting PDF output, you'll only get what you need by upgrading to a recent version.


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, 2007Report 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] Highlighting some text in some colour at the footnote.

Copyright © 1996-2020 Information Builders