google-docs-api

How to add content to google doc table cell in c#

为君一笑 提交于 2021-01-27 08:00:41
问题 I'm trying to insert a 3x3 table into a google doc and then text into the table cells using c#. I came across this thread which helped me get the table added and at least get some text in one of the cells. The answer in that thread said to add 4 to the startindex of the newly created table. I did that and all of my text was just added to the 2nd cell of the first row. You can see from my code below that in the for loop I'm hoping to populate each cell with some test text. So, I'm not sure why

Is there a way to replace URL Link of Text in Google Docs API?

爷,独闯天下 提交于 2021-01-01 07:34:04
问题 I started exploring Google Docs API in Python. It does pretty much everything I want it to do except for one thing. I can replace the text of a document but I can't change the value of the hyperlinks. Meaning if a link looks like this : a link, I can change the value of the text a link but not the target URL. I've been going through the documentation but I can't find anything about it. Could it be a missing feature or am I missing the way to do that? 回答1: You can modify the hyperlink using

How do I export the revision history of a gdoc to git?

拟墨画扇 提交于 2020-12-27 08:08:40
问题 I have a spreadsheet in google docs that I'd want to integrate in a git workflow (and push to github). Are there any tools (or even libraries that are gdoc version aware) that do, or help me do, that? I have some old ruby hacks lying around based on the google_spreadsheet gem that reads and writes current versions of a csv gdoc, but nothing which extracts revision history. 回答1: gdoc is not set up for exporting revision history source. Google drive does have an API to access all the revisions

How do I export the revision history of a gdoc to git?

我的未来我决定 提交于 2020-12-27 08:06:48
问题 I have a spreadsheet in google docs that I'd want to integrate in a git workflow (and push to github). Are there any tools (or even libraries that are gdoc version aware) that do, or help me do, that? I have some old ruby hacks lying around based on the google_spreadsheet gem that reads and writes current versions of a csv gdoc, but nothing which extracts revision history. 回答1: gdoc is not set up for exporting revision history source. Google drive does have an API to access all the revisions