Export fillable pdf to xml in vb with proper xml tag name

Hi All,
I have a following code in vb which is used to convert pdf to xml.
        Dim AcroXApp As Acrobat.AcroApp
        Dim AcroXAVDoc As Acrobat.AcroAVDoc
        Dim AcroXPDDoc As Acrobat.AcroPDDoc
        Dim Filename As String
        Filename = "D:test.pdf"
        AcroXApp = CreateObject("AcroExch.App")
        AcroXApp.Show()
        AcroXAVDoc = CreateObject("AcroExch.AVDoc")
        AcroXAVDoc.Open(Filename, "Acrobat")
        AcroXPDDoc = AcroXAVDoc.GetPDDoc
        Dim jsObj As Object
        jsObj = AcroXPDDoc.GetJSObject
        jsObj.SaveAs("\Test.xml", "com.adobe.acrobat.xml-1-00")
        AcroXAVDoc.Close(False)
        AcroXApp.Hide()
        AcroXApp.Exit()
The above is converting pdf to xml.But what i want is from pdf to i want to get proper tag named xml ( like in adobe acrobat pro Tools-->Forms-->More Form options-->Export File to-->xml ). i have designed my pdf in adobe livecycle designer 7.1. Thanks in advance.
Regards
-Ganesh.

Hi All
This line is creating xml,
jsObj.SaveAs("\Test.xml", "com.adobe.acrobat.xml-1-00")
this is for text file
jsObj.SaveAs("\Test.txt", "com.adobe.acrobat.txt-1-00")
Is there any method to create xdp ??
Message was edited by: Ganesh Prakash

