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     Merging individual PDF report with Compund PDF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Merging individual PDF report with Compund PDF
 Login/Join
 
Gold member
posted
Hi,
I am working on a solution where i need to generate a PDF report in which i have to include 3-5 pdf reports and one compund PDF report (in this compund PDF i am showing 6 reports in one page and another 6 report in 2nd page).Both i am able to do individually. but when it comes for merging them it didnt work. I tried using like this
SET COMPUND = OPEN
-include <fex1>
-include <fex2>
-include <fex3>
-include <fex4> (all these as having pchold format as PDF)
SET COMPUND = CLOSE
-include <compund pdf file>(this already has 2 page of PDF output)


But it didnt give me any output. Just says NO HTML OUTPUT and show how records processed.

If you know any forum discussion on this or your solution please let me know.


Dev:
Dev Studio 7.1.6,Report Caster 7.1.1,Servlet
Local:
Dev Studio 7.1.6,Report Caster 7.1.1,Apache 5.0.2,
Win XP


 
Posts: 80 | Registered: March 21, 2007Report This Post
Virtuoso
posted Hide Post
Prasanna

I suppose your other included compound report has the same structure as this one, so if you think of the whole report included the other compound report you would see two times the command "set compound=open" and two time "set compound=close".
In my opinion that ruins the whole thing.

I would remove the "set compound=close line" here and see if that works better.
If you still have a problem, rty to remove the "set compound=open" in the second report too.

If you do not need to run the second report separate, than make it as one fex.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Gold member
posted Hide Post
Frank,
There is a typo in my report. I need to merge the normal PDF report with the COMPONENT pdf report. The component PDF report is generated by PDF layout painter.

Now tell me how do you merge the 5 PDF (individual) reports with one COMPONENT PDF report (this component reprt has 6 reports in one page and 6 reports another page of PDF).

is my SET COMPOUND method is right for this issue.


Dev:
Dev Studio 7.1.6,Report Caster 7.1.1,Servlet
Local:
Dev Studio 7.1.6,Report Caster 7.1.1,Apache 5.0.2,
Win XP


 
Posts: 80 | Registered: March 21, 2007Report This Post
Virtuoso
posted Hide Post
Please post the script of the other compound report that will make it more clear and I will see if I can help.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Gold member
posted Hide Post
Here is the program that has the same requirement for me. I used CAR file.
 
CONTENTS OF MAIN FILE

SET COMPOUND=OPEN
-INCLUDE includecheck3.fex
SET COMPOUND=CLOSE
-INCLUDE includecheck4.fex

CONTENTS OF includecheck3.fex WHICH IS INCLUDED IN MAIN FILE

TABLE FILE CAR
BY COUNTRY
ON TABLE PCHOLD FORMAT PDF
END

CONTENTS OF COMPOUND PDF (includecheck4.fex) CREATED USING PDF LAYOUT PAINTER

COMPOUND LAYOUT
UNITS=IN, $
SECTION=section1, LAYOUT=ON, MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, $
pagelayout=1, name='Layout page 1', $
component='report1', type=report, position=(0.500 0.500), dimension=(1.917 1.292), $
component='report2', type=report, position=(3.333 0.625), dimension=(1.979 1.250), $
END
SET COMPONENT='report1'
-*component_type report
-INCLUDE includecheck2
SET COMPONENT='report2'
-*component_type report
-INCLUDE includecheck1
COMPOUND END

CONTENTS OF includecheck2 WHICH IS PRESENT IN THE COMPOUND PDF
TABLE FILE CAR
BY BODYTYPE
ON TABLE PCHOLD FORMAT PDF 
END

CONTENTS OF includecheck1 WHICH IS ALSO PRESENT IN THE COMPOUND PDF

TABLE FILE CAR
BY MODEL
ON TABLE PCHOLD FORMAT PDF
END


Dev:
Dev Studio 7.1.6,Report Caster 7.1.1,Servlet
Local:
Dev Studio 7.1.6,Report Caster 7.1.1,Apache 5.0.2,
Win XP


 
Posts: 80 | Registered: March 21, 2007Report This Post
Expert
posted Hide Post
You are trying to combine two types of PDF compound, the old method and the new method. Stick to one or the other - not both.

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
Virtuoso
posted Hide Post
that was my line Tony....




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Expert
posted Hide Post
Smiler
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
I would include all the components into this file something like

COMPOUND LAYOUT UNITS=IN, $
SECTION=section1, LAYOUT=ON, MERGE=OFF, ORIENTATION=PORTRAIT, PAGESIZE=Letter, $
pagelayout=1, name='Layout page 1', $
component='report1', type=report, position=(0.500 0.500), dimension=(1.917 1.292), $ 
component='report2', type=report, position=(3.333 0.625), dimension=(1.979 1.250), $ 
pagelayout=2, name='Layout page 2', $
component='report3', type=report, position=(0.500 0.500), dimension=(2 2), $ 
component='report4', type=report, position=(4.000 1.000), dimension=(3 3), $ 
pagelayout=3, name='Layout page 3', $
component='report5', type=report, position=(0.500 0.500), dimension=(1 2), $ 
component='report6', type=report, position=(3.00 1.000), dimension=(3 3), $ 

END 
SET COMPONENT='report1' 
-*component_type report 
-INCLUDE includecheck1 
SET COMPONENT='report2' 
-*component_type report 
-INCLUDE includecheck2 
SET COMPONENT='report3' 
-*component_type report 
-INCLUDE includecheck3 
SET COMPONENT='report4' 
-*component_type report 
-INCLUDE includecheck4 
SET COMPONENT='report5' 
-*component_type report 
-INCLUDE fex1 
SET COMPONENT='report6' 
-*component_type report 
-INCLUDE fex2 

COMPOUND END


Now this creates a report with 3 pages and on each page 2 tables.
It depends on the size of each table if this works, but you can play with the dimensions.
If a report is bigger than one page you need to create an overflow page.

It's also possible to put text, lines and images into the compound page.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
I've found that in the last fex to say

ON TABLE SET ONLINE-FMT PDF
ON TABLE SET COMPOUND CLOSED

for where report is closed works.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Gold member
posted Hide Post
Thanks for the replies.
Actually my client wants the report like this. he is having 15 different reports. One of the report will be in COMPOUND report, where we integrated 6 graphs and 9 tables. Remaining all are individual reports. Each individual report will go more than one page. COMPOUND report will be in 2 pages.
There is a option for the user to select the ALL 15 reports. In that i need to integrate the COMPOUND report and other reports.

Leah: i tried your approach, but it didnt work.


Dev:
Dev Studio 7.1.6,Report Caster 7.1.1,Servlet
Local:
Dev Studio 7.1.6,Report Caster 7.1.1,Apache 5.0.2,
Win XP


 
Posts: 80 | Registered: March 21, 2007Report This Post
Virtuoso
posted Hide Post
I am very interested in finding a solution to your issue as it sounds like the same as this question I posted a couple weeks back. Unfortunately I have not been able to come up with anything either.

User can select up to 16 different reports or graphs, but two of the reports are their own compound report. Hmm. I'll keep an eye on your post and let you know if I come up with anything.


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     Merging individual PDF report with Compund PDF

Copyright © 1996-2020 Information Builders