Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.34 KB

File metadata and controls

48 lines (34 loc) · 1.34 KB

DocumentApp Examples

The DocumentApp library allows you to create and edit Google Docs programmatically.

Examples

  1. Create a New Document:
    Generate a new Google Doc with basic content.

  2. Insert a Table:
    Add a table to a Google Doc with predefined data.

  3. Add an Image:
    Insert an image into an existing Google Doc.

  4. Add a Hyperlink:
    Add a clickable hyperlink to a Google Doc.

  5. Find and Replace Text:
    Search for specific text in a Google Doc and replace it.

  6. Format Text:
    Apply formatting such as bold, italics, or colors to specific text.

  7. Append a List:
    Add a bulleted or numbered list to a Google Doc.

  8. Delete Content:
    Remove all content from a Google Doc.

  9. Insert Headers and Footers:
    Add headers and footers with custom content.

  10. Save Document as PDF:
    Export a Google Doc as a PDF and save it to Google Drive.

Scripts