I still get bad formating of TOC to html. I looked at all the FAQ about styles. I could not find a way to set styles that worked both for a document I printed and I exported as .html.
When the styles are right for printing, they come out double spaced in the .html document. Exporting to .xml didn't help anything. I need to have something that exports to both .doc (word 2003) and .html and does reasonable formatting for both exports. I think that styles need to allow more explicit control of the html that is output for the styles. It should look like double spaced. Albert Steiner ============================================ From: CPHennessy <[EMAIL PROTECTED]> To: [email protected] Date: Sun, 4 Dec 2005 00:47:14 +0000 Subject: Re: [users] bad conversion of Table of Contents to html for OO 2.0 On Sat December 3 2005 18:48, Albert Steiner wrote: > I getting something unexpected. This is actually part of an 87 page > document still under development. I can't afford to go and try to fix > the html, I need ways to make it look ok while editing/updating the > document. > > In this case I went back to MS word which does a somewhat better job > of export, but has its own set of problems/surprises. You do not state whether you are using the "Export As ..." -> "XHTML" ? -- CPH : openoffice.org contributor Maybe your question has been answered already? http://user-faq.openoffice.org/#FAQ I understand how to create a table of contents in writer (TOC) but when I save the file as HTML the style changes dramatically, the table is double spaced instead of single spaced as it is when printed. In addition, other places in the document that were single spaced become double spaced. The paragraphs are defined with styles but not special classes for table of contents. I don't see a way in the paragraph declarations (OO 2.0) to define the html class or style. Is there such a way? Table of contents lines look like: <P LANG="en-US" STYLE="margin-bottom: 0in">Introduction: 6</P> <P LANG="" STYLE="margin-left: 0.33in; margin-bottom: 0in">Conventions: 7</P> <P LANG="" STYLE="margin-left: 0.33in; margin-bottom: 0in">Membership representation: 7</P> The class declarations at the beginning of the file include the following declarations: P { margin-bottom: 0.00in; direction: ltr; color: #000000; text-align: left; widows: 2; orphans: 2 } P.western { font-family: "Times New Roman", serif; font-size: 12pt; so-language: en-US } P.cjk { font-family: "Times New Roman", serif; font-size: 12pt; so-language: } P.ctl { font-family: "Times New Roman", serif; font-size: 12pt; so-language: ar-SA } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
