1,582 questions
1
vote
0
answers
65
views
Persisting invisible metadata through Google Drive Export/Import cycle (Docs/Slides/Sheets to OOXML)
I am developing a document synchronization service that manages files between a central server and users' local PCs.
I need to embed a Unique ID (UUID) into each file to track it.
The ID must persist ...
0
votes
0
answers
33
views
How can I correctly set the nestingLevel (0, 1, 2) for items created by createParagraphBullets in Google Docs using the Google Docs API?
I am trying to programmatically create a hierarchical bulleted list in a Google Doc. The goal is to have items at different nesting levels (e.g., Level 0 ●, Level 1 ○, Level 2 ■). My process involves:
...
0
votes
1
answer
75
views
Can't delete text from Google Doc
I’m trying to amend cells in a Google doc using their api. But I can’t seem to delete text from the tableCell.
I always get the invalid deletion range error. There is this duplicate question.
But the ...
1
vote
0
answers
189
views
Google Docs API - 403 - googleapiclient.errors.HttpError: 403
Problem:
I am facing this error-
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://docs.googleapis.com/v1/documents?alt=json returned "The caller does not have ...
0
votes
0
answers
40
views
Adding text to gdoc using Google API sets random paragraph style
I have the following method that adds formatted text to a data structure for it to be used in a batchUpdate request:
def add_text(
self,
text,
bold=None,
color=None,
...
0
votes
0
answers
100
views
How can I extract a Google Docs Heading2 numbering prefix?
I am trying to build a Script App for Google Docs.
The doc contains titles of style Heading2 as a numbered list, to which a prefix "Chapter " was added.
Therefore I have titles that look ...
2
votes
1
answer
326
views
Lists with mixed bullets & numbers
This is what I'm trying to achieve with Google Docs via the API (as markdown):
### Numbered List with Bullet Points ###
1. Item One
2. Item Two
- Sub-item A
- Sub-item B
3. Item Three
### ...
1
vote
1
answer
109
views
Google Docs API: Text from insertText appears all in the first cell of table — how to correctly insert text into each cell? Using React
I'm working with the Google Docs API to insert a table and then populate each cell with text. The table gets inserted correctly, but when I insert text into the cells, all the content appears squished ...
-2
votes
1
answer
229
views
Is there a way to detect what 'page number' text in a google docs document is on?
I'm trying to find a way to detect what 'page number' text in a google docs document is on. I want to know this so I can determine page breaks accordingly if text would flow over onto the next page ...
0
votes
2
answers
121
views
Moving Value from Google Sheets Cell to Google Doc
I have a Google Sheet that has long blocks of text in each cell of column H (it is input from a long-form response box in a Google Form). I want to take each response and move it onto a new page of a ...
3
votes
1
answer
554
views
How to create google doc tabs with the python sdk
I’m trying to create a Tab in a google doc via the python SDK (as in the new(ish) side navigation/organizational tabs, not a tab character). I see how to read and update existing tabs, but don't see ...
0
votes
0
answers
261
views
Google Drive API: files.get_media()
I have been trying for weeks to just get a docx file from Google Drive using their API. I understand the way to do this would be to use the get_media method, which has worked and I am able to get the ...
0
votes
0
answers
81
views
Why doesn’t @date appear in the JSON response from the Google Docs API?
I’m working with the Google Docs API to retrieve the contents of a document.
Used documents.get with the correct documentId and retrieved the document body.
The JSON response does not include the @...
0
votes
1
answer
67
views
Is there a way to parse Google Docs API into a tree based off headers
In Google Docs, the sidebar will show you a structured tree based off your headings:
However, from what I can see from the Google Docs API, the content seems to be returned as a flat list. Is there ...
0
votes
4
answers
625
views
File exists but I get a 404 error when reading it in Google Docs
I am trying to read the contents of a Google Docs file by using the JavaScript googleapis API. The file exists and I can send the request, but I get a 404 error when reading the contents.
To reproduce:...