Christopher Ramírez
|
99c8da07d0
|
Update project documentation.
|
2013-08-13 19:54:57 -06:00 |
|
Christopher Ramírez
|
74175c570a
|
Update doc string.
|
2013-08-07 09:25:23 -06:00 |
|
Christopher Ramírez
|
c81d5768aa
|
Remove commented code.
|
2013-08-07 09:24:07 -06:00 |
|
Christopher Ramírez
|
36d8b9d5ff
|
Remove unused constants.
|
2013-08-07 09:22:18 -06:00 |
|
Andrés Reyes Monge
|
cc963c3b13
|
Removing a lot of global state
Using 'with' to open and close files
|
2013-07-31 15:58:48 -06:00 |
|
Andrés Reyes Monge
|
2d89aabf1a
|
Renaming to secretary
This is so we can make a proper package
|
2013-07-31 14:58:04 -06:00 |
|
Andrés Reyes Monge
|
e5c0e94d75
|
Removing some properties cause Python Is Not Java
Getters and setters are evil when all you need is simple attribute
access
http://dirtsimple.org/2004/12/python-is-not-java.html
|
2013-07-31 14:54:22 -06:00 |
|
Andrés Reyes Monge
|
c8c4d828bc
|
Removing unused imports
|
2013-07-31 14:50:27 -06:00 |
|
Andrés Reyes Monge
|
dd0bd757e5
|
Removing trailing spaces
|
2013-07-31 14:49:54 -06:00 |
|
Christopher Ramírez
|
d1226e852c
|
Simplify template loading and render() now returns rendere document instead of an instance of StringIO.
|
2013-07-22 13:27:42 -06:00 |
|
Christopher Ramírez
|
46ec22b187
|
Autoescape enabled by deafult.
|
2013-07-21 13:23:58 -06:00 |
|
Christopher Ramírez
|
ab4a3ef61b
|
Fixed environment var name due to typo.
|
2013-07-21 13:22:42 -06:00 |
|
Christopher Ramírez
|
c849c01363
|
Update internal documentation.
|
2013-07-21 13:13:39 -06:00 |
|
Christopher Ramírez
|
b923f34888
|
Update author email.
|
2013-07-21 12:54:52 -06:00 |
|
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 |
|