Commit graph

25 commits

Author SHA1 Message Date
Gaetan Delannay 5beb60f145 [pod,px] Complete tracebacks when errors occurs within for loops. [pod] xhtml2odt: removal of unnecessary spaces. [pod] xhtml2odt: bugfix in the automatic computation of table column widths. 2015-03-13 17:38:05 +01:00
Gaetan Delannay 8168306b57 [gen] [pod] converter.py: added param '-t' allowing to specify a LibreOffice file whose styles will be imported in the pod result (works only for odt files). Thanks to IMIO. [pod] Pod expressions can now be defined in fields of type 'text-input' (in addition to existing fields 'conditional-text' and track-changed text). Thanks to IMIO. [gen] Added parameter 'stylesTemplate' to the Renderer, allowing to specify a LibreOffice file whose styles will be imported in the pod result. Thanks to IMIO. [bin] Added script odfwalk.py allowing to modify or consult the content of odf files in a folder hierarchy (the script manages the unzip and re-zip of odf files and let a caller script access the unzipped content). [pod] Take into account tag 's'. Thanks to IMIO. 2015-03-13 08:59:32 +01:00
Gaetan Delannay ff102fbbe8 [pod] Take into account tabs. 'do ... from text' is now obsolete: pod expression now handle correctly tabs and carriage returns. 2014-03-06 11:33:47 +01:00
Gaetan Delannay 1be7d9f0ab [bin] backup.py: remove Data.fs.old before packing the ZODB to avoid disk space problems; [checkldap] added a param to define the scope of the LDAP query (base, onelevel or subtree); [shared] xml_parser: convert nbsp entity to the equivalent utf-8 char. 2013-09-05 10:42:19 +02:00
Gaetan Delannay caca61516f [bin] job.py: if the specified user does not exist in the DB, try with a user named 'admin'; [gen] Calendar: allow to insert additional, custom (XHTML or textual) info in any cell of the calendar, via new attribute Calendar.additionalInfo; [pod] some code refactoring; xhtml2odt: allow, when converting tables, to take into account attributes 'width' of tds; bugfix when converting 'href' attrs of 'a' tags. 2012-10-26 13:09:44 +02:00
Gaetan Delannay a7bcd1a098 [gen] allow Manager to change the login of a user; bugfix in dumping XHTML tables whose column sizes are automatically computed; bugfix: apply styles mapping to 'p' tags that are added automatically by xhtml2odt (was only implemented for p tags inside li tags). 2012-07-10 14:21:08 +02:00
Gaetan Delannay 8a5ca81746 [pod] xhtml2odt: generate ODT tables from XHTML tables, taking into account variable column sizes. 2012-07-06 17:57:25 +02:00
Gaetan Delannay bc505b335f [gen] Bugfix in RTL languages support; [pod] xhtml2odt: bugfix in management of styles applied to inner p tags added within li tags. 2012-07-03 15:00:45 +02:00
Gaetan Delannay 7d844070df appy.pod: improved styles mapping system: one may now express things like: 'p[text-align=center]':'StandardCentered' (ie, map an HTML tag having some CSS attributes to a specific ODT style). See verbose docstrings in styles_manager.py. 2012-01-12 21:49:23 +01:00
Gaetan Delannay 2bd3fe1eeb appy.pod: xhtml2odt: ability to include images from img tags (anonymously). Non-anonymous solution for a Appy/Zope server only; function 'document': allow to specify size of images in cm or px, or via a 'style' tag; appy.gen: allow to upload images in ckeditor fields; improved error management. 2012-01-04 18:03:46 +01:00
Gaetan Delannay 7514eb31a9 appy.pod: bugfix in html2odt: in some situations, while using stylesMappings, some empty tags were present in the result, producing a superflous empty paragraph; bugfix while importing PNG files under Windows; appy.gen: began to implement a new global Appy-specific page template and styles. 2011-09-02 09:59:49 +02:00
Gaetan Delannay 93eb16670b appy.gen: in the default context of any pod field, added function '_' corresponding to obj.translate; appy.gen: xhtml2odt bugfix: when a <div> was contained in <ol><li> or <ul><li>, the whole function ouput was an empty string. 2011-07-07 09:43:16 +02:00
Gaetan Delannay de8df53f42 appy.gen: xhtml2odt: better management of 'div' tag (considered exactly like a 'p' tag). 2011-06-17 01:44:42 +02:00
Gaetan Delannay b9e07f8c1c appy.bin: added a script for checking a LDAP connection; appy.gen: bugfix in xhtml2odt conversion (algorithm for checking ODT-invalid subtag hierarchies); appy.gen: xhtml2odt conversion: force continue-numbering to 'false' for every numbered list. 2011-05-20 16:20:49 +02:00
Gaetan Delannay 4fe5c5e164 appy.gen: bugfix in the validator for the default field 'UNO-enabled Python interpreter'; appy.pod: added default function 'text' that allows to dump a string containing carriage returns into the ODT, with statements like 'do... from text(someString)'; appy.pod: bugfix in the management of conflictual inner-tags in the odt2html conversion: in some cases (when style mappings are applied), empty tags that needed to be removed were not removed because of the presence of tag attributes. 2011-03-18 16:52:15 +01:00
Gaetan Delannay 91c657238d appy.pod: solved bug https://bugs.launchpad.net/appy/+bug/719270; appy.gen: bugfix in Date intervals coming from search.pt. 2011-02-15 13:27:36 +01:00
Gaetan Delannay 1bb4dbf20a appy.pod: improved html2odt conversion; appy.gen: added CSS tooltips and bugfix while querying several content type at once. 2011-02-14 16:04:30 +01:00
Gaetan Delannay defdc08dce appy.pod: Management of strike and underline in XHTML code. 2011-01-19 10:21:04 +01:00
Gaetan Delannay f3604624de Implemented management of HTML entities with expat (no need to get an external validating parser from _xmlplus). Works with Python2.4.4 and 2.4.6, but not from Python2.5. 2010-12-23 10:25:27 +01:00
Gaetan Delannay fc75a42264 Added the possibility to log OO errors in appy.gen method File.dump and changed some code for avoiding silly Plone warnings on every user click. 2010-02-09 15:59:03 +01:00
Gaetan Delannay 37cf9e7a4f Various improvements in both pod and gen. 2009-11-06 11:33:56 +01:00
Gaetan Delannay 2b907fee32 Improvement in xhtml->odt conversion (pod) + new search param for appy root classes and param 'indexed' for fields. 2009-10-30 21:31:39 +01:00
Gaetan Delannay cbc7d257d4 Fixed bug #394258 and added a new skin directly within Appy, such that every generated product does not need to include copies of Appy images and web pages. 2009-10-18 14:52:27 +02:00
Gaetan Delannay bdb220716c Solved partially bug https://bugs.launchpad.net/appy/+bug/394258 (rendering of the content of style tags) 2009-08-11 15:43:21 +02:00
Gaetan Delannay 4043163fc4 Initial import 2009-06-29 14:06:01 +02:00