Quantcast
Channel: Adobe Community : All Content - Creating PDFs
Viewing all articles
Browse latest Browse all 23252

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 23252

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>