HiraokaHyperTools / PDFsharp

Just xps2pdf
MIT License
16 stars 5 forks source link

Refactor XpsConverter.Convert methods #11

Closed timothylcooke closed 4 years ago

timothylcooke commented 4 years ago

I refactored XpsConverter.Convert methods so that they use a new common Convert API for the main portion. This new API can be used generically to merge specific pages (potentially from multiple XPS documents) into a single PDF document. It provides a lot more freedom in which pages to print from which documents without having to generate a brand new XPS document for the sole purposes of converting it to PDF.

kenjiuno commented 4 years ago

@timothylcooke Thanks I'll check this!

kenjiuno commented 4 years ago

@timothylcooke I have merged your changes with some tests. New version is available now: https://www.nuget.org/packages/kenjiuno.PdfSharp.Xps/1.1.5

timothylcooke commented 4 years ago

@kenjiuno Impressive turnaround time! Thanks for the hard work!