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
Images in PDF
 Login/Join
 
Member
posted
I need to add two images into a PDF document. Can this be done? I have had no luck trying. This is a compound document and the images need to be part of the last report. All reports make up one PDF document.


WF.77.03 on Tomcat Windows Platform (DB2 + MS-SQL
old WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL
 
Posts: 4 | Registered: January 11, 2011Report This Post
Platinum Member
posted Hide Post
Hi,

For compound reports, the recommended way to create a design theme with repeating images on a page master is to place them as drawing objects on the page master.
OBJECT=IMAGE, IMAGE=file, POSITION=(x y), DIMENSION=(xdim ydim), $


To add images to a specific PDF report, you need to specify them in the stylesheet.
There are various ways that this can be done. Here are some examples. You can reference the manuals to find out more about each attribute in these examples.
TYPE={REPORT|heading}, IMAGE={file|(column)} [,BY=byfield][,POSITION=([+|-]x [+|-]y )] [,SIZE=(w h)] [,PRESERVERATIO={ON|OFF}],$
e.g.
TYPE=TABHEADING, IMAGE=GOTHAM.GIF, POSITION=(.25 .25), SIZE=(.5 .5), $

TYPE=DATA, COLUMN=imagefield, IMAGE=(imagefield), SIZE=(w h),[PRESERVERATIO={ON|OFF},] $
e.g.
TYPE=DATA,COLUMN=P1,IMAGE=(PRODIMAGE),SIZE=(1 1),$
TYPE=DATA,COLUMN=P2,IMAGE=(PRODIMAGE),SIZE=(2 3),PRESERVERATIO=OFF,$
TYPE=DATA,COLUMN=P3,IMAGE=(PRODIMAGE),SIZE=(2 3),PRESERVERATIO=ON,$


PDF reports support GIF and JPEG, as well as SVG files that are created by the WebFOCUS graph engine. The image must reside on the WebFOCUS Reporting Server in a directory named on EDAPATH or APPPATH. If the file is not on the search path, supply the full path name.

Hope this helps.


WebFOCUS 8.2.06 mostly Windows Server
 
Posts: 195 | Location: Johannesburg, South Africa | Registered: September 13, 2008Report This Post
Member
posted Hide Post
Thank you Twanette for your response. This compound report had a logo a title on the page, six reports that appear as one each with different information and then a footing on the main page.

What I needed was two small (6.5 .12) images to be printed in the subfoot in the last report.

What I have forgotten was the position, once I added that it works fine.

Thank you again and consider this problem solved.


WF.77.03 on Tomcat Windows Platform (DB2 + MS-SQL
old WF.76-10 on (WS2003 + WebSphere) / EDA on z/OS + DB2 + MS-SQL
 
Posts: 4 | Registered: January 11, 2011Report This Post
Expert
posted Hide Post
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders