# GoogleDocsImporter

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

Class 

`OfficeIMO.Word.GoogleDocs`

**Namespace**

`OfficeIMO.Word.GoogleDocs`

**Assembly**

`OfficeIMO.Word.GoogleDocs`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleDocsImporter.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsImporter.cs#L8)

**Implements**

`IGoogleDocsImporter`

**Modifiers**

sealed

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

## Inheritance

- object
- GoogleDocsImporter

Filter members 

Show inherited

## Constructors

`public GoogleDocsImporter()` [#](#constructor-ctor)

## Methods

`public async Task<GoogleDocsImportResult> ImportAsync(string documentId, GoogleWorkspaceSession session, GoogleDocsImportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-importasync-string-officeimo-googleworkspace-googleworkspacesession-officeimo-word-googledocs-googledocsimportoptions-threading-cancellationtoken)

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**

Returns

`Task<GoogleDocsImportResult>`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:7ABD010E2050247DD1DB34989FCF5C35ED2D1FF84C296B1DBB9C89FC5E034C24 -->
