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
11
votes
1 answer

Javascript word processor/editor (or, Google Docs architecture)

I thought it would be interesting to roll my own text editor a la Google Docs, purely for curiosity of course (nothing to do with reinventing the wheel). I've been wondering how applications like Docs and Zoho Writer can get advanced layout like…
user915495
11
votes
2 answers

Google Docs: insert newline in find-and-replace results

I want to change lines of this form: one line find text into this a pair of lines of this form: first line of replace text second line of replace text I know that one can search for a newline by checking the "Match using regular expressions" box,…
Steve
  • 423
  • 2
  • 7
  • 17
11
votes
1 answer

I want Google Docs embeddable PDF viewer not to display "open external" link

I am making a pdf viewer using google doc viewer. I am facing an issue. I don't want the user to download the pdf. If user clicks open external button, an external application is opened and pdf can be viewed. I don't want that button. What can I…
Ali Zia
  • 3,825
  • 5
  • 29
  • 77
11
votes
4 answers

Open remote document and save back to remote server

I have programmed a web app for my office that runs on the server. All of our documents are on the server as well. I would like to be able to have the user browse a folder on the server through my web app, open it in an editor (online or desktop),…
Evan4623
  • 259
  • 1
  • 4
  • 14
11
votes
3 answers

How to disable pop-out option in pdf viewer with google doc iframe?

I am using following code to display pdf using google with iframe.. It's working fine. But I want to disable "pop-out" option (which on click opening my pdf in new tab with google docs) shown on right upper corner beside zoomin option on my webpage.…
11
votes
3 answers

How to get Google docs last edit date

I am working on an app in which I need to show the date when google doc was last edited. Snapshot Here I am able to get last modified date through Drive api But it is different from last edited date for cases when file's metadata (e.g. permission)…
Saurabh Sharma
  • 111
  • 1
  • 1
  • 3
11
votes
2 answers

How to determine Google Sheets window size

In a Modal Dialog launched from a Google Sheet-contained script, is there some way to determine what the size of the browser window or host display is? I want to be able to set the width of a dialog to a percentage of the user's display, so support…
Mogsdad
  • 44,709
  • 21
  • 151
  • 275
11
votes
1 answer

Manipulate PositionedImage and wrap text around image in Google Docs

I used the following snippet to insert an image into a Google Document: // Source: http://stackoverflow.com/a/18859986/1536038 var doc = DocumentApp.openById('Google Drive Id'); var img = DriveApp.getFileById('Google Drive Id').getBlob();…
Jacob Jan Tuinstra
  • 1,197
  • 3
  • 19
  • 50
11
votes
4 answers

edit Google Docs using Emacs?

How can I edit Google Drive text documents using Emacs and mirror my changes back to the Google Doc? I found a Google command line program, as well as something called gclient, which is part of Emacsspeak, but they seem to require Linux or Windows,…
11
votes
5 answers

MailApp.sendEmail Not Working?

I have several scripts in Google Docs spreadsheets that use MailApp.sendEmail to send e-mails incorporating data from the spreadsheets. They've all worked marvelously for years. About 2 weeks ago, they stopped sending the e-mails. The scripts still…
doebtown
  • 553
  • 3
  • 10
  • 21
11
votes
1 answer

Stepping through code in Google Apps Script (equivalent VBA-GAS )

When writing my VBA macros I often used "F8" so as to debug the macro line by line. Is there a similar feature in Google Apps Script?
11
votes
2 answers

Use a Google Docs Spreadsheet as a datasource for a dynamic Google Sites webpage

I have a Google Form that feeds a Google Docs Spreadsheet. I'd like to--in turn--have that Google Docs Spreadsheet feed a webpage. In plainer English, babysitters fill out the form to sign up to be in our community's Babysitter Directory. The…
doebtown
  • 553
  • 3
  • 10
  • 21
10
votes
1 answer

Trigger webhook when Google Sheet edited

I made a google sheet for sharing todo list with co-workers. My hope is when that sheet is modified, send message to slack channel. Even if tried to find api related with this, I failed to suitable one. Is there a appropriate API or webhook?
sungyong
  • 2,267
  • 8
  • 38
  • 66
10
votes
1 answer

Control Google Docs embedded viewer with JavaScript

I need to control the embedded Google Docs viewer in my site. More specifically I need to be able to enable/disable the controls for Google Slides view and to be able to start/stop the presentation with JavaScript. I was not able to find any…
Vasil Pavlov
  • 101
  • 4
10
votes
3 answers

How can I filter my search in a column on google sheet which collects data from a form?

I would like to perform a multi criteria search of data in a column- contains data of check boxes(more than one option chosen). For a clearer picture of what I am trying to do, screenshot below is a question in a form Data from the form are saved…
lily
  • 385
  • 1
  • 3
  • 21