Skip to content

Commit

Permalink
Update package info
Browse files Browse the repository at this point in the history
  • Loading branch information
Kees van Spelde committed Mar 9, 2024
1 parent fc53c10 commit dffabfc
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions ChromiumHtmlToPdfLib/ChromiumHtmlToPdfLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>4.2.1</Version>
<Version>4.2.2</Version>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Description>ChromiumHtmlToPdf is a 100% managed C# library that can be used to convert HTML to PDF or PNG format with the use of Google Chrome or Microsoft Edge</Description>
<Copyright>(C)2017-2024 Kees van Spelde</Copyright>
<PackageReleaseNotes>- Updated nuget packages
- Removed FileHash package (removed dependency on .net standard 1.6)</PackageReleaseNotes>
<PackageReleaseNotes>Adds option to enable outlines (bookmarks) generation from &lt;h1-6&gt; header tags (same feature exists in wkhtmltopdf).

As this feature was added to chromium just recently, looks like it doesn't work yet in all scenarios and require following configuration:

- Converter.UseOldHeadlessMode must be true
- Page.printToPDF parameter generateDocumentOutline must be true
- Page.printToPDF parameter generateTaggedPDF must be true (as tagged data used for outlines generation). This is enabled by default, but I've added configuration for it to PageSettings anyways
(nor Converter.UseOldHeadlessMode=false nor --generate-pdf-document-outline works with Chromium 122 when used with Page.printToPDF currently)</PackageReleaseNotes>
<PackageProjectUrl>https://github.com/Sicos1977/ChromiumHtmlToPdf</PackageProjectUrl>
<RepositoryUrl>https://github.com/Sicos1977/ChromiumHtmlToPdf</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand All @@ -20,8 +26,8 @@
<Company>Magic-Sessions</Company>
<SignAssembly>False</SignAssembly>
<AssemblyOriginatorKeyFile>ChromiumHtmlToPdf.snk</AssemblyOriginatorKeyFile>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
<FileVersion>4.2.1.0</FileVersion>
<AssemblyVersion>4.2.2.0</AssemblyVersion>
<FileVersion>4.2.2.0</FileVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
Expand Down

0 comments on commit dffabfc

Please sign in to comment.