text_templates::create_html_content (private)
text_templates::create_html_content [ -template_id template_id ] \ -set_var_call set_var_call -filename filename
Defined in packages/acs-tcl/tcl/pdf-procs.tcl
Create the filled out template as html
- Switches:
- -template_id (optional)
- The template to use for the preview. It is assumed that the template_id is the same as the revision_id to be used for the template.
- -set_var_call (required)
- procedure-name which sets the variables used
- -filename (required)
- Author:
- Christian Langmann <C_Langmann@gmx.de>
- Created:
- 2005-07-07
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: {*}$set_var_call # retrieve template and write to tmpfile # set content [content::get_content_value $template_id] set file [open $filename] fconfigure $file -translation binary set content [read $file] # parse template and replace placeholders eval [template::adp_compile -string $content] set final_content $__adp_output return $final_contentXQL Not present: Generic, PostgreSQL, Oracle