Wednesday 23 December 2009 5:54:23 am
With the new stable version 2009.2 of the eZ Components, the Document component get support for the OpenDocument format. You can convert OpenDocumentText (ODT) to the internally used Docbook XML and from there to any of the other formats supported by the component (like RST, Wiki markup or ezxml). The other way around works in addition, read any format supported by Document and convert it to ODT. You can nicely style the generated document using a CSS sub-set and even generate a PDF with the very same style settings.
I wrote up a tutorial this new feature of the Document component on my blog, where you can also download example source code and examine the results of conversions.
No reply yet!
You must be logged in to post messages in this topic!
Timing: | Jan 18 2025 02:49:08 |
Script start | |
Timing: | Jan 18 2025 02:49:08 |
Module start 'layout' | |
Timing: | Jan 18 2025 02:49:08 |
Module start 'content' | |
Timing: | Jan 18 2025 02:49:08 |
Module end 'content' | |
Timing: | Jan 18 2025 02:49:08 |
Script end |
Total runtime | 0.0730 sec |
Peak memory usage | 4,096.0000 KB |
Database Queries | 53 |
Checkpoint | Start (sec) | Duration (sec) | Memory at start (KB) | Memory used (KB) |
---|---|---|---|---|
Script start | 0.0000 | 0.0056 | 587.9141 | 152.6250 |
Module start 'layout' | 0.0056 | 0.0024 | 740.5391 | 39.4453 |
Module start 'content' | 0.0080 | 0.0635 | 779.9844 | 386.4063 |
Module end 'content' | 0.0715 | 0.0014 | 1,166.3906 | 14.3984 |
Script end | 0.0729 | 1,180.7891 |
Accumulator | Duration (sec) | Duration (%) | Count | Average (sec) |
---|---|---|---|---|
Ini load | ||||
Load cache | 0.0030 | 4.0617 | 15 | 0.0002 |
Check MTime | 0.0012 | 1.5893 | 15 | 0.0001 |
Mysql Total | ||||
Database connection | 0.0009 | 1.2034 | 1 | 0.0009 |
Mysqli_queries | 0.0328 | 44.9192 | 53 | 0.0006 |
Looping result | 0.0004 | 0.4840 | 50 | 0.0000 |
Template Total | 0.0482 | 66.1 | 2 | 0.0241 |
Template load | 0.0022 | 3.0434 | 2 | 0.0011 |
Template processing | 0.0460 | 63.0192 | 2 | 0.0230 |
Template load and register function | 0.0001 | 0.1726 | 1 | 0.0001 |
states | ||||
state_id_array | 0.0016 | 2.1799 | 2 | 0.0008 |
state_identifier_array | 0.0010 | 1.3896 | 3 | 0.0003 |
Override | ||||
Cache load | 0.0018 | 2.4459 | 8 | 0.0002 |
Sytem overhead | ||||
Fetch class attribute name | 0.0007 | 0.9994 | 1 | 0.0007 |
class_abstraction | ||||
Instantiating content class attribute | 0.0000 | 0.0069 | 1 | 0.0000 |
General | ||||
dbfile | 0.0006 | 0.7952 | 10 | 0.0001 |
String conversion | 0.0000 | 0.0118 | 4 | 0.0000 |
Note: percentages do not add up to 100% because some accumulators overlap |
Usage | Requested template | Template | Template loaded | Edit | Override |
---|---|---|---|---|---|
1 | node/view/full.tpl | forum_topic/full.tpl | extension/community_design/design/suncana/override/templates/forum_topic/full.tpl | ||
1 | content/datatype/view/ezxmltext.tpl | <No override> | extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tpl | ||
2 | content/datatype/view/ezxmltags/link.tpl | <No override> | design/standard/templates/content/datatype/view/ezxmltags/link.tpl | ||
2 | content/datatype/view/ezxmltags/paragraph.tpl | <No override> | extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tpl | ||
1 | print_pagelayout.tpl | <No override> | extension/community/design/community/templates/print_pagelayout.tpl | ||
Number of times templates used: 7 Number of unique templates used: 5 |
Time used to render debug report: 0.0001 secs