bad conversion of Table of Contents to html for OO 2.0 change class

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

bad conversion of Table of Contents to html for OO 2.0 change class

Albert Steiner
I found that the web pages looked a lot better if I changed the class
declaration for P to:
P { margin-bottom: 0.00in; margin-top: 0:00in; direction: ltr; color:
#000000; text-align:
left; widows: 2; orphans: 2 }
The problem is that OO 2.0 has no way to communicate style information
into CSS classes.  So that the paragraph styeles for the table of
contents (content1; content2 ...} get reflected as CSS classes like
P.content1 { margin-bottom: 0.00in; margin-top: 0:00in; direction:
ltr; color: #000000; text-align: left; widows: 2; orphans: 2 }

================ previous =========================
  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=3D"en-US" STYLE=3D"margin-bottom: 0in">Introduction:=096</P>
<P LANG=3D"" STYLE=3D"margin-left: 0.33in; margin-bottom: 0in">Conventions:=
=097</P>
<P LANG=3D"" STYLE=3D"margin-left: 0.33in; margin-bottom: 0in">Membership
=09representation:=097</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: [hidden email]
For additional commands, e-mail: [hidden email]