- Publicity: Public Only All
pdf-procs.tcl
Functions for handling Template-documents
- Location:
- packages/acs-tcl/tcl/pdf-procs.tcl
- Created:
- 2005-07-07
- Author:
- Christian Langmann <C_Langmann@gmx.de>
Procedures in this file
- text_templates::create_pdf_content (public)
- text_templates::create_pdf_from_html (public)
- text_templates::store_final_document (public)
Detailed information
text_templates::create_pdf_content (public)
text_templates::create_pdf_content -template_id template_id \ -set_var_call set_var_call
Create the pdf content from a template
- Switches:
- -template_id (required)
- 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
- Returns:
- the pdf-file-name
- Author:
- Christian Langmann <C_Langmann@gmx.de>
- Created:
- 2005-07-07
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
text_templates::create_pdf_from_html (public)
text_templates::create_pdf_from_html -html_content html_content
The HTML Content is transformed into a PDF file
- Switches:
- -html_content (required)
- HTML Content that is transformed into PDF
- Returns:
- filename of the pdf file
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
text_templates::store_final_document (public)
text_templates::store_final_document -pdf_file pdf_file \ -folder_id folder_id -title title -description description
The document is stored in the given folder.
- Switches:
- -pdf_file (required)
- the pdf-file to save
- -folder_id (required)
- the folder the document is stored in
- -title (required)
- Title or name of the document
- -description (required)
- Description of the document
- Returns:
- item_id
- Author:
- Christian Langmann <C_Langmann@gmx.de>
- Created:
- 2005-07-07
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.