public class ERPDFWrapper extends ERXDynamicElement implements 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 WOElement |
_component |
log
_children
_ConstructorParameters
Constructor and Description |
---|
ERPDFWrapper(String name,
NSDictionary<String,WOAssociation> associations,
WOElement template) |
Modifier and Type | Method and Description |
---|---|
protected NSData |
appendPDFs(NSData data,
WOContext context)
Appends PDFs that have been denoted by the additionalPDFs binding
to the current PDF data object.
|
void |
appendToResponse(WOResponse response,
WOContext context) |
WOResponse |
generateResponse() |
protected NSData |
responseAsPdf(WOResponse response,
WOContext context) |
afterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBinding
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeAction, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest, toString
protected WOElement _component
public ERPDFWrapper(String name, NSDictionary<String,WOAssociation> associations, WOElement template)
public void appendToResponse(WOResponse response, WOContext context)
appendToResponse
in class com.webobjects.appserver._private.WODynamicGroup
protected NSData responseAsPdf(WOResponse response, WOContext context)
protected NSData appendPDFs(NSData data, WOContext context)
data
- the current PDF data objectcontext
- context of the transactionpublic WOResponse generateResponse()
generateResponse
in interface WOActionResults
Copyright © 2002 – 2024 Project Wonder.