Questions tagged [google-docs]

Questions related to interacting with Google word processing Documents programmatically. Usage questions about the web application should be posted at Web Applications Stack Exchange.

Google Docs is a cloud-based application and service for creating and collaborating on word processing documents. The service supports an internal API for Google Apps Script as well as an External API.

Usage questions about the web application should be posted at Web Applications Stack Exchange or the Google Drive Help Center instead of here.

Note: Google has historically used the brand "Google Docs" to encompass a suite of products, but since conforming to that would introduce ambiguity here, the tag is specifically for word processing documents while refers to the suite.

3539 questions
1
vote
2 answers

Import autocorrect library from word to google doc

I'm planning to switch from Microsoft Word to Google Docs since it has better collaboration options. However, I have set up an extensive auto-correct library in Microsoft Word over the course of 3 years. If I switch to Docs now, I'll have to set…
1
vote
0 answers

Google Docs: Using ImportHtml with an URL that contains commas and single quotes

I've constructed a google docs spreadsheet that fetches card prices (from a collectible card game) from a website using importhtml. Here's an example that works: URL:…
1
vote
1 answer

Is there a way to add link to apps script functions in the doc?

In my doc I want to add hyperlinks to do specific actions in my doc using apps script. I need this to add a link at the end of the line item, that can change the color of the line item in the doc. For e.g: If my doc has the following line item: The…
1
vote
2 answers

How to import a Google doc to Python app as markdown?

I'm writing a Python application that needs to fetch a Google document from Google Drive as markdown. I'm looking for ideas for the design and existing open-source code. As far as I know, Google doesn't provide export as markdown. I suppose this…
Rubinous
  • 464
  • 6
  • 12
1
vote
2 answers

google slides html integration: start on specific slide

I'm using an html integration on Wix to include a google slide presentation in a specific webpage. I've got lots of different web pages that I'd like to use a specific slides from in the presentation, so to save time I thought I could do this…
baileyc
  • 11
  • 1
  • 3
1
vote
1 answer

How to make HTML Tabs match Google's CSS spec for add-ons

Google Docs and Spreadsheet add-ons need definite rules to be followed as described in the CSS Package for Add-ons. But specs like tabs aren't available that better match the look and feel of add-on shown here: Moreover Google avoids use of…
Code Guy
  • 3,059
  • 2
  • 30
  • 74
1
vote
0 answers

Open SVG as a Google Drawing Programmatically

I have an SVG generated on a webpage. Is it possible to add a link that someone could click on to open the svg in google drawing without having to download it? Ideally it would send the user here: https://docs.google.com/drawings I have enabled…
Charles L.
  • 5,795
  • 10
  • 40
  • 60
1
vote
0 answers

Google Docs: Adding "chrome://extensions/" hyperlink

I am trying to add a hyperlink to chrome://extensions/ in Google Docs. In HTML I would write: chrome://extensions/ However, if I try to add this as a link in Google docs, I get the following validation error, and…
leenremm
  • 1,083
  • 13
  • 19
1
vote
1 answer

Two functions sequentially in google app script

I'm having this weird problem with my app script. I have two functions, one that processes text to remove line breaks and one that removes multiple spaces. When I manually run the two functions one after the other, the line break is removed and any…
DavidR
  • 359
  • 1
  • 4
  • 15
1
vote
1 answer

Replacing a placeholder text label in a Google Docs table cell with a Google Drive image

I am trying to automate populating a report using only Google Apps. The sequence goes as followed: Google Form > Google Sheets > Google Docs Template The Google Form serves the purpose to enter all details for the final report: A quality score (1, 2…
1
vote
1 answer

Regex replacement within a partial text element in google apps script

Below is Google's example for emboldening a partial text element. This is used for selected text that is not an entire element (e.g. just a sentence fragment is selected). I need to replace the action of emboldening with that of performing a regex…
DavidR
  • 359
  • 1
  • 4
  • 15
1
vote
1 answer

Filter one sheet, A, with another, B, to get a new sheet, C, with rows that don't exist in B

I'm trying to get rid of bad data in my inventory list. Sheet A is a sheet that is a list of all my products. Sheet B is a sheet, generated from another piece of software, that lists all of my products that have been sold I need to generate a third…
Lounge9
  • 1,213
  • 11
  • 22
1
vote
1 answer

Integrating google docs into website

The "publish" feature of google docs looks like a perfect way to put all contents of a site away, without need to manage pictures and other content in CMS and move it all to google docs by embedding the published documents on a website. However…
Vladimir Keleshev
  • 13,753
  • 17
  • 64
  • 93
1
vote
1 answer

How to limit sharing of Drive files to Google-only accounts?

I am sharing many sheets with many people, giving them both Edit and Share permissions. I want to share it only with people ("Party B") who have Google accounts, in order to assure greater security/accountability. However, it is difficult…
1
vote
3 answers

tool or library for Google docs file upload

I need a simple library or tool with which I can upload arbitrary files (other than the explicitly supported formats, like .doc, .docx, .xls, .pdf, .txt, .ppt etc.) to Google Docs. The Perl module WWW::Google::Docs::Upload doesn't work, I get an…
pts
  • 80,836
  • 20
  • 110
  • 183