Document Management

Author Message

Ekkehard Dörre

Wednesday 30 June 2004 3:06:26 am

Ok,

I found another class but not testet:
OOoPHP
http://www.apicnet.net/article.php3?id_article=73

When you start programming the output the pdfway, I do the import in the same way like mutipleuploads,

we need later only these additional functions:

When downloading one ooo document the folder and everything below is set to draft.
When uploading the draft is overriden and published. Thats a problem but can solved later.

And we need anyone, who makes webdav working for this, downloading fresh generated sxw and uploading.
And before make webdav working generally for different users.
Then documanagement is nearly ready.

Greetings, ekke

--
http://www.coolscreen.de

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Alex Jones

Wednesday 30 June 2004 6:14:29 am

Wow, this sounds promising! While most of this conversation is above my knowledge level, I am learning a lot. :) But I have one question. How are these documents to be styled? Ekke mentions that the styles are removed, but Paul thinks they should be included... Are you speaking of style definitions, or XML tags that apply style (XSL version of 'font color:red' vs. 'strong')? It makes sense to me to strip specific style definitions (font color etc.), but not the tags. Is there a reason why both should be removed? Is there a reason to keep the style definitions, and thus lose the separation of style and content?

Thanks,

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Paul Forsyth

Wednesday 30 June 2004 6:39:47 am

In an oo doc styles and content are indeed separate. They are important if you want to recreate a document that looks the same as the original imported version. But this might not be important. I believe there is a third element in an oo document called settings.xml which to me looks like it applies the styles to the content, but i may be wrong...

Once a document is captured, or written natively within eZ are the exact styles important? For a new document i would say it isnt but maybe for an important document it will be.

However, once the initial work gets an document in and out further work and look at retaining styles. For example the conversion program i mentioned builds XSLT based on the styles of the document. That could be used to display the document on a web page, plus to recreate the same styles in an exported doc.

Walking before running is important here :)

I think once something is up and running and on pubsvn we can perhaps put a project plan together about how to proceed. If Ekkehard doesn't mind others helping that is ;)

paul

--
http://www.visionwt.com

Alex Jones

Wednesday 30 June 2004 7:09:46 am

That makes sense. Thanks for the details Paul. It sounds like a promising direction in general.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Ekkehard Dörre

Wednesday 30 June 2004 9:01:28 am

I'll prepare a first hack version of officeimport.php out of root as soon as possible, so you can play with the input. Then we can discuss together the way how to integrate it in ez as extension and the next steps for output.

More come soon ;-))

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

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:55:32
Script start
Timing: Jan 18 2025 02:55:32
Module start 'layout'
Timing: Jan 18 2025 02:55:32
Module start 'content'
Timing: Jan 18 2025 02:55:33
Module end 'content'
Timing: Jan 18 2025 02:55:33
Script end

Main resources:

Total runtime0.7766 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.7656152.6094
Module start 'layout' 0.00610.0035 742.375039.8750
Module start 'content' 0.00970.7657 782.2500595.7109
Module end 'content' 0.77530.0012 1,377.960918.3203
Script end 0.7766  1,396.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4208160.0002
Check MTime0.00130.1709160.0001
Mysql Total
Database connection0.00070.087210.0007
Mysqli_queries0.710591.4889640.0111
Looping result0.00060.0719620.0000
Template Total0.746196.120.3730
Template load0.00230.294320.0011
Template processing0.743895.771920.3719
Template load and register function0.00010.012210.0001
states
state_id_array0.00100.126310.0010
state_identifier_array0.00110.140220.0005
Override
Cache load0.00200.2523410.0000
Sytem overhead
Fetch class attribute can translate value0.00070.087730.0002
Fetch class attribute name0.00070.087070.0001
XML
Image XML parsing0.00230.296830.0008
class_abstraction
Instantiating content class attribute0.00000.002190.0000
General
dbfile0.00210.2747220.0001
String conversion0.00000.001540.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.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs