Guler.Editor.Premium.Docx
0.2.0-alpha.0
This is a prerelease version of Guler.Editor.Premium.Docx.
dotnet add package Guler.Editor.Premium.Docx --version 0.2.0-alpha.0
NuGet\Install-Package Guler.Editor.Premium.Docx -Version 0.2.0-alpha.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Guler.Editor.Premium.Docx" Version="0.2.0-alpha.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Guler.Editor.Premium.Docx" Version="0.2.0-alpha.0" />
<PackageReference Include="Guler.Editor.Premium.Docx" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Guler.Editor.Premium.Docx --version 0.2.0-alpha.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Guler.Editor.Premium.Docx, 0.2.0-alpha.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Guler.Editor.Premium.Docx@0.2.0-alpha.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Guler.Editor.Premium.Docx&version=0.2.0-alpha.0&prerelease
#tool nuget:?package=Guler.Editor.Premium.Docx&version=0.2.0-alpha.0&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Stylus.Premium.Docx
ProseMirror HTML çıktısını server-side OpenXML pipeline ile .docx dosyasına dönüştüren premium paket. ADR-008 implementasyonu.
⚠️ Ticari lisans gereklidir. Çekirdek Stylus paketleri MIT (ADR-004 kalıcı taahhüt); bu paket ayrı bir lisansla satılır. Trial mode (30 gün) varsayılan; sonrası geçerli
Stylus.Premium.Docxaudience'lı STY1 token zorunludur.
Kullanım
// Program.cs (ASP.NET Core)
builder.Services.AddStylus();
builder.Services.AddStylusPremium(license: builder.Configuration["Stylus:LicenseKey"]);
builder.Services.AddStylusDocxExport();
// Controller / endpoint
public class ExportController(IStylusDocxExporter exporter) : ControllerBase
{
[HttpPost("/api/export/docx")]
public IActionResult Export([FromBody] ExportRequest req)
{
var bytes = exporter.ExportToDocx(req.Html);
return File(bytes,
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"rapor.docx");
}
}
Desteklenen ProseMirror node'ları (alpha)
| Node | Sub-task | Durum |
|---|---|---|
| Paragraph | A | ✅ |
| Heading h1-h6 | A | ✅ |
| Marks: bold, italic, underline, strike, code | A | ✅ |
| Link (anchor) | A | ✅ |
| Bullet list (nested) | B | ⏳ |
| Ordered list (nested) | B | ⏳ |
| Blockquote | B | ⏳ |
| Image (with alt + caption) | B | ⏳ |
| Table (basit) | C | ⏳ |
| Code block | sonra | ⏳ |
Mimari
HTML (ProseMirror çıkışı)
↓ AngleSharp HTML5 parser
DOM tree
↓ NodeRenderer ziyaretçi
OpenXML elementler (DocumentFormat.OpenXml)
↓ WordprocessingDocument.Save
.docx (ZIP)
Tüm pipeline streaming-friendly; >50 MB doc'lar için ExportToDocxAsync(string, Stream) overload'ı kullanın.
Sınırlamalar (alpha)
- Custom font, page setup, header/footer yok (Faz 5)
- Embed (YouTube, Vimeo) → text placeholder (Word embed mümkün değil)
- Track changes / comments yok
- DOCX import yok (sadece export)
İlgili kaynaklar
- ADR-008 DOCX export yaklaşımı:
decisions/ADR-008-docx-export-approach.md - ADR-005 Premium feature scope:
decisions/ADR-005-premium-feature-scope.md
| 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 was computed. 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 was computed. 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- AngleSharp (>= 0.17.1)
- DocumentFormat.OpenXml (>= 3.1.1)
- Guler.Editor.Core (>= 0.2.0-alpha.0)
- Guler.Editor.Licensing (>= 0.2.0-alpha.0)
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 |
|---|---|---|
| 0.2.0-alpha.0 | 78 | 5/1/2026 |