LocalDocumentTemplate represents a XSL or XFD template available locally to the client CPP application.
Ecrion.Ultrascale.CPP.dll will combines XML data with the template and will send the resulting XSL-FO or HTML to the server. The server will process this input and will return back a PDF document (or any other supported output format).
More information about Choosing between Local and Server Templates can be found under the How To... section.
Members/Properties
Name |
Description |
Represents the parameters transmitted to xslt engine. Inherited from Ecrion::Ultrascale::DocumentTemplate. |
|
Specifies the language used for XFD translations. Inherited from Ecrion::Ultrascale::DocumentTemplate. |
Methods
Name |
Description |
Creates a new instance of a server template using a file path. |
|
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. |
|
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. The transformation engine is also specified. |
|
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. The transformation engine and translation language are also specified. |
|
Creates a new instance of a server template using a file path.
LocalDocumentTemplate(Ecrion::String templateFilePath);
Parameters
templateFilePath
The template file used to perform layout.
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters.
LocalDocumentTemplate(Ecrion::String templateFilePath, Ecrion::String parameters);
Parameters
templateFilePath
The template file used to perform layout.
parameters
Pairs of key/values that must be used during the transformation.
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. The transformation engine is also specified.
LocalDocumentTemplate(Ecrion::String templateFilePath, Ecrion::String parameters, Ecrion::Ultrascale::XsltEngine xsltEngine);
Parameters
templateFilePath
The template file used to perform layout.
parameters
Pairs of key/values that must be used during the transformation.
xsltEngine
The XSLT engine that must be used for transformation.
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. The transformation engine and translation language are also specified.
LocalDocumentTemplate(Ecrion::String templateFilePath, Ecrion::String parameters, Ecrion::Ultrascale::XsltEngine xsltEngine, Ecrion::String languageId);
Parameters
templateFilePath
The template file used to perform layout.
parameters
Pairs of key/values that must be used during the transformation.
xsltEngine
The XSLT engine that must be used for transformation.
languageId
When the template is an XFD (XF Designer) layout template, this parameter specifies the language used for translations.
Creates a new instance of a LocalDocumentTemplate using a file path and a set of parameters. The transformation engine and translation language are also specified.
LocalDocumentTemplate(Ecrion::Stream* templateFileStream, Ecrion::String parameters, Ecrion::Ultrascale::XsltEngine xsltEngine, Ecrion::String languageId);
Parameters
templateFileStream
The stream containing the local template.
parameters
Pairs of key/values that must be used during the transformation.
xsltEngine
The XSLT engine that must be used for transformation.
languageId
When the template is an XFD (XF Designer) layout template, this parameter specifies the language used for translations.
The parameters transmitted to XSLT engine. Inherited from Ecrion::Ultrascale::DocumentTemplate
Ecrion::String xsltParameters
Specifies the language used for XFD translations. Inherited from Ecrion::Ultrascale::DocumentTemplate
Ecrion::String languageID