public class ERPDFWrapper extends ERXDynamicElement implements com.webobjects.appserver.WOActionResults
| Name | Description |
|---|---|
secure | true if HTTPS should be used for unqualified URLs
in the HTML, defaults to the request type |
enabled | true if a PDF should be created instead of HTML
during appendToResponse phase defaults to true |
filename | the filename on the client, defaults to result.pdf |
fonts | (optional) array of font filenames to include for PDF generation |
framework | (optional) framework name where font files are |
additionalPDFs | (optional) array of PDF filenames to append to the generated PDF |
ERXDynamicElement.ContextData<T>| Modifier and Type | Field and Description |
|---|---|
protected com.webobjects.appserver.WOElement |
_component |
log| Constructor and Description |
|---|
ERPDFWrapper(String name,
NSDictionary<String,com.webobjects.appserver.WOAssociation> associations,
com.webobjects.appserver.WOElement template) |
| Modifier and Type | Method and Description |
|---|---|
protected com.webobjects.foundation.NSData |
appendPDFs(com.webobjects.foundation.NSData data,
com.webobjects.appserver.WOContext context)
Appends PDFs that have been denoted by the additionalPDFs binding
to the current PDF data object.
|
void |
appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context) |
com.webobjects.appserver.WOResponse |
generateResponse() |
protected com.webobjects.foundation.NSData |
responseAsPdf(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context) |
afterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBindingpublic ERPDFWrapper(String name, NSDictionary<String,com.webobjects.appserver.WOAssociation> associations, com.webobjects.appserver.WOElement template)
public void appendToResponse(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
appendToResponse in class com.webobjects.appserver._private.WODynamicGroupprotected com.webobjects.foundation.NSData responseAsPdf(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
protected com.webobjects.foundation.NSData appendPDFs(com.webobjects.foundation.NSData data,
com.webobjects.appserver.WOContext context)
data - the current PDF data objectcontext - context of the transactionpublic com.webobjects.appserver.WOResponse generateResponse()
generateResponse in interface com.webobjects.appserver.WOActionResultsCopyright © 2002 – 2020 Project Wonder.