docs

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTable

func AddTable(column, rows int64) *docs.Request

func InsertImage

func InsertImage(link string, location *docs.Location, size float64) *docs.Request

func ReplaceTextDocs

func ReplaceTextDocs(char, text string) *docs.Request

Types

type GoogleDocs

type GoogleDocs struct {
	// contains filtered or unexported fields
}

func DocsNewServices added in v0.0.3

func DocsNewServices(FileCred string, FileToken string) (docsService GoogleDocs)

func NewGoogleDocs

func NewGoogleDocs(srvDocs *docs.Service) (res GoogleDocs)

func (*GoogleDocs) FindAndReplace

func (gdocs *GoogleDocs) FindAndReplace(docId string, request ...*docs.Request) (err error)

func (*GoogleDocs) FindTextLocation

func (gdocs *GoogleDocs) FindTextLocation(docId string, pattern string) (loc docs.Location, err error)

func (*GoogleDocs) GetTableLocation

func (gdocs *GoogleDocs) GetTableLocation(docID string) (data *docs.Location, err error)

func (*GoogleDocs) Service

func (gdocs *GoogleDocs) Service() *docs.Service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL