Documentation ¶
Index ¶
Constants ¶
View Source
const ( DocumentTypeWord = "word" DocumentTypeCell = "cell" DocumentTypeSlide = "slide" )
View Source
const ( EditConfigTypeDesktop = "desktop" EditConfigTypeMobile = "mobile" EditConfigTypeEmbedded = "embedded" )
View Source
const ( EditConfigModeEdit = "edit" EditConfigModeView = "view" )
View Source
const (
EditConfigLangZhCn = "zh-CN"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentGroups ¶
type Document ¶
type Document struct { FileType string `json:"fileType"` Key string `json:"key"` Title string `json:"title"` Url string `json:"url"` Permissions Permissions `json:"permissions"` }
type EditConfig ¶
type EditConfig struct { Document Document `json:"document"` DocumentType string `json:"documentType"` Token string `json:"token"` Type string `json:"type"` EditorConfig Editor `json:"editorConfig"` }
func (EditConfig) Valid ¶
func (e EditConfig) Valid() error
type InsertImage ¶
InsertImage
type Permissions ¶
type Permissions struct { Comment bool `json:"comment"` CommentGroups CommentGroups `json:"commentGroups"` Copy bool `json:"copy"` DeleteCommentAuthorOnly bool `json:"deleteCommentAuthorOnly"` Download bool `json:"download"` Edit bool `json:"edit"` EditCommentAuthorOnly bool `json:"editCommentAuthorOnly"` FillForms bool `json:"fillForms"` ModifyContentControl bool `json:"modifyContentControl"` ModifyFilter bool `json:"modifyFilter"` Print bool `json:"print"` Review bool `json:"review"` ReviewGroups []string `json:"reviewGroups"` }
type ReferenceData ¶
type SetHistoryData ¶
type SetHistoryData struct { ChangesUrl string `json:"changesUrl"` Key string `json:"key"` Url string `json:"url"` Version int `json:"version"` Previous Previous `json:"previous"` }
SetHistoryData
type SetMailMergeRecipients ¶
SetMailMergeRecipients
type SetReferenceData ¶
type SetReferenceData struct { FileType string `json:"fileType"` Path string `json:"path"` ReferenceData ReferenceData `json:"referenceData"` Url string `json:"url"` }
SetReferenceData
type SetRevisedFile ¶
SetRevisedFile
Click to show internal directories.
Click to hide internal directories.