Skip to main content
mk32727705
Participant
Feb 2, 2017 10:55 AM UTC
Answered

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

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 is closed to new replies. Start a new post to keep the conversation going.
lrosenth
lrosenthCorrect answer
Adobe Employee
Feb 2, 2017 12:15 PM UTC

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

3 replies

lrosenth
Adobe Employee
lrosenthCorrect answer
Adobe Employee
Feb 2, 2017 12:15 PM UTC

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

Translate
mk32727705
Participant
Feb 3, 2017 7:23 AM UTC

Are you going to add it in the future?

Translate
Legend
Feb 3, 2017 8:38 AM UTC

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.

Translate