PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Does PDFSharp supports Content Security Policy
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3691
Page 1 of 1

Author:  smitta [ Thu Nov 16, 2017 8:24 pm ]
Post subject:  Does PDFSharp supports Content Security Policy

Hello,

We are planning to use PDFSharp + MigraDoc to export from HTML / XML to PDF and to create PDF on the fly. CSP compliance is one of the requirement. Can you please let me know whether it supports CSP compliance and can i have more info on it.

Thanks
Sai

Author:  TH-Soft [ Fri Nov 17, 2017 7:41 am ]
Post subject:  Re: Does PDFSharp supports Content Security Policy

Hi!
smitta wrote:
CSP compliance is one of the requirement.
I checked CSP on Wikipedia:
https://en.wikipedia.org/wiki/Content_Security_Policy

I do not see how CSP relates to PDF.
You pass content to MigraDoc and MigraDoc can convert that content to PDF. AIUI you have to apply CSP before passing content to MigraDoc.

Neither PDFsharp nor MigraDoc parse HTML or XML, that will be your job.

Author:  smitta [ Mon Nov 20, 2017 7:13 pm ]
Post subject:  Re: Does PDFSharp supports Content Security Policy

Hello,

Does PDFSharp + MigraDoc supports external stylesheets or does it only supports Inline styles.?

Thanks

Author:  TH-Soft [ Mon Nov 20, 2017 8:52 pm ]
Post subject:  Re: Does PDFSharp supports Content Security Policy

Hi!
smitta wrote:
Does PDFSharp + MigraDoc supports external stylesheets or does it only supports Inline styles?
Which part of "Neither PDFsharp nor MigraDoc parse HTML or XML, that will be your job." didn't you understand?
No HTML, no CSS.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/