iainbrighton / PScribo

PowerShell documentation framework
MIT License
231 stars 35 forks source link

Feature request: PDF plugin #11

Open csandfeld opened 8 years ago

csandfeld commented 8 years ago

Feature request: A plugin to generate PDF docs. Might utilize the PDFSharp library. Tobias Weltner has done some work with PowerShell and PDFSharp that might be a good startingpoint.

Would be very useful for a project I may be doing, generating test reports for GxP systems and uploading to a document store. Apparently FDA like PDF docs better than Word docs.

iainbrighton commented 8 years ago

@csandfeld Yeah - you're not the first to ask for this!

Off topic

I'm thinking about splitting the "plugins" into different modules. This will make it easier for different plugins to support different output options in a native PowerShell fashion. However, it would mean having separate Export-PScriboWordDocument and Export-HtmlDocument (or similar) cmdlets if you wanted to export to multiple formats.

With (One)PowerShellGet it'll be easy to get the prereqs as PScribo would be a dependency. You would still, however, need to run something like this Install-Module PScriboHtml, PScribo.Word, PScribo-PDF to then get everything needed.

Thoughts? It might be worth it's own thread?