Package com.onec.print
Annotation Interface PrintTemplate
Declares a print template attached to a document or catalog class.
Multiple templates can be declared on the same target (e.g. summary, detailed, legal).
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameStable identifier used in URLs and UI actions, e.g. "bill", "guardia-civil". -
label
String labelHuman-readable label for the print action button.- Default:
""
-
template
String templateTemplate path. Resolved by Thymeleaf's resource loader. Default convention:classpath:/print/{name}.html.- Default:
""
-
format
PrintFormat formatRender format.- Default:
PDF
-
order
int orderOrder in UI lists when multiple templates are defined.- Default:
0
-