This commit is contained in:
ElenaSubbotina
2017-01-21 17:24:24 +03:00
parent fc97b32d18
commit e20e061330
61 changed files with 618 additions and 558 deletions

View File

@ -1704,7 +1704,7 @@ public:
{
std::wstring sText = pComment->Text;
boost::algorithm::replace_all(sText, L"\r", L"");
XmlUtils::replace_all(sText, L"\r", L"");
bool bFirst = true;
int nPrevIndex = 0;

View File

@ -778,7 +778,7 @@ namespace BinDocxRW
{
std::wstring sTextOutline = rPr.m_sTextOutline.get2();
//делаем replace потому что читать имена node без namespace можем а атрибуты нет, потому что храним их в map
boost::algorithm::replace_all(sTextOutline, L"w14:", L"");
XmlUtils::replace_all(sTextOutline, L"w14:", L"");
m_oBcw.m_oStream.WriteBYTE(c_oSerProp_rPrType::TextOutline);
m_oBcw.m_oStream.WriteBYTE(c_oSerPropLenType::Variable);
@ -790,7 +790,7 @@ namespace BinDocxRW
{
std::wstring sTextFill = rPr.m_sTextFill.get2();
//делаем replace потому что читать имена node без namespace можем а атрибуты нет, потому что храним их в map
boost::algorithm::replace_all(sTextFill, L"w14:", L"");
XmlUtils::replace_all(sTextFill, L"w14:", L"");
m_oBcw.m_oStream.WriteBYTE(c_oSerProp_rPrType::TextFill);
m_oBcw.m_oStream.WriteBYTE(c_oSerPropLenType::Variable);