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 28 2025 14:15:01
Script start
Timing: Jan 28 2025 14:15:01
Module start 'layout'
Timing: Jan 28 2025 14:15:01
Module start 'content'
Timing: Jan 28 2025 14:15:01
Module end 'content'
Timing: Jan 28 2025 14:15:01
Script end

Main resources:

Total runtime0.0189 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.0065 596.2031151.2109
Module start 'layout' 0.00650.0035 747.414136.6484
Module start 'content' 0.01000.0072 784.062590.1172
Module end 'content' 0.01720.0017 874.179729.9922
Script end 0.0189  904.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002714.3550140.0002
Check MTime0.00115.8272140.0001
Mysql Total
Database connection0.00105.158010.0010
Mysqli_queries0.003317.237130.0011
Looping result0.00000.147410.0000
Template Total0.00136.710.0013
Template load0.00105.095010.0010
Template processing0.00031.527410.0003
Override
Cache load0.00073.640710.0007
General
dbfile0.002211.490680.0003
String conversion0.00000.056740.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