Can GPT 4 transalate a document(ppt or word) from one language to another without changing the format of the document?

Can GPT 4 transalate a document(ppt or word) from one language to another without changing the format of the document? if possible, how to do this via API ?

If you consider the Open source format of the PowerPoint file, it is just an xml file which you can extract the text contents which you can then ask Chat API to translate.