PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of gglDocument variables
  • Functions that use gglDocument variables
  • Functions (prefix syntax) that handle gglDocument variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The gglDocument type is used to handle a Google document. This document was created by GglUploadDocument. The characteristics of this document are returned by several WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connection
Cnt is gglConnection
Cnt.Email = "balthazar@gmail.com"
Cnt.Password = "qwerty"
Cnt.ApplicationName = "MyApp-03"
IF GglConnect(Cnt) = False THEN
Error(ErrorInfo())
ELSE
// Retrieve the array of documents
arrDocs is array of gglDocument = GglListDocument(Cnt)
// Browse the documents
Doc is gglDocument
FOR EACH Doc OF arrDocs
Trace(Doc.Title)
END
END
Remarks

Properties specific to the description of gglDocument variables

The following properties can be used to handle a Google document (these properties are available in read-only):
Property nameType usedEffect
IdentifierCharacter stringIdentifier of document.
MIMETypeCharacter stringMIME type of the document.
Remark: For more details about the authorized MIME types, see
StarredBoolean
  • True if the document is marked as "Starred",
  • False otherwise.
TitleCharacter stringTitle of document.
UpdateDateDateTimeDate of the last document update.
Remark: The date is a UTC date (in universal time).

Functions that use gglDocument variables

GglListDocumentRetrieves the list of documents available on the Google server for the current user.
GglGetDocumentDownloads a document from the Google Docs service.
GglDeleteDeletes data from the Google server.

Functions (prefix syntax) that handle gglDocument variables

<gglConnection variable>.ListDocumentRetrieves the list of documents available on the Google server for the current user.
<gglConnection variable>.GetDocumentDownloads a document from the Google Docs service.
<gglConnection variable>.DeleteDeletes data from the Google server.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment