<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Ubuntu'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Onsdag den 25. april 2012 09:10:14 Adam Pigg skrev:<br /></p>
<p style=" margin-top:12px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a name="fenix-user-content"></a><span style=" font-family:'NokiaPureTextLight';">y</span><span style=" font-family:'NokiaPureTextLight';">ou have identified the same issue i did 2 years ago :-) </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'NokiaPureTextLight';"><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'NokiaPureTextLight';">I can't check right now, but i think the existing odt generator arranges the items in a table.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'NokiaPureTextLight';">True</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'NokiaPureTextLight';">Perhaps there is space for both types of output?</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'NokiaPureTextLight';">Yes, but when to use which? Ahh, you mean user decides. See below.</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'NokiaPureTextLight';">The html generator works like this..there are 2, one that outputs as a table, the other outputs div blocks with css.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'NokiaPureTextLight';"><br />Imo it must be possible to mix in same report.<br />--<br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'NokiaPureTextLight';">Sent from my Nokia N9<br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Mvh.</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Dag Andersen<br /></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a name="fenix-reply-header"></a>On 25/04/2012 9:51 Dag wrote:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><a name="fenix-quoted-body"></a>Søndag den 22. april 2012 16:35:34 Adam Pigg skrev:<br />> Dag<br />><br />> In Plan, i see you have your own ODT renderer. It appears to be more<br />> featureful than the one in libs/koreport, so perhaps you could move it<br />> there?<br />Done, branch: report_odt_danders<br />> Can you post a sample of what kind of ODT it produces?<br /><br />Ok, I have looked more closely into this and found some problems that makes it<br />difficult to export to odt in usefull manner.<br />Imo the reason (often) to export to odt is to be able to edit the document<br />afterwards, to add comments and evaluations. Hence it needs to be easily<br />editable while still presenting the data formatted the same way it was in the<br />original report.<br /><br />Reports are built up of items (label, field, picture etc) that correspond very<br />well with shapes in words (frame in odt). So in my current implementation I<br />just create a frame for each item in the report with the same size and<br />position. This looks good, but is mostly useless as the a document consisting<br />of individual frames is for all practical purposes impossible to edit.<br /><br />One could argue that reports often consists of tabular data so it should be<br />just to put it into a table, right?<br /> Well, yes *sometimes* it could work well, other times no because the report<br />designer are able to position his items *very* freely in a way that makes it<br />very, very difficult to put it into a table.<br /><br />One solution to this would be to introduce the conceptof tables into the<br />report designer. Thus it is up to the user to decide when to use table and<br />when to use individual frames. This has the additional benfit that it the<br />designer will be *much* easier to use, creating a "table" today is a serious<br />pain.<br /><br />Another problem in odt export is headers/footers. Afaics it is not possible to<br />use frames inside these in neither words nor LO. Plain text or tables work<br />fine, but alas, not frames.<br /><br />Solution? I have none.<br />Any ideas?<br /><span style=" color:#888888;"><br /><br />--<br />Mvh.<br />Dag Andersen<br /></span></p></body></html>