}
last = i + 1;
}
- else if (c > 127)
+ else if (wxUChar(c) > 127)
{
OutputString(stream, str.Mid(last, i - last), convMem, convFile);
}
if (!attr.GetCharacterStyleName().empty())
- str << wxT(" charactertyle=\"") << wxString(attr.GetCharacterStyleName()) << wxT("\"");
+ str << wxT(" characterstyle=\"") << wxString(attr.GetCharacterStyleName()) << wxT("\"");
if (isPara)
{
str << wxT(" bulletfont=\"") << attr.GetBulletFont() << wxT("\"");
}
+ if (attr.HasBulletName())
+ str << wxT(" bulletname=\"") << attr.GetBulletName() << wxT("\"");
+
if (!attr.GetParagraphStyleName().empty())
str << wxT(" parstyle=\"") << wxString(attr.GetParagraphStyleName()) << wxT("\"");
+ if (!attr.GetListStyleName().empty())
+ str << wxT(" liststyle=\"") << wxString(attr.GetListStyleName()) << wxT("\"");
+
if (attr.HasTabs())
{
str << wxT(" tabs=\"");
value = node->GetPropVal(wxT("bulletsymbol"), wxEmptyString);
if (!value.empty())
- attr.SetBulletSymbol(wxAtoi(value));
+ attr.SetBulletSymbol(wxChar(wxAtoi(value)));
value = node->GetPropVal(wxT("bulletfont"), wxEmptyString);
if (!value.empty())
attr.SetBulletFont(value);
+ value = node->GetPropVal(wxT("bulletname"), wxEmptyString);
+ if (!value.empty())
+ attr.SetBulletName(value);
+
value = node->GetPropVal(wxT("parstyle"), wxEmptyString);
if (!value.empty())
attr.SetParagraphStyleName(value);
+ value = node->GetPropVal(wxT("liststyle"), wxEmptyString);
+ if (!value.empty())
+ attr.SetListStyleName(value);
+
value = node->GetPropVal(wxT("tabs"), wxEmptyString);
if (!value.empty())
{