Commit graph

164 commits

Author SHA1 Message Date
Christopher Ramírez
03dd762eda New Render funcions 'get_style_by_name' and 'insert_style_in_content'. 2013-09-12 13:54:17 -06:00
Christopher Ramírez
ca269d67b5 replacement_map renamed to 'transform_map' and moved into a separe file. 2013-09-12 13:23:24 -06:00
Christopher Ramírez
26e5bae9be Adding H[1-4] tags to replacement_map. 2013-09-12 13:14:06 -06:00
Christopher Ramírez
605e980c21 Trying code for attributes. 2013-09-12 12:41:02 -06:00
Christopher Ramírez
3a0aca3b7b Adding comments. 2013-09-05 10:01:52 -06:00
Christopher Ramírez
92b51a0f35 Remove unused function transfer_childs. 2013-09-05 09:56:05 -06:00
Christopher Ramírez
9d94cda03f HTML > ODT starts to work 2013-09-05 09:51:34 -06:00
Christopher Ramírez
99cb204ca0 Uncomplete imple. 2013-09-03 17:25:01 -06:00
Christopher Ramírez
7e25b7634c Adding markdown2 to the requirements. 2013-09-03 15:49:38 -06:00
Christopher Ramírez
7d81f42731 Merge pull request #4 from armonge/travis
Now using Travis-CI to automatize the tests,
2013-08-27 15:26:50 -07:00
Andrés Reyes Monge
5f7b240aa6 Now using Travis-CI to automatize the tests, some changes to make tests pass in python3.3 2013-08-27 15:51:16 -06:00
Christopher Ramírez
0eccef32bf Merge pull request #3 from armonge/tests
Starting a test suite
2013-08-19 09:59:41 -07:00
Andrés Reyes Monge
58d0ea0575 Starting a test suite 2013-08-17 10:54:53 -06:00
Christopher Ramírez
3691f7f3e6 Document installation. 2013-08-15 23:02:10 -06:00
Christopher Ramírez
38e6af3a00 Updated MANIFEST to include simple_template.odt. 2013-08-15 22:22:31 -06:00
Christopher Ramírez
47b9e3a717 Adding MANIFEST files to include README.md AND LICENSE.txt in pipy package. 2013-08-15 22:20:37 -06:00
Christopher Ramírez
6d983bc0b5 Added LICENSE.txt 2013-08-15 22:10:21 -06:00
Christopher Ramírez
2a53b41766 Updated author_email and description. 2013-08-15 22:08:29 -06:00
Christopher Ramírez
129974b8e0 Merge pull request #2 from armonge/setup.py
Merge ***Creating a new setup.py*** from armonge
2013-08-15 12:01:47 -07:00
Andrés Reyes Monge
94c94c2071 Creating a new setup.py 2013-08-14 20:46:47 -06:00
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