Serialize.OpenXml.CodeGen
0.4.0-beta
See the version list below for details.
dotnet add package Serialize.OpenXml.CodeGen --version 0.4.0-beta
NuGet\Install-Package Serialize.OpenXml.CodeGen -Version 0.4.0-beta
<PackageReference Include="Serialize.OpenXml.CodeGen" Version="0.4.0-beta" />
paket add Serialize.OpenXml.CodeGen --version 0.4.0-beta
#r "nuget: Serialize.OpenXml.CodeGen, 0.4.0-beta"
// Install Serialize.OpenXml.CodeGen as a Cake Addin #addin nuget:?package=Serialize.OpenXml.CodeGen&version=0.4.0-beta&prerelease // Install Serialize.OpenXml.CodeGen as a Cake Tool #tool nuget:?package=Serialize.OpenXml.CodeGen&version=0.4.0-beta&prerelease
.NET assembly class responsible for converting OpenXml based documents into corrisponding dotnet code
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. |
.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. |
-
.NETStandard 2.0
- DocumentFormat.OpenXml (>= 2.13.0)
- System.CodeDom (>= 5.0.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.5.0-beta | 609 | 5/30/2022 |
0.4.2-beta | 676 | 11/22/2021 |
0.4.1-beta | 259 | 8/8/2021 |
0.4.0-beta | 195 | 8/2/2021 |
0.3.2-alpha | 361 | 7/30/2020 |
0.3.1-alpha | 380 | 7/25/2020 |
0.3.0-alpha | 245 | 7/20/2020 |
0.2.1-alpha | 305 | 7/3/2020 |
0.2.0-alpha | 287 | 6/27/2020 |
0.1.0-alpha | 272 | 6/24/2020 |
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [0.4.0-beta] - TBD
### Added
- New `ISerializeSettings` interface to allow greater flexibility in the source code generation.
- New `IOpenXmlHandler` interface that allow developers to control how source code is created.
### Changed
- Change visibility of many of the static method helpers so developers can use them in their custom
code generation.
- Update DocumentFormat.OpenXml reference to 2.13.0.
### Fixed
- Make sure that the return type of generated element methods include the namespace alias if
needed.
- Choose between the default method or contentType parameter method for the custom OpenXmlPart.AddNewPart
methods (ex: pkg.AddExtendedFilePropertiesPart() or mainDocumentPart.AddImagePart("image/x-emf"))
## [0.3.2-alpha] - 2020-07-30
### Changed
- Updated process to account for more OpenXmlPart classes that may require custom AddNewPart methods
to initialize.
- Changed the `CreatePackage` method to take in a `String` parameter for the full file path of the target file
instead of a `Stream` when generating code for `OpenXmlPackage` objects. This was to avoid using a C# `ref`
parameter that made using the generated code in a C# project more difficult to use.
### Fixed
- TargetInvocationException/FormatException when trying to parse a value that is not valid for
`OpenXmlSimpleType` derived types being evaluated. [See this](https://github.com/OfficeDev/Open-XML-SDK/issues/780)
for more details.
- When encountering OpenXmlUnknownElement objects, make sure to initialize them with the appropriate `ctor` method.
- Correct the initialization parameters for the generated `AddExternalRelationship` method.
- Issue where AddPart methods for OpenXmlPart paths that have already been visited are generated on variables
that do not exist.
## [0.3.1-alpha] - 2020-07-25
### Fixed
- TargetInvocationException/FormatException when trying to parse a value that is not valid for
the `EnumValue` type being evaluated. [See this](https://github.com/OfficeDev/Open-XML-SDK/issues/780)
for more details.
## [0.3.0-alpha] - 2020-07-20
### Changed
- Update DocumentFormat.OpenXml reference to 2.11.3.
### Fixed
- Ambiguous Match Exception occuring when trying to identify parts that need to use the
`AddImagePart` initialization method.
## [0.2.1-alpha] - 2020-07-03
### Changed
- Change the parameters for all of the methods to `ref` parameters. This changes the generated
VB code to create `byref` parameters instead of `byval` ones.
## [0.2.0-alpha] - 2020-06-27
### Added
- Added documentation output
### Changed
- Use the alias `AP` for DocumentFormat.OpenXml.ExtendedProperties namespace objects
- Use the `AddImagePart` method for initializing `ImagePart` objects.
- Included the content type parameter for the `AddNewPart` method for `EmbeddedPackagePart` objects.
## [0.1.0-alpha] - 2020-06-24
### Added
- Added initial project to convert OpenXml SDK based documents to source code files.