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     [SOLVED] Graph PDF Magnification

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Graph PDF Magnification
 Login/Join
 
Gold member
posted
Hi,
When producing a graph in a frame, I wish to set the magnification to a number. For example, 60%. Currently, WebFocus seems to set the magnification of a PDF display based on the contents.
Thank you,
Nick

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


WebFOCUS 7.7.03 & 8.0.7
Windows
HTML, Excel, PDF, etc.
Also, using Maintain, etc.
 
Posts: 83 | Registered: February 26, 2009Report This Post
Expert
posted Hide Post
I am confused, Confused, is this the default size of the report in PDF or a graph in a PDF document, or a graph in an HTML Frame or IFrame ?


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: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Hi Waz,
When routing a report or graph to a PDF, the output is displayed with a magnification of 30-40%. This is very small. I wish to display the PDF output with a magnification of 60%.

How can the magnification be changed to 60%?

Hope this helps.

Thank you,
Nick


WebFOCUS 7.7.03 & 8.0.7
Windows
HTML, Excel, PDF, etc.
Also, using Maintain, etc.
 
Posts: 83 | Registered: February 26, 2009Report This Post
Gold member
posted Hide Post
Hi Waz,
If I was to open the PDF outside WebFocus, the correct syntax would append "#zoom=60". Since I am current using a button to trigger production of the report or graph, I can't figure out how to pass this option.
Nick


WebFOCUS 7.7.03 & 8.0.7
Windows
HTML, Excel, PDF, etc.
Also, using Maintain, etc.
 
Posts: 83 | Registered: February 26, 2009Report This Post
Expert
posted Hide Post
Ah, I understand.

You want to know about the default zoom for opening a document.

I think that this has been asked before. I assume you found it, hence the option #zoom.

I don't think that we have control over the return of the PDF from an executed Fex.

You may have to put in a case with IBI.


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: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Hi Waz,
I am building a dashboard type interface that will present reports/graphs for a variety of options based on those selected. Each report/graph on the HTML page has a button and the options chosen are passed as parameters. Is zoom an option? If so, what is the syntax? If not, is there another technique, possibly javascript?
Thank you,
Nick


WebFOCUS 7.7.03 & 8.0.7
Windows
HTML, Excel, PDF, etc.
Also, using Maintain, etc.
 
Posts: 83 | Registered: February 26, 2009Report This Post
Virtuoso
posted Hide Post
I'm not sure if this will help in your case, but PDF report and image sizes can be altered via the StyleSheet. If appropriate, variables could be used to provide "standard" sizes for all reports/graphs.

-SET &FONT_SIZE = 12 ;
-SET &IMG_WIDTH = 6 ;
-SET &IMG_HEIGHT = 6 ;

GRAPH FILE CAR
 SUM SALES
 BY COUNTRY AS ''
 ON TABLE HOLD AS G1 FORMAT GIF
END

TABLE FILE CAR
 SUM SALES/D9
 BY COUNTRY
 HEADING
  "Sales by Country"
  " "
 ON TABLE PCHOLD FORMAT PDF
 ON TABLE SET STYLE *
  TYPE=REPORT, FONT='Arial', SIZE=&FONT_SIZE, $
  TYPE=REPORT, IMAGE=G1.gif, POSITION=(+2.75 -2.6), SIZE=(&IMG_WIDTH &IMG_HEIGHT), PRESERVERATIO=ON, $
 ENDSTYLE
END


WebFOCUS 7.7.05
 
Posts: 1213 | Location: Seattle, Washington - USA | Registered: October 22, 2007Report This Post
Gold member
posted Hide Post
Hi Dan,

Very interesting technique that I will use. Does not address the magnification directly but does provide an alternate presentation style. Will research and use style options, as you suggested.

Still searching for magnification option.

Thank you,
Nick


WebFOCUS 7.7.03 & 8.0.7
Windows
HTML, Excel, PDF, etc.
Also, using Maintain, etc.
 
Posts: 83 | Registered: February 26, 2009Report This Post
Expert
posted Hide Post
Nick,

Once the PDF redirection process takes hold, WF has no involvement in how the Acrobat reader add-in displays the document.

Open Adobe Acrobat and then select Edit/Preferences from the menu(s). In version 9 there are options for both "Full Screen" and "Page |Display" that might help you get your defaults. Of course, these are client end settings and would be specific to a client machine Frowner.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Expert
posted Hide Post
Another option, that will complicate things, would be to hold the PDF document somewhere, then return a web page that opens the PDF document with the appropriate zoom.

But you will then need to clean up the PDF documents your self.


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: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Hi Tony & Waz,
I've implemented Tony's technique on my test machine and since this feature will initially be deployed to a very limited staff, this may fly butam still searching for a possible programing solution. Unfortunately, HTML output does not render the 3D graphics option properly when routed to a frame.
Thank you,
Nick


WebFOCUS 7.7.03 & 8.0.7
Windows
HTML, Excel, PDF, etc.
Also, using Maintain, etc.
 
Posts: 83 | Registered: February 26, 2009Report 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     [SOLVED] Graph PDF Magnification

Copyright © 1996-2020 Information Builders