Kaydet (Commit) 98b8db50 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Add a comment based on the Caolan's explanation.

üst aafce580
...@@ -808,6 +808,8 @@ void DocxAttributeOutput::EndField_Impl( FieldInfos& rInfos ) ...@@ -808,6 +808,8 @@ void DocxAttributeOutput::EndField_Impl( FieldInfos& rInfos )
m_pSerializer->startElementNS( XML_w, XML_r, FSEND ); m_pSerializer->startElementNS( XML_w, XML_r, FSEND );
String sExpand( rInfos.pField->ExpandField( true ) ); String sExpand( rInfos.pField->ExpandField( true ) );
// newlines embedded in fields are 0x0B in MSO and 0x0A for us
// [maybe this is not necessary in docx, but safer to do]
sExpand.SearchAndReplaceAll( 0x0A, 0x0B ); sExpand.SearchAndReplaceAll( 0x0A, 0x0B );
RunText( sExpand ); RunText( sExpand );
......
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