How to export pdf as xml with scripting?

I would like to convert many PDF files to XML format, using Acrobat's File -> Export -> XML 1.0 feature.  It looks like the scripting API is what I need, but I'm having trouble pulling all the pieces together.
It looks like the Export feature is a plug-in and therefore does not have an explicit method in PDDoc or AVDoc or App.  I guess I need to call the plug-in through some generic mechanism.
I probably need to
Understand how to call a plug-in and
Find the api for the Export plugin.
Can someone point me to examples or other docs?  I'm not having any success with Google or forum searches.
I'm new to Acrobat scripting, but not to programming in general.
Thanks in advance for any help.
Rob

PNG doesn't support layers, so no you can't do it.

Similar Messages

  • How to export pdf from numbers with page breaks

    I am trying to export a pdf from numbers that contains page breaks.  When i print the page breaks are created for printing automatically and i like scrolling with no page breaks while working on spreadsheet.  But, if export pdf the file becomes one long scrolling page.  Which is good on screen but when email recipient tries to print, it prints to a single page and type face is impossibly tiny to read.  I would like to export a view in which page breaks are included but can not seam to find the process (i have recently switched  from excel to numbers).

    One thing you might try (if you haven't already) is to pretend you are printing your numbers document, but after you press the "Print..." button (perhaps after doing the "Print setup" thing) do "Save as PDF" instead of just printing it.  Presumably, this gives you the PDF that is used to do the print job.

  • How to export PDF to HTML with JPEG image format (not PNG)?

    Hello,
    When I export a ".pdf" file to ".html", using Acrobat 11 Pro, the program creates a subdirectory with ".png" image files.
    I need these images to be in the ".jpg" format, not ".png".
    Do any of you know how to change this setting? I am assuming that it is not a permanent default...
    Thank you,
    brivera0

    Alas, I checked on my Acrobat XI before posting. That setting was removed.

  • How to export string in CDATA with the jaxb xml writer?

    How to export string in CDATA with the jaxb xml writer?
    It read CDATA no problem but it is lost on write.

    Found it:
    ### THIS WORKS WITH SUN JAXB REFERENCE IMPLEMENTATION. ###
    (Not tested with any other)
    In the xsd, you must create a type for your string-like element.
    Then associate a data type converter class to this new type, which will produce CDATA tags.
    Then you must set a custom characterEscapeHandler to avoid the default xml escaping in order to preserve the previously produced CDATA tag.
    Good luck.
    -----type converter-----
    import javax.xml.bind.DatatypeConverter;
    public class ExpressionConverter {
         * Convert an expression from an XML file into an internal representation. JAXB will
         * probably have already stripped off the CDATA encapsulation. As a result, this method
         * simply invokes the JAXB type conversion for strings but does not take any other action.
         * @param text an XML-compliant expression
         * @return a pure string expression
         public static String parse(String text) {
              String result = DatatypeConverter.parseString(text);
              return result;
         * Convert an expression from its internal representation to an XML-compliant version.
         * This method will simply surround the string in a CDATA block and return the result.
         * @param text a pure string expression
         * @return the expression encapsulated within a CDATA block
         public static String print(String text) {
              StringBuffer sb = new StringBuffer(text.length() + 20); //should add the length of the CDATA tags + 8 EOLs to be safe
              sb.append("<![CDATA[");
              sb.append(wrapLines(text, 80));
              sb.append("]]>");
              return DatatypeConverter.printString(sb.toString());
         * Provides line-wrapping for long text strings. EOL indicators are inserted at
         * word boundaries once a specified line-length has been exceeded.
         * @param text the string to be wrapped
         * @param lineLength the maximum number of characters that should be included in a single line
         * @return the new string with appropriate EOL insertions
         private static String wrapLines(String text, int lineLength) {
              //wrap logic, watchout for quoted strings!!!!
              return text;
    ------in caller----
    Marshaller writer = ......
    writer.setProperty("com.sun.xml.bind.characterEscapeHandler", new NoCharacterEscapeHandler());
    -----escaper-----
    import java.io.IOException;
    import java.io.Writer;
    import com.sun.xml.bind.marshaller.CharacterEscapeHandler;
    public class NoCharacterEscapeHandler implements CharacterEscapeHandler {
         * Escape characters inside the buffer and send the output to the writer.
         * @param buf buffer of characters to be encoded
         * @param start the index position of the first character that should be encoded
         * @param len the number of characters that should be encoded
         * @param isAttValue true, if the buffer represents an XML tag attribute
         * @param out the output stream
         * @throws IOException if the writing process fails
         public void escape(char[] buf, int start, int len, boolean isAttValue, Writer out) throws IOException {
              for (int i = start; i < start + len; i++) {
                   char ch = buf;
                   if (isAttValue) {
                        // isAttValue is set to true when the marshaller is processing
                        // attribute values. Inside attribute values, there are more
                        // things you need to escape, usually.
                        if (ch == '&') {
                             out.write("&");
                        } else if (ch == '>') {
                             out.write(">");
                        } else if (ch == '<') {
                             out.write("<");
                        } else if (ch == '"') {
                             out.write(""");
                        } else if (ch == '\'') {
                             out.write("&apos;");
                        } else if (ch > 0x7F) {
                             // escape everything above ASCII to &#xXXXX;
                             out.write("&#x");
                             out.write(Integer.toHexString(ch));
                             out.write(";");
                        } else {
                             out.write(ch);
                   } else {
                        out.write(ch);
              return;

  • How to export 2 different report with a link at the same time

    Hi,
    Do anybody know how to export 2 different report with a link at the same time. I currently create a report which link to another report. But when I want to export the 1st report I also want the 2nd report also be exported.
    Thank you very much.
    Best Rgds,
    SL Voon

    Export all the three components individually.
    It will generate 3 script files. Now run them from SQL>
    null

  • Anyone knows how to export ROLES and SYNONYMS with exp command?

    Anyone knows how to export ROLES and SYNONYMS with exp/imp commands?
    Help is needed. Thanks.

    Hi,
    Pls. post this query in RDBMS forum since Portal export import forum does not handle this.
    Thanks,
    ~Kirit.

  • Anyone using PDDocExportUserProperties for exporting PDF to XML

    Hi,
    Anyone using PDDocExportUserProperties for exporting PDF to XML. I am using Adobe PDFL 9.0 to do the same. However, do not find any sample programs or tutorials.
    Please anyone have any samples, do provide.
    -Abhi

    > PDDocExportUserProperties
    Where did you find this method? It's not listed in the PDFL API Reference for 8.1 or 9.

  • How to export All computer list with operating system from AD and all attributes like disable or enable and OU location also?

    how to export All computer list with operating system from AD and all attributes like disable or enable and OU location also?
    I have tried with dsquery below but status is not showing there.
    dsquery * -filter "(objectCategory=computer)" -attr name operatingSystem

    last logon user name - not really stored (or lined) with computer object.  However, you can get this info during the logon process or from the computer.  Here is method:
    http://portal.sivarajan.com/2010/07/user-profile-and-os-info-powershell.html
    Santhosh Sivarajan | Houston, TX | www.sivarajan.com
    ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
    Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012
    Blogs: Blogs
    Twitter: Twitter
    LinkedIn: LinkedIn
    Facebook: Facebook
    Microsoft Virtual Academy:
    Microsoft Virtual Academy
    This posting is provided AS IS with no warranties, and confers no rights.

  • How to export a flash project with a changing frame rate to a video

    I have a Flash project that is a series of roughly 1000 images.  The result of the images is a simple animation, and there is music imported on a separate layer.
    There are moments in the music that I wanted to line up with certain frame changes, and there are sections of the music that I wanted to match up with a faster (double-time) frame rate.
    I used this code in several places in the a code layer:
    stage.frameRate = x;
    The result is exactly what I want in SWF -- the animation speeds up and slows down at the exact right moments to match up with the music track, but it seems like it's just not possible to export this variable frame rate project to a video file?
    According to the accepted answer on this post: http://forums.adobe.com/message/4019538, it seems that:
    The export function in Flash Pro doesn't transcribe *frames*, rather it plays the Flash animation and records it like a camcorder
    If that's true, then I would think there is a way to record a variable frame rate project into a video -- does anybody know if this is possible?

    That or Premiere would both get the job done. After Effects might be more desirable as it has a feature called Time Remapping (right-click on the video layer, Time->Enable Time Remapping). You can add keyframes to any point in a video and then drag them around to speed up or slow down the video. That'll allow for very precise tweaks.
    Finally all I'd suggest is when you jump into your next project, make a quick dummy test project to see if the software you're using is easily capable of producing what you want. It'll solve the headache of completing the project only to land where you are now. Now you know Flash won't play nicely with scripts and Export Movie. If your desired end result was always a video I'd probably use video editing software to make the video. There's some free stuff out there if you really look, but no, it won't be as nice as After Effects or Premiere by any stretch. Although when you see how amazing After Effects is, you'll probably want to buy it .

  • Exporting pdf to xml

    We want to export pdf data into xml format (the same way as "Export Data" functionality in Adobe Reader). We have a huge set of pdf files to export (approx 20K). We got to know that we can achieve this using Acrobat 9  Professional software. Please suggest whether this is the right approach. Is it possible to achieve the same functionality through some batch program. Your quick reponse will be appreciated, since we require this information ASAP for one data migration activity.

    Hi Bernd,
    Thanks for your reply. Can you please elaborate it more as to how I can sent up batch sequence, what javascript code is required for this purpose and what pre-requisite softwares are required to achieve the same.
    I read somewhere that using Acrobat 9 Pro OOTB functionality, we can convert pdf form data into xml. We have about 20K pdf files currently that needs to be converted to xml. This is just a beginning and we expect more data in pdf files to be convrted to xml in future. We want to evaluate as to whether we can use Acrobat 9 Pro for this purpose,and how we can set this up as a batch sequence so that no manual intevention is required.
    Thanks
    Ajith Jacob

  • How to merge PDF/Word Doc with the Form I created?

    Hi All,
    Which software should I use to merger PDF/Word Doc with the form I created.
    One more question is I want the form page to show up right next to the ending or in the middle of the word doc . How to manange the placement of the sections?
    Please do let me know, its urgent.
    Thanks and Regards,
    Hari.

    1) The option of creating the whole thing as a LiveCycle form means that you need to convert the Word document using LiveCycle Designer. The import utility won't preserve the fidelity of the Word document the way printing to the PDF print driver does. It will likely require a fair bit of tweaking in Designer to get it looking like you want. You will likely get frustrated, since Designer is not a word processor.
    2) You can create PDF forms in Acrobat without launching LiveCycle Designer. While they look the same to a user as forms created with LiveCycle Designer, behind the scenes they are very different. When you create a form in Acrobat you overlay fields on top of an existing PDF document that you had previously created using the PDF print driver. There is an extensive scripting model for these "Acroforms". The technology pre-dates LiveCycle yet Adobe continues to improve the two forms models in parallel. In Acrobat, open a PDF and select tools-->forms-->show forms toolbar.
    3) I recommend this option if it's feasible. I don't know what you mean by "doesn't show up in a flow". If you're going to use the form in Acrobat 7, then save it as Acrobat 7 compatible in LiveCycle Designer. This is one of the options in the Save As dialog of LiveCycle Designer.
    Jared Langdon
    http://www.jlangdon.ca

  • How to convert pdf  to word with Acrobat Xll pro

    how to convert a pdf to word with acrobat xll pro

    With Acrobat XII? You don't; because there is no XII right now.
    Using Acrobat XI the click path is:
    File :: Save As Other :: Microsoft Word
    Be well...

  • How to export motion to video with audio..urgent

    anyone can teach me how to export motion with audio?
    cause i add audio when i craeting the motion...but when i export to video, there is no sound produce, only the image...
    can tell me how to make it?

    Make sure when you export you select the option to include audio. It seems some of the default settings do not include the audio.

  • Hi, how to convert pdf to xml

    hi, how to convert pdf to xml

    Hi Sunil,
    You have to use Acrobat for this.
    Open the pdf, go to File > Save as other > More options > select xml and save the file.

  • I want to print or export (PDF) a design with a indication of the used pantone colors without the separations so that our customer can see them (not CMYK)

    Before i used CS illustrator i was able to indicate the used pantone colors on a print or PDF with coreldraw.
    Can anyone tell me how to make such a print with CS6.
    My clients have to see the used Pantone colors in the design (not CMYK)

    Add your spot colors to your swatches panel (Window> Swatch Library> Color Books> Pantone+ Solid Coated>)
    In the fly-out menu on the swatches panel, select all unused swatches and delete. Also delete any unused swatch groups.
    File> Document set-up> make the bleed .5".
    Use the type tool to indicate the spot colors on the outside edge of the bleed area, make the type color match the indicated spot color.
    Save as PDF. This PDF printed with bleed will show the spot colors. Alternately, you could select "add crop marks and color bar" in the print settings, which should also indicate the spot colors.
    In InDesign you can add a Slug area to your page, where the spot colors would typically be added.

Maybe you are looking for

  • Need to run multiple copies of portal on one machine

    This is a little involved to explain so I'll try to be clear. Right now we have multiple developers working on our single copy of our portal running on one machine at another location. No good can come of this and much bad has already happened. What

  • Document date is in the future in incoming Invoice

    Hi, When I create incoming invoice with Tcod MIRO  this problem create {Check - document date is in the future) What I do in this case please tell me Regards Sunil.

  • Stuck key?

    recently I bought a new Imac and it has been working perfectly. today however, it started acting up. I was playing a game in safe harbor when all of a sudden the /// key abruptly started to type on its own. even when i restarted the computer and i we

  • I want to use a dynamic schema name in the from clause but its not working.

    DECLARE      vblQueryName VARCHAR2(20);      vblSchemaName VARCHAR2(20); BEGIN      SELECT CurrentSchemaName INTO vblSchemaName FROM HR_989_SCHEMA;      vblQueryName:='060_525_020';      INSERT /*+ APPEND(HP_ELIGIBILITIES,4) */ INTO HP_ELIGIBILITIES

  • Sharing Events in Modules

    Hello, Iam a new by in Flex and I try to use develop an application on a modular way. I am using the resource bundle because my application must be multi language (2 languages). I have a ApplicationControlBar where I can change the language of my app