# PowerPointGoogleSlidesExtensions

Convenience entry points for Slides planning, export, and import.

Class 

`OfficeIMO.PowerPoint.GoogleSlides`

**Namespace**

`OfficeIMO.PowerPoint.GoogleSlides`

**Assembly**

`OfficeIMO.PowerPoint.GoogleSlides`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[PowerPointGoogleSlidesExtensions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.PowerPoint.GoogleSlides/PowerPointGoogleSlidesExtensions.cs#L9)

**Modifiers**

static

Convenience entry points for Slides planning, export, and import.

## Inheritance

- object
- PowerPointGoogleSlidesExtensions

Filter members 

Show inherited

## Methods

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

[PowerPointGoogleSlidesExtensions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.PowerPoint.GoogleSlides/PowerPointGoogleSlidesExtensions.cs#L11)

Prepares an export batch, rendering complex-slide images locally when selected.

Parameters

**presentation OfficeIMO.PowerPoint.PowerPointDocument required**

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

Returns

`GoogleSlidesBatch`

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

[PowerPointGoogleSlidesExtensions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.PowerPoint.GoogleSlides/PowerPointGoogleSlidesExtensions.cs#L9)

Reports presentation export choices without rendering whole-slide fallback images or contacting Google.

Parameters

**presentation OfficeIMO.PowerPoint.PowerPointDocument required**

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

Returns

`GoogleSlidesTranslationPlan`

`public static Task<GooglePresentationReference> ExportToGoogleSlidesAsync(PowerPointDocument presentation, GoogleWorkspaceSession session, GoogleSlidesSaveOptions? options = null, CancellationToken cancellationToken = default)` [#](#member-ea422828647c33ec7cd9bda7)

[PowerPointGoogleSlidesExtensions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.PowerPoint.GoogleSlides/PowerPointGoogleSlidesExtensions.cs#L14)

Creates or replaces a Google presentation using the supplied session.

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

`public static Task<GoogleSlidesImportResult> ImportGoogleSlidesAsync(GoogleWorkspaceSession session, string presentationId, GoogleSlidesImportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-importgoogleslidesasync-officeimo-googleworkspace-googleworkspacesession-string-officeimo-powerpoint-googleslides-googleslidesimportoptions-threading-cancellationtoken)

[PowerPointGoogleSlidesExtensions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.PowerPoint.GoogleSlides/PowerPointGoogleSlidesExtensions.cs#L17)

Imports a Google presentation and returns a caller-owned OfficeIMO presentation.

Parameters

**session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required**

**presentationId string required**

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

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

Returns

`Task<GoogleSlidesImportResult>`

## 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:5257C0A57AB19C85EDC1CAFAADCCD000948333A9641A9DF54F72A98E8EC512D6 -->
