List Info

Thread: How do HTML -> ODT Filters work?




How do HTML -> ODT Filters work?
user name
2007-09-29 07:31:17
Hi guys,

I'm using the cursor.insertDocumentFromURL() UNO-method to
insert an
HTML file into an ODT file from a python shell script.

Now, during the HTML to ODT conversion some information gets
lost, e.g.
the class attributes in <span
class="myclass"></span> tags.

My question now is, whether it's possible to somehow hook
into the
conversion mechanism and make it convert those class
attributes of span
tags to ODT markup like
	<text:span
text:style-name="myclass"></text:span>

A little description of what OpenOffice is actually doing
when
converting HTML to ODT files and which classes and/or XSLT
bits of the
OOo code is involved would help me a lot, I guess.

cheers
Ingmar


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribexml.openoffice.org
For additional commands, e-mail: dev-helpxml.openoffice.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )