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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
PDF and HTML
 Login/Join
 
Gold member
posted
Hi all,

I have to create a report that will be able to printed into a HTML and PDF formats. So I know that the HTML CSS style does not affect on the PDF output and I need to use another formating for the PDF output. Could you tell me please which is the best practice when I need to create such report?

And how can I get which is the selected output format?

Thanks in advance


WebFOCUS 7.6
Windows 2000
Output: HTML, PDF
 
Posts: 72 | Registered: January 14, 2008Report This Post
Silver Member
posted Hide Post
You need to create PDF style sheet code and jump between HTML css and PDF style sheet based on the output format selected.

You should get a variable indicating what output is selected for ex: &OUTPUT (values could be 'HTML','PDF' etc.)

So in your code you can use -IF THEN ELSE condition and use respective style sheet code for PDF and HTML output.


-Yogesh Patel
------------------------------------------------------------------------
PROD: WF 764 on Linux Apache tomcat v5.5
DEV: WF 768 on Linux
 
Posts: 42 | Location: Edison, New Jersey | Registered: January 30, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders