<div dir="ltr">On 5 August 2013 16:13, Kohei Yoshida <span dir="ltr"><<a href="mailto:kohei.yoshida@suse.de" target="_blank">kohei.yoshida@suse.de</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On 08/05/2013 03:05 PM, Wagner Macedo wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">



One point. I still don't know what's the desired behavior, i.e.:<br>
<br>
1. handle HTML in two-way mode ("Save as" option)?<br>
2. handle HTML in one-way mode ("Export" and "Open" options)<br>
</blockquote></div>
Two way. Calc already supports importing HTML document.<br>
<br>
But whether an export filter is either "save as" or "export" is not up to individual filters. The filter framework automatically assigns one way or the other, depending on whether the particular file type has both import export capability, or just export.  In the former case, the file type becomes available in the "save as" dialog, whereas in the latter case, it becomes only available in the "export" dialog.<br>



<br>
HTH,</blockquote><div><br></div><div>It helped.</div><div><br></div><div>And to clarify me, according to what you say some messages before,</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<span style="font-family:arial,sans-serif;font-size:13px">In short, these two take two different code paths.  The HTML export one goes through an internal, C++ export filter (I believe), whereas the XHTML export one goes through a XSLT based export path, which is super slow and is not scalable.</span><br>


</blockquote><div><br></div><div>then if I take Bug 41281, my task would be to improve the C++ export filter to have the same quality of XSLT one, correct?</div><div><br></div><div>--</div><div>Wagner Macedo</div></div></div>


</div>