Is it possible to burst PDF file on the email body itself?

Hi,
Is it possible to show the contents of a PDF file (or any file) on the email body itself and not as an attachment thru bursting control file? We want the message to look exactly as how it looks like in the PDF file, with all the formatting and stuff and not just plain text. So basically instead of the recipient having to open the attached document, we already want the contents of the document shown exactly on the email.
Thanks,
Ronaldo

Actually, I am using onunload() but the result is in-consistent. Sometimes file write to the folder, sometimes don't. I don't know why it behave like this.
Before onunload(), I tried this cep.util.registerExtensionUnloadCallback, and found out it's not working as expected.
Now thanks to you and David, I came to know aboutcom.adobe.csxs.events.ExtensionUnloaded but unfortunately this is also not working.
And then there is an event applicationBeforeQuit which only works when extension (html panel) get closed with host application (Photoshop etc.). If it is closed before the host then we don't get any call. Please let me know if I missed anything here.
So It looks like we don't have any option here rather than using onunload() which is giving in-consistent result. Can you please take a look into this, may be I am missing something?
Or may be another work around to store the preferences on closing of extension.
Thanks for all your help..

Similar Messages

  • Is possible see a pdf file without the buttons of the program adobe? don´t permit a copy of the file

    Is possible see a pdf file without the buttons of the program adobe? don´t permit a copy of the file

    For the hiding, go to the document properties under initial view. You may confuse some folks if there is no file menu to close the file (a lot of folks just can't get the keyboard shortcut, alt-F4, into their head. They are going to look for where to find the file menu to close.

  • PDF file in the email

    Hello to everybody,
    I need to write an agent that send emails with PDF files in attachment.
    The code I wrote is the following:
    MimeBodyPart mbp2 = new MimeBodyPart();
    mbp2.setContent(buffer,"application/pdf");
    // create the Multipart and its parts to it
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp1);
    mp.addBodyPart(mbp2);
    // add the Multipart to the message
    msg.setContent(mp);
    Transport.send(msg);
    But at runtime I got the following error message:
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
         javax.mail.MessagingException: IOException while sending message;
    nested exception is:
         javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/pdf
         at javax.mail.Transport.send0(Transport.java:219)
         at javax.mail.Transport.send(Transport.java:81)
         at engi.macdoce.as.EMailSender.main(EMailSender.java:161)
    Any idea ? I thought that I have to implement a DataContentHandler to handle PDF files.....I'm right?
    Rob

    If you need to send pdf file as attachment, do the
    following:
    Multipart multipart = new MimeMultipart();
    // Part one is the text
    BodyPart bodyPart = new MimeBodyPart();
    bodyPart.setText("Some text");
    multipart.addBodyPart(bodyPart);
    // Part two is the attachment
    bodyPart = new MimeBodyPart();
    DataSource sourceFile = new FileDataSource(FileName);
    bodyPart.setDataHandler(new DataHandler(sourceFile));
    bodyPart.setFileName("FileName.pdf");
    multipart.addBodyPart(bodyPart);
    message.setContent(multipart);
    Make sure the file name ends with .pdf.
    It worked for me.When I use the above method, using a DataHandler, it works just fine. I sent a .exe file, passed the DataSource into the DataHandler constructor, and it send the email, with Content-Type of application/octet-stream. However, if I do the following instead:
    bodyPart.setContent(fileDataSource, "application/octet-stream");
    -or-
    bodyPart.setDataHandler(new DataHandler(fileDataSource, "application/octet-stream");
    (which is what I think the first one is actually doing under the covers)
    I get the dreaded javax.activation.UnsupportedDataTypeException: no object DCH for MIME type application/octet-stream. Why do I get this exception when using setContent, but not when I use the DataHandler? It seems it has the same Content-Type either way.
    -Aaron

  • Does mail always insert the pdf file into the email rather than attachment

    How can I set mail to always attach pdf files as attachments rather than insert into the mail message?

    But if you receive an email with a PDF attachment - which appears as text embedded in the email rather than an attachment are you really saying that the only way to solve this is to resend the email to yourself so that it will then appear as a PDF attachment?

  • Burst child level data in email body

    Hi all,
    is it possible to burst child level(with respect to the request select level) data in an email body?
    To explain;
    Say I wanted to burst to email all the invoices a vendor had. This burst would send email separately to each vendor with an attachment of their invoices.
    However to achieve that, the select level has to be vendors(no?). So far so good.
    The problem then comes in when I want to the invoice numbers of a given vendor within the email body itself.
    Data structure looks like this
    <XXXX_SPLIT_DATA_TEST>
    <P_START_DATE>2011-06-06 00:00:00.0</P_START_DATE>
    <LIST_G_OTHERS>
    <G_OTHERS>
    <P_START_DATE>06-Jun-2011</P_START_DATE>
    <MY_START_DATE>2011-09-14T00:00:00.000-04:00</MY_START_DATE>
    </G_OTHERS>
    </LIST_G_OTHERS>
    <LIST_G_V>
    <G_V>
    <VENDOR>ACMEVENDOR1 INC</VENDOR>
    <VEN_NUM>50182</VEN_NUM>
    <VEN_SITE_CODE>MISSISSAUGA</VEN_SITE_CODE>
    <SITE_EMAIL>[email protected]</SITE_EMAIL>
    <CF_VENDOR_ID>36985</CF_VENDOR_ID>
    <CF_VENDOR_SITE_ID>44247</CF_VENDOR_SITE_ID>
    <LIST_G_INV>
    <G_INV>
    <INV_NUM>XO178539</INV_NUM>
    <AMT>20</AMT>
    </G_INV>
    <G_INV>
    <INV_NUM>XO178539-1</INV_NUM>
    <AMT>30</AMT>
    </G_INV>
    <G_INV>
    <INV_NUM>XO178539-5</INV_NUM>
    <AMT>100</AMT>
    </G_INV>
    <G_INV>
    <INV_NUM>XO178539-6</INV_NUM>
    <AMT>20</AMT>
    </G_INV>
    </LIST_G_INV>
    </G_V>
    <G_V>
    .....My burst control file looks like this
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/XXXX_SPLIT_DATA_TEST/LIST_G_V/G_V">
    <xapi:delivery>
    <xapi:email server="myserver" port="25" from="[email protected]"  reply-to ="">
    <xapi:message id="${CF_VENDOR_SITE_ID}" to="${SITE_EMAIL}"  attachment="true"
    subject=" New Invoices created for : ${VEN_SITE_CODE}">
    <! - Add invoices  belonging to Vendor- >
    Please find attached list of new invoices
    Regards,
    Acme Corporation
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="TEST_${VEN_NUM}_${VEN_SITE_CODE}.pdf" output-type="pdf" delivery="${CF_VENDOR_SITE_ID}">
    <xapi:template type="rtf" location="xdo://XXXX.TEST_INV_BURST_EMAIL_XXXX.en.US?getSource=true" filter=""></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>  Any ideas?
    Thanks
    Kofi

    I was actually able to get it working myself, using the following:
    var mail;
    var address = "[email protected]";
    var firstname = firstname.rawValue;
    var lastname = lastname.rawValue;
    var location = location.rawValue;
    var date = date.rawValue
    var email = email.rawValue;
    var phone = phone.rawValue;
    var company = company.rawValue;
    var heardabout = heardabout.rawValue;
    var reasonforcall = reasonforcall.rawValue;
    var referredto = referredto.rawValue;
    var notes = notes.rawValue
    var subject = "New Prospect: "+ firstname + " " + lastname + " in " + location;
    body = "Date: " + date + "\n" + "Last Name: " + lastname + "\n" + "First Name: " + firstname + "\n" + "Phone: " + phone
          + "\n" + "Email: " + email + "\n" + "Company: " + company + "\n" + "Location: " + location + "\n" + "Heard about us from: " + heardabout
           + "\n" + "Reason for call: " + reasonforcall + "\n" + "Referred to: " + referredto + "\n" + "\n" + "Notes: " + "\n" + notes;
    mail = "mailto:" + address + "?subject=" + subject + "&body=" + body ;
    event.target.submitForm({cURL: mail, cMsg: cBody, cSubmitAs: "PDF",cCharset: "utf-8"});

  • Is it possible to convert PDF file into HTML

    Dear friends
    Is it possible to convert PDF file into HTML. I have few hundread PDF files i like to convert this files into HTML. I hope it can be done through Java but i don't know how to start this coding. anybody can give me a brief idea to go ahead.

    Why do you want to do this yourself? I quick search on Google showed several utilities to do this, some freeware, some commercial.

  • I have acrobat 11 standard is it possible to convert pdf files to word files ?

    I have acrobat 11 standard is it possible to convert pdf files to word files ? or is it just possible in the Pro version.

    It sounds to me like you're using Reader, not Acrobat. Make sure you open
    the PDF file in Acrobat, and then go to File - Save As Other - Microsoft
    Word.
    On Thu, Mar 12, 2015 at 2:55 PM, nickk23435928 <[email protected]>

  • Issue Bursting PDF file using delivery channel - filesystem

    I have an issue happening randomly with the files that are created by the bursting process in the filesystem path mentioned in the bursting control file.
    The PDF file that is the input to the Bursting process looks normal.
    However the splitted PDF file created by bursting in the filesystem is having the font all messed up.
    The input pdf file has multiple invoices. The issue is seen in one of the invoice that got bursted.
    Can anyone give me some input into the cause of this issue. should anything be changed in the bursting control file.
    <?xml version="1.0" encoding="UTF-8" ?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:globalData location="stream" />
    <xapi:request select="/ADP_OC_AR_INVOICE_PDF_PRINT_S/LIST_G_TRX_NUMBER/G_TRX_NUMBER">
    <xapi:delivery>
    <xapi:filesystem id="123" output="${URL}"/>
    </xapi:delivery>
    <xapi:document key="${TRX_NUMBER}" output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="/otc/AR/in/fonts/XXX_INVOICE_PDF_PRINT.rtf" />
    </xapi:document>
    </xapi:request>
    </xapi:requestset>

    A few questions: Are you using an xsl-fo template or a RTF template? Doesn't location need to point to the complete path, including the template name? Is the path specified below in your post complete?
    Take a look at this: http://www.adivaconsulting.com/adiva-blog/item/9-bip-bursting
    Thanks!

  • Preview pdf files in the desktop with Adobe Reader Touch .. is it possible?

    preview pdf files in the desktop with Adobe Reader Touch
    .. is it possible?

    Windows Store apps (including Adobe Reader Touch) do not offer the preview capability in the desktop environment.  That's just how Microsoft has set up.  So you need traditional desktop apps.
    Because your operating system is Windows 8 (not Windows RT), you can find a lot of desktop apps that are compatible with Windows 7 and 8.  (For Windows RT, only built-in Microsoft Office products are available for desktop apps.  But that's not the case here.)
    You can download Adobe Reader XI (which is also a free PDF viewer) from the following Adobe Reader download page
    http://get.adobe.com/reader/enterprise/
    and install it on your Windows 8 desktop.  (Note for Windows RT users: Adobe Reader XI is not compatible with Windows RT.)
    In case you have any questions about Adobe Reader XI (desktop app), you can visit the Adobe Reader forum.
    http://forums.adobe.com/community/adobe_reader_forums

  • Is it possible to read PDF file data by using Webdynpro Abap?

    Hi,
    I have an requirement, where customer will upload an PDF file on an application and i need to read some data from pdf file.
    The pdf file contains only text data in tabular format.
    In past i developed an application for uploading data from Excelshet by using WDA . But just wondering, whether it is possible to upload the data from Pdf file also. ( Also if not possible then what could be other way to read PDF file data in abap)
    Regards
    PG

    NB - the "data" that is returned by these classes is the data as defined in an adobe form - it doesn't return the content of non-form PDF documents.
    The PDF must be an interactive form ( although that doesn't restrict you to using the SAP process for creating the form is my understanding - but I could be wrong. )
    Edit - I was wrong! ONLY PDF documents that have been created by the ADS can have data extracted using these classes. So unless you are using Adobe interactive forms - then you will get no value from this functionality - and if you're using AIF then you're probably just use the standard UI element
    Edited by: Chris Paine on Oct 26, 2010 6:04 PM

  • What can I do to rectify the situation in which Firefox will not open pdf files in the browser, even though I have already used all the help suggestions to no avail?

    I have tried everything Mozilla has suggested. Still when I click on a pdf, I get the message that the browser cannot open a pdf. I have gone through the help protocol, and it does not work.
    I have uninstalled Firefox and reinstalled it, and still not able to open pdf files within the browser.
    What else do I do, except go to IE or Chrome and just leave Firefox completely???

    A possible cause is the presence of a PDF plugin from an older Adobe Reader plugin in the plugins folder in the Firefox program folder.
    See [[Troubleshooting plugins]]
    See also:<br />
    http://kb2.adobe.com/cps/405/kb405461.html - The Adobe Acrobat/Reader cannot be used to view PDF files in a browser<br />
    http://kb2.adobe.com/cps/836/cpsid_83688.html - I can’t view a PDF document in my web browser<br />

  • Saving a PDF file without the comments

    In Acrobat Reader, is it possible to save a copy of a PDF file without the comments.
    I'm doing a PhD, and would like to be able to send some scientific papers to colleagues without the annotation I may have added. Of course, manually removing all the comments is not a good solution.

    In the Comment panel, go to the Comments List, press Ctrl+A and then Delete.

  • How to Store PDF files In the Oracle Database?

    Hi All,
    It is required for me to store the PDF files in the Database and retrieve it back whenever necessary.
    Also I need to store it with some security. So no one can read the content of the file.
    Please give me solution to these problems.
    Thanks

    vasav wrote:
    Hi All,
    It is required for me to store the PDF files in the Database and retrieve it back whenever necessary.Why not save the files to disk and store a link to the file in the database instead?
    Also I need to store it with some security. So no one can read the content of the file.Authenticate users requesting files.
    Please give me solution to these problems.There are many possible solutions for your requirements.

  • How to control text for PDF Files in the BI7.0 Broadcaster

    Hi ,
    I am running a web template in the BI7.0 Broadcaster. The output prints in the PDF format. In the precalculation tab I have set up 4 variables(VAR1,VAR2 .. etc) . The main folder where these PDF files get stored I can control the text but dont know how to change the PDF file names which fall into this folder. All the PDF files have the technical name and number(like XXX_00000,XXX_00001 etc.) How can I control the text for these files.
    Thanks,
    Kal

    HI Kal,
    it is not possible to get any influence on the filenames. If you use Filternavigation the filename is generated to be unique.
    best regards,
    kai

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

Maybe you are looking for

  • ICal on my iPhone does not sync with my Mac or iPad.  I am using the cloud.

    My iCal calendar on my iPhone does not sync with my Mac or iPad.  I am on the cloud and every thing else is syncing.  I've looked at preferences and everything looks right...

  • Error message : Problem loading page, the connection was reset...

    Problem loading page... the connection was reset. Zwei IT-Experten haben sich das Problem angeschaut und haben aufgegeben. FF haben wir mehrere Male deinstalliert und reinstalliert, Caches gesäubert, Cookies gelöscht. Mit Proxy, ohne Proxy, mit Kaspe

  • Fill technical information to the column of an ALV

    Hi, I've developed a report that using an OOP ALV. In the output of report, I chose a column and press F1 the window performance assistant will show up. Then I click 'technical information' button the window will show up. How to add the information t

  • Text and text box unavailable

    Used iWeb 09 to build a web page with a template: Now the left column is unavailable for edit or selection as a text box. If I "select all", it is selected with all other elements on the page--and I can move the box--but still can't edit the text in

  • Attachment Download Problem

    I use FIREFOX as my default browser for years. Yahoo is my main e-Mail, yet use Hotmail too. For 2 days now, I can not download any attachments (PDF, JPG, DOC, MPEG ect.) from any of my Yahoo accounts. If I forward the same mail to my Hotmail account