Output
Output class
Represents a collection of output elements for IWebDocument.
add
| Name | Description |
|---|---|
| add (String, String, TContextObject) | Adds an output element for the context object. |
Parameters:
| Name | Type | Description |
|---|---|---|
| path | String | Output path. |
| templateKey | String | The key of the template used for context object transformation before output. |
| contextObject | TContextObject | Context object. |
Returns: OutputFile
add
| Name | Description |
|---|---|
| add (String, PPImage) | Adds an output element for the image. |
Parameters:
| Name | Type | Description |
|---|---|---|
| path | String | Output path. |
| image | PPImage | Image to output. |
Returns: OutputFile
add
| Name | Description |
|---|---|
| add (String, BufferedImage) | Adds an output element for the image. |
Parameters:
| Name | Type | Description |
|---|---|---|
| path | String | Output path. |
| image | BufferedImage | Image to output. |
Returns: OutputFile
add
| Name | Description |
|---|---|
| add (String, IImage) | Adds an output element for the image. |
Parameters:
| Name | Type | Description |
|---|---|---|
| path | String | Output path. |
| image | IImage | Image to output. |
Returns: OutputFile
add
| Name | Description |
|---|---|
| add (String, Video) | Adds an output element for the video. |
Parameters:
| Name | Type | Description |
|---|---|---|
| path | String | Output path. |
| video | Video | Video to output. |
Returns: OutputFile
add
| Name | Description |
|---|---|
| add (String, FontData, int) | Adds an output element for the font. |
Parameters:
| Name | Type | Description |
|---|---|---|
| path | String | Output path. |
| fontData | FontData | Font to output. |
| fontStyle | int | Font style. |
Returns: OutputFile
add
| Name | Description |
|---|---|
| add (String, String) | Adds an output element for the text content. |
Parameters:
| Name | Type | Description |
|---|---|---|
| path | String | Output path. |
| textContent | String | Content to output. |
Returns: OutputFile
bindResource
| Name | Description |
|---|---|
| bindResource (OutputFile, Object) | Binds resource to output file. |
Parameters:
| Name | Type | Description |
|---|---|---|
| outputFile | OutputFile | Output file. |
| obj | Object | Resource object. |
Returns: void
getResourcePath
| Name | Description |
|---|---|
| getResourcePath (Object) | Returns the path for a given resource. |
Parameters:
| Name | Type | Description |
|---|---|---|
| obj | Object | Resource object. |
Returns: String