mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
fix additional sdtPr
This commit is contained in:
@ -1635,8 +1635,8 @@ namespace OOX
|
||||
WritingElement_WriteNode_2(m_oFormPr);
|
||||
WritingElement_WriteNode_2(m_oTextFormPr);
|
||||
WritingElement_WriteNode_2(m_oComplexFormPr);
|
||||
WritingElement_WriteNode_1(L"<w:border ", m_oBorder);
|
||||
WritingElement_WriteNode_1(L"<w:shd ", m_oShd);
|
||||
WritingElement_WriteNode_3(L"<w:border ", m_oBorder);
|
||||
WritingElement_WriteNode_3(L"<w:shd ", m_oShd);
|
||||
|
||||
return sResult;
|
||||
}
|
||||
|
||||
@ -115,7 +115,15 @@ namespace OOX
|
||||
#define WritingElement_WriteNode_2( oValue ) \
|
||||
if ( oValue.IsInit() )\
|
||||
sResult += oValue->toXML();
|
||||
//-----------------------------------------------------------------------------------------------
|
||||
|
||||
#define WritingElement_WriteNode_3( sStartNodeString, oValue ) \
|
||||
if ( oValue.IsInit() )\
|
||||
{\
|
||||
sResult += sStartNodeString;\
|
||||
sResult += oValue->ToString(false);\
|
||||
sResult += _T("/>");\
|
||||
}
|
||||
//-----------------------------------------------------------------------------------------------
|
||||
#define WritingElement_ReadAttributes_ReadSingle2(Reader, AttrName, Value) \
|
||||
if ( Reader.GetAttributesCount() > 0 ){\
|
||||
if ( Reader.MoveToFirstAttribute() ){\
|
||||
|
||||
Reference in New Issue
Block a user