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]Is there a way to save the styling of a Report in Report painter and reuse it

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Is there a way to save the styling of a Report in Report painter and reuse it
 Login/Join
 
Member
posted
Hi,

I have created a report in the report painter and have changed the default styling by the using the controls provided in the Report Options, Style tab.
Now i want to use the same styling in my other reports (for same look and feel) and was wondering if there is a way to save the styling on this report and re-use it in others?

I just dont want to do the same styling stuff manually over and over again for all my reports. And want to save the current styling and simply apply it over other reports.

Ive been looking into the focal point and Developer studio Help as well, but could not find any documentation which tells how to save the current styling.

Assitance is highly appreciated.

Regards,
Anuja Shukla
CGN & Assoc.

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


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 9 | Registered: March 07, 2012Report This Post
Expert
posted Hide Post
Not sure about doing this in Dev Studio, but all you need to do is create a fex that has the style code in it and then -INCLUDE it in the report.


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
... or save the applicable portion of STYLE code in a .sty file, and "include" it in the new report.

For safety and sanity, I would *remove* the common style code from a copy of the original report, store it as a .sty file, and add the "include" style directive, then test to verify equivalence -- before applying the .sty to additional reports.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Expert
posted Hide Post
Yes the sty file, had long forgotten about it.

Good One


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
One caveat:

The STYLE sections include directive
include=mystyle,$


does not place the content of the referenced file in focstack -- in other words, the dialog manager pre-execution scan of the report fex file never sees the .sty file's content. The "include=...,$" directive itself gets placed in focstack, and (when the time comes) TABLE resolves the reference and includes the lines of style code found in the referenced .sty file.

Hence, you cannot place amper variable references in the .sty file: to TABLE, '&' is just another character.

The only nod to dialog manager is that -* comment lines appearing in the .sty file are treated as such: TABLE will ignore them.

Not sure if those behaviors are documented -- I discovered them by trial & error.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Guru
posted Hide Post
Abuja,

All you need to do is select "Save StyleSheet" from the File menu in the Report Painter. That will create an STY file that can be reused.


David Glick
Director WebFOCUS App Studio
and WebFOCUS Developer Studio
WebFOCUS Division
Information Builders, Inc.
Direct (917) 339-5560
Voice Mail (212) 736-6250 x3560
Fax (212) 947-5168
Email david_glick@ibi.com
 
Posts: 315 | Registered: April 13, 2004Report 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]Is there a way to save the styling of a Report in Report painter and reuse it

Copyright © 1996-2020 Information Builders