<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C1CF4D.1354F1D0">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="time"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="date"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:HyphenationZone>21</w:HyphenationZone>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:\5B8B\4F53;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:553679495 -2147483648 8 0 66047 0;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:536871559 0 0 0 415 0;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
span.EmailStyle17
{mso-style-type:personal;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Verdana;
mso-ascii-font-family:Verdana;
mso-hansi-font-family:Verdana;
color:blue;
mso-text-animation:none;
font-weight:normal;
font-style:normal;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
span.EmailStyle19
{mso-style-type:personal;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
span.EmailStyle20
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Verdana;
mso-ascii-font-family:Verdana;
mso-hansi-font-family:Verdana;
color:blue;
font-weight:normal;
font-style:normal;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple style='tab-interval:35.4pt'>
<div class=Section1>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>The stylesheets problem is actually
unrelated to the dropdown styles in the WYSIWYG editor. <span
style='mso-spacerun:yes'> </span>Looking at the code, the drop down list
will never show the styles from the document, you can only use it to select
hardcoded styles that are understood by the ActiveX control.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>To make the WYSIWYG editor show the
correct styles from your document is a strange.<span
style='mso-spacerun:yes'> </span>Again looking at the code, this needs
rewriting as it insists that the style definition sits within a template called
“frametemplate”; if you are not using frames this is a bit
strange.<span style='mso-spacerun:yes'> </span>Try adding:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Times New Roman";
color:blue'><ELEMENTDEF name="frametemplate"><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Times New Roman";
color:blue'><span style='mso-spacerun:yes'>
</span><CLASS>com.opencms.template.CmsXmlTemplate</CLASS><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Times New Roman";
color:blue'><span style='mso-spacerun:yes'>
</span><TEMPLATE>/content/internal/style</TEMPLATE><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";mso-bidi-font-family:"Times New Roman";
color:blue'></ELEMENTDEF><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>to the bottom of your template then
define your styles in /content/internal/style.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Basically the code for retrieving the
stylesheet for the current page is faulty and needs to be re-written.<span
style='mso-spacerun:yes'> </span>Any volunteers?<span
style='mso-spacerun:yes'> </span>I would do it myself if I had the time.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Regards<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Simon Knightley<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Consulting Manager<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'>Syskinetic Consulting Limited<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'><a href="http://www.syskinetic.com/">www.syskinetic.com</a><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Verdana><span style='font-size:
10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Tahoma><span
lang=EN-US style='font-size:10.0pt;font-family:Tahoma;mso-fareast-font-family:
SimSun;mso-ansi-language:EN-US'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
owner-opencms-dev@www.opencms.com [mailto:owner-opencms-dev@www.opencms.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Julien Soyer<br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><st1:date
Month="3" Day="19" Year="2002"><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;mso-fareast-font-family:SimSun;
mso-ansi-language:EN-US'>19 March 2002</span></font></st1:date><font size=2
face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma;
mso-fareast-font-family:SimSun;mso-ansi-language:EN-US'> </span></font><st1:time
Hour="8" Minute="26"><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;mso-fareast-font-family:SimSun;
mso-ansi-language:EN-US'>08:26</span></font></st1:time><font size=2
face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma;
mso-fareast-font-family:SimSun;mso-ansi-language:EN-US'><br>
<b><span style='font-weight:bold'>To:</span></b> 'opencms-dev@www.opencms.com'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [opencms-dev]
Stylesheets</span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Hi all,<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Thank
you for your answers, but my problem is not due to the German umlaut. I am
trying to puzzle out the integration between stylesheets and the WYSIWYG editor
(I guess using the <stylesheet> tag in the templates). I thought I could
select the correct styles in the select box, but obviously the style names are
hard-coded...<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Some
previous topics already mentioned that functionality, but I couldn't find any
clear solution in.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Does
anyone ever managed to make things work?<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><st1:PersonName><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>Julien Soyer</span></font></st1:PersonName><font size=2
color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 face=Tahoma><span
lang=EN-US style='font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US'>-----Original
Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Simon Knightley [mailto:simon.knightley@syskinetic.co.uk]
<br>
<b><span style='font-weight:bold'>Sent:</span></b> lundi 18 mars 2002 </span></font><st1:time
Hour="20" Minute="6"><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;mso-ansi-language:EN-US'>20:06</span></font></st1:time><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma;
mso-ansi-language:EN-US'><br>
<b><span style='font-weight:bold'>To:</span></b> opencms-dev@www.opencms.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [opencms-dev]
Stylesheets</span></font><span lang=FR style='mso-ansi-language:FR'><o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=3
face="Times New Roman"><span lang=FR style='font-size:12.0pt;mso-ansi-language:
FR'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'>Julien,<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'>I
think there is an error in the OpenCMS code.<span
style='mso-spacerun:yes'> </span>Is this the general consensus? The
styles should read "Heading 1", "heading 2" etc. at least
for the </span></font><st1:country-region><st1:place><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'>UK</span></font></st1:place></st1:country-region><font
size=2 color=blue face=Verdana><span style='font-size:10.0pt;font-family:Verdana;
color:blue'> version of the ActiveX edit control.<span
style='mso-spacerun:yes'> </span>The only way I found to make it work was
to recompile the code with the correct style names in. Perhaps using a German
version of the ActiveX control might work aswell.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'>I
think the file is I_CmsWpConstants.class<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'>Regards<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'>Simon
Knightley<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'>Syskinetic
Consulting Ltd<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'>www.syskinetic.com<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:70.8pt'><font size=2 color=blue
face=Verdana><span style='font-size:10.0pt;font-family:Verdana;color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:106.2pt'><font size=2 face=Tahoma><span
lang=EN-US style='font-size:10.0pt;font-family:Tahoma;mso-fareast-font-family:
SimSun;mso-ansi-language:EN-US'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
owner-opencms-dev@www.opencms.com [mailto:owner-opencms-dev@www.opencms.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Julien Soyer<br>
<b><span style='font-weight:bold'>Sent:</span></b> </span></font><st1:date
Month="3" Day="18" Year="2002"><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;mso-fareast-font-family:SimSun;
mso-ansi-language:EN-US'>18 March 2002</span></font></st1:date><font size=2
face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma;
mso-fareast-font-family:SimSun;mso-ansi-language:EN-US'> </span></font><st1:time
Hour="17" Minute="7"><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;mso-fareast-font-family:SimSun;
mso-ansi-language:EN-US'>17:07</span></font></st1:time><font size=2
face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma;
mso-fareast-font-family:SimSun;mso-ansi-language:EN-US'><br>
<b><span style='font-weight:bold'>To:</span></b> 'opencms-dev@www.opencms.com'<br>
<b><span style='font-weight:bold'>Subject:</span></b> [opencms-dev] Stylesheets</span></font><o:p></o:p></p>
<p class=MsoNormal style='margin-left:106.2pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:106.2pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Hi all,<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:106.2pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:106.2pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Does anyone ever managed to
integrate stylesheets with the WYSIWYG editor? I'm obviously doing something
wrong as I get a javascript error each time I select some
"Uberschrift" style...<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:106.2pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:106.2pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Julien Soyer<o:p></o:p></span></font></p>
</div>
</body>
</html>