Extract an embedded pdf file from xml in ADF

Hi,
I have a xml file containing an embedded pdf like below
<?xml version="1.0" encoding="ISO-8859-1" ?>
<dbtx>
<response>
<transaction_rs>
<EMBEDDED_FILE>
<DOCUMENT>
JVBERi0xLjMKJaqrrK0KNCAwIG9iago8PCAvVHlwZSAvSW5mbwovUHJvZHVjZXIgKG51bGwpID4+CmVuZG9iago1IDAgb2JqCjw8IC9MZW5ndGggMTQzOCAvRmlsdGVyIC9GbGF0ZURlY29kZSAKID4+CnN0cmVhbQp4nK1Y23LiRhB95yv0tPFWzOzcR/OILxBSvgXIVqVCHmQsE1WB5Mhia8tfnyOEpJG4KVvZfTAW6nO6e/p09/hq1rud9f7pMY8Sn+KfRz0vXXrNB5OR11NEa+sZLYhW0mOSESO419eKCKO8NPSee7/1rjrDMWmIpKwCNPhe6x/H48wnXJsKTzBGfMaOAeZ2FA7kCFvAxoNtvIISavwKUGmi7dGALV7OETyVf9jlinEiYblY976M18y7Sf6fiJRpefBlyDymwDt77eX0swXCWeaI+M+8CkhaInzpzdbenxc3n64+e31ufLx/cbtJk7cwiOsn18n6LVhkn72/vNmv/9ljbokx1mPWJ5Irr88E+YEjlaxIeQUHGOHvw+Xh61307WPdywGXxDesyMEkeHtL0iypw/4WvW+CVfTxERRPhcqTLqR3QXX9VrB0TDhldJemPTL8ZHxH9rBZh6lj9xI5gM/PSRysw7hg5RRFtmWd3A77Gb5wz6HM0rL6NCrFSTXhSJTyGWHQVj8HP1f4hanWmiiOHEvCjPBYYfjqVviuwG1V39qg5kBX1Ddv1vf+SVjiS14RKfy0OWGDaVvJsjjLOpuFocHJcVMkc/yCXEWv0SL4iJI4rDP5qf44TdbrII2SXe6+DBEWbULjcIXwPS0FKGwBfTUZ3PxRo4xng7vxwEGd3LVOuwTBYSu7A3kK4iQN1vDPQYpf8HuWpFGzCA6CUWi89GgSvS/+
</DOCUMENT>
</EMBEDDED_FILE>
</response>
</transaction_rs>
</dbtx>Requirement: I want to extract the pdf from xml and store it in local drive. How can I do this in java?
Jdev : 11.1.1.3
Any help will be appriciated.
~Abhijit

I have made this procedure to convert the input clob to a decoded base 64 binary, i then obtain a pdf file but its' corrupted or damaged.
any ideas?
thks guys.
Andrea
create or replace FUNCTION c2b_64( c IN CLOB ) RETURN BLOB
-- typecasts CLOB to BLOB (binary conversion)
IS
pos PLS_INTEGER := 1;
buffer RAW( 32767 );
buffer64 RAW( 32767 );
res BLOB;
lob_len PLS_INTEGER := DBMS_LOB.getLength( c );
BEGIN
DBMS_LOB.createTemporary( res, TRUE );
DBMS_LOB.OPEN( res, DBMS_LOB.LOB_ReadWrite );
LOOP
buffer := UTL_RAW.cast_to_raw( DBMS_LOB.SUBSTR( c, 78, pos ) );
buffer64 := UTL_ENCODE.base64_decode (buffer);
IF UTL_RAW.LENGTH( buffer64 ) > 0 THEN
DBMS_LOB.writeAppend( res, UTL_RAW.LENGTH( buffer64 ), buffer64 );
END IF;
pos := pos + 78;
EXIT WHEN pos > lob_len;
END LOOP;
RETURN res; -- res is OPEN here
END c2b_64;

