ezodf extension and matrix datatype import

Author Message

Dominik LEE

Sunday 08 November 2009 4:39:30 pm

Hi,

I am trying to import an odt document using the ezodf extension.

I managed to create sections in the document and to import usual classes (articles, folders).

However, when I try to import a matrix datatype, there is no data in the created item.

In my odt document, I created a section matching the matrix name and the name in ezodf.ini. Then I added a table in the section matching the number of columns in my class.

I tried different ouput formats (openoffice 1.1 and 1.2) still nothing.

I'm using ezpublish 4.1.1

thanks for any help

Dominik LEE

Monday 09 November 2009 2:10:28 am

Ok, I finally succeeded with the import.

When creating the table in openoffice :

- table format > text flow > enable "repeat heading"

- the first row of the table must contain the exact columns names of your matrix datatype (not the id)

Hope it helps someone else.

Should this be added to the ezodf documentation ?

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 30 2025 00:14:43
Script start
Timing: Jan 30 2025 00:14:43
Module start 'layout'
Timing: Jan 30 2025 00:14:43
Module start 'content'
Timing: Jan 30 2025 00:14:43
Module end 'content'
Timing: Jan 30 2025 00:14:43
Script end

Main resources:

Total runtime0.0149 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.0047 588.2656151.2266
Module start 'layout' 0.00470.0027 739.492236.6797
Module start 'content' 0.00740.0062 776.171989.9844
Module end 'content' 0.01360.0013 866.156329.9922
Script end 0.0149  896.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.4032140.0002
Check MTime0.00117.0971140.0001
Mysql Total
Database connection0.00064.011710.0006
Mysqli_queries0.002516.463630.0008
Looping result0.00000.073510.0000
Template Total0.00106.710.0010
Template load0.00085.116810.0008
Template processing0.00021.545910.0002
Override
Cache load0.00063.749810.0006
General
dbfile0.002617.088080.0003
String conversion0.00000.035140.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