Focal Point
[SOLVED] Image formats required for webfocus PDF reports

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4077071136

May 31, 2013, 07:00 AM
santu
[SOLVED] Image formats required for webfocus PDF reports
Hi

I am using webfocus 7.7.03
i am trying to import images into webfocus pdf reports.
i know BMP,GIF,JPEG,JPG,EMF,WMF,SVG only formats will be support by PDF reports.

i tried to import the GIF image.I got below error.

0 ERROR AT OR NEAR LINE 21 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC282) RESULT OF EXPRESSION IS NOT COMPATIBLE WITH THE FORMAT OF FIELD: ASD
(FOC009) INCOMPLETE REQUEST STATEMENT
BYPASSING TO END OF COMMAND

So while importing the image, what type of properties i need to change for image like size etc...?????

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


Web FOCUS 7.7.03
PDF
May 31, 2013, 09:19 AM
Prarie
On the report that would be controled in the Stylesheet
 TYPE=HEADING,
     IMAGE=CSTBW.jpg,
     POSITION=(+8.700000 +0.000000),
     SIZE=(1.000000 0.40000),
$ 

June 01, 2013, 03:42 AM
santu
actually for some images its working and for some images my FEX file not getting executed.

when i insert image using "OPTIONS" option in Report Painter then some default code will be generated like below.

TYPE=REPORT,
IMAGE=app/logo.gif,
POSITION=(0.680556 0.430556),
SIZE=(2.666667 0.652778),
$

After that i tried like below also but still its not working.

TYPE=HEADING,
IMAGE=app/logo.gif,
POSITION=(0.680556 0.430556),
SIZE=(2.666667 0.652778),
$

Thanks in Advance


Web FOCUS 7.7.03
PDF
June 11, 2013, 05:15 AM
Ram Prasad E
What is the error message?

Thanks,
Ram


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/
June 11, 2013, 08:11 AM
santu
This is the error i am getting when i import some images.

0 ERROR AT OR NEAR LINE 396 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC3315) IMAGE FILE NOT FOUND: logo.gif


Web FOCUS 7.7.03
PDF
June 20, 2013, 03:50 PM
njsden
If you're creating a PDF document, the image files must be somewhere in the APP PATH where the Reporting Server runs.

TYPE=HEADING,
IMAGE=app/logo.gif,     <-- This looks like an MRE reference, not a reporting server one
POSITION=....



Make sure you have a copy of logo.gif in any of your APP folders (e.g. basedir), remove the "app/" from the stylesheet declaration and try to run the report again.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
June 21, 2013, 12:23 PM
santu
Thank you njsden

Its got solved.

I didn't kept my image in EDASERVE application.

Thank you all.


Web FOCUS 7.7.03
PDF