Similar Messages

  • Error while creation pdf file from XML

    Hi All,
    I am getting below error in java.
    Unexpected Error in method: public abstract com.elitecore.billing.utils.ResultObject com.elitecore.billing.ejb.bill.interfaces.IBillSearchSessionBeanLocal.getXsltContent(java.lang.String)
    java.lang.NoSuchFieldError: conversion
    at oracle.xdb.XMLType.<init>(XMLType.java:529)
    at oracle.xdb.XMLType.createXML(XMLType.java:344)
    at com.elitecore.billing.ejb.bill.session.BillSearchSessionBean.getXsltContent(BillSearchSessionBean.java:7064)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
    at org.jboss.ejb.Container.invoke(Container.java:709)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:419)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
    at $Proxy7357.getXsltContent(Unknown Source)
    at com.elitecore.billing.ejb.bill.session.BillDistributionSessionFacade.getPdfFileForBills(BillDistributionSessionFacade.java:4373)
    at com.elitecore.billing.ejb.bill.session.BillDistributionSessionFacade.SaveSingleBill(BillDistributionSessionFacade.java:3744)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:282)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
    at org.jboss.ejb.Container.invoke(Container.java:709)
    at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
    at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
    at java.lang.Thread.run(Thread.java:595)
    18:12:21,253 : [ERROR] : [EJBLogger] : [ BILL_DISTRIBUTION ] exception in getPdfFileForBill with given XsltId :: javax.ejb.EJBException: Unexpected Error:
    java.lang.NoSuchFieldError: conversion
    at oracle.xdb.XMLType.<init>(XMLType.java:529)
    at oracle.xdb.XMLType.createXML(XMLType.java:344)
    at com.elitecore.billing.ejb.bill.session.BillSearchSessionBean.getXsltContent(BillSearchSessionBean.java:7064)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
    at org.jboss.ejb.Container.invoke(Container.java:709)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:419)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
    at $Proxy7357.getXsltContent(Unknown Source)
    at com.elitecore.billing.ejb.bill.session.BillDistributionSessionFacade.getPdfFileForBills(BillDistributionSessionFacade.java:4373)
    at com.elitecore.billing.ejb.bill.session.BillDistributionSessionFacade.SaveSingleBill(BillDistributionSessionFacade.java:3744)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:282)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
    at org.jboss.ejb.Container.invoke(Container.java:709)
    at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
    at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
    at java.lang.Thread.run(Thread.java:595)
    18:12:21,254 : [ERROR] : [STDERR] : javax.ejb.EJBException: Unexpected Error:
    java.lang.NoSuchFieldError: conversion
    at oracle.xdb.XMLType.<init>(XMLType.java:529)
    at oracle.xdb.XMLType.createXML(XMLType.java:344)
    at com.elitecore.billing.ejb.bill.session.BillSearchSessionBean.getXsltContent(BillSearchSessionBean.java:7064)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
    at org.jboss.ejb.Container.invoke(Container.java:709)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:419)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
    at $Proxy7357.getXsltContent(Unknown Source)
    at com.elitecore.billing.ejb.bill.session.BillDistributionSessionFacade.getPdfFileForBills(BillDistributionSessionFacade.java:4373)
    at com.elitecore.billing.ejb.bill.session.BillDistributionSessionFacade.SaveSingleBill(BillDistributionSessionFacade.java:3744)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:282)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:111)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
    at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
    at org.jboss.ejb.Container.invoke(Container.java:709)
    at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
    at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360)
    at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
    at java.lang.Thread.run(Thread.java:595)
    Any suggetion on this error?

    Hi Rajendran,
    The second question is about the usage of iTextSharp library, which is not a MS product, please post in their forum for help:
    http://support.itextpdf.com/forum
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do I create a Powerpoint file from XML?

    Good afternoon everyone,
    I've used Apache FOP to create PDF files from XML before, and that works great.
    Is anyone aware of a similar tool or means of creating a PowerPoint file? Any open-source packages out there that I can use? Any standard sun classes I missed? Any code snippets available? Anything?
    Thanks tons!
    -Scott

    MS says that it will be using XML for everything from now on. (but we all know MS) So I suppose it should be possible to convert to PP from XML, however I think you will have a hard time finding a Java implementation from either Sun or MS (they don't like each other)

  • What web service & xml will be used for deleting the packged epub/pdf file from Admin Console

    What web service & xml will be used for deleting the packged epub/pdf file from Admin Console?
    I am able to delete the files from Admin console directy but not able to get which web service is calling on deleting the file from admin console:
    Mangal

    Hi Jim,
    I tired following web service and xml to delete the packaged ebook but it is giving me error instead of response:
    Web Service & XML
    http://myserver_url/admin/ManageResourceKey
    <request action="delete" auth="builtin" xmlns="http://ns.adobe.com/adept">
    <nonce>" . $nonce . "</nonce>
    <expiration>'. $expiration .'</expiration>
    <resourceKey>
    <resource>resource_id</resource>
    <resourceItem>1</resourceItem>
    </resourceKey>
    </request>
    Error Message
    <error xmlns="http://ns.adobe.com/adept"
    data="E_ADEPT_DATABASE http://myserver_url/admin/ManageResourceKey
    Cannot%20delete%20or%20update%20a%20parent%20row:%20a%20foreign%20key%20constraint%20fails %20(`adept`.`distributionrights`,%20CONSTRAINT%20`distributionrights_ibfk_2`%20FOREIGN%20K EY%20(`resourceid`)%20REFERENCES%20`resourcekey`%20(`resourceid`))"/>
    Magal Varshney

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

  • Download PDF File from Archiv to SAP Application Server

    Hi,
    I need to download the PDF file from an NAST-Dataset (how is stored from the message via SAP ArchivLink) to the SAP Application Server.
    1) At first i read the Archiv-Link data via function module WFMC_GET_ARCHIVE_OBJECT_TYPE
    2) Then i get the Connection-Infos via function module ARCHIV_GET_CONNECTIONS_INT
    3) Now i read the file from archiv as table via function module ARCHIVOBJECT_GET_BYTES
    4) Save to the SAP Appl.Server via:
       - OPEN DATASET ld_dpfad FOR OUTPUT IN BINARY MODE
       - LOOP and TRANSFER lf_archivobject TO ld_dpfad.
       - CLOSE DATASET ld_dpfad.
    In the dialog of NAST-Dataset (Messages) i can open the PDF-File without any errors (display originals). But after the filetransfer to the SAP Appl.Server i get the following errors during the file opening dialog from Adobe Acrobat Reader:
    - the embedded font u201CArialu201D cant to be extract
    - not enough data for the picture
    The reader can display the PDF-File but only without the picture (Logo) and with alternative font.
    The same transfer from archiv and sending as an attachement to the BOR-Object via function module SO_DOCUMENT_INSERT_API1 works very fine and without any errors.
    Can any one please help me to solve this Issue?
    Thanks in Advance,
    Thomas

    Hello Keith,
    Many thanks for your answer.
    In the past i didnu2019t need the BINARCHIVOBJECT-Parameter and so i overlook this option.
    Now, the File looks a little bit different, but only in the STREAM-section.
    During the Fileopen-Dialog i get only one message now - "not enough data for image" and the image will not displayed. The rest seems to be correct.
    The relevant coding is now:
      ld_doc_typ = pf_connections-reserve.
      CALL FUNCTION 'ARCHIVOBJECT_GET_BYTES'
        EXPORTING
          archiv_id                = pf_connections-archiv_id
          archiv_doc_id            = pf_connections-arc_doc_id
          document_type            = ld_doc_typ
          length                   = ld_length1
          offset                   = ld_offset
        IMPORTING
          binlength                = ld_length                        
          offset                   = ld_offset
        TABLES
          binarchivobject          = lt_binarchivobj                  
        EXCEPTIONS
          error_archiv             = 1
          error_communicationtable = 2
          error_kernel             = 3
          OTHERS                   = 4.
    Zieldatei zum Schreiben öffnen
        OPEN DATASET ld_dpfad FOR OUTPUT IN BINARY MODE.
    Inhalte in Zieldatei schreiben
      LOOP AT lt_binarchivobj INTO lf_binarchivobj.
        TRANSFER lf_binarchivobj TO ld_dpfad NO END OF LINE.          
      ENDLOOP.
    Zieldatei schließen
      CLOSE DATASET ld_dpfad.
    Where is the error for the image data?
    Ciao Thomas
    Push up by: Thomas Engler on May 3, 2010 4:54 PM

  • HOW TO CREATE PDF FILES FROM AUTOCAD 12

    I'M USING ACROBAT X TO CREATE PDF FILES FROM AUTOCAD 12 DRAWINGS.  THE PROGRAM RANDOMLY LEAVES OUT TEXT AND IMAGES.  IT ALSO STRUGGLES WITH TIFF, JPEG AND PDF IMAGE FILES EMBEDDED WITHIN THE AUTOCAD DRAWING.  THIS HAS BEEN AN ONGOING PROBLEM WITH ACROBAT.  I WAS HOPING THE UPGRADE TO  X WOULD ELIMINATE THE PROBLEM BUT IT HAS NOT.

    Hi Joao,
                    Verify these links hope it may helps...
    http://www.devx.com/xml/Article/16430/1954
    http://technopaper.blogspot.com/2008/06/using-xsl-fo-to-create-pdf-files.html
    http://www.ibm.com/developerworks/xml/library/x-xslfo/
    http://www.antennahouse.com/XSLsample/XSLsample.htm
    Regards,
    Anil.

  • Creating a PDF-File from a report within a service

    Hello,
    I have to create PDF-Files from a report within a windows service.
    My source is as follows (quick and dirty) using Microsoft Report Viewer 2012
    Imports Microsoft.Reporting.WinForms
    Dim reportViewer1 As New Microsoft.Reporting.WinForms.ReportViewer()
    Dim objRDLC As New Microsoft.Reporting.WinForms.LocalReport()
    reportViewer1.LocalReport.ReportEmbeddedResource = "MyApplication.MyReport.rdlc"
    Dim deviceInfo As String = "<DeviceInfo>" & _
    "<OutputFormat>PDF</OutputFormat>" & _
    "<PageWidth>21cm</PageWidth>" & _
    "<PageHeight>29.7cm</PageHeight>" & _
    "<MarginTop>0.7cm</MarginTop>" & _
    "<MarginLeft>0.7cm</MarginLeft>" & _
    "<MarginRight>0cm</MarginRight>" & _
    "<MarginBottom>0cm</MarginBottom>" & _
    "</DeviceInfo>"
    objRDLC.DataSources.Clear()
    'Fill Report with data
    reportViewer1.LocalReport.DataSources.Clear()
    reportViewer1.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("dsInfo", dt))
    reportViewer1.RefreshReport()
    'Output Report as File
    Dim byteViewer As Byte() = reportViewer1.LocalReport.Render("PDF", deviceInfo)
    Dim newFile As New FileStream("MyFileName", FileMode.Create)
    newFile.Write(byteViewer, 0, byteViewer.Length)
    newFile.Close()
    'Clean up
    newFile.Dispose()
    objRDLC.DataSources.Clear()
    objRDLC.Dispose()
    reportViewer1.Dispose()
    In most cases everything works fine.
    But the service crashes after some/many reports (e.g. after 270 reports or after 1.400 reports). There is no fix number of reports that causes the service to crash.
    The service crashes with the following error:
    System.ComponentModel.Win32Exception (0x80004005): Fehler beim Erstellen des Fensterhandles.
       bei System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
       bei System.Windows.Forms.Control.CreateHandle()
       bei System.Windows.Forms.Control.get_Handle()
       bei System.Windows.Forms.Control.PointToScreen(Point p)
       bei System.Windows.Forms.ToolStripItem.TranslatePoint(Point fromPoint, ToolStripPointType fromPointType, ToolStripPointType toPointType)
       bei System.Windows.Forms.ToolStripDropDownItem.DropDownDirectionToDropDownBounds(ToolStripDropDownDirection dropDownDirection, Rectangle dropDownBounds)
       bei System.Windows.Forms.ToolStripDropDownItem.GetDropDownBounds(ToolStripDropDownDirection dropDownDirection)
       bei System.Windows.Forms.ToolStripDropDownItem.get_DropDownLocation()
       bei System.Windows.Forms.ToolStripDropDown.GetDropDownBounds(Rectangle suggestedBounds)
       bei System.Windows.Forms.ToolStripDropDown.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.set_Size(Size value)
       bei System.Windows.Forms.ToolStripDropDown.AdjustSize()
       bei System.Windows.Forms.ToolStripOverflow.OnLayout(LayoutEventArgs e)
       bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       bei System.Windows.Forms.Control.PerformLayout()
       bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       bei System.Windows.Forms.Control.ResumeLayout()
       bei System.Windows.Forms.ToolStrip.OnLayout(LayoutEventArgs e)
       bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       bei System.Windows.Forms.Control.PerformLayout()
       bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       bei System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.TextBoxBase.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified)
       bei System.Windows.Forms.ToolStripControlHost.OnBoundsChanged()
       bei System.Windows.Forms.ToolStripItem.SetBounds(Rectangle bounds)
       bei System.Windows.Forms.ToolStripItem.set_Width(Int32 value)
       bei Microsoft.Reporting.WinForms.ReportToolBar..ctor()
       bei Microsoft.Reporting.WinForms.ReportViewer.InitializeComponent()
       bei Microsoft.Reporting.WinForms.ReportViewer..ctor()
       bei DC5Warteschlange.clsReportTools.Druck(DataTable dt, String Reportname, String ReportDataset, String Drucker, String Format, String Datei)
       bei DC5Warteschlange.clsInfoQueue.Snotiz(String[] CallIDs, String Speicherort)
       bei DC5Warteschlange.Imail.InformationMailSenden(Int32 AID, DataTable& tmpDT)
    Thank you very much....
    Gernot

    Unfortunately, it is not a piece of code that I can send. The SQL would be embedded inside Oracle Reports tool, and you would have the option to save the output of the report in PDF format.
    Once you have the Oracle Report developed, you can execute it from command line prompt and save the output to a pdf file. In your case, the cursor would be embedded inside Oracle Report
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

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

  • Embedded PDF files do not show in Internet Explorer 11

    Hi,
    We have several machines that cannot show embedded pdf files in Internet Explorer 11 with Adobe Reader as default pdf reader.
    Example from one pc:
    OS: Windows 7 Enterprise SP1 x64 – all updates applied.
    IE 11 version: 11.0.9600.17239.
    Update Versions: 11.0.11 (KB2976627).
    Adobe Reader: 11.0.08 (no further updates available).
    As test example we have used: http://acroeng.adobe.com/Test_Files/browser_tests/embedded/embed2.html
    We only get a blank page with two placeholders with a small black square with a white cross in each.
    If we install Foxit Reader on the same pc, and sets it as default reader, everything works.
    What do we do to solve the Adobe Reader problem?

    Hi Pat - thanks for your reply.
    We have already tried the TabProcGrowth registry change. It doesn't work. As mentioned, we use IE 11 on Windows 7, and not IE 10 as the article from Microsoft specifies.
    As shown in the images above, the registry is set to 1 and the PDF's still don't show up embedded in the browser.
    Any other suggestions? Anyone?

  • Generated pdf file from oracle reports show bad characters

    Hello all,
    Iam fighting with a problem with generated pdf file from oracle reports which show some bad characters. I was searching for some information but it didnt help...
    I have Oracle Database 11g R2 (or 10g R2) on Oracle Linux or Windows, Oracle forms and reports 6i (i know that is very old and not supported with 11gr2 but we are in this scenario).
    NLS parameters are set like this
    server:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY AMERICA
    NLS_LANGUAGE AMERICAN
    client:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY SLOVAK
    NLS_LANGUAGE SLOVAKIA
    When I run Oracle Reports it show perfect in display and when I try to print them, they are all good with good characters, but when I try to generate pdf file, some characters like č,š,ľ are not displaying corectly... This happen only when try to generate to pdf...
    I try to work with uifont.ali on client side but without any result. Fonts for reports were installed on client and server side... Can someone help me with this problem? Thank you very much for every advice.
    Martin

    Hi Sergiusz,
    Thank you for your reply. I look at what you wrote and try to make some test...
    1) For first I download FontForge, which can generate type1 font from true type. So I open FontForge and open my Arial.ttf font and use "Generate Fonts" to save my Arial.ttf font to pfb and pfm (whoch are need to set in uifont.ali). I have to change encoding, because my font has 2byte encoding so I reecondode the font from ISO10646-1 to ISO8859-2 and generate to pfb.
    2) Then I navigate REPORTS_PATH from regedit to my *.pfm and *.pfb files.
    3) I add these lines to end of my uifont.ali
    [ PDF:Embed ]
    Arial = "Arial.pfm Arial.pfb"
    ArialNarrow = "ArialNarrow.pfm ArialNarrow.pfb"
    4) Then I generate my report but nothing change... I check "Font used" in my pdf file, but there were not my fonts embedded I guess..
    I also try PDF:Subset, but it doesnt change anything... I try PDF aliasing to see if my uifont is working - this work very well, but I dont need to change font...
    Any other advice? Thank you so much to everyone!
    Martin

  • Firefox 4.0 support for printing embedded PDF files in iFrames via JavaScript

    I recently upgraded to Firefox 4.0 and can no longer print embedded PDF documents contained in an iFrame.
    My company's web application has several pages which load PDF files from a Servlet into an iFrame. The pages in question all have "Print" buttons which when clicked executes a JavaScript function to obtain reference to the iframe containing the PDF, place it into focus() (e.g., frames['pdfdoc'].focus();), and invoke print() (e.g., frames['pdfdoc'].print();). There are no errors, or exceptions caught when the JavaScript function is invoked, but the "Print" button is no longer operational.
    Does Firefox 4.0 no longer support iFrames? The issue goes away if I revert back to ver 3.6.16

    I have same issue for printing embedded PDF files in iFrames via JavaScript in Firefox 5.0.
    In previous versions it was working fine. But not in Firefox 4.0/5.0.
    Is there any solution for this problem?

  • PDF GENERTION FROM XML REPORT

    Hi , All
    i have got one problem....
    i created XML report using Oracle Report Builder 6i( Developer2000) to dynamically change the report layout.
    but i can`t generate PDF file from it, as well as i can`t generate HTML,HTML style sheet,RIF,PostScript,Delimited & XML file too.
    Please help me out.........
    Thanks & Regards
    Dushyant.

    Hi , All
    i have got one problem....
    i created XML report using Oracle Report Builder 6i( Developer2000) to dynamically change the report layout.
    but i can`t generate PDF file from it, as well as i can`t generate HTML,HTML style sheet,RIF,PostScript,Delimited & XML file too.
    Please help me out.........
    Thanks & Regards
    Dushyant.

  • It seems like Illustrator may not consistantly be updating the embedded pdf file when we re-save..........

    It seems like Illustrator may not consistently be updating the embedded pdf file when re-saving, even if the embedded illustrator file does. We are seeing a number of issues which seem to suggest this is going on..... I have a file I might be able to share with adobe's developers to really look at this problem. In short this file does not have a client change when viewed in reader or output through Photoshop image processor to generate raster copies, yet when we open the file we see the client changes. I would expect this to be a huge issue..... I have told my team to perform a save-as from now on to avoid what I think is going on-it seems to work.....
    We are using Illustrator  CS5.5 (15.1.0)

    Post Author: fyz
    CA Forum: Exporting
    Hi,
    I think your pdf file is probably damaged. There is a tool called Advanced PDF Repair. I have used it to repair many corrupt PDF files successfully. Its homepage is http://www.datanumen.com/apdfr/  Maybe you can have a try.
    Alan

  • Receive Pipeline In Decoder Stage to Extract Single Or Multiple Files From A Zipped Folder In Biztalk Server 2010

    Hi,
    I need help in developing a customized pipeline for the Decoder Stage.
    Requirement : Extract single or multiple files from a zipped folder with any format and extension (X12/EDIFACT/Flat/XML) and send to Disassemble stage for further action.
    Need Urgent help.
    Any suggestion or help is much appreciated.
    Thanks & Best Regards

    Hi Siddharth,
    Have look at article: BizTalk Server 2010: Processing Zip Message Having Multiple Type
    Files and http://tech-findings.blogspot.com/2013/10/custom-zipreceivepipeline-to-unzip.html
    Maheshkumar S Tiwari|User
    Page|Blog|BizTalk
    Server : Scheduling Orchestration using Trigger Message

Maybe you are looking for

  • App Store language - A personal Plea to Apple

    Like Millions of people around the world I live in a country where i don't speak the local language fluently. In fact where I live in Spain there are in the region of 1 million ex pats living. I switched from PC to MAC because the OS has multilanguag

  • Location of Book folder after creation of Book for validation

    As part of the Print Book process in A3 one can request that a softcopy of the book is made available for inspection. This is viewed automatically by Preview. If one asks to Save AS the file one sees that the file is in a folder called Book with a na

  • Hyperlink/URL in workflow notification

    Hi, I am modifying the Sales Order workflow. The requirement is that a link/url should be provided in the message that should allow user to open sales order directly from the message. Please advise on how can we have this functionality through workfl

  • Background isn't displayed in browser

    Hi guys, So I've made my webpage in animate and looks great. But only on my computer. After uploading it on server the background image of my website isn't displayed, but rest is. Any ideas how to fix this? I use this code to have full screen backgro

  • Screen exits on WVFI

    Hi, We need to insert Field in the transaction “WVFI. iN THE SCREEN. Is it possible> Sincereluy Jayalakshmy Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:49 PM