Latex / Pdf generation for a module
bugster - October 5, 2009 - 08:51
| Project: | DruTeX |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Perhaps this sub_module is usefull for developers who wish to use the drutex module for generating pdf's. (invoices, reports, ..?)
The submodule drutex_text is called from a module with one argument the module name (from which it is called).
Then with a series of hooks, hook_drutex_title(), hook, drutex_filename(), hook_drutex_map() and hook_drutex_pdf_template() the information is provided to build a latex file and then the pdf.
The text2latex and text2pdf are inspired on node2latex and node2pdf.
Perhaps the term text needs also some reviewing. maybe 'module' is more suitable.
| Attachment | Size |
|---|---|
| drutex_text.inc_.zip | 1.12 KB |
