forked from KolibriOS/kolibrios
mouse: fix; webview support bold text in docx
git-svn-id: svn://kolibrios.org@7797 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
869f0667e0
commit
f07f30b675
@ -346,10 +346,11 @@ void TWebBrowser::SetStyle() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (tag.is("br")) { NewLine(); return; }
|
if (tag.is("br")) { NewLine(); return; }
|
||||||
if (tag.is("b")) || (tag.is("strong")) || (tag.is("big")) {
|
if (tag.is("b")) || (tag.is("strong")) || (tag.is("big")) || (tag.is("w:b")) {
|
||||||
style.b = tag.opened;
|
style.b = tag.opened;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (tag.is("w:r")) && (!tag.opened) { style.b = false; return; }
|
||||||
if (tag.is("a")) {
|
if (tag.is("a")) {
|
||||||
if (tag.opened)
|
if (tag.opened)
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
char version[]="WebView 2.46b";
|
char version[]="WebView 2.46d";
|
||||||
|
|
||||||
#ifdef LANG_RUS
|
#ifdef LANG_RUS
|
||||||
char page_not_found[] = FROM "html\\page_not_found_ru.htm""\0";
|
char page_not_found[] = FROM "html\\page_not_found_ru.htm""\0";
|
||||||
|
@ -97,6 +97,7 @@ int MoveMouseToHandleSeparators(int _mouse_y)
|
|||||||
return item_i * ITEM_H + menu1.y;
|
return item_i * ITEM_H + menu1.y;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return _mouse_y;
|
||||||
}
|
}
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
|
Loading…
Reference in New Issue
Block a user