How to export dynamic images into pdf

Hi,
I need to export a image into PDF which we are getting it from DBase. This returns me the image as BLOB and this we are putting it in between the xml tags. I am passing the xml to xsl-fo. While i tried to export the xml data into pdf using xsl-fo, the content is getting exported into pdf but not the image. I am using FOP, and i have added fop.jar, batik.jar, avalon-xx.jar, jai_codec.jar and jai_core.jar to my class path. I am putting my sample xsl and xml here.
xml:
<RTFDrugReport>
<ImagePath>http://www.thomson-pharma.com/tp/images</ImagePath>
<NewsEdge>
<NewsItem>
<StoryId><![CDATA[200705223600.15_2774000daba43be0]]></StoryId>
<HeadlineText><![CDATA[NeuroLogica's CereTom Supplies On Site Post-Fight Brain CT During De  La Hoya-Mayweather Weekend]]></HeadlineText>
<ItemTime><![CDATA[05/23/2007 03:22:24 AM EDT]]></ItemTime>
</NewsItem>
</NewsEdge>
</RTFDrugReport>
xsl:
<fo:static-content flow-name="xsl-region-before">
<fo:block font-family="Helvetica" font-size="14pt" text-align="left" white-space-collapse="false">
<xsl:variable name="imageName" select="concat(//ImagePath,'/logo_thomson_pharma.png')"/>
<fo:external-graphic src="'{$imageName}'"/>first
<fo:external-graphic src="url('{$imageName}')"/>second
<xsl:value-of select="'{$imageName}'"/>thrid
<fo:external-graphic src="'{$imageName}'" content-width="100mm" content-height="100mm"/>fourth
<fo:external-graphic src="'{$imageName}'" content-width="100mm" content-height="100mm"/>fifth
<fo:instream-foreign-object src='url("///file:/D:/Customization/collage.jpg")' height="3cm" width="3cm"/>
</fo:block>
</fo:static-content>
Any help would be appreciated.

hi,
all the UI elements in the adobe form are generally connected to your web-dynpro Context.
whatever you type in the online adobe form is reflected in the respective context attributes of the dynpro Context of the view where "ur Interactive form UI element is".
that means you can yourself fill the contents of ur interactive form by working on the get/set methods of the context attributes.
Likewise you can clear the form by setting all context attributes to blank eg ""
<b>interactive form has two imp properties:-</b>
<b>*dataSource</b>
data source points to the node all whose context attributes will be made available in the interactive form
<b>*pdfsource</b>
points to the context attribute which will hold the pdf.
note that the type of this pdfSorce attribute will be binary.
if you still have doubts.
give me your gmail mail id. i 'll send a tutorial.
with regards,
-ag.

Similar Messages

  • How to export antialiased images of PDF pages?

    Hello all:
    I recently upgraded to Acrobat XI, and I am surprised to see that you STILL cannot export (or Save As) PDF pages to images that are ANTIALIASED!? Does anyone have a simple answer for this that doesn't involve a workflow of more than 5 steps? This is so headslappingly obvious a need that I'm at a loss for what Adobe's engineers are thinking when programming the Save As Image functions...
    I posted this question all the way back in 2009 (see post at http://forums.adobe.com/message/2411677#2411677), and still the answer is the same: when Acrobat saves pages as TIF or JPEG files, they are ALIASED. Who would want that? Who?! WHY?
    It's simply exasperating that Adobe does not include a tiny, little check box that says "Antialiased" in the "Save As TIF / JPEG Settings" dialog box where you set all kinds of parameters like resolution and colorspace....If the exporting process would just include antialiasing, you could set the resolution you desire and YOU'RE DONE.
    But, as far as I can tell, you still have to perform some kind of gymnastic routine like:
    Open the PDF and select all the desired page thumbnails to export.
    Right-click and choose Extract Pages. Make sure to check "Extract Pages as Separate Files."
    Export all the separate PDFs for each desired page into a folder somewhere.
    Open Photoshop and start recording an Action.
    Open one of the PDFs and specify the desired resolution.
    Save it in a desired location in an image file of your choice (TIF/JPEG).
    Stop recording the Action.
    Delete the resulting image you made of the test PDF page to avoid an overwriting error later when running the batch (or check box to overwrite in batch dialog).
    Run the Action in Batch mode on the entire folder of separate PDF pages.
    This is preposterous.
    Adobe, please get the simple things right for everyday low-level users before adding feature bloat to Acrobat with each passing version. Please.

    Hi Dave: Good points about reducing feature bloat and installer footprint taking priority for most users...
    However, if, as you say:
    Acrobat and Adobe Reader are developed as a standalone product family....
    Ultimately, since you can get an AA bitmap of a PDF file by just opening it in Photoshop etc., there is very little commercial demand for Adobe to include that feature in Acrobat.
    then, those people who do not have Photoshop (because AA is designed to be standalone, right?) cannot access antialiasing in exporting PDF images at all! Your point is exactly my point.
    If there is so little demand, then why include Export to Image functionality at all? Just eliminate it completely to save installer footprint space!....But, then, I'm sure you realize people would complain about that immediately, no? So, again, why include it at all when it's only able to export aliased images which virtually nobody is going to want? That's very passive-aggressive toward's Adobe's users. Nobody really benefits from half-baked features only begrudgingly included in software to placate the vocal minority of users who would otherwise miss it. I realize this isn't a huge issue for most users, but I think this points to a larger mentality within Adobe and the software industry in general....
    There is a huge number of people working in corporations that own legacy versions of AA who have not and will not likely subscribe to Creative Cloud! (e.g.: The 100-person architecture/engineering firm I worked at for 10 years had one copy of Photoshop on a community graphics workstation and made everyone use a sign-up sheet to access it.)
    Also, it's nice in theory that PDFs are supposed to be a print format. But, many many times, AA users have to make images (for PowerPoint, blogs, client portals etc.) from PDFs that they did not originally create and do not have the source files to recreate or export as images from their originating software. PDF export to images from Acrobat is their only choice without access to Photoshop.
    And, if AA is truly designed to be a stand-alone product, untethered from the capabilities of the entire suite of functionality across Creative Cloud apps, then a modular plug-in approach to controlling feature bloat would be more appropriate, no?
    For example, AutoCAD is a giant, sprawling application for technical drawing. And AutoDesk has recognized over the years that AutoCAD is used by many industries, each with special needs unneccesary to other industries' user base. So, they've created add-on packs of plug-ins that transform vanilla AutoCAD into AutoCAD for Architecture, Civil Engineering, Electrical Engineering, Bridge Design, Home Building, etc....see where I'm going?
    And Adobe has a far larger installed user base for Acrobat than AutoDesk does for AutoCAD! How about plugins like AA for Technical Publishing, AA for 3D modeling, AA for Presentations?...

  • How to insert dummy image into PDF

    I am trying to insert signatures into our Custom Purchase Order that I am building in Adobe Acrobat 8 Pro. I can find plenty of documentation on how to do this via an RTF in Word Template Builder, but nothing on inserting the dummy image. Currently, we are using Sigfile field in report with a URL link to the jpeg of the signature, at runtime, only the link shows up on the PDF not the picture of the signature, any suggestions would be appreciated.
    Thanks,
    Barbara

    Barbara,
    I think what you are asking for is something similiar I have done for a check printing report where you have a voided image of a signature, then place the real signature at run time.
    So insert the dummy image into your RTF. Have the path to the real image in the XML file, and then in the properties for the image, there is a Web tab. Put the following there:
    url:{CP_SIGNIMAGEPATH}
    Where CP_SIGNIMAGEPATH is the path to the image.
    Let me know if this works or you.
    Regards,
    Brett

  • How can i convert image into pdf  file

    Hi Friends,
    I want to convert image file(i.e. jpeg,bmp,gif) into pdf file using java apis OR is there any tool which can convert it & which we can integrate into our java application
    Thanks in adva.

    Is there any solution to this case.....?

  • Export an Image to PDF from a WAD Template

    Hi Friends,
    I want to export the Company Logo used in the template to the PDF. But here i am not allowed to use Report Designer for that.
    So can any body tell me how to export the image to PDF without using the Report Designer.
    Thank You.

    Hi,
    If you are using BI 7 here is what you should do.
    Insert the reaquired image 'Company Logo' in the MIME repository in the system first.
    1) Se80
    2) MIME repository --> choose an appropriate folder to put the image (if it is company logo you can choose SAP -> BW -> Customer -> Images)
    3) Remember, this will create a transport request and needs to be moved to every landscape whereever the template is accessed. It is common folder accessible to all SAP users in your system.
    In WAD,
    1) On the top you will find a button called 'Insert Image'
    2) Give the path to the image in the MIME repository.
    The source will mostly be like -> bwmimerep:///sap/bw/mime/Customer/Images/...Logo.gif etc.
    3) For the Export to PDF, use a Button item and assign command 'Export'. Keep Web Template and Web Item default and export format - PDF.
    When export button is clicked, along with all web items, your image will get exported to PDF.
    - Shruti

  • How to put image into pdf file in which image is set it in particuler frame size

    hi, i m creating app for generate pdf in which i can set image into pdf but the image sizze is large so the image is display over the text and how can i set text into pdf and also how to set textfilelds data into pdf or tableview data into pdf.help me plz

    Are you looking for image in selection column or as a separate column?
    --Shiv                                                                                                                                                                               

  • Images into pdf files

    Hi all, sometimes iBooks doesn't show images into pdf file.
    I usually read the same newspaper every day (pdf) and sometimes I experience that trouble.
    Also into iTunes thumbnail you couldn't see the images, but by double-clicking on the file, when you open Acrobat, the file is ok with all images.
    It seems the problem is not the original pdf file but some things/settings/encoding.. into iTunes/iBooks.
    Any help?
    Thank you.

    More information is needed.  How are the PDF's being created?  Where are they coming from?  All the same source or any PDF you open on the iPad?  Have you tried a reset?  Restore?  Other?

  • How to convert from image based pdf to text based pdf

    I have Adobe 9 Pro. How to convert from image based pdf to text based pdf? For example, if someone emails a scanned pdf to me, how do I convert that document into a text based pdf?

    To perform OCR, open the document and select: Document > OCR Text Recognition > Recognize Text Using OCR
    More information on the various options is in the Acrobat help doc.

  • Dynamic Images in PDF Report

    Hi,
    I want to create Badges from employee table (ID, NAME, JOB_TITLE, PHOTO). I downloaded and installed a demo application "USING DYNAMIC IMAGES IN PDF REPORT". It works fine with smale images < 20K. I'm getting the following error for images > 20K :
    "ORA-06502: PL/SQL: numeric or value error: raw variable length too long"
    it seems like a buffer problem.
    could you pls help to solve this problem
    Thanks,
    Ribhi

    Hi Carsten
    That was exactly* I was looking for. Maybe I should Google more in German ;-)
    The main problem was that I defined my image outside the first repeating group (that doesn't repeat, it's always just one object) - the first group is followed by 7 more.
    Just like the "Name" (that's positioned outside the group in the document header), I positioned the image above the table representing the group.
    Doing that, the "Name" is filled correctly, the Image only when the Output Format is Excel or HTML - not Word or PDF ... makes no sense but that's tje way it is.
    After moving the image inside the group....it works great!
    (One more thing...the image size is fixed to the image you use as "dummy". Is there any way to make that more flexible, because now some scaling happens...)???
    @Trent: That was the way we initially did it, but when the size of the row exceeds 32K...you know what happens.. And even with a small image the 32K limit is hit easily
    The way I use it now (very similar to Carsten's description) there is no limit....
    Thank you all!
    Roel

  • How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie

    How to convert word doc into pdf - which product of adobe i need to use- what upgrades - am a newbie -  simple answers please - Thanks in advance.

    @Pipeline2007 - which version of Microsoft Office have you got? Older versions of Acrobat aren't compatible with the latest versions of Office, see this link for info:
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html

  • Dynamic Images in PDF and Escaping Special Characters

    I used the following to create my own PDFs with dymnamic images:
    http://marcsewtz.blogspot.com/2012_02_01_archive.html (Dynamic Images in PDF - What 32k Limit? )
    I have installed this application on Oracle's free workspace to test.
    The issue I am having is that when there is a special character in the description, such as <>'"& then the the PDF will not open. I have tried using the dmbs_xmlgen.convert to convert the description but haven't had any luck.
    I'm a complete novice with xml. Any help with this is greatly appreciated.
    Thanks,
    Glen

    I have been able to find a solution, but it's not completely perfect. I have changed the "description" field as follows:
    XMLCdata(replace(description,''&'',''and'')) description,
    The characters greater than (>), less than (<), single qoute('), and double quote (") can now all be in the description and will not cause errors. For some reason, I couldn't get the & not to give an error no matter what I tried, so I just replaced the & with the word "and". This solution will work for my needs, but it would be nice to be able to get the & to display.
    Does anyone know of a way to get the & to display correctly?
    Thanks again,
    Glen
    The complete code I am using is below:
    declare
    l_print_layout clob;
    l_xml_data clob;
    begin
    -- load print layout from database
    for c1 in (
    select layout from eba_pdfimg_layouts where id = :P1_LAYOUT
    ) loop
    l_print_layout := wwv_flow_utilities.blob_to_clob(c1.layout );
    end loop;
    -- generate XML data
    for c2 in (
    select dbms_xmlgen.getxml('
    select
    id,
    file_name,
    mime_type,
    XMLCdata(replace(description,''&'',''and'')) description,
    -- description,
    blob2clobase64(image,''Y'') image
    from eba_pdfimg_images
    ') xml_data from dual
    ) loop
    l_xml_data := c2.xml_data;
    end loop;
    -- download print document
    wwv_flow.g_page_text_generated := true;
    apex_util.download_print_document (
    p_file_name => 'image_demo',
    p_content_disposition => 'ATTACHMENT',
    p_report_data => l_xml_data ,
    p_report_layout => l_print_layout,
    p_report_layout_type => 'rtf',
    p_document_format => :P1_FORMAT
    end;

  • How to export report output into excel.

    Hi all
    how to export report output into excel sheet can any on give me answer step by step please as soon as possible
    kk

    Hi Prashanth,
    If you are executing Query from WAD  ---> Right click on Table (only on Characteristics Data)  --> Enhanced Menu ---> Export as --> CSV file or MS Excel
    assign points if this helps,
    Thanks,
    Sudhakar

  • How to Export multiple photos from pdf files?.

    Good day.
    How to Export multiple photos from pdf files?.
    Thanks.

    Hello
    how to reach from file menu ?.
    Running Adobe reader 9 version 9.3.0
    Thanks again.

  • Please help -  How to export HTML file into MS word format

    How to export HTML file into MS word file without any change
    in design format?
    As I have been trying to do that but problem is coming in
    formating. Table's witdth and height get disturbed in MS word when
    I import the html file.
    What I do after creating HTML in dreamweaver I save that file
    into .txt format in dreamweaver. and then import it in MS Word. And
    I tried too much for it but invain.
    Please help me in finding the way of solution.
    Please help me as my job is in trouble. It's very urgent
    pleeease help me. I'll be thankful to you.

    Just open the HTML file in Word.
    Walt
    "apollo321" <[email protected]> wrote in
    message
    news:gavbhd$6j4$[email protected]..
    > How to export HTML file into MS word file without any
    change in design
    > format?
    >
    > As I have been trying to do that but problem is coming
    in formating.
    > Table's
    > witdth and height get disturbed in MS word when I import
    the html file.
    >
    > What I do after creating HTML in dreamweaver I save that
    file into .txt
    > format
    > in dreamweaver. and then import it in MS Word. And I
    tried too much for it
    > but
    > invain.
    >
    > Please help me in finding the way of solution.
    >
    > Please help me as my job is in trouble. It's very urgent
    pleeease help me.
    > I'll be thankful to you.
    >

  • How to convert jpeg images into video file of any ext using JMF

    I want to convert the Jpeg files into video clip with the help of JMF
    any one can help me?
    Plz reply me at [email protected]
    or [email protected]

    I'm not sure of his/her reasoning behind this, but I have yet to find a way to record video with mmapi on j2me. So with that restriction, I can see how one could make it so that it just records a lot of jpegs, and then makes it a movie.
    I would be interested finding a workaround for this too. Either if someone would explain how to record video with mmapi or how to make recorded images into a video. Thanks!

Maybe you are looking for

  • IPhoto 6.0.6 throws up Error Message when used for the first time

    After 7 months since having purchased my iMac I am using iPhoto for the first time. However, as soon as the iPhoto Library is created in the Pictures folder, about 30 seconds later, I get an Error Message stating "An error occurred while trying to sa

  • Global Shelf Life Tags In ADMN What is this?

    There is a submenu called "Shelf Life Tags" in ADMN that is not visible in the left side or top Portal menus, but is visible from inside ADMN on the Action Menu ... Action Menu, Manage, Global, Shelf Life Tags. Nothing happens when this is selected a

  • Audit Reports in Shared Services

    Hi guys, Appreciate if someone could help me with the following query. I have enabled Auditing for a Planning Application from Administration-> Reporting -> Auditing (tab) However, when I try to 'View Audit Report' in Shared Services for the same app

  • Seeburger Classifier

    Hi, I am using Seeburger Classifier module. I have a doubt over there.While doing module configuration,how we are going to decide about the value of parameter classifierAttID . From where i will get the parameter value for parameter name classifierAt

  • No compatibility with WIndows Live Mail?

    Why is only Outlook allowed? I will not pay to use Outlook Express. Windows Live Mail is a free mail service by Microsoft. It should be compatibile!!!