OfficeIMO.Word.GoogleDocs
3.4.5
Prefix Reserved
dotnet add package OfficeIMO.Word.GoogleDocs --version 3.4.5
NuGet\Install-Package OfficeIMO.Word.GoogleDocs -Version 3.4.5
<PackageReference Include="OfficeIMO.Word.GoogleDocs" Version="3.4.5" />
<PackageVersion Include="OfficeIMO.Word.GoogleDocs" Version="3.4.5" />
<PackageReference Include="OfficeIMO.Word.GoogleDocs" />
paket add OfficeIMO.Word.GoogleDocs --version 3.4.5
#r "nuget: OfficeIMO.Word.GoogleDocs, 3.4.5"
#:package OfficeIMO.Word.GoogleDocs@3.4.5
#addin nuget:?package=OfficeIMO.Word.GoogleDocs&version=3.4.5
#tool nuget:?package=OfficeIMO.Word.GoogleDocs&version=3.4.5
OfficeIMO.Word.GoogleDocs - Word and Google Docs translation
OfficeIMO.Word.GoogleDocs provides bidirectional Word and Google Docs translation with tab-aware authoring, revision-guarded replacement, fidelity preflight, native import, and Drive DOCX fallback.
Install
dotnet add package OfficeIMO.Word.GoogleDocs
Quick start
using OfficeIMO.GoogleWorkspace;
using OfficeIMO.Word;
using OfficeIMO.Word.GoogleDocs;
using var document = WordDocument.Create("proposal.docx");
document.AddParagraph("Quarterly business review").SetStyle(WordParagraphStyles.Heading1);
document.AddParagraph("Highlights and next steps.");
var receipts = new List<GoogleWorkspaceOperationReceipt>();
var sessionOptions = new GoogleWorkspaceSessionOptions {
ExpectedAccount = "service-account@project.iam.gserviceaccount.com",
DefaultFolderId = "documents-folder-id",
OperationReceiptSink = receipts.Add,
};
sessionOptions.OperationPolicyProvider = context => new GoogleWorkspaceOperationPolicy(
sessionOptions.ExpectedAccount!, context.RequiredScopes, context.Target,
context.RevisionPreconditionKind switch {
GoogleWorkspaceRevisionPreconditionKind.ResourceAbsentCreate => GoogleWorkspaceOperationPolicy.ResourceAbsentForCreateRevision,
GoogleWorkspaceRevisionPreconditionKind.PayloadRevision => context.AdapterExpectedRevision!,
GoogleWorkspaceRevisionPreconditionKind.ResumableSessionState => context.AdapterExpectedRevision!,
GoogleWorkspaceRevisionPreconditionKind.Unavailable => GoogleWorkspaceOperationPolicy.ExplicitlyUnversionedRevision("API exposes no conditional revision"),
_ => "\"observed-google-etag\"",
}, context.MaxRetryCount, context.MaxRetryElapsedTime, context.RateLimitPolicy,
GoogleWorkspaceDataLossDecision.RejectPotentialLoss);
var session = new GoogleWorkspaceSession(
GoogleServiceAccountCredentialSource.FromFile("service-account.json", sessionOptions),
sessionOptions);
var options = new GoogleDocsSaveOptions {
Title = "Quarterly business review"
};
var plan = document.BuildGoogleDocsPlan(options);
var result = await document.ExportToGoogleDocsAsync(session, options);
Console.WriteLine(result.DocumentId);
Console.WriteLine(result.WebViewLink);
What it does
- Builds a translation plan before network export.
- Exports to a new Google Docs document or replaces an existing document through
Location.ExistingFileId. - Imports through native Docs resources or Drive-exported DOCX.
- Handles document tabs explicitly and requires observed revision evidence before replacing an existing document.
- Replaces selected/all tab bodies and stale headers, footers, named ranges, and related segments according to the chosen reset policy.
- Executes comments through Drive and renderer-owned flatten/rasterize fallbacks where configured.
- Uses session-level default Drive and folder placement.
- Preserves retry, warning, and failure detail through
TranslationReport. - Throws Google Workspace export exceptions that retain failure category and diagnostics.
Boundaries
- Word document modeling belongs in
OfficeIMO.Word. - Credentials, sessions, retry, Drive placement, and report primitives belong in
OfficeIMO.GoogleWorkspace. - This package owns Word/Google Docs mapping, import, safe replacement, and format-specific diff planning.
Targets and license
- Targets:
netstandard2.0,net8.0,net10.0, plusnet472on Windows. - License: MIT.
- Repository: EvotecIT/OfficeIMO
Dependency footprint
- External:
System.Text.Jsonplus platform HTTP/cryptography throughOfficeIMO.GoogleWorkspace; no Google client SDK. - OfficeIMO:
OfficeIMO.WordandOfficeIMO.GoogleWorkspaceown the document model, session, translation plan, and reports.
See the complete OfficeIMO package map for related formats and conversion paths.
Generated capability summary
This table is generated from the package-neutral OfficeIMO operation catalog. The detailed source contracts remain authoritative for feature-level behavior and limitations.
| Operation | Supported | Partial | Preserved | Rejected | Unsupported | Not applicable |
|---|---|---|---|---|---|---|
| Convert | 2 | 0 | 0 | 0 | 0 | 0 |
The complete rows for OfficeIMO.Word.GoogleDocs are published in the generated operation contract.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- OfficeIMO.Core (>= 3.4.5)
- OfficeIMO.GoogleWorkspace (>= 3.4.5)
- OfficeIMO.GoogleWorkspace.Drive (>= 3.4.5)
- OfficeIMO.Word (>= 3.4.5)
- System.Text.Json (>= 10.0.7 && < 11.0.0)
-
.NETStandard 2.0
- OfficeIMO.Core (>= 3.4.5)
- OfficeIMO.GoogleWorkspace (>= 3.4.5)
- OfficeIMO.GoogleWorkspace.Drive (>= 3.4.5)
- OfficeIMO.Word (>= 3.4.5)
- System.Text.Json (>= 10.0.7 && < 11.0.0)
-
net10.0
- OfficeIMO.Core (>= 3.4.5)
- OfficeIMO.GoogleWorkspace (>= 3.4.5)
- OfficeIMO.GoogleWorkspace.Drive (>= 3.4.5)
- OfficeIMO.Word (>= 3.4.5)
-
net8.0
- OfficeIMO.Core (>= 3.4.5)
- OfficeIMO.GoogleWorkspace (>= 3.4.5)
- OfficeIMO.GoogleWorkspace.Drive (>= 3.4.5)
- OfficeIMO.Word (>= 3.4.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.4.5 | 378 | 10/10/2026 |
| 3.4.4 | 248 | 9/27/2026 |
| 3.4.3 | 250 | 9/12/2026 |
| 3.4.2 | 169 | 9/9/2026 |
| 3.4.1 | 186 | 9/7/2026 |
| 3.4.0 | 131 | 9/6/2026 |
| 3.3.0 | 132 | 9/2/2026 |
| 3.2.7 | 126 | 8/29/2026 |
| 3.2.6 | 206 | 8/22/2026 |
| 3.2.5 | 210 | 8/21/2026 |
| 3.2.4 | 203 | 8/19/2026 |
| 3.2.3 | 124 | 8/17/2026 |
| 3.2.2 | 325 | 8/13/2026 |
| 3.2.1 | 258 | 8/11/2026 |
| 3.2.0 | 407 | 8/7/2026 |
| 3.1.1 | 154 | 8/7/2026 |
| 3.1.0 | 116 | 8/6/2026 |
| 3.0.3 | 140 | 7/27/2026 |
| 3.0.2 | 126 | 7/26/2026 |
| 3.0.1 | 468 | 7/26/2026 |