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: Feb 05 2025 19:37:35
Script start
Timing: Feb 05 2025 19:37:35
Module start 'layout'
Timing: Feb 05 2025 19:37:35
Module start 'content'
Timing: Feb 05 2025 19:37:35
Module end 'content'
Timing: Feb 05 2025 19:37:35
Script end

Main resources:

Total runtime0.0192 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 614.2969151.2031
Module start 'layout' 0.00770.0030 765.500036.6484
Module start 'content' 0.01070.0064 802.148490.1172
Module end 'content' 0.01710.0020 892.265629.9922
Script end 0.0191  922.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003116.3858140.0002
Check MTime0.00157.7260140.0001
Mysql Total
Database connection0.00158.067910.0015
Mysqli_queries0.003216.910630.0011
Looping result0.00000.093310.0000
Template Total0.00168.310.0016
Template load0.00126.070910.0012
Template processing0.00042.232110.0004
Override
Cache load0.00084.380910.0008
General
dbfile0.00147.474880.0002
String conversion0.00000.037340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs