Frameworks
Integrations
Mendix
SharePoint
Default UI
Modular UI
AnnotationManager
Annotation Types
Customize
Version 11
Version 10
v10.12
v10.11
v10.10
v10.9
v10.8
v10.7
v10.6
v10.5
v10.4
v10.3
v10.2
v10.1
v10.0
Version 8
v8.12
v8.11
v8.10
v8.9
v8.8
v8.7
v8.6
v8.5
v8.4
v8.3
v8.2
v8.1
v8.0
Version 7
Version 6
v6.3
v6.2
v6.1
v6.0
Version 5
Version 4
Version 3
Version 2
WebViewer Server
WebViewer BIM
Apryse's office template generation framework enables the dynamic generation of PDFs:
The generation framework requires minimal code to get up and running. Either class applyTemplateValues
to the currently loaded document or pass in templateValues
when calling officeToPDFBuffer
.
Alternatively, without a viewer:
The following are a series of real examples, generated using the code above. For each example, the template source and the json data source are included below, so that you can try them out yourself.
Tags in the template document are replaced with a string from the supplied JSON. To control the style of the text, simply modify the style of the template tag as desired:
Text reflows according to the rules set in the original template file, and will automatically generate extra pages if needed. Make use of column layouts and justification rules. This example uses a list loop with dynamic item renumbering.
Dynamically insert or remove rows into tables using loops and conditionals. Table formatting such as row bands are updated. Especially useful for invoice generation.
Insert images into the text at any location using the image_url
value specifier. Images can be resized as desired, and inserted at any position in the original document.
Automatically flow text around obstacles according to the template.
For more information, see the following resources:
Detailed specification of the template generation data model
To find out more details about the specification about the data model
Advanced features
For a specification of advanced features, and greater detail on behavior
Live Web Sample
To try a live sample of template filling using our WebViewer
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales