是否有可能将Word文档转换为Google文档? [英] Is it possible to covert Word docs to a Google Doc?
问题描述
我正在使用Google SDK将Word文档上传到Google云端硬盘。通过Google云端硬盘界面上传后,我可以查看这些文件,但要编辑这些需要选择使用Google文档打开的文档。当我这样做时,Google会创建另一个版本的文件并将其保存到我的Google云端硬盘中。
I am uploading Word documents to Google Drive using the Google SDK. I can view these files once uploaded through the Google Drive interface, but to edit these documents I need to selected "Open with Google Docs". When I do this, Google makes another version of the file and saves it to my Google Drive.
我想自动创建一个URL,供用户点击文件已上传,所以我认为我需要将上传的文件(Word文档)转换为Google Docs文件,以便用户可以对其进行编辑并保存。这可能吗?
I want to automatically create a URL for users to click on once their file has been uploaded, so I presume I somehow need to convert the uploaded file (Word Document) to a Google Docs file so a user can then edit it and save it. Is this possible?
推荐答案
您需要发送 convert $ c $转换(布尔值)是否将此文件转换为相应的
Google文档格式。b
$ b
You need to send the optional query parameter of convert
convert (默认值:false)
convert (boolean) Whether to convert this file to the corresponding Google Docs format. (Default: false)
这篇关于是否有可能将Word文档转换为Google文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!