Similar Messages

  • Can't use touchscreen on my exported fillable pdf using my HP W8 tablet

    I've used FormsCentral to create and then export fillable pdf - (Tablet is WIFI only and sometimes I don't have a connection - hence I can't use it online all the time so I've exported as a pdf) - anyway. Tablet is Windows 8.1 Pro, 64bit, HP EliteTab 900. My problem is that unless I have my keypad plumbed in (which works fine) - I can't get the PDF to prompt for the onscreen keypad when I click on the open text fields. I don't always have the keypad on me - not practical for tablet use. Is there a setting or option or a different reader I should be using??

    Hi;
    I am going to assume by the Windows 8/8.1 Adobe Touch app you mean "Adobe Reader Touch" (the full screen Metro app as opposed to traditional desktop application). 
    If you do indeed mean the "Metro" version of Reader for Windows 8/8.1 devices you can post your issue in the related forum here: http://forums.adobe.com/community/adobe_reader_forums/metro
    I do not know why this isn't working in the Reader Metro, or if it is a feature that has been added there yet or not...  I am inquiring to find out.  In the mean time your crew members can always use the "desktop" Adobe Reader (Free download get.adobe.com/reader/) and the Submit button using the Email method will work from there.
    Thanks,
    Josh

  • Reporting Services Auto Export to PDF on a shared location with dynamic filename

    Hi Guys,
    I have this ERP system that is calling a url with the Document No parameter, the link automatically converts to a PDF but comes up with the OPEN/SAVE/CANCEL box however i want to automatically save to a default location...is this possible?
    Secondly i need the filename to be saved as the Paramter Name and the date.pdf in the format DocumentNo- Datetime.pdf is this also possible?
    Thank you in Advance

    Hi Dan,
    According to your description, you want to export a report to PDF using URL access. And trying to export the report with specify name automatically without prompting the OPEN/SAVE/CANCEL box. The file name should come from the parameters of the report.
    For security reasons, it is not allowed to write files on a client computer (Shared folder), except for a few pieces of information in cookies.
    While using URL access to export a report, the exporting process will save the file with the report’s name automatically.
    In order to export the report to a specify folder with a specify name, we can send a request to the Report Server in custom application, and then receive the data from the Report Server. In the custom application, save the data to the specify folder with the specify name in server side.
    Please follow these steps to archive the target:
    1.       Create a C# Web application.
    2.       In the page_load event of a page, embed the following code:
    string URL = "http://localhost/Reportserver?/AdventureWorks Sample Reports/Employee Sales Summary";
                string Command = "Render";
                string Format = "PDF";
                //We can get values of these parameters from Request object.
                string paramReportMonth = "12";
                string paramReportYear = "2003";
                string paramEmpID = "288";
                URL = URL + "&rs:Command=" + Command + "&rs:Format=" + Format + "&ReportMonth=" + paramReportMonth + "&ReportYear=" + paramReportYear +"&EmpID=" + paramEmpID;
                System.Net.HttpWebRequest Req = (System.Net.HttpWebRequest) System.Net.WebRequest.Create(URL);
                Req.Credentials = System.Net.CredentialCache.DefaultCredentials;
                Req.Method = "GET";
                //Specify the path for saving.
                string path = @"C:\" + paramEmpID + "-" + paramReportYear + "-" + paramReportMonth + @".pdf";
                System.Net.WebResponse objResponse = Req.GetResponse();
                System.IO.FileStream fs = new System.IO.FileStream(path, System.IO.FileMode.Create);
                System.IO.Stream stream = objResponse.GetResponseStream();
                byte[] buf = new byte[1024];
                int len = stream.Read(buf, 0, 1024);
                while (len > 0)
                    fs.Write(buf, 0, len);
                    len = stream.Read(buf, 0, 1024);
                stream.Close();
                fs.Close();
    3.       Use the URL of the above page with parameters to export a report to the specify folder with specify filename.
    E.g. http://<server>/custom application/export.aspx?parameterReportYear=2003&parametermonth=12&EmpId=288
    Of course, we can pass other parameters with the URL such as Format.
    Please feel free to ask, if you have any more questions.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • Export to PDF & Print of Webi document with Xcelsius SWF file embedded init

    Hi ,
    I have embedded an Xcelsius model as HTML in a webi document. It works fine in the Infoview. However, when I export to PDF or print the webi document , the Xcelsius flash component does not show up. I just get a box with the HTML code in it.
    Please let me know how to fix this.
    Thanks.

    I agree with kirbot -- Apple includes nice templates that are obviously meant for professional printing in reasonably large quantities. Regardless, there's no good reason I can think of why Pages' PDFs are not truly WYSIWYG in their output. That shadows and other things are not exported as part of the PDF is a really dumb idea on Apple's part.
    Just ran into this issue myself and had to ditch all the drop shadows in my brochure in order for the files to work with my online printer.
    Glenn

  • When exporting to PDF the words One-Pager shows up in the name

    Hello,
    Occasionally, I have an InDesign file, that when I export for PDF, it adds the following to the beginning of its name "(one-pager)". Does anyone know why this happens or where it is coming from?
    thanks
    barbraa

    More than likely someone added that to the export filename the first time it was invoked, then saved the ID file.
    By default the PDF has the same name as the ID file, but if you change it, then save (or save after exporting, and subsequently rename the ID file), the name you used is burned into the file data and becomes the default.
    Peter

  • Export a pdf to a swf file with navigation buttons???

    I have CS4 and I've tried to export a couple indesign files using the swf export feature, but it the navigation of the file is very weak and not very intuitive, and when you zoom in to any of the text the text goes fuzzy.
    I would like to just convert a PDF to SWF file with navigation buttons, page controls, zoom in/out, single or two page view options, so that my end user can view it with the free flash player, but I don't have time to build the file in Flash and I don't want to use an online service that comes with a per month or per publication fee.
    Any suggestions??

    I've looked at that, but most of the pdf's that I need to convert are more than 10 pages.  I want a program I can download, install and use without a per use cost, or per publication cost.
    I'm looking more for a plug-in for either Acrobat, or Indesign or stand alone program that would convert them without adding copyrights, or ads to the file.

  • XML parsing problems with Oracle XML parser for PL/SQL

    I am using the Oracle XML parser for PL/SQL to transform XML into HTML usign XSL. The parser gives me sporadic errors trying to parse various XML documents. For the same XML source, the XMLPARSER will parse without errors one day and the next day will give me errors such as "invalid char in text", "Expected ';'.", or even Java null pointer exceptions.
    I have verified that the XML sources are well formed, so I am pretty certain that the problems I am having are bugs in the XMLPARSER.
    Is there going to be a XML parser for PL/SQL version 2 that will fix these bugs? If so, when??? If not, is there anything else I could do to fix these problems?
    Thanks!

    You can use the latest version.

  • UIX XML-BC4J: Problem with UIX XML decimal validation

    We have a messageTextInput field with the decimal validater:
    <bc4j:messageTextInput id="ValPunteggio" attrName="ValPunteggio" name="ValPunteggio" prompt="Valore" >
         <onSubmitValidater>
              <decimal/>
         </onSubmitValidater>
    </bc4j:messageTextInput>
    But while client-side validation permit to enter a number with the character ',' as decimal separator, the server returns a JBO-25009 Error "attempting to create a oracle.jbo.domain.Number with value 10,4".

    It's a known NLS bug that'll be fixed in 9.0.3.
    There's no good workaround; you're forced to use the "period"
    as the decimal separator so that the server-side code doesn't
    choke.

  • Export a PDF to an image with transparency

    Hello,
    I'm trying to export a PDF (which contains a logo with 4 paths) as an image with transparency. In my case I use the PNG because it supports the transparency. As my logo is defined with paths it should be possible to create an image with transparency.
    Maybe this is a limitation and Acrobat cannot create image wich supports transparency.
    Anyone have an idea?
    Thanks in advance,
    Joe

    @Joe:
    That's a really pity.
    Have you found any other software which can do this job.
    I searched yesterday but didn't find anything.
    @Doc Maik
    b)
    I have a (lot) PDF containing a single image which has a transparent background.
    You can check that in Acrobat by menu: Edit - Preferences - Page Display - Show transparency grid
    I need to have a PNG or TIFF (these two formats allow transparency) of that image.
    That's all but as it seems to much for Acrobat to handle.
    "Save as ..." doesn't work in case of transparency!
    Thanks anyway.
    Best regards
    Norbert

  • Random characters added in Excel export from Adobe Tracker (via fillable PDF from FormsCentral)

    Exported fillable PDF from FormsCentral and distributed it via Adobe Pro X.  Received two responses and from the Tracker, we exported to Excel.  In the Excel columns, there are seemingly random characters and the word "edit" which are not in our question.  For example, "_10_8_House_rep_edit;_6S7OYQDcL9nQcNR6j761WQ
    Thanks!

    1. To edit the PDF follow these steps : http://forums.adobe.com/docs/DOC-3661
    2. The fillers don't need to have a subscription (paid or free) to fill up the form. They can fill out the PDF and save it to their machine and then submit. Only the author of the form needs to have a paid FormsCentral subscription to collect data via PDF forms.

  • Fillable PDF Interaction

    I have a user request to have our APEX application present a fillable PDF form to the user with some of the fields pre-populated from the database, have the user complete the form and submit the changes to the database.
    I have created the fillable PDF with Adobe Pro but I'm not sure how to interact with it via APEX. Has anyone had experience with this and can point me in the right direction?
    Thanks

    Hi Dave,
    I totally understand your quandry. All the forum posts seem to be about PDF output+ and what we need is PDF input! And Apex covers webservices as a client, but what about hosting the service? At SFFD we're trying to achieve something similar to what you describe. Mind you: we're developing the pdf forms ourselves; don't know if you are too. The path we're currently exploring is to use a pdf form button to http POST the xml data of the form to the database. Oracle Streams docs part VI (chapter 17) "Internet Access to Oracle Streams AQ" seems to point the way to submitting SOAP requests to the database. Now I'm trying to figure out that architecture's moving parts. We might otherwise try to have the form ftp the xml to an XML DB repository. do you, *(or anyone!)*, have any other leads on sucking pdf form data into the db?
    Derek
    SFFD
    P.S. Also, we have the added convenience of a sequestered network, so security is not the same level issue for us that it is for most. And what's up with those reponses that atempt to critique your requirements? These type responses are not at all helpful, people. We don't create our requirements, we attempt to meet them.
    UPDATE: IXNAY on the OAPSAY (for us at least). Looks like Internet access to oracle streams requires a J2EE server like oracle application server (@ $50k/cpu/yr ?) to implement the aqxmlSERVLET - which we don't have none of. Maybe we can route xml to XMLDB repository using existing IIS. Chapter 15 of XML DB manual indicates: ODP.NET supports XML natively in the database, through Oracle XML DB. ODP.NET XML support includes the following features:
    ■ Stores XML data natively in Oracle Database as XMLTypeEdited by: derek on Apr 24, 2009 2:41 PM

  • Exporting Secured PDF from indesign using apple script

    hi there, this is my first go at scripting,
    basically what i am trying to do is:
    tell indesign to turn on a layer called "proof" in the active document
    then export pdf - set pdf preference to smallest file size, all pages, and secure the file WITH A PASSWORD so that it can be opened but not edited (unless by someone at my agency who knows this password). this easy enough to manually, but im sick of typing out a password everytime i save a proof.
    then save to a specific folder on the desktop, using the already existing filename - so 'myfile.pdf'
    the code below gives me this message "
    error "Can’t make name of PDF export preferences into type Unicode text." number -1700 from name of «class DFpf» to Unicode text
    could someone please help me word this properly? I tried first referring to a pdf preset instead of setting all the values ie set color bitmap etc but i couldnt get the password to work,
    here is what i have so far, written from snippets that other people have tried:
    tell application "Adobe InDesign CS4"
              tell active document
      try
                                  set visible of layer "PROOF" to false
                        end try
      set docName to name
                        set baseName to text item 1 of docName
                        set ASTID to AppleScript's text item delimiters
                        set AppleScript's text item delimiters to "."
                        set AppleScript's text item delimiters to ASTID
              tell PDF export preferences
                        set acrobat compatibility to acrobat 4 --> create a 1.3 pdf
                        set use security to true
                        set disallow changing to true
                        set disallow copying to true
                        set disallow document assembly to true
                        set disallow extraction for accessibility to true
                        set disallow form fill in to true
                        set disallow notes to true
                        set disallow hi res printing to false
                        set color bitmap sampling DPI to 100
                        set grayscale bitmap sampling DPI to 100
                        set monochrome bitmap sampling DPI to 100
      --set image quality
                        set color bitmap quality to minimum
                        set grayscale bitmap quality to minimum
      --set fonts
                        set subset fonts below to 0
      --set security
                        set use security to true
                        set change security password to "editedit"
                        set disallow extraction for accessibility to false
                        set disallow copying to true
                        export format PDF type to "/Users/kimwilson242/Desktop/_PROOFS/" & name & ".pdf" without showing options
              end tell
    end tell

    tell application "Adobe InDesign CS5"
      -- prefs belong to app so use in tell app block
              tell PDF export preferences
                        set acrobat compatibility to acrobat 4 --> create a 1.3 pdf
                        set use security to true
                        set disallow changing to true
                        set disallow copying to true
                        set disallow document assembly to true
                        set disallow extraction for accessibility to true
                        set disallow form fill in to true
                        set disallow notes to true
                        set disallow hi res printing to false
                        set color bitmap sampling DPI to 100
                        set grayscale bitmap sampling DPI to 100
                        set monochrome bitmap sampling DPI to 100
      --set image quality
                        set color bitmap quality to minimum
                        set grayscale bitmap quality to minimum
      --set fonts
                        set subset fonts below to 0
      --set security
                        set use security to true
                        set change security password to "editedit"
                        set disallow extraction for accessibility to false
                        set disallow copying to true
              end tell
      -- now deal with the doc
              tell active document
                        try
                                  set visible of layer "PROOF" to false
                        end try
                        set docName to name
                        set baseName to text item 1 of docName
                        set ASTID to AppleScript's text item delimiters
                        set AppleScript's text item delimiters to "."
                        set AppleScript's text item delimiters to ASTID
      -- use flexible path to user desktop… path strings are HFS (colon delimited)
                        export format PDF type to (path to desktop as text) & "PROOFS:" & name & ".pdf" without showing options
              end tell
    end tell

  • Background missing when export to PDF CS5.5

    Hi,
    I have seen some similar posts (all non-current) to the one I am writing however, my issues are not solved by the solutions posted in previous discussions.
    My problem is that when I am exporting an IND file to PDF, when I open the PDF all of my background images are missing. In most examples this is a full page black box. But since testing this problem I have encountered the same issue with any colour and some photographs.
    I am working in CS5.5, with all software up to date (version 7.5.3)
    I have tested this in new documents and old documents that previously would have exported the background.
    These items are not on master pages. I have tested this on brand spankin new pages and existing ones (with and without any elements on master pages)
    I have tested the boxes with and without transparency.
    There is no issue with overprint or the overprint preview check box.
    I have tried saving the file as an .IDML and reopening to see if it will 'debug' the file. I have exported the PDF as every kind of option. I have restarted the computer and the program several times. I have checked for new updates.
    The only way that I have 'cracked' this issue so far is to break the one large background image into at least 3 overlapping solid boxes. It seems that you cant have any box overlap more than 2 page boundaries.
    Is anyone else having this problem or any other advice on what to try.
    Thank you

    Hi Eugene,
    The document in question is 1) not using master pages and 2) not using spreads. Its a single page A4 document.
    Hi Peter,
    Sorry I am not trying to span two pages. My comment was that the graphic box seems to glitch when it touches more than 2 boundaries of the page ie left right top bottom.
    I am using the full creative suite CS5.5, no hacks, no substitute programs.
    I have attached a few screen captures.
    Sample file in indesign:
    Screen capture when exported to PDF:
    split the background box into 2 (i have used 2 blacks so you can see the boundary). Export to PDF:
    Second example - black background with photo over top. In indesign:
    Exported to PDF:

  • Strange Behavior with SQL/XML

    Our University have had for quite some time now a rather difficult situation with a very significant course handbook web site that creates HTML based on database XSL transformation of XML content generated with SQL/XML. The database is 10.2.0.2.0. The HTML is passed via a distributed database link to an Oracle Portal dynamic portlet for display. Some of the derived XML originates from XML Schema registered instance documents and some from relational storage.
    Let me explain. Occasionally after a period of operating (could be one week, sometimes even less) we will experience a problem whereby our derived XML content (just prior to PL/SQL database XSL transformation) will develop a parsing problem. Once this happens to one XSL transform of a course then subsequently it happens for every course viewed/transformed there-after.
    Recently I experienced the problem and then added the XMLNS argument to the extract function. That seemed to fix things and I thought I had it licked.
    Today we started to get the same problem again. The error reported was:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00242: invalid use of ampersand ('&') character (use &amp;)
    Error at line 1
    Now this might have been reasonable for one course. But every course reported the same problem there-after without fail. I managed to fix the issue but in a way that really doesn't seem to make sense. What I did was to alter the SQL/XML statement by adding in an extra XMLEMENT and then to recompile the function that returns an XMLTYPE based on the execution of the SQL statement. After compiling the function everything returned to normal.
    This doesn't seem to make sense.
    I am pretty desperate for help on this. I really don't know how to progress the solution. I don't get much joy from Oracle Support as our application covers too many high tech areas. This is really shaking confidence in our organization's use of Oracle technology.

    Hi Mark.
    We've isolated the problem a bit more now and there is a support SR (6089662.994). At this stage we are unable to reproduce - I am testing out an export though. The problem only occurs when a certain condition has been reached. Once that happens then extraneous characters are produced in the XMLTYPE feed returned by a function. We are not at all sure about how to make this condition occur. This doesn't just happen with one SQL/XML cursor - I've seen it happen with 3 different cursors. All are located in the same function that returns an XMLTYPE.
    We are convinced the problem lies with one or more SQL/XML cursors located in the same function. Once one of these cursors malfunctions it will produce XML that is not well formed OR on occasion has content omitted but is well formed (there often seem to be extraneous characters). When the XML content is not well formed then the parsing stage (dbms_xmlparser.parseclob(myparser, xml_clob)) of XSL transformation crashes. This error then propagates to the dynamic portlet in Oracle Portal thus removing the content on the page. This happens for every execution of the cursor while the condition manifests, the only difference between calls being bind variables.
    The interesting thing is that the error if left to itself will eventually stop. The cursor seems to right itself eventually. On the last occurrence, the problem commenced at 4.30am and went for 3.5 hrs and then seemed to right itself.

  • Export to pdf and change "Data points"

    HI,
    I use discoverer 9.0.4 and I want to know how to export to pdf in viewer.
    And how to change the name "Data Points"
    thank you

    Mr. Met wrote:
    I don't even know where that is. This is the only screen I see:
    Here's a QT Movie of what I'm doing wrong.
    I watched your movie... all your are doing is changing the settings for the gray device. If you want to convert your document from color to grayscale, you need to pick one of the color devices (RGB or CMYK) and convert it to a gray profile. Under the Profile popup menu, pick a gray gamma.

Maybe you are looking for

  • Old computer crashed, cant sync my Ipod!!!!!

    Ok, My old labtop crashes on me, while im at school, i tried to reboot the system, but I can't. I have a BUNCH of movies, games, and music that i have synced to this ipod. I checked on the apple store forum, and it said that you have to disengage the

  • Deleting Movies off my Hard Drive...

    I downloaded a couple of movies from iTunes a while ago, now I'm running out of space on my hard drive I want to delete them completely. The only problem is when I go to delete the actual file it gives me a message saying: "Cannot delete [movie]: Acc

  • This item is free in the store

    hi I have problem downloading One of the apps i paid for, "WhatsApp" I had problem last night i changed my pin code and forgot the code, so i went and erased the content and restored from iCloud, everything went perfectly, but I have noticed that the

  • Java Add-In for ABAP

    Hi, I will install Java Add-In on an existing ABAP system (NW04 SR1) on the Windows 2003 server. By the Phase 2 of the installation process ther are the follwoing error: FSL-00001  System call failed. Error 53 (The network path was not found.) in exe

  • How to create hundreds of  SHIP TO ADDRESS in SRM 7.0

    Hi Experts, We are configuring SRM7.0 with ECC6 ( Ehp4) having Classic Scenario . In ECC we are maintaing the Delivery Address  at Storage Location level  and we have such approx 4000 storage Location Address and so in SRM the Delivery Address in Sho