Skip to main content
mk32727705
Participant
February 2, 2017
Answered

Set language of a document before exporting it to docx file in Adobe SDK?

  • February 2, 2017
  • 1 reply
  • 834 views

How can I set language of a document before exporting it to docx file in Adobe SDK?

In Acrobat Pro DC you can set it by performing following steps:

1. Export you PDF to any format

2. Microsoft Word

3. Settings icon

4. Set language

5. Select value in Document language dropdown

How can I do the same using Adobe SDK? Part of my code is as follows:

Set gPDDoc = CreateObject("AcroExch.PDDoc")

Set jso = gPDDoc.GetJSObject

Call jso.saveAs(WScript.Arguments(0), "com.adobe.acrobat.docx")

I could find any suitable parameter here:

http://help.adobe.com/livedocs/acrobat_sdk/10/Acrobat10_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat10…

This topic has been closed for replies.
Correct answer lrosenth

There is no method for the COM or JS APIs to do this.

1 reply

lrosenth
Adobe Employee
lrosenthCorrect answer
Adobe Employee
February 2, 2017

There is no method for the COM or JS APIs to do this.

mk32727705
Participant
February 3, 2017

Are you going to add it in the future?

Legend
February 3, 2017

Adobe don't share their future plans but I can say it is very unlikely. 95% of the API to Acrobat is for plugins (C or C++ only) which have access to every low level element in the PDF so that - with detail knowledge of the PDF specification - this can already be done. Don't look for samples though, it requires detailed study of the docs.