Class DocumentTemplate
java.lang.Object
com.aquima.interactions.test.templates.AbstractReportingTemplate
com.aquima.interactions.test.templates.composer.ContentTemplate
com.aquima.interactions.test.templates.composer.DocumentTemplate
Template that can be used to initialize a document definition.
- Since:
- 6.0
- Author:
- O. Kerpershoek
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DocumentTemplate
(ComposerTemplate composer, String name) Constructs the template with the name of the document.protected
DocumentTemplate
(ComposerTemplate composer, String name, com.aquima.interactions.foundation.report.IInitializationReport report) -
Method Summary
Modifier and TypeMethodDescriptioncom.aquima.interactions.composer.ds.IDocumentDS
This method converts the template to a data source that can be used to initialize a document definition.Methods inherited from class com.aquima.interactions.test.templates.composer.ContentTemplate
addContainer, addContent, addImage, addText, getContents, getContentStyle, getDescription, getName, getPresentationStyle, setContentStyle, setDescription, setPresentationStyle, toDataSource
Methods inherited from class com.aquima.interactions.test.templates.AbstractReportingTemplate
getInitializationReport
-
Constructor Details
-
DocumentTemplate
Constructs the template with the name of the document.- Parameters:
name
- The name of the document.
-
DocumentTemplate
protected DocumentTemplate(ComposerTemplate composer, String name, com.aquima.interactions.foundation.report.IInitializationReport report)
-
-
Method Details
-
toDocumentDS
public com.aquima.interactions.composer.ds.IDocumentDS toDocumentDS()This method converts the template to a data source that can be used to initialize a document definition.- Returns:
- a data source that can be used to initialize a document definition.
-