path: root/xmloff/source/style
diff options
authorSourav <>2014-03-28 18:25:39 +0530
committerMiklos Vajna <>2014-04-04 11:39:06 +0200
commitdf098f6207fdf79d566bf50cc2c2c87fcd295ff8 (patch)
treeb2fd4dc6fd5b9f7890a01403e3dbfacd0a371236 /xmloff/source/style
parentc067735f222d41698f4353fa7cbeaeb432573405 (diff)
fdo76734-Text Box is not preserved for file created in MSWord 2007.
Issue:Only one AlternateContent is getting written in the RT file irrespective of the number of TextBoxes in the original file which is causing the issue. RootCause is found in DocxAttributeOutput::OutputFlyFrame_Impl where under case sw::Frame::eTxtBox,m_aFramesOfParagraph.push_back(sw::Frame(rFrame)); is getting executed only once. push_back should happen as many number of times as there are TextBoxes in the original file. if(rFrame.GetFrmFmt().GetName() == m_aFramesOfParagraph[nIndex].GetFrmFmt().GetName()) bDuplicate = true; In the above check both the GetName() are returning values as empty which leads to bDuplicate equals TRUE and hence push_back does not happen. I have introduced one more check to handle this. Also changes are made in for loop to make it more efficient. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: Change-Id: I397aa3c4548cb57e8dacbf3fbf9ebaf87c0daa80
Diffstat (limited to 'xmloff/source/style')
0 files changed, 0 insertions, 0 deletions