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]Calculate Height of Document in Document Composer

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED]Calculate Height of Document in Document Composer
 Login/Join
 
Member
posted
Hello everybody,

Does anyone know if it is possible to dynamically calculate how many inches are left in a document, when the document includes multiple reports? Obviously it is possible to manually add up the heights of the reports and subtract the amount with the height of the entire document but I would like to have this automatically done by WebFOCUS.

For example, the height of the document is 11,6in and there are 2 reports positioned underneath each other with a height of 2in (together 4in).
This leads to 11,6in – 4in = 7,6in space left over on the document
Having the number 7,6in dynamically calculated would be great.

Thanks for any help!

This message has been edited. Last edited by: <Emily McAllister>,
 
Posts: 8 | Registered: January 13, 2016Report This Post
Master
posted Hide Post
This would be a Javascript function, not WebFOCUS and you would have to do this calculations yourself.



- FOCUS Man, just FOCUS!
-----------------------------
Product: WebFOCUS
Version: 8.1.04
Server: Windows 2008 Server
 
Posts: 578 | Registered: October 01, 2014Report This Post
Member
posted Hide Post
I am sure that you cannot use JavaScript in the Document Composer. But it is a good idea though.
 
Posts: 8 | Registered: January 13, 2016Report This Post
<Emily McAllister>
posted
Hello,

What kind of output are you trying to produce? If this is meant to be a report viewed on the web, you might want to try placing your reports in an HTML document using the HTML Composer Canvas. The Composer Canvas does support Javascript and what you are asking is definitely possible using an HTML page.

Emily McAllister
Focal Point Moderator
 
Report This Post
Member
posted Hide Post
Hello,

I am trying to produce a PDF output with the document composer. This makes the problem so difficult...

Thanks
 
Posts: 8 | Registered: January 13, 2016Report This Post
Platinum Member
posted Hide Post
Would setting PRINTPLUS=ON help? It clears up some problems with page breaks and footings in PDF.


WebFOCUS 7.7.05 (Someday 8)
Windows 7, All Outputs
In Focus since 1983.
 
Posts: 103 | Registered: April 27, 2011Report This Post
Master
posted Hide Post
clde,

Why are you trying to calculate the space left in the first place? The document composer allows you to create a flow. You can define things like what report follows another. As well you can tell the document composer to not allow a report to be split between two pages etc. I haven't found a need to do a calculation like that myself. Perhaps you are trying to do something that already exists and just don't know what the commands are?


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
 
Posts: 750 | Location: Warrenville, IL | Registered: January 08, 2013Report 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]Calculate Height of Document in Document Composer

Copyright © 1996-2020 Information Builders