# IGoogleSheetsExporter

Planning, compilation, and export contract for Excel to Google Sheets implementations.

Interface 

`OfficeIMO.Excel.GoogleSheets`

**Namespace**

`OfficeIMO.Excel.GoogleSheets`

**Assembly**

`OfficeIMO.Excel.GoogleSheets`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[IGoogleSheetsExporter.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/IGoogleSheetsExporter.cs#L5)

**Modifiers**

abstract

Planning, compilation, and export contract for Excel to Google Sheets implementations.

Filter members 

Show inherited

## Methods

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

Compiles a workbook into provider-neutral requests without contacting Google.

Parameters

**document OfficeIMO.Excel.ExcelDocument required**

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

Returns

`GoogleSheetsBatch`

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

Reports source features and fidelity risks without contacting Google.

Parameters

**document OfficeIMO.Excel.ExcelDocument required**

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

Returns

`GoogleSheetsTranslationPlan`

`public abstract 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 through the supplied session.

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

<!-- PowerForge markdown artifact sha256:57139AFA5EBBACFA3AE2D902543CE6DBDDD50CCE0AD52CBBC42967EB33605B38 -->
