>I dont used any office tool since office2007.
>office2007 needed to an addon to make the methods savesAS pdf working.its was a free download in microsoft.
>i suppose its integrated in actual office(word,excel...)
>
>i tested in past this vfp code successfully to saveas a word document to a pdf
>for any practical purpose:
>
>
>local oword,lodoc
>#define wdFormatPDF 17
>oWord=createObject('word.application')
>lodoc=oWord.documents.open(getfile('doc|docx'))
>loDoc.saveas("f:\mypdf",wdFormatPDF) &&pdf
>loDoc.close()
>oword.quit
>
>
>In principe Acrobat is wisywig (what you see is what you get).But i guess there is some incompatible fonts.
>
>I found also 2 links working with javascript,there is many snippets,maybe can help.
>
https://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript>
http://stackoverflow.com/questions/31407215/how-to-use-saveas-function-in-adobe-acrobatThanks