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
21
votes
8 answers

Get Google Document as HTML

I had a wild idea that I could build a website blog for an unsophisticated user friend using Google Drive Documents to back it. I was able to create a contentService that compiles a list of documents. However, I can't see a way to convert the…
Ray Wadkins
  • 876
  • 1
  • 7
  • 16
20
votes
5 answers

Google Docs using multiple manual criterion in DSUM

How can I manually enter multiple criterion into a DSUM function? I can have it check a single set of criterion with: =DSUM(J3:L55, "Charge", {"Category";"Coffee"}) However changing that to =DSUM(J3:L55, "Charge", {"Category";"Coffee";"Split";"Yes"}…
Douglas Gaskell
  • 9,017
  • 9
  • 71
  • 128
20
votes
6 answers

Integrate Google Docs into web site for content creation

I am building a self-publishing web site. I want to integrate Google Docs into my website and allow every publisher/writer to write her/his book from my website and later update the content from either my website or directly from google docs, and to…
Dimitar
  • 1,830
  • 5
  • 32
  • 52
19
votes
4 answers

Google Docs Blinking Cursor "kix-cursor-caret"

I love google docs but I find a blinking cursor very distracting. The new version of google docs doesn't obey the operating system setting for displaying a solid (non-blinking) cursor. I see that the cursor is really just a div of class…
prozac
  • 365
  • 3
  • 13
19
votes
4 answers

Remove line break within cell google spreadsheet

Is there an easy way to remove the line breaks within each cell? Each cell on column E, has extra line that I am having to manually remove, any easy to remove all.
Agent_Sully
  • 255
  • 1
  • 2
  • 10
19
votes
4 answers

Prevent automatic tab insertion or conversion of spaces to tabs

Google Docs has a "feature" that sometimes converts four spaces to one tab. Copying and pasting text does not solve this problem, because the spaces in that text are converted to tabs automatically. Is there a way to turn this off?
jkdev
  • 11,360
  • 15
  • 54
  • 77
19
votes
6 answers

Android WebView : Remove pop-out option in google drive/doc viewer

I am loading the pdf documents in WebView through appending the pdf url to google doc api http://docs.google.com/gview?embedded=true&url=myurl Pdf is loading just fine but the webpage displays two options - Zoom-in and Pop-Out. Is there any way to…
Abhishek V
  • 12,488
  • 6
  • 51
  • 63
19
votes
3 answers

How does the Google Docs PDF viewer work?

I am curious to know how the Google Docs PDF viewer works? It's not a flash like scribd.com; it looks like pure HTML. Any idea how do they did it? Sample link to view the PDF
Jeeva Subburaj
  • 1,881
  • 2
  • 18
  • 26
19
votes
9 answers

Get All Links in a Document

Given a "normal document" in Google Docs/Drive (e.g. paragraphs, lists, tables) which contains external links scattered throughout the content, how do you compile a list of links present using Google Apps Script? Specifically, I want to update all…
drzaus
  • 24,171
  • 16
  • 142
  • 201
19
votes
4 answers

Can I color certain words in Google Document using Google Apps Script?

I'm trying to highlight certain words in my Google Document. I know I can replace text using document.replace, but it only replaces string itself, not formatting. Is there a way to replace string with colored string using Google Apps Script?
user1613077
  • 195
  • 1
  • 1
  • 4
18
votes
2 answers

How to use Roboto Thin in Google Docs

Is there a way to use Roboto Thin font in a "Google Docs" document? I fount a way to add Roboto font (via "More Fonts...") but I have not found a way to set the Thin or Light version.
Fabiano Taioli
  • 5,270
  • 1
  • 35
  • 49
18
votes
9 answers

Auto height for Iframe containing embedded / published Google Doc

I have an iframe with a published Google Doc. The contents of that doc are subject to change, so I want to auto adjust the height of the iframe based on its content. I found some solutions for this, but they all require access to the head of the…
celalalt
  • 231
  • 1
  • 2
  • 7
18
votes
5 answers

Script to automatically make a copy of a Google Document for editing

I feel like a total noob posting here. I know CSS, HTML, and XML pretty well but have always avoided JS. I know very little javascript and recently started a Lynda.com course to catch up. Sorry for my ignorance. As such, I am really struggling…
17
votes
2 answers

Is there a G Suite/Google Apps API?

I had several questions regarding the usability of a "G Suite/Google Apps API." I would like to integrate some sort of document/spreadsheet/presentation management directly into an application I am building. This service would have to have the…
17
votes
8 answers

Use Google Analytics to track Google Form submissions

I'm using Google Forms (a Google Doc spreadsheet with an automatically generated form that the user can fill in to submit their details) and would like to track the submission of the form as a virtual pageview in Google Analytics so that I can…
andygeers
  • 6,909
  • 9
  • 49
  • 63