Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

ExcelGoogleSheetsExtensions

Namespace OfficeIMO.Excel.GoogleSheets
Assembly OfficeIMO.Excel.GoogleSheets
Modifiers static

Planning helpers for Excel to Google Sheets translation.

Inheritance

  • Object
  • ExcelGoogleSheetsExtensions

Methods

public static GoogleSheetsBatch BuildGoogleSheetsBatch(ExcelDocument document, GoogleSheetsSaveOptions options = null) #
Returns: GoogleSheetsBatch

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

Parameters

document OfficeIMO.Excel.ExcelDocument requiredposition: 0
options OfficeIMO.Excel.GoogleSheets.GoogleSheetsSaveOptions = null optionalposition: 1
public static GoogleSheetsTranslationPlan BuildGoogleSheetsPlan(ExcelDocument document, GoogleSheetsSaveOptions options = null) #
Returns: GoogleSheetsTranslationPlan

Reports workbook features and fidelity risks without contacting Google.

Parameters

document OfficeIMO.Excel.ExcelDocument requiredposition: 0
options OfficeIMO.Excel.GoogleSheets.GoogleSheetsSaveOptions = null optionalposition: 1
public static Task<GoogleSpreadsheetReference> ExportToGoogleSheetsAsync(ExcelDocument document, GoogleWorkspaceSession session, GoogleSheetsSaveOptions options = null, CancellationToken cancellationToken = default) #
Returns: Task<GoogleSpreadsheetReference>

Creates or replaces a Google spreadsheet using the supplied session.

Parameters

document OfficeIMO.Excel.ExcelDocument requiredposition: 0
session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession requiredposition: 1
options OfficeIMO.Excel.GoogleSheets.GoogleSheetsSaveOptions = null optionalposition: 2
cancellationToken System.Threading.CancellationToken = default optionalposition: 3
public static Task<GoogleSheetsImportResult> ImportGoogleSheetAsync(GoogleWorkspaceSession session, String spreadsheetId, GoogleSheetsImportOptions options = null, CancellationToken cancellationToken = default) #
Returns: Task<GoogleSheetsImportResult>

Imports a Google spreadsheet and returns a caller-owned Excel document.

Parameters

session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession requiredposition: 0
spreadsheetId System.String requiredposition: 1
options OfficeIMO.Excel.GoogleSheets.GoogleSheetsImportOptions = null optionalposition: 2
cancellationToken System.Threading.CancellationToken = default optionalposition: 3