Class
GoogleDocsDiffPlanner
OfficeIMO.Word.GoogleDocs
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
- documentId string
- session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession
- checkpoint OfficeIMO.Word.GoogleDocs.GoogleDocsSyncCheckpoint? = null
- cancellationToken System.Threading.CancellationToken = default
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
- revisionId string? = null
- driveVersion long? = null
Returns
GoogleDocsSyncCheckpoint