# GoogleDocsDiffPlanner

Builds source fingerprints and compares them with native Google Docs content.

Class 

`OfficeIMO.Word.GoogleDocs`

**Namespace**

`OfficeIMO.Word.GoogleDocs`

**Assembly**

`OfficeIMO.Word.GoogleDocs`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleDocsDiffPlan.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsDiffPlan.cs#L67)

**Modifiers**

static

Builds source fingerprints and compares them with native Google Docs content.

## Inheritance

- object
- GoogleDocsDiffPlanner

Filter members 

Show inherited

## Methods

`public static async Task<GoogleDocsDiffPlan> BuildAsync(WordDocument source, string documentId, GoogleWorkspaceSession session, GoogleDocsSyncCheckpoint? checkpoint = null, CancellationToken cancellationToken = default)` [#](#method-buildasync-officeimo-word-worddocument-string-officeimo-googleworkspace-googleworkspacesession-officeimo-word-googledocs-googledocssynccheckpoint-threading-cancellationtoken)

Imports and flattens remote tabs, then compares the result with the source and optional baseline.

Parameters

**source OfficeIMO.Word.WordDocument required**

**documentId string required**

**session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required**

**checkpoint OfficeIMO.Word.GoogleDocs.GoogleDocsSyncCheckpoint? = null optional**

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

Returns

`Task<GoogleDocsDiffPlan>`

`public static GoogleDocsSyncCheckpoint CreateCheckpoint(WordDocument document, string? revisionId = null, long? driveVersion = null)` [#](#method-createcheckpoint-officeimo-word-worddocument-string-nullable-system-int64)

[GoogleDocsDiffPlan.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Word.GoogleDocs/GoogleDocsDiffPlan.cs#L67)

Captures source content hashes and optional observed remote revisions.

Parameters

**document OfficeIMO.Word.WordDocument required**

**revisionId string? = null optional**

**driveVersion long? = null optional**

Returns

`GoogleDocsSyncCheckpoint`

## 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:4E02211DA59115A66D06FAEBED492E6408C8E6FF3DBDC0C4ED16A28993669AFD -->
