Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleDocsDiffPlanner

OfficeIMO.Word.GoogleDocs

Namespace
OfficeIMO.Word.GoogleDocs
Assembly
OfficeIMO.Word.GoogleDocs
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

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

Inheritance

  • object
  • GoogleDocsDiffPlanner

Methods

public static async Task<GoogleDocsDiffPlan> BuildAsync(WordDocument source, string documentId, GoogleWorkspaceSession session, GoogleDocsSyncCheckpoint? checkpoint = null, CancellationToken cancellationToken = default) #

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) #

Captures source content hashes and optional observed remote revisions.

Parameters

document OfficeIMO.Word.WordDocument required
revisionId string? = null optional
driveVersion long? = null optional