Output

Output class

Represents a collection of output elements for IWebDocument.

add

NameDescription
add(String, String, TContextObject)Adds an output element for the context object.

Parameters:

NameTypeDescription
pathStringOutput path.
templateKeyStringThe key of the template used for context object transformation before output.
contextObjectTContextObjectContext object.

Result: OutputFile


add

NameDescription
add(String, PPImage)Adds an output element for the image.

Parameters:

NameTypeDescription
pathStringOutput path.
imagePPImageImage to output.

Result: OutputFile


add

NameDescription
add(String, BufferedImage)Adds an output element for the image.

Parameters:

NameTypeDescription
pathStringOutput path.
imageBufferedImageImage to output.

Result: OutputFile


add

NameDescription
add(String, Video)Adds an output element for the video.

Parameters:

NameTypeDescription
pathStringOutput path.
videoVideoVideo to output.

Result: OutputFile


add

NameDescription
add(String, FontData, int)Adds an output element for the font.

Parameters:

NameTypeDescription
pathStringOutput path.
fontDataFontDataFont to output.
fontStyleintFont style.

Result: OutputFile


add

NameDescription
add(String, String)Adds an output element for the text content.

Parameters:

NameTypeDescription
pathStringOutput path.
textContentStringContent to output.

Result: OutputFile


getResourcePath

NameDescription
getResourcePath(Object)Returns the path for a given resource.

Parameters:

NameTypeDescription
objObjectResource object.

Result: String