• Tushar Bende's avatar
    fdo#79668 :File getting corrupt after RT · e1d80c0d
    Tushar Bende yazdı
    Problem Description : For some documents containing redLine data there was already processing done for paragraph properties pPr
    but when it comes to DocxAttributeOutput::EndParagraphProperties() instead of writing these pPr, LO was calling Redline( pRedlineData )
    which has it's pPr inside w:pPrChange.
    This was the reason when LO calls WriteCollectedParagraphProperties() after calling Redline() it was writing both paragraph properties
    inside single w:shd element.Hence the RT document was getting Corrupt.
    
    Added condition in DocxAttributeOutput::EndParagraphProperties() which is checking for RedlineData and if it's there call
    WriteCollectedParagraphProperties() before calling Redline().
    
    Added Export Test case.
    
    Change-Id: I7000c27fe6ee372cac81d6f22e0d3ca9219a24d7
    Reviewed-on: https://gerrit.libreoffice.org/9712Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
    Tested-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
    e1d80c0d