# GoogleSheetsExporter

Default Excel to Google Sheets exporter implementation.

Class 

`OfficeIMO.Excel.GoogleSheets`

**Namespace**

`OfficeIMO.Excel.GoogleSheets`

**Assembly**

`OfficeIMO.Excel.GoogleSheets`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleSheetsExporter.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsExporter.cs#L11)

**Implements**

`IGoogleSheetsExporter`

**Modifiers**

sealed

Default Excel to Google Sheets exporter implementation.

## Inheritance

- object
- GoogleSheetsExporter

Filter members 

Show inherited

## Constructors

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

## Methods

`public GoogleSheetsBatch BuildBatch(ExcelDocument document, GoogleSheetsSaveOptions? options = null)` [#](#method-buildbatch-officeimo-excel-exceldocument-officeimo-excel-googlesheets-googlesheetssaveoptions)

[GoogleSheetsExporter.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsExporter.cs#L17)

Compiles source content into provider-neutral Sheets requests without contacting Google.

Parameters

**document OfficeIMO.Excel.ExcelDocument required**

**options OfficeIMO.Excel.GoogleSheets.GoogleSheetsSaveOptions? = null optional**

Returns

`GoogleSheetsBatch`

`public GoogleSheetsTranslationPlan BuildPlan(ExcelDocument document, GoogleSheetsSaveOptions? options = null)` [#](#method-buildplan-officeimo-excel-exceldocument-officeimo-excel-googlesheets-googlesheetssaveoptions)

[GoogleSheetsExporter.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsExporter.cs#L11)

Inspects source features and fidelity risks without contacting Google.

Parameters

**document OfficeIMO.Excel.ExcelDocument required**

**options OfficeIMO.Excel.GoogleSheets.GoogleSheetsSaveOptions? = null optional**

Returns

`GoogleSheetsTranslationPlan`

`public async Task<GoogleSpreadsheetReference> ExportAsync(ExcelDocument document, GoogleWorkspaceSession session, GoogleSheetsSaveOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-exportasync-officeimo-excel-exceldocument-officeimo-googleworkspace-googleworkspacesession-officeimo-excel-googlesheets-googlesheetssaveoptions-threading-cancellationtoken)

Creates or replaces a Google spreadsheet after fidelity and replacement preflight.

Parameters

**document OfficeIMO.Excel.ExcelDocument required**

**session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required**

**options OfficeIMO.Excel.GoogleSheets.GoogleSheetsSaveOptions? = null optional**

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

Returns

`Task<GoogleSpreadsheetReference>`

## 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:C6D00865E93479A0BFA6A499656B392D4F2A1602E15E3A974D9FFFC5F6ED41C6 -->
