Export pdf file as xml in vb with the appropriate xml tag name

Hi all

I have a following code in vb which is used to convert pdf to xml format.

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 foregoing is the pdf to xml conversion. But what I want is PDF to I want to get the good tag named xml (as in adobe acrobat pro Tools-> form-> shape options more-> export to a file for-> xml). I designed my pdf in adobe livecycle designer 7.1. Thanks in advance.

Concerning

-Ganesh.

This code turns into a completely different XML schema, I don't think that it is designed for the export of the form at all. There is JavaScript methods to export shape data, I think. However, I've never read the LiveCycle JavaScript API, so I don't know what is there (be SURE not not to use the JavaScript API in Acrobat!)

Tags: Acrobat

Similar Questions

Maybe you are looking for

  • 0xc0000034 error code

    After the installation of Windows Service Pack 3 for Vista on my laptop it now won't work. When I turn it on it goes to a black screen with 2 options either start windows normally or launches the Startup Repair tool. If you choose the Startup Repair

  • How to install (not updated) of my HP LaserJet 1020/1022 on Mountain Lion

    Hi guys,. I am trying to install my HP LaserJet 1020 on my new Mountain Lion anyway I am not able to find a driver! HP web page to the specific address says I can "Refresh" this printer by using the Apple software update anyway I don't see any update

  • Planned SMART failure hard disk 6: ST9320325AS

    Any help to solve this problem.  I can't open the windows.

  • My Collection of CS6 Master rejects serial number

    My CS6 has suddenly started asking for (CS6 first, Photoshop CS6) serial numbers.When I enter the right number, is said "the serial number you entered is invalid.". Please try again. If the problem persists, contact Customer Support. »So here I am...

  • Wink of the absent parent to redial VM?

    I have a Horizon view 6.1 auto, specialized clone pool related that I use to try a demo of AppVolumes. As part of the COP, I wanted to see what looks like the prompt on the VM parent update and pushing to the clones. To build the pool, I created a ne