Created attachment 98488 [details] Contains only Watermark Steps to reproduce : 1] Open attached DOCX in LibreOffice 2] Perform save_as DOCX 3] Open saved file in MS Office 2010 Current behavior : Watermark font size is changed(decreased). Expected behavior : Watermark size should not be changed. XML description : In RT, header1.xml, an xml element <v:shape> has attribute "style" which has wrong value. If replaced value of style attribute from original to RT, Rt opens up correctly.
please attach comparative screenshot. moreover define exactly which LibO version are you using and which one is the first you saw the bug.
(In reply to comment #1) > please attach comparative screenshot. > moreover define exactly which LibO version are you using and which one is > the first you saw the bug. @Tommy: the developers of synerzip do report their own found bugs and fix them theirselfs. They do create a bug report to keep track of it, and for verification. Therefore we don't need to handle all this information (when did it happen etc etc). If they need assistance (bibisecting) etc, they always can ask of course. @Pallavi: I'll mark your bug as NEW. I don't see a watermark after roundtripping and opening using Word 2013. Maybe the font size is decreased that much. Tested using Windows 8.1 with LibreOffice Version: 4.3.0.0.alpha1+ Build ID: 82a623fb08afc72decb78f061b751a43ae503678 TinderBox: Win-x86@39, Branch:master, Time: 2014-05-05_06:37:16 Kind regards, Joren
Ok Joren, I did not know about the synerzip team.
Created attachment 98535 [details] Contains watermark
Created attachment 98536 [details] Screenshot comparison between Original and RT file
@Joren, @Tommy : I have attached another Watermark file with Color changed to Grey, so that difference in RT will be visible. I have also attached screenshot comparison for the reference.
It's a regression. I checked on last commit for watermark. It's working fine, LO able to import the watermark with appropriate height and width. Commit :: Author: Ravindra Vidhate <ravindra.vidhate@synerzip.com> Date: Wed Mar 5 11:38:22 2014 +0530 fdo#35324: Text and picture water are not imported and not preserved in RT. Problem : Open docx file which has Text/Picture as water mark. 1. The text is not imported properly also picture water mark is also considered as shape. 2. It writes the watermarks in Document.xml, while it should write in only Header.xml. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/8457 Change-Id: Ic988858da25a4cba3ae16e614d920e2e16053a5f
Removing bibisect request as this is a synerzip bug report
Sorry about that - bibisecting now will have it done shortly
From comment 7 I don't know why a bibisect is needed. I've been trying to get one but there is a series of problems with watermarks that make bibisecting a bit rough. If you still need a bibisect despite comment 7 which appears to identify the commit - add bibisectrequest again and I'll try once more. Thanks
@Joel: Thank you for trying. Its realted to height and width of watermark. I added " BSA bibisectrequest " to bug. Thank you, Rohit D
@Joel: Hi all, I found the commit which causes issue. commit 120e469d176026ceb59abbf74d2ad255323cbc9a Author: Armin Le Grand <alg@apache.org> Date: Thu Sep 19 10:11:03 2013 +0000 i#115391 better support for MinTextSize settings ... for TextShapes and CustomShapes Conflicts: include/svx/svdotext.hxx svx/source/sdr/properties/customshapeproperties.cxx svx/source/svdraw/svdoashp.cxx svx/source/svdraw/svdotext.cxx svx/source/svdraw/svdotxdr.cxx svx/source/svdraw/svdotxtr.cxx Change-Id: Ie6f490801b6887568135ed5f83c8bbe7ab6daa08
Created attachment 101801 [details] Test document
Umesh Kadam committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ded5b1ecdef42fab84fa57ab504b4cc006a4df91 fdo#78301 : Size of word-arts change during import. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fix applied + Unit test -> RESOLVED FIXED Also verified it using Mac OSX 10.9 with LibreOffice Version: 4.4.0.0.alpha0+ Build ID: 59f1e330f0ecbb7d2387c1569c19fd055c162f8f TinderBox: MacOSX-10.9-x86_64@53, Branch:master, Time: 2014-08-30_07:21:40