Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

GoogleDocsDiffPlanner

Namespace OfficeIMO.Word.GoogleDocs
Assembly OfficeIMO.Word.GoogleDocs
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) #
Returns: Task<GoogleDocsDiffPlan>

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

Parameters

source OfficeIMO.Word.WordDocument requiredposition: 0
documentId System.String requiredposition: 1
session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession requiredposition: 2
checkpoint OfficeIMO.Word.GoogleDocs.GoogleDocsSyncCheckpoint = null optionalposition: 3
cancellationToken System.Threading.CancellationToken = default optionalposition: 4
public static GoogleDocsSyncCheckpoint CreateCheckpoint(WordDocument document, String revisionId = null, Nullable<Int64> driveVersion = null) #
Returns: GoogleDocsSyncCheckpoint

Captures source content hashes and optional observed remote revisions.

Parameters

document OfficeIMO.Word.WordDocument requiredposition: 0
revisionId System.String = null optionalposition: 1
driveVersion System.Nullable{System.Int64} = null optionalposition: 2