GroupDocs.Editor
24.8.0
dotnet add package GroupDocs.Editor --version 24.8.0
NuGet\Install-Package GroupDocs.Editor -Version 24.8.0
<PackageReference Include="GroupDocs.Editor" Version="24.8.0" />
paket add GroupDocs.Editor --version 24.8.0
#r "nuget: GroupDocs.Editor, 24.8.0"
// Install GroupDocs.Editor as a Cake Addin #addin nuget:?package=GroupDocs.Editor&version=24.8.0 // Install GroupDocs.Editor as a Cake Tool #tool nuget:?package=GroupDocs.Editor&version=24.8.0
Document Editor .NET API
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
It is a .NET API that enhances your apps to perform document, spreadsheets, DSV & XML files editing operations for a wide range of file formats.
What's New in v.24.8.0
New Features and Enhancements:
- Refactored Document Format Class: Introduced improvements to the
Formats.IDocumentFormat
class to resolve issues encountered in Node.js environments. This refactor enhances compatibility and stability when using GroupDocs.Editor across different platforms, particularly in web-based applications (EDITORNET-2823). - Flexible Editor Constructors: Added new constructors for the
Editor
class, providing developers with more options when initializing the Editor instance. These constructors allow for better customization and flexibility in document editing workflows:Editor(DocumentFormatBase)
: Create a new empty document based on a specified format.Editor(Stream)
: Initialize an Editor instance using a document from a stream.Editor(Stream, ILoadOptions)
: Initialize an Editor instance with stream input and specific load options.Editor(string, ILoadOptions)
: Initialize an Editor instance using a file path and load options.
Deprecation of Obsolete Constructors:
- The following constructors have been marked as obsolete and will be removed in future releases to streamline the API:
Editor(Func<Stream>)
Editor(Func<Stream>, Func<ILoadOptions>)
Editor(string, Func<ILoadOptions>)
Bug Fixes:
- HTML Document Background Color Issue: Fixed a critical bug where an exception was thrown when saving an edited HTML document that had a background color applied to the text. This fix ensures that HTML documents with customized styles are saved correctly without errors (EDITORNET-2819).
Public API Changes:
- The newly added constructors provide more robust options for document creation and editing, offering greater control over how documents are loaded and processed within the GroupDocs.Editor environment.
For a complete list of features, enhancements, and bug fixes in this release please visit, GroupDocs.Editor for .NET 24.8 Release Notes.
Document Editor Processing Features
- Edit word processing documents in a flow or paged mode.
- Fetch language information for multi-lingual document editing.
- Extract font information to provide consistent editing and appearance behavior.
- Edit multi-tabbed spreadsheets.
- Supports DSV (Delimiter-Separated Values) documents.
- Specify separator, flexible numeric, and data conversion for CSV & TSV files.
- Availability of memory usage optimization for large CSV & TSV files.
- Fix incorrect XML document structure.
- Recognize URIs and email addresses in XML files.
- Extract basic information about the edited document.
- Set character encoding of the input text document.
- Grab document metadata information.
- Fetch whole HTML document or BODY content.
- Get an HTML document along with all its resources (stylesheets, images).
- Open any supported format file in HTML format and save it to disk.
- Fetch HTML markup from DB or remote storage.
Supported File Formats for Editing
Document Processing: DOC, DOCX, DOCM, DOT, DOTM, DOTX, FlatOPC, ODT, OTT, RTF, WordML
Spreadsheet: XLS, XLT, XLSX, XLSM, XLTX, XLTM, XLSB, XLAM, SXC, SpreadsheetML, ODS, FODS, DIF, DSV, CSV, TSV
Presentation: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POT, POTX, POTM, ODP, OTP
Other: TXT, HTML, XML
Supported Formats for Auto-detection
Document Processing: DOC, DOCX, DOCM, DOT, DOTM, DOTX, ODT, OTT, RTF
Spreadsheet: XLS, XLT, XLSX, XLSM, XLTX, XLTM, XLSB, XLAM, SXC, SpreadsheetML, ODS, FODS, DIF
Presentation: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POT, POTX, POTM, ODP, OTP
Platform Independence
GroupDocs.Editor for .NET does not require any external software or third-party tool to be installed. GroupDocs.Editor for .NET supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed. The other details are as follows:\
Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure
Mac OS: Mac OS X
Linux: Linux (Ubuntu, OpenSUSE, CentOS, and others)
Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later.
Supported Frameworks: GroupDocs.Conversion for .NET supports .NET and Mono frameworks.
Get Started
Are you ready to give GroupDocs.Editor for .NET a try? Simply execute Install-Package GroupDocs.Editor
from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Editor assembly in your project. If you already have GroupDocs.Editor for .Net and want to upgrade it, please execute Update-Package GroupDocs.Editor
to get the latest version.
Please check the GitHub Repository for other common usage scenarios.
Load, Edit & Save Multi-tab Spreadsheet via C# Code
//1. Get a path to the input file (or stream with file content).
//In this case it is sample XLSX (OOXML) with two tabs.
string inputFilePath = Constants.SAMPLE_XLSX;
//2. Load it into Editor instance from stream
using(FileStream inputStream = File.OpenRead(inputFilePath)) {
using(Editor editor = new Editor(delegate {
return inputStream;
}, delegate {
return new SpreadsheetLoadOptions();
})) {
//3. Let's create an intermediate EditableDocument from 1st tab
SpreadsheetEditOptions editOptions1 = new SpreadsheetEditOptions();
editOptions1.WorksheetIndex = 0; //index is 0-based
EditableDocument firstTabBeforeEdit = editor.Edit(editOptions1);
//4. Let's create an intermediate EditableDocument from 2nd tab
SpreadsheetEditOptions editOptions2 = new SpreadsheetEditOptions();
editOptions2.WorksheetIndex = 1; //index is 0-based
EditableDocument secondTabBeforeEdit = editor.Edit(editOptions2);
//5. Save first tab from EditableDocument #1 to separate document
SpreadsheetSaveOptions saveOptions1 = new SpreadsheetSaveOptions(SpreadsheetFormats.Xlsm);
string outputFilename1 = Path.GetFileNameWithoutExtension(inputFilePath) + "_tab1.xlsm";
string outputPath1 = Path.Combine(Constants.GetOutputDirectoryPath(), outputFilename1);
editor.Save(firstTabBeforeEdit, outputPath1, saveOptions1);
//6. Save the second tab from EditableDocument #2 to separate document
SpreadsheetSaveOptions saveOptions2 = new SpreadsheetSaveOptions(SpreadsheetFormats.Xlsb);
string outputFilename2 = Path.GetFileNameWithoutExtension(inputFilePath) + "_tab2.xlsb";
string outputPath2 = Path.Combine(Constants.GetOutputDirectoryPath(), outputFilename2);
editor.Save(secondTabBeforeEdit, outputPath2, saveOptions2);
//7. Dispose both EditableDocument instances
firstTabBeforeEdit.Dispose();
secondTabBeforeEdit.Dispose();
}
}
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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. |
.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 is compatible. 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. |
-
.NETFramework 4.6.2
- No dependencies.
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.1)
- SkiaSharp (>= 2.88.6)
- System.Drawing.Common (>= 5.0.3)
- System.Reflection.Emit (>= 4.3.0)
- System.Reflection.Emit.ILGeneration (>= 4.3.0)
- System.Security.Cryptography.Pkcs (>= 7.0.3)
- System.Text.Encoding.CodePages (>= 7.0.0)
-
net6.0
- GroupDocs.CrossPlatform.NativeAssets (>= 24.3.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.1)
- SkiaSharp (>= 2.88.6)
- System.Reflection.Emit (>= 4.3.0)
- System.Reflection.Emit.ILGeneration (>= 4.3.0)
- System.Security.Cryptography.Pkcs (>= 7.0.3)
- System.Text.Encoding.CodePages (>= 7.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on GroupDocs.Editor:
Package | Downloads |
---|---|
GroupDocs.Editor.UI.Api
GroupDocs.Editor.UI.Api containing base API features required by GroupDocs.Editor.UI see https://github.com/groupdocs-editor/GroupDocs.Editor-for-.NET-UI for more details. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.8.0 | 966 | 8/12/2024 |
24.6.0 | 1,160 | 6/17/2024 |
24.5.0 | 780 | 5/16/2024 |
24.2.0 | 2,598 | 2/28/2024 |
23.12.0 | 4,433 | 12/14/2023 |
23.9.0 | 2,187 | 9/28/2023 |
23.8.0 | 3,168 | 8/15/2023 |
23.5.0 | 3,944 | 5/31/2023 |
23.4.0 | 1,755 | 4/28/2023 |
23.2.0 | 3,275 | 2/28/2023 |
22.12.0 | 1,530 | 12/20/2022 |
22.11.0 | 1,248 | 12/1/2022 |
22.9.0 | 1,426 | 9/30/2022 |
22.7.0 | 2,879 | 7/29/2022 |
21.10.0 | 28,185 | 10/18/2021 |
21.6.0 | 18,378 | 6/30/2021 |
21.4.0 | 6,806 | 5/3/2021 |
21.3.0 | 25,279 | 3/22/2021 |
21.1.1 | 22,640 | 1/31/2021 |
21.1.0 | 735 | 1/31/2021 |
20.12.0 | 29,628 | 12/20/2020 |
20.11.0 | 706 | 11/30/2020 |
20.10.0 | 21,097 | 10/30/2020 |
20.9.0 | 16,493 | 10/1/2020 |
20.8.0 | 16,824 | 8/31/2020 |
20.7.0 | 16,778 | 7/31/2020 |
20.6.0 | 42,509 | 7/1/2020 |
20.5.0 | 31,891 | 5/29/2020 |
20.4.0 | 29,304 | 4/30/2020 |
20.3.0 | 16,657 | 3/31/2020 |
20.2.0 | 44,954 | 2/27/2020 |
20.1.0 | 835 | 2/3/2020 |
19.12.0 | 28,465 | 12/30/2019 |
19.11.0 | 27,049 | 11/29/2019 |
19.10.2 | 762 | 11/6/2019 |
19.10.1 | 713 | 10/29/2019 |
19.10.0 | 671 | 10/28/2019 |
19.9.0 | 731 | 9/10/2019 |
19.5.0 | 2,330 | 6/10/2019 |
19.4.0 | 695 | 4/25/2019 |
19.3.0 | 747 | 3/7/2019 |
18.12.0 | 834 | 12/28/2018 |
18.9.0 | 946 | 9/7/2018 |
18.6.0 | 1,124 | 6/14/2018 |
17.9.0 | 1,283 | 9/19/2017 |