# GoogleSlidesExporter

Converts OfficeIMO presentations into Slides batches and applies them through Google APIs.

Class 

`OfficeIMO.PowerPoint.GoogleSlides`

**Namespace**

`OfficeIMO.PowerPoint.GoogleSlides`

**Assembly**

`OfficeIMO.PowerPoint.GoogleSlides`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleSlidesExporter.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.PowerPoint.GoogleSlides/GoogleSlidesExporter.cs#L15)

**Implements**

`IGoogleSlidesExporter`

**Modifiers**

sealed

Converts OfficeIMO presentations into Slides batches and applies them through Google APIs.

## Inheritance

- object
- GoogleSlidesExporter

Filter members 

Show inherited

## Constructors

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

## Methods

`public GoogleSlidesBatch BuildBatch(PowerPointDocument presentation, GoogleSlidesSaveOptions? options = null)` [#](#method-buildbatch-officeimo-powerpoint-powerpointdocument-officeimo-powerpoint-googleslides-googleslidessaveoptions)

[GoogleSlidesExporter.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.PowerPoint.GoogleSlides/GoogleSlidesExporter.cs#L22)

Prepares a Slides batch, including image bytes for complex-slide raster fallbacks.

Parameters

**presentation OfficeIMO.PowerPoint.PowerPointDocument required**

**options OfficeIMO.PowerPoint.GoogleSlides.GoogleSlidesSaveOptions? = null optional**

Returns

`GoogleSlidesBatch`

`public GoogleSlidesTranslationPlan BuildPlan(PowerPointDocument presentation, GoogleSlidesSaveOptions? options = null)` [#](#method-buildplan-officeimo-powerpoint-powerpointdocument-officeimo-powerpoint-googleslides-googleslidessaveoptions)

[GoogleSlidesExporter.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.PowerPoint.GoogleSlides/GoogleSlidesExporter.cs#L15)

Reports native, rasterized, and unsupported content without contacting Google.

Parameters

**presentation OfficeIMO.PowerPoint.PowerPointDocument required**

**options OfficeIMO.PowerPoint.GoogleSlides.GoogleSlidesSaveOptions? = null optional**

Returns

`GoogleSlidesTranslationPlan`

`public async Task<GooglePresentationReference> ExportAsync(PowerPointDocument presentation, GoogleWorkspaceSession session, GoogleSlidesSaveOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-exportasync-officeimo-powerpoint-powerpointdocument-officeimo-googleworkspace-googleworkspacesession-officeimo-powerpoint-googleslides-googleslidessaveoptions-threading-cancellationtoken)

Creates, copies a template, or replaces a Google presentation and returns its remote reference.

Parameters

**presentation OfficeIMO.PowerPoint.PowerPointDocument required**

**session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required**

**options OfficeIMO.PowerPoint.GoogleSlides.GoogleSlidesSaveOptions? = null optional**

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

Returns

`Task<GooglePresentationReference>`

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