# GoogleDocsExporter

Default Word to Google Docs exporter implementation.

Class 

`OfficeIMO.Word.GoogleDocs`

**Namespace**

`OfficeIMO.Word.GoogleDocs`

**Assembly**

`OfficeIMO.Word.GoogleDocs`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleDocsExporter.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsExporter.cs#L18)

**Implements**

`IGoogleDocsExporter`

**Modifiers**

sealed

Default Word to Google Docs exporter implementation.

## Inheritance

- object
- GoogleDocsExporter

Filter members 

Show inherited

## Constructors

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

## Methods

`public GoogleDocsBatch BuildBatch(WordDocument document, GoogleDocsSaveOptions? options = null)` [#](#method-buildbatch-officeimo-word-worddocument-officeimo-word-googledocs-googledocssaveoptions)

[GoogleDocsExporter.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsExporter.cs#L24)

Compiles a Word snapshot into provider-neutral Docs requests without contacting Google.

Parameters

**document OfficeIMO.Word.WordDocument required**

**options OfficeIMO.Word.GoogleDocs.GoogleDocsSaveOptions? = null optional**

Returns

`GoogleDocsBatch`

`public GoogleDocsTranslationPlan BuildPlan(WordDocument document, GoogleDocsSaveOptions? options = null)` [#](#method-buildplan-officeimo-word-worddocument-officeimo-word-googledocs-googledocssaveoptions)

[GoogleDocsExporter.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsExporter.cs#L18)

Inspects source features and fidelity risks without contacting Google.

Parameters

**document OfficeIMO.Word.WordDocument required**

**options OfficeIMO.Word.GoogleDocs.GoogleDocsSaveOptions? = null optional**

Returns

`GoogleDocsTranslationPlan`

`public async Task<GoogleDocumentReference> ExportAsync(WordDocument document, GoogleWorkspaceSession session, GoogleDocsSaveOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-exportasync-officeimo-word-worddocument-officeimo-googleworkspace-googleworkspacesession-officeimo-word-googledocs-googledocssaveoptions-threading-cancellationtoken)

Creates or replaces a Google document after fidelity and revision preflight.

Parameters

**document OfficeIMO.Word.WordDocument required**

**session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required**

**options OfficeIMO.Word.GoogleDocs.GoogleDocsSaveOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<GoogleDocumentReference>`

## 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:65348CEB46F26D757F9974443A86770BF93EA3303174691292717E50140D12F2 -->
