PowGrade.FileConverters.XlsxToXls
0.1.0
dotnet add package PowGrade.FileConverters.XlsxToXls --version 0.1.0
NuGet\Install-Package PowGrade.FileConverters.XlsxToXls -Version 0.1.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="PowGrade.FileConverters.XlsxToXls" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PowGrade.FileConverters.XlsxToXls" Version="0.1.0" />
<PackageReference Include="PowGrade.FileConverters.XlsxToXls" />
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 PowGrade.FileConverters.XlsxToXls --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PowGrade.FileConverters.XlsxToXls, 0.1.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 PowGrade.FileConverters.XlsxToXls@0.1.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=PowGrade.FileConverters.XlsxToXls&version=0.1.0
#tool nuget:?package=PowGrade.FileConverters.XlsxToXls&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PowGrade.FileConverters.XlsxToXls
XLSX → XLS (BIFF8) 转换库(NuGet 包 README 同步版)。
快速开始
using PowGrade.FileConverters.XlsxToXls;
using var input = File.OpenRead("input.xlsm");
using var output = File.Create("output.xls");
XlsxToXlsConverter.Convert(input, output);
Supported Open XML spreadsheet inputs:
.xlsx,.xlsm,.xltx,.xltm.
当前能力概览
- 工作簿/工作表、共享字符串、定义名称、打印设置、分页与冻结窗格。
- 单元格数据与公式编译(不支持语义会记录日志并回退缓存值)。
- 样式读取:字体/字号/颜色(indexed、rgb、theme)、XF 对齐/保护/旋转、
apply*语义。 - 样式写出:FONT(含颜色索引与 RGB 近似映射)、XF(保护/对齐/缩进/旋转)。
- 超链接、批注、数据验证、条件格式、图表、形状、透视表、工作表保护。
当前主要缺口
- XF 边框/填充位域未完整写出。
- fill/border 颜色链路未完整打通。
- theme tint/shade 尚未实现。
- 复杂公式与高级图表/透视特性仍有兼容边界。
推荐验证
dotnet test PowGrade.FileConverters.XlsxToXls.sln -c Release
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- PowGrade.FileConverters.Core (>= 0.1.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PowGrade.FileConverters.XlsxToXls:
| Package | Downloads |
|---|---|
|
PowGrade.FileConverters.XlsxToXls.Cli
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 138 | 4/30/2026 |