follow up on handling text:p tag on ods import
Michael Stahl
mst at openoffice.org
Fri Jun 15 06:03:01 PDT 2012
On 14/06/12 22:12, Daniel Bankston wrote:
> On 06/14/2012 07:03 AM, Daniel Bankston wrote:
>>
>> So it seems either I should make the import conditionally use my
>> OUString replacement for simple text and XTextCursor
>> withXMLParaContext for complicated text, or I should abandon it all
>> together for now. Do you think it would be worth it to convert the
>> import for just simple text?
>>
> Or maybe I could try to make an sc specific XMLParaContext by copying
> and modifying xmloff's XMLParaContext.
hi Daniel,
i'd definitely recommend against pulling this code out of xmloff; it's not
just a simple context, but there's the entirety of xmlpara[ei].cxx plus
the text field code txtfld[ei].cxx and also likely the list import/export
that is all tied up and accesses at least 2 different application models
(editeng, sw) via a common UNO API.
More information about the LibreOffice
mailing list