How to dynamically call image  in PDF for Acrobat ver 8.1 onwards?

Hi Experts,
I am using Web Dynpro Java. My requirement is to call the images dynamically on a PDF form. There are no of company code. I have to call different logos for different company codes/
We are now using Acrobat 8.1.1. Please refer following thread.
http://kb2.adobe.com/cps/405/kb405270.html
From Acrobat 8.*, we have to use some different method for dynamically calling the images. Earlier we were using the concept mentioned below to dynamically call images.
However this method is not applicable for Acrobat Reader 8.* onwards due to security reasons.
Click on the Layout tab and choose None for the Caption position.
u2022 Click on the Object, then the Binding tab and choose None for Default Binding.
u2022 Click on the Field tab, enter $record.SapOnlineShopUrl for the URL entry, and select Use Image Size for the Sizing field.
u2022 Click on the script editor and enter the following FormCalc script statement, which enables the dynamic integration of the image. Show: initialize Script: this.value.image.href = xfa.resolveNode(this.value.image.href).value; Language: FormCalc Run At: Client
write following code in wddoinit
try { String url = WDURLGenerator.getAbsoluteWebResourceURL( wdComponentAPI.getDeployableObjectPart(), "sap_online_shop.jpg"); wdContext.currentDataSourceElement().setSapOnlineShopUrl(url); } catch(Exception e) { throw new WDRuntimeException(e); }
Please let me know what is the alternate method for Adope ver 8.1.1
Regards,
Gary

Hi Gary,
First you upload the image in SAP through se78.then write the below code in your adobe form interface.
data :  v_object type  TDOBJECTGR value 'GRAPHICS',
        v_id  type TDIDGR  value 'BMAP',
        v_btype type TDBTYPE value 'BCOL',
        V_FIELD TYPE XSTRING.
V_NAME = 'ZW_DEVMAN_LOGO'.
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = v_object " 'GRAPHICS'
p_name = v_name " Name of the logo as in se78
p_id = v_id " 'BMAP'
p_btype = v_btype " 'BCOL' ( whether the image is in color or black and white )
RECEIVING
p_bmp = v_field
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
g_logo = v_field.
Declare g_logo as xstring in global data.
In context of the form make one graphic element with field g_logo and mime type BMP.It will work.
Regards,
Simi A M
Edited by: amsimi on Jan 26, 2011 5:30 AM

Similar Messages

  • 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.

  • How to save an image as PDF?

    Hi,
    I need help o how to save an Image as PDF file?? is this possible?

    Under Getting Started in the welcome window click Create PDF
    Open your image
    File>Save As...PDF
    But I am finding that there are limitations on how big the image can be. I am trying to save a 20mb jpeg to pdf in acrobat and having issues. Good luck!

  • How do you set the default magnification for Acrobat.  All documents that I open enlarge to 174% and are too big.

    How do you set the default magnification for Acrobat.  All documents that I open enlarge to 174% and are too big.  I see how to change the size after the document is open by going to File/properties/initial view and saving this setting.  I want all documents to open at 100% when they are first opened.  Can I set this as a default view?

    Hey Kris,
    You might go to Edit> Preferences> Zoom
    Do this without opening any particular PDF so that it applies to the program itself and not just one document.
    Try this and then let me know.
    Regards,
    Anubha

  • Hairline white line around images in PDF for press

    CS3, Windows XP
    I searched the forum and didn't find this exact question, so..., I place PSD file in ID. When I export to PDF for the press run, I get a thin hairline white box around the photo. It only seems to happen when the placed image is over a gradient. It also only happens on PDF files for press run - either Press Quality or PDF/X-1a:2001. When I export to "Smallest File Size" it looks fine. I have the border of the image set to 0 and the color to None.
    And it only seems to happen sometimes. A month or so ago I created a similar piece using different photos, but the same gradient background and it looked and printed fine.
    Thoughts?
    JAG

    The stitching and a grey box was showing up on my press proofs. The printer suggested that I flatten the image before I send it to them.
    Sometimes I see in on screen and sometimes I don't, but my printer says they see it every time and that it will show up on the proof. I've been trying several different PDF exporting options in ID. We are getting the proofs done correctly, but there's only one guy at my printer that can get the file corrected. I'm not sure exactly what he is doing, but one of the people I deal with suggested that he was opening the file in PS, flattening it again, and exporting to PDF, again.
    He's the boss and not alway around, so I'm trying to figure out how I can get file exported correctly.
    Thanks for your help.
    JAG

  • 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 dynamically load images into Flash

    I have a movie clip on the stage that I want to dynamically
    load images into (that constantly change), how would I go about
    doing this? Thanks.

    Use the Loader class to load in images.
    Then use addChild to add the Loader class into your MovieClip
    on the stage.
    As far as "constantly change" what
    do you mean by that? You could use setInterval, ther enterFrame
    event, or any other means to trigger a new image to be loaded into
    the Loader instance.
    Finally, you can use the Tween class to create some nice
    effects for the images (fade it, blur in, photo blend, masks,
    etc)

  • How to dynamically call and order program modules

    Hey guys,
    I have ‘x’ pieces of code (x could be 10’s or 100’s of modules).
    I need to be able to dynamically call and run ‘y’ of them, but I need to be able to do it in parallel, and some of them might be in order.
    For instance ‘A’, ‘B’ and ‘C’ need to run in parallel,
    but 'D' needs data from 'A' and will run after 'A',
    and 'E' needs to run after ‘D’,
    and ‘F’ needs data from 'C' and will to run after ‘C’
    So I have two questions.
    How should I organize and order these dynamic calls?
    and What method should I use to pass data along from one VI to another?

    jcyth wrote:
    [...]But when you thought of Teststand, did you have a specific feature of Teststand that you thought it would be a viable solution?
    Since we will probably have the end user choose the modules required in this module operation, having a premade sequence editor might be nice
    My point mentioning TestStand is that my feeling tells me that you are going to re-implement some very basic functions which are already included in TestStand.
    To be honest: TestStand adds additional costs. You have to purchase licenses, you should get some training which takes time until getting payed off.
    But on the other hand: You also need time to implement and test your self-made approach. Also: Does this project grow in the future? Do you need additional features in the (near) future?
    Going into this will result in a break even in costs where you can say: if i take more time in my self-made approach, it is cheaper to go for TestStand right from the beginning.
    TestStand is designed to be VERY flexible. But you have to get familiar to this flexibiity in order to get where you want. Therefore, i recommend you to collect some information before making the decision. Maybe you want to invite some sales guy from NI in order to present TestStand to you....
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to display the Image in PDF report by using iText Report

    Hi
    Im trying to display the image which is very big one.
    This is my code
    Document document=new Document();
    PdfWriter.getInstance(document,new FileOutputStream("imagePDF.pdf"));
    document.open();
    Image image = Image.getInstance ("1.bmp");
    document.add(new Paragraph("Images in PDF"));
    document.add(image);
    document.close();
    But the image "1.bmp" is displayed partially. Its not spanning to the next page.
    Can anyone help me to solve this one?
    Thanks in Advance
    dhilip

    Do you actually want the image to span multiple pages? I am not sure that will be possible without splitting the image; the itext mailing list would be the place to ask.
    You could make the the page size big enough for the image using Document.setPageSize()

  • How to - Varibale Data in a PDF for mass email?

    I have a question for the Adobe InDesign community...
    Is there an easy way to add variable data to an InDesign PDF document for mass emailing?
    I am sending out a newsletter to over 500 emails and I'd like to add the client name to the PDF document and have it send to the appropriate email without having to do each one individually. We have Design Merge, however the only way to save out the variable data for the newsletter is to save them as post-scripts and then convert each file into a PDF. However...once all 500 records are made, is there a way to have the appropriate variable documents go to the right emails?
    I'm thinking I either need to do each email one at a time (which is time consuming)...or just redesign the newsletter as an html email and use something like Mail Chimp to have it include client names in the email as "IFNames."
    Anyone have any suggestions?
    Thank you.

    I don't understand what you want. Parts of what you want are possible, and it seems you understand how to do it (sort of).
    PlesePrintJ wrote:
    I am sending out a newsletter to over 500 emails and I'd like to add the client name to the PDF document…
    With the Mail Merge function within InDesign, you can take your (let's say four-page) newsletter and add 500 client names and email addresses, but it would result in a 2,000-page InDesign document (with 500 consecutive copies of your newsletter, each with a different name and email address, or what ever other data you need). That document can easily be exported to PDF, and the PDF can easily be broken into 500 four-page PDFs with Acrobat. If the page counts are an issue, you could break your data file into smaller chunks, and do several merges.
    PlesePrintJ wrote:
     …and have it send to the appropriate email without having to do each one individually.
    Here's where I don't understand you. Are you looking to make one email with 500 recipients, and have the appropriate PDF be attached automatically, without you having to choose the appropriate PDF with the cooresponding email? If so, that sounds like an email issue, more than an InDesign one. It may be (and probably is) something that can be automated, but I don't think InDesign is the step that is getting in your way.
    PlesePrintJ wrote:
    We have Design Merge, however the only way to save out the variable data for the newsletter is to save them as post-scripts and then convert each file into a PDF.
    I don't know anything about Design Merge, but Data Merge doesn't require this step. You can export to PDF directly from the InDesign document that is created by the Data Merge process.

  • How to add ONE image as artwork for an entire album ?..

    How do you add a single image as artwork for an entire album (i.e. without having redundant copies for each individual track).
    I already know that iTunes has its own artwork system that allows for this, but this is not helpful if the album art is not in their database.
    Thanks in advance.

    Furthermore, if iTunes has erroneously downloaded an album cover for you that you want to change, you'll have to highlight the group of songs you wish to change and go to 'info'. Click on the 'album artwork' tab and delete the artwork that's there before adding your own, otherwise iTunes keeps both and only the first one will continue to show as the default.
    If you want to download the correct album covers (or a different/cleaner/more accurate version) just go to the Images section of Google, type in the album name and copy the image of what you're looking for. No need to save the image, just copy and paste it. iTunes saves it on its own.

  • Don't know how to store/show image or pdf files easily in apex app

    Hi,
    I always want to put a blob column in my table and store some images or pdf files, like drawings for an item, but I found it hard to do, I have viewed the sample app by apex 4.0, but I cannot understand the code.
    Is there a simple and intuitive way of storing/showing pdf files in an apex app?
    I wish Oracle could make an easier wizard for apex on that issue.
    just make storing a file as simple as in MS access, or email attachment, etc.
    no headache coding involved.
    that will be great!
    that will also do Oracle good, since images will use up a lot of spaces, maybe Xe won't be enough, the will consider an upgrade.

    Yawei,
    there is a chapter about BLOB support in the application builder users guide: http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/advnc.htm#BCGGJHEF
    Maybe this helps for a start, even if it isn't as easy as in MsAccess but this may be due to the fact that APEX is a web application and Access a rich client.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • How do you send a fillable pdf for completion and signature? Thanks!

    Goodmorning, I just saw that you can send a fillable pdf for signature and this will allow the person to fill out the contract, sign and email back. The one time I tried that it did not work. What are the steps, or a link to the directions, to do this?
    Thanks so much,
    Carolyn

    Hi,
    Please visit the support website:-
    https://www.echosign.adobe.com/en/support.html
    Check out the how-to links.
    Thanks

  • How do I create an accessible PDF for Thesaurus with many chapters, from InDesign CS 5.5 and Acrobat

    Hi folks,
    I have redesigned a Thesaurus (controlled vocabulary for an Agency's archives) in InDesign CS 5.5. I am now preparing an accessible PDF from the many files (using a Book created in InDesign). The front cover, front matter and back cover are not part of the Book, to keep the page numbering simple.
    The Book includes two main sections, an Alphabetical display and a Hierarchical display of terms and their relations. I created chapters per alphabet listings, i.e. Alphabetical Display A, B, C, etc. So there are over 50 chapters, including cover, front matter, etc.
    I've successfully made the front cover and front matter PDFs after viewing videos here: http://tv.adobe.com/watch/accessibility-adobe/preparing-indesign-files-for-accessibility/ and downloading and using this recommended Action for Acrobat: InDesign CS5_5 Accessibility Touchup.sequ
    Several questions specific to this project don't seem to be addressed in the videos, however.
    First, I'd like to know if I can create an accessible PDF using the Book function > Export Book to PDF. Or do I need to make a PDF per chapter? The book has over 50 chapters (by alphabet, twice), so creating them one by one will take a lot more time, but I'll do it if that's the best practice.
    After creating the PDFs, if I use (in Acrobat): Create > Combine Files into PDF to make one full PDF (over 600 pages BTW), will the final PDF retain accessibility settings? Do I need to run the Accessibility Report again for the combined PDF?
    I used InTools.com Power Headers plugin to add a page header that automatically shows the new first term used per page. So, one chapter (with Chapter Title as H1) will have a different page header (which will be H2) per page, however the text flows through the whole chapter. I don't see where to add the page headers to the Article Window in InDesign. Do I add in this order: H1, H2, text (for whole chapter), H2, H2, H2, etc. Will I need to work on the PDF in Acrobat, where pages will be shown, in order to get the correct H2 with the correct text on the page? Am I missing something?
    Will I have any issues with Bookmarks that requires a specific workflow?
    I think that's about it, though I might run into more questions as I progress through the project.
    Thanks, Marilyn

    I understand why you need updated running headers in your book. To a sighted reader these serve as a guide to where you are and help you find things quickly.  In addition, if you are exporting your data to XML or HTML from the tagged PDF it would also be important to have these in the proper location. 
    But for accessibility purposes, it doesn't have to be there because the screen reader reads everything in linear order, line by line.  No one is looking at the page.  A user listening to the screen reader read the page is going to hear this heading, just before the actual word itself. So they will hear the first word on the page twice.  It's not the end of the world if it's there, but such headings are not necessary for accessibility unless they are not repetitive and contain information that is not otherwise available.
    So I would say, fine if you need them or want them there, it's just one word. 
    I think you should try exporting your book to PDF (or even just a chapter of the book) and look at the tags panel in Acrobat to see if you are getting the result you want.  I can't tell you exactly what you should do to get those results, you are using a plug-in I don't have. 
    I can tell you I didn't have to add the headers to any article at all, they just automatically export if the other articles in the file are added and you don't select the header style option "not for export as XML."
    You may not experience the same results with your plug-in, but I think it will probably work the same way. 
    Give it a try and best of luck.

  • How to set an image as background for a jPanel in an applet

    hi,
    I want to set an image as background for a jPanel component in an applet. I am using netbeans environment. I found that to set an image as a background for a jPanel is not possible. Could someone help me .
    Thanks in advance,
    Joshua

    public class ImagePanel extends JPanel
        private Image image = null;
        public void setImage(Image image)
            this.image = image;
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            g.drawImage(this.image, 0, 0, this);
    }Adjust to taste.

Maybe you are looking for

  • Can I change the settings on my 3gs to ring on both the phone and my bluetooth?

    I recently switched from Blackberry to IPhone after years with a BB.  I can't find a way to have the phone ring or send notifications to both my Bluetooth and IPhone simultaneously.  I do not normally have the bluetooth in my ear unless I am on a cal

  • Mandatory creation profile on scheduling agreements

    Hello Gurus, I need to put a value on creation profile field on schedulling agreements. I have to choices:      - Put the value on supplier data. It is a plant-dependant value i my client doesn't want to create this data.      - Made it mandatory. Th

  • Structure for month and quaterly for entire year Urgent Please

    Hi All, Jan-07     Feb-07     Mar 07     Q1-07         Avg Dec 06     Jan-07     Feb-07     Avg Q1-07        Ytd Apr 07     May 07     June 07     Q2-07       Avg Mar 07     Apr 07     May 07     Avg Q2-07       Ytd Jul-07     Aug-07     Sep-07     Q

  • Solaris 9 syslog messages are IP not hostname

    I am trying to setup Solaris 9 to forward its syslog messages to a central server, and its working fine except the logs being sent have the IP address and not the hostname. Is there a way to change this? Thanks

  • PCI Device is not identified by Windows 7-64 bit

    Hi, I have just formatted my HP Notebook 15-r033tx just few days ago from then I have facing a problem that my Windows 7 Ultimate -64 bit OS is not recognizing the PCI device. Though previously (before formatting) It was recognized. I went to Device