Static Public Member Functions | |
| static NSData | htmlAsPdf (String html, String encoding, String urlPrefix, NSDictionary< String, Object > config) |
| static NSData | htmlAsPdf (String content, String encoding, String urlPrefix) |
| static NSData | htmlAsPdf (String content, String encoding) |
| static NSData | htmlAsPdf (String content) |
| static WOActionResults | pageAsPdf (WOElement element, NSDictionary< String, Object > config) |
| static WOActionResults | pageAsPdf (WOElement element) |
Private Member Functions | |
| ERPDFUtilities () | |
| ERPDFUtilities | ( | ) | [private] |
| static NSData htmlAsPdf | ( | String | html, | |
| String | encoding, | |||
| String | urlPrefix, | |||
| NSDictionary< String, Object > | config | |||
| ) | [static] |
Turns a valid XHTML document string and renders it as a PDF document.
| html | a string containing valid XHTML markup | |
| encoding | the encoding type used by the html string | |
| urlPrefix | the URL prefix to prepend to unqualified URLs in the html | |
| config | a dictionary of binding values used to configure the rending engine specified in the "engine" key. See the chosen rendering engine's documentation for available config options. |
Turns a valid XHTML document string and renders it as a PDF document.
| content | a string containing valid XHTML markup | |
| encoding | the encoding type used by the html string | |
| urlPrefix | the URL prefix to prepend to unqualified URLs in the html |
Turns a valid XHTML document string and renders it as a PDF document.
| content | a string containing valid XHTML markup | |
| encoding | the encoding type used by the html string |
| static NSData htmlAsPdf | ( | String | content | ) | [static] |
Turns a valid XHTML document string and renders it as a PDF document.
| content | a string containing valid XHTML markup |
| static WOActionResults pageAsPdf | ( | WOElement | element, | |
| NSDictionary< String, Object > | config | |||
| ) | [static] |
Creates and returns a page component that will render the output of the passed component as a PDF when appendToResponse() is called. Note that the output of the passed component needs to be valid XHTML.
| element | the component you want to render as a PDF | |
| config | a dictionary of binding values to use to configure the PDFWrapper component and subsequent rending engine. See PDFWrapper for details on available bindings. |
| static WOActionResults pageAsPdf | ( | WOElement | element | ) | [static] |
Creates and returns a component that will render the output of the passed wocomponent as a PDF when response generation is invoked. Note that the output of the passed component needs to be valid XHTML.
| element | the component you want to render as a PDF |
1.5.8