To read embedded PDF objects in .xlsx file

Hello,
We have a requirement to read the embedded PDF objects in excel 2007 file (.xlsx).
We tried doing this with the ZIP approach and found that the contents of embedded objects are saved in oleObject1.bin.
Now this .bin file is of compound file binary format and we don't know how to read contents from this file.
Does any one knows anything about this or is there any other approach to read the pdf.
Regards,
Mandeep

We are able to extract the PDF file data from OleObject1.bin file.
Below is the code to extract the PDF file.
DATA: lv_h type xstring,
           lv_object type xstring,
           lv_pdf     type xstring,
           lv_len type i.
lv_h = '255044462D'.  " where this value is binary representation of '%PDF".
FIND FIRST OCCURRENCE OF lv_h IN lv_object  IN BYTE MODE MATCH OFFSET lv_len.
lv_pdf = lv_object+lv_len.
Now LV_PDF will contain PDF data in XSTRING format.
Regards,
Mandeep

Similar Messages

  • Word 2010 Document with embedded pdf objects

    Is it possible to convert a word 2010 document with embedded pdf object into a PDF without loosing the functiuonality of double clicking on the Acrobat icon and opening the (embedded) document?
    Thank you for your help.

    Pretty sure that the PDF will contain exactly what you'd get if you printed the Word document. There is no promise or expectation that objects will be "live".

  • Embedded PDF object .postMessage doesn't work with Reader DC on IE

    In our application, we have PDFs embedded in the browser with an object tag such as this:
    <object id="pdfObject" width="100%" height="100%" type="application/pdf" data="#{url}"></object>
    There are HTML/Javascript controls on the page which communicate with the PDF via this syntax:
    document.getElementById("pdfObject").postMessage([arg])
    This has been working great with Adobe Reader versions 10+.  It actually still works with Reader DC on Firefox.  However, there is a problem with Adobe Reader DC on Internet Explorer version 11.
    All I can tell so far is the "postMessage" function isn't appearing.  Using IE dev tools:
    document.getElementById("pdfObject").postMessage
    Object doesn't support this property or method
    Any help with this would be amazing.  It is a critical part of our application here.

    My application has two-way communication between browser and embedded PDF.  Basically a user clicks a button on the browser and via Javascript the embedded PDF form is submitted.  Everything was working before the update to Reader DC, but now it fails in Internet Explorer, but not in Firefox (or Chrome, if the Reader plugin isn't disabled entirely by their new default disable-NPAPI plugin policy...)
    I originally was troubleshooting communication from the browser to the embedded PDF, which is done according to the Javascript for Acrobat API reference (page 358?), in the browser, as follows:  document.getElementById('pdfObject').postMessage([args])
    Whatever is happening, postMessage is not a valid property or method of the PDF object
    Then I found this other thread:
    Adobe Reader DC: hostContainer not worked on IE
    I confirmed that within the embedded PDF, when setting up communication from the PDF to the browser, it is not able to register the hostContainer (again, on IE only)
    I have this script on initialization within the PDF:
    <---
    this.disclosed = true;
    if (this.hostContainer) this.hostContainer.messageHandler.onMessage = onMessageFunc
    this.hostContainer.messageHandler.onDisclose = function() { return true; }; }
    ---->
    Problem is this.hostContainer is null.
    The main point here is all of this was definitely working before updating to Reader DC, and is still working with DC on Firefox, but not on IE.
    To complicate things further, I have now uninstalled DC and downgraded to Reader 11.0.10.32, and am having a new bug, this time hostContainer is detected and communication to and from the PDF works again, but the submitForm action is failing with "Unable to open URL to submit this form" and "External undefined: exec".  Testing the exact same version and script with Firefox works fine

  • Is Adobe PDF conversion into xlsx files a flop?

    Can anyone help me with this real phenomen?
    I have converted a PDF file into xlsx. To my surprise, the european decimal "coma" was displaced by one caracter to the left as a thousand (point), this in numbers of up five caraters including two decimals. 
    Example 1: PDF number 165,65 becomes 16.565 in xlsx.
    For numbers greater that 5 caracters, the conversion is correct
    Example 2: 2.615,97 is correctly tranposed.
    For large data files this makes the xlsx file (and PDF converter) uselees.
    Any one can help? Is this a PDF flop?

    Adobe reader is XI. Adobe exportPDF was renewed on the Nov 3, 2013. Is this what you asked?
    Cheers

  • How to open and read embedded pdf

    I have been forwarded an email to my macbook air with an attachment which containts embedded pdf's.  I cannot open or read the pdf's.  Can anyone tell me if I need to download an app to do this.
    Thanks.

    Apple's Preview will open PDFs.

  • What is the best combination of read and write objects to binary files ...

    Hi everyone,
    what are the best combination of read and write objects to read/write a record of customers from a binary file. I should be able to use StringTokenizer. I am bit confused with all these Stream reader and writers.
    abdul

    You are, indeed, confused:
    o StreamTokenizer works on character input, not binary input.
    o Readers and Writers in general work on character streams, not binary.
    That leaves you various input streams and output streams for reading binary data.

  • Reader ten trying to open XLSX files!

    When I go to my directory and try to open XLSX files by double clicking on my PC, Reader X shows up and says it can't read the file. WHat can I do to stop Reader X from getting involved with my spreadsheets?

    Correct your file associations.  Most likely reinstalling or repairing MS Office will do that.

  • HT1338 While using Word or reading a PDF from a downloaded file, my computer falls "asleep" - backlight fades in and out.  I tried adjusting energy saver but it didn't help.

    My backlight dims as if sleeping while I am using my laptop, typing in word, reading a PDF, as I am typing right now.  I tap on the light button to restore but it only temporarily does so.  I have tried "energy saver" but have not been able to wake it up.  Otherwise, it responds.

    Reset the SMC.
    Read the support article for the correct method for your machine here:
    http://support.apple.com/kb/HT3964

  • How to read Spreadsheet, PDF and MS Work files

    I am new to BlackBerry world.  Is someone tell me how can I read MS Spreadsheet, Work and PDF from my BB8330?  Do I need buy or download any software or come with the BB?  Thanks
    Solved!
    Go to Solution.

    if your device has software 4.5.x.x you will automatically get documents to go which comes with 'word to go' and 'slideshow to go' if you open either of them, click menu button and select register, then after register you go to same menu and choose update now... this will update what you have and gove you 'sheets to go'
    as for PDF you have to buy the premium version or activate on a BES(through work)

  • Word pdf object problem

    Acrobat Pro 9.1/Word 2007/WXP
    I have multiple users who are unable to open embeded PDF objects in a word document.  When they click the icon, they get "The program used to create this object is AcroExch.  That program is not installed on your computer...".  This problem didnt appear until we upgraded everyone to v9 but I cant say for sure they were embedding pdfs prior to that.
    I have repaired Office 2007, reinstalled Acrobat Pro, confirmed that HKEY_CLASSES_ROOT\AcroExch.Document.7\shell\Open\command really is pointing to "C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe" "%1" and that that app does run.  The users are able to open the actual PDF files.  Other PDFs embeded on the same document work.  This is not limited to just one PDF either, there are multiple embeded PDFs that are not working.  I have also noticed that sometimes the embeded PDF will open once, then if you close it and reopen it, Word gives you the same error.  How it can work one time and then tell me the it can find AcroExch the next I dont understand.  Ive also tried to open some of these documents with Reader 9 installed on a clean test PC and they do the same thing.
    I considered the possibility that the doc was somehow corrupt but inserting the PDF into a new document has the same result.  Any ideas why it would tell me AcroExch is not installed regardless of whether Acrobat Pro or Reader is actually installed and why some embeded PDFs would work and some wouldnt?  If a reinstall of both Office and Acrobat doesnt fix this and it occurs on a clean install, how do I fix it?
    Any help is appreciated. 
    *** Update***
    It would appear that if I open those specific PDFs in Pro, resave them, then reembed them in Word, this problem does not occur.  After inquiring further, those specific PDFs where created via a Sharpdesk scan from copier to PDF feature.  Why they can be opened with Reader/Pro directly but cant be opened as embeded PDFs in word without being resaved I dont know.      

    I'm still having this problem.
    I've updated to 10.1.0, I've tried unchecking the "Enable Startup" option, I've tried the advanced option one where I select Adobe 10.1.0 as my default.
    I still can't embed a PDF in a word document and receive the same error as when we had Adobe 9.
    Anyone have any other ideas?
    Thanks in advance,
    Cheryl

  • Embedding pdf documents in HTML

    Hi everyone,
    I am working on a project where I need to embed some previously created pdf files into a web page. I am using object method and seems to be working in general, but having some issues while printing.
    First issue: In Firefox and IE, the embedded pdf object is not printing. There is a blank area where the document needs to be. I am thinking it's an Adobe Reader plug-in issue. Is there a setting that disables printing that object? In Chrome, the printing is complete- guessing Chrome has its own pdf viewer plugin.
    Second issue: Part of my project is to be able to add two or three lines of text as a header to these pdf documents. When I embed this pdf object, I am trying to scale down, so that there is room to add that header. But the scaling affects the quality of the printout. Do you have any recommendations on how to add header to the embedded pdf in HTML?
    Thank you,
    G

    yes, you just need to bundle your classes in a .jar
    file, and there is like an <embed> tag or something
    that lets you tell the html which class has the
    main() method, and it runs it fine. I did it a while
    a go so i know you can do it.
    Thanx a lot.. I know it is a stupid question but i have never worked with .jar files before can u tell me how to put my classes in one?

  • When I try to open an embedded PDF file I get an error "The program used to create this object is AcroExch.exe.

    When I try to open an embedded PDF file (Word doc) I get an error "The program used to create this object is AcroExch.exe. That program is either not installed on your computer, or is corrupt..."  I've tried  about everything from unchecking
    protected mode at startup to removing & reinstalling Adobe.  Nothing seems to fix this issue.  Any other ideas?
    This is happening on Adobe reader 9, 10 & 11 with MS Word 2010 & 2013.  I've uninstalled, cleaned & reinstalled Reader 9, 10 & 11, as well as Acrobat 10 Pro & 11 Standard.  Removed "Protected mode at startup, and changed
    the default program for viewing from reader to Acrobat.  This will not go away.  It is affecting production at our company.

    " Help > Troubleshooting Information > Profile Directory: Open Containing Folder" . i can't find open containing folder in profile directory. it does give me the option to open the places.sqlite file using graphic converter. when i try that, graphic converter gives me a window saying that it can't be opened because it is corrupted or is not a file type supported by graphic converter.
    i appreciate your help with a workaround to get the old bookmarks. that works. however, the problem has morphed from that concern to why adobe reader [the default app.] won't open firefox .sqlite files. is the problem in adobe reader or firefox? also, how can i tell if the places.sqlite file is corrupt?
    i'm getting in over my head here and do appreciate your help.

  • Links to embedded pdf files not working in iOS reader

    I have created a pdf document that links to a variety of embedded pdf files.
    When I open this file in the iOS reader on my iPad 3, the links are not active. All of the embedded files are listed in the attachments list, but the links themselves do not launch the attachments.
    Please help!
    Thank you

    We only support internal and http links in the current reader,not including links to attachments. However, PDF attachments should be open-able using the attachments button (bottom right). It should also work for password protected documents. If it does not, please share a sample file with us at [email protected] so we can investigate.
    Thanks!
    Pat

  • Embedded pdf file in MS Excel cannot be open in Surface RT.

    Hi,
    I have a problem opening the embedded pdf file in my MS Excel in my Surface RT.
    When I clicked on the pdf file, it shows "Cannot start the source application for this object".
    I have the Adobe Reader Touch installed in my Surface RT.
    Does anyone face the same problem? Any solution for the issue?
    Thanks!

    Adobe Reader Touch (Windows Store app with Modern UI) does not support embedded PDF files.
    Adobe Reader XI (desktop app with classic UI) does support it.  Unfortunately, Adobe Reader XI is not compatible with the Windows RT operating system. Hence, you are not able to install and run Adobe Reader XI on Surface RT.
    I tried other PDF viewers (that are Windows Store apps), such as Microsoft Reader, Foxit Mobile PDF for Win8, on my Surface RT by changing the default PDF application.  But none of them opened embedded PDF files successfully.
    It looks like your only choice is to view those Microsoft Excel/Word files with embedded PDF on your desktop machine, laptop or other devices with Intel-based processors.  Sorry for the inconvenience.

  • Embedded PDF files in PPTX file: how do I extract them?

    Hi everyone,
    I have PowerPoint files (.pptx) that include embedded PDF files within them. They appear on Windows PowerPoint as clickable icons that open the PDF in Acrobat or some other PDF reader. In Keynote, however, the same icons do nothing, as I assume that Keynote does not support embedded PDFs. I really need access to those PDFs for work, and I don't have access to PowerPoint here. Is there any way that these files can be accessed by Keynote?
    -Thanks, John

    is this windows Powerpoint or Mac Powerpoint?
    If it is a windows powerpoint, then they are individual OLE Objects, not a single embedded PDF file.
    If its a Mac Powerpoint, my knowledge is a bit outdated as I dont use the Mac version these days to comment with certainty, but right click > show package contents and if there is an embedded PPt file it will be listed in the package comtents.
    Please report back how you get on.

Maybe you are looking for

  • User exit for MIRO after pressing ENTER

    Hello, Is there a user exit in MIRO after entering PO, Invoice date and Reference and pressing ENTER? I want to popup a message that relates to vendor data that does not appear in the screen Thanks, Moshe

  • Relinking project files on imovie 9.0.9

    I have some projects i want to go back to and re-edit (which wasn't expected before). As it wasn't expected, i deleted the event that contained the original video files and now i have the yellow triangle with '!' on all of my projects. there is a pag

  • From problem

    Dear all, i have a table item_detail( box_id, item, item_name) box_id is foreign key i want to build a form like master detail form using only this one table. i build a form with multiple records and place the box_id in the top with display number of

  • Acessing J2EE Keystore at Mapping runtime

    Guys, My scenario: to perform a digital signature under some specific parametrization, as requested by receiver side, I have to develop a custom digital signature application. We are trying to use XI's API for digital signature: http://help.sap.com/s

  • Purchased album that I own

    I just purchased an album thatI already have but did not download the album, is it possible to get a refund?