Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleDocsImporter

OfficeIMO.Word.GoogleDocs

Namespace
OfficeIMO.Word.GoogleDocs
Assembly
OfficeIMO.Word.GoogleDocs
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Imports Google documents through Drive conversion or a tab-aware native projection.

Inheritance

  • object
  • GoogleDocsImporter

Constructors

public GoogleDocsImporter() #

Methods

public async Task<GoogleDocsImportResult> ImportAsync(string documentId, GoogleWorkspaceSession session, GoogleDocsImportOptions? options = null, CancellationToken cancellationToken = default) #

Loads a Google document and returns a caller-owned Word document with source metadata.

Parameters

documentId string required
session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required
options OfficeIMO.Word.GoogleDocs.GoogleDocsImportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional