Loiseleur Michel wrote:
I have opened an issue on a regression betwen OOo 1.x and OOo 2.x.
http://www.openoffice.org/issues/show_bug.cgi?id=69081
What do you mean by "HTML table"? Any HTML file that contains a table?
Without specifying a filter, those were always loaded into Writer/Web.
I intend to implement something which looks like that, in the same
file :
if ( HTMLParser::IsHTMLFormat( aHeader.GetBuffer() ) )
{
if (HTMLParser::IsHTMLTable( aHeader.GetBuffer() ))
pFilter = aMatcher.GetFilter4FilterName(
String::CreateFromAscii(pFilterHtml) );
else
pFilter = aMatcher.GetFilter4FilterName(
String::CreateFromAscii(pFilterHtmlWeb) );
}
In that code, pFilterHtml and pFilterHtmlWeb are the two filters for
loading HTML files into Calc (normal HTML and WebQuery). Loading into
Writer/Web is done without executing any Calc filter detection code.
Niklas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]