Wednesday 23 December 2009 5:54:23 am

» Read full tutorial

Introduction

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!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

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

Main resources:

Total runtime0.0730 sec
Peak memory usage4,096.0000 KB
Database Queries53

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.9141152.6250
Module start 'layout' 0.00560.0024 740.539139.4453
Module start 'content' 0.00800.0635 779.9844386.4063
Module end 'content' 0.07150.0014 1,166.390614.3984
Script end 0.0729  1,180.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00304.0617150.0002
Check MTime0.00121.5893150.0001
Mysql Total
Database connection0.00091.203410.0009
Mysqli_queries0.032844.9192530.0006
Looping result0.00040.4840500.0000
Template Total0.048266.120.0241
Template load0.00223.043420.0011
Template processing0.046063.019220.0230
Template load and register function0.00010.172610.0001
states
state_id_array0.00162.179920.0008
state_identifier_array0.00101.389630.0003
Override
Cache load0.00182.445980.0002
Sytem overhead
Fetch class attribute name0.00070.999410.0007
class_abstraction
Instantiating content class attribute0.00000.006910.0000
General
dbfile0.00060.7952100.0001
String conversion0.00000.011840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplforum_topic/full.tplextension/community_design/design/suncana/override/templates/forum_topic/full.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs