Commit 44e483a0 authored by ElenaSubbotina's avatar ElenaSubbotina Committed by Alexander Trofimov

no message

parent e7c65a97
......@@ -111,17 +111,17 @@ CString OOXDocumentWriter::CreateXmlEnd( )
if( false == sTempParaDef.IsEmpty() || false == sTempCharDef.IsEmpty() )
{
sStyles += _T("<w:docDefaults>");
if( false == sTempParaDef.IsEmpty() )
{
sStyles += _T("<w:pPrDefault><w:pPr>");
sStyles += sTempParaDef;
sStyles += _T("</w:pPr></w:pPrDefault>");
}
if( false == sTempCharDef.IsEmpty() )
{
sStyles += _T("<w:rPrDefault><w:rPr>");
sStyles += sTempCharDef ;
sStyles += _T("</w:rPr></w:rPrDefault>");
}
if( false == sTempParaDef.IsEmpty() )
{
sStyles += _T("<w:pPrDefault><w:pPr>");
sStyles += sTempParaDef;
sStyles += _T("</w:pPr></w:pPrDefault>");
}
sStyles.Append(_T("</w:docDefaults>"));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment