Commit graph

180 commits

Author SHA1 Message Date
Christopher Ramírez
6a615abdf1 Remove _style_file. 2013-07-21 12:53:33 -06:00
Christopher Ramírez
d303f84d09 Remove _style_file. 2013-07-21 12:53:01 -06:00
Christopher Ramírez
210a289348 Document render function. 2013-07-21 12:50:53 -06:00
Christopher Ramírez
3c186ae389 Refactoring of pack an unpack template and result.' 2013-07-21 12:47:41 -06:00
Christopher Ramírez
06769a3a39 Refactoring of pack an unpack template and result.' 2013-07-21 12:45:11 -06:00
Christopher Ramírez
68882fbcf6 Remove all render_with_engine function. 2013-07-20 22:06:15 -06:00
Christopher Ramírez
6019a75e87 Restructuration of code to a more extendable code. 2013-07-20 22:05:37 -06:00
Christopher Ramírez
39e96bc04c Purge old and unused code. 2013-07-18 16:29:42 -06:00
Christopher Ramírez
ecc8fa5db5 Introducing UndefinedSilently to silently ignore undefined vars errors. 2013-07-18 16:16:04 -06:00
Christopher Ramírez
c32ff51032 Introducing pad filter. 2013-07-18 15:10:34 -06:00
Christopher Ramírez
1ad6849be2 Replace \n for a ODT linebreak. We disable pretty printing in debug state. 2013-07-18 14:50:04 -06:00
Christopher Ramírez
5b336711a8 Complete replace how secretary handle jinja template tags. Now is almost required tags to be widthin a ODT field. 2013-07-18 13:34:05 -06:00
Christopher Ramírez
955e8c6ddd XML pretty printing now depends on debug param. 2013-07-18 10:37:43 -06:00
Christopher Ramírez
c98519e119 .toprettyxml() was introducing undesired spaces between <text:span>'s 2013-07-18 09:58:09 -06:00
Christopher Ramírez
6bcced99cd Now secretary can render headers. 2013-07-17 16:19:06 -06:00
Christopher Ramírez
08bb72ed31 render_template now only accepts a template string. use render_template_file to render a ODF template file. 2013-07-17 16:10:20 -06:00
Christopher Ramírez
77f504b663 Dropped support for Django. Added support to pass a template file through command line. 2013-02-28 10:31:56 -06:00
Christopher Ramírez
bb46009e01 Check python version to set zip compresion 2013-02-01 15:31:52 -06:00
Christopher Ramírez
bdec463350 .ignore to set ignored files in the repo. 2013-01-30 16:46:11 -06:00
Christopher Ramírez
ed1adfcb3d added render_template function. 2012-10-23 16:44:49 -06:00
Christopher Ramírez
60ae47477c Test template updated 2012-07-20 11:56:34 -06:00
Christopher Ramírez
8d5104be4c Refactoring. Native support to ODF files added. A new control tag '{% tablerow_tag %}'. This tag replace the row internal XML with the control-flow a control tag near it. Used for table genation. 2012-07-20 01:32:23 -06:00
Christopher Ramírez
4973bb36ab added 'simple_template.odt' template. A simple ODF template with a table. 2012-07-20 01:28:39 -06:00
Christopher Ramírez
394867c694 Implemented {% paragraph_tag %} tag. When this tag is present in a paragraph, the XML source of the paragraph will be replaced with an additional tag ex. {% if varname %} in the same paragraph. 2012-07-19 18:45:40 -06:00
Christopher Ramírez
374a6fcb40 secretary now is a Python module. 2012-07-19 05:36:56 -06:00
Christopher Ramírez
efdad94a16 secretary now is a Python module. 2012-07-19 05:33:21 -06:00
Christopher Ramírez
65fb1890c4 secretary converted now is a Python module. 2012-07-19 05:29:12 -06:00
Christopher Ramírez
ca8dcd2604 BaseRender class added. It already implements a basic rendering, but nothing actually usable. 2012-07-19 05:15:47 -06:00
Christopher Ramírez
e7456c4f55 add extention to README. 2012-07-19 04:02:29 -06:00
Christopher Ramírez
d401f0c07c Init project 2012-07-19 04:00:27 -06:00