self._estyle.fontFamily='"Segoe UI","Lucida Grande", Tahoma, Verdana, Arial, sans-serif'; self.set_border_color('#DCAC6C'); self.set_back_color('#FFF5D4'); self.set_text_color('blue'); self.set_border_color('white'); self.set_back_color(''); self.set_text_color(''); editor.FormatApplyData(self._painterdata); dialog.close(); 366)height=366; mainpanel.set_height(height); jsml.resume_layout(); ]]> 12) self.stylearray.length=12; break; } self.readmap[styletab]=self.stylearray; } self.appendstyles(itemspanel); ]]> self.stylearray=self.stylearray.concat(editor.LoadHistoryStyles()); bCc"; break; case "superscript": if(!data.name)div.innerHTML="AaBbCc"; break; case "name": if(v.charAt(0)=='@') v=editor.GetLangText(v.substring(1)); div.innerHTML="
'"+v+"'style
"; break; case "bold": div.style.fontWeight="bold"; break; case "italic": div.style.fontStyle="italic"; break; case "underline": div.style.textDecoration=(div.style.textDecoration||"")+" underline"; break; case "linethrough": div.style.textDecoration=(div.style.textDecoration||"")+" line-through"; break; case "overline": div.style.textDecoration=(div.style.textDecoration||"")+" overline"; break; case "mark": div.style.backgroundColor='yellow'; break; case "forecolor": div.style.color=v; break; case "backcolor": div.style.backgroundColor=v; break; case "fontsize": div.style.fontSize=v; break; case "fontname": div.style.fontFamily=v; break; case "cssclass": div.className=v; div.innerHTML="
'"+v+"'class
"; break; case "cssstyle": case "stylevalue": div.style.cssText+=";"+v; break; } } div.style.textAlign="left"; div.style.width="190px"; item._painterdata=data; item._content.appendChild(div); itemspanel.append_child(item); } ]]>
if(e.keyCode==27)dialog.close();