Description: I tried to open some MS Office templates The resulting documents are one page too long because one page is included twice but with a different layout. There have always been problems with these templates but in version 7.5.0.3, some text is missing. Steps to Reproduce: 1.Load template https://templates.office.com/DE-DE/fashion-newsletter-TM16412247 and open it. 2.Load template https://templates.office.com/DE-DE/restaurantnewsletter-TM44813192 and open it. Actual Results: Layout problems Expected Results: Smooth import Reproducible: Always User Profile Reset: No Additional Info: Version: 7.5.0.3 (X86_64) / LibreOffice Community Build ID: c21113d003cd3efa8c53188764377a8272d9d6de CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: threaded
Created attachment 185105 [details] template1
Created attachment 185106 [details] template 2
Created attachment 185107 [details] expected results
What is the missing test?
Seems it is a little different on top/bottom margin of the 'converted1' font style, from 0,76 to 0,70.
Some text is missing, too. LO Writer 7.2 was better and 7.4 at least had the text.
Created attachment 185109 [details] Result with LO 7.2.0.1
Created attachment 185110 [details] Result with LO 7.4 The results with the other template are similar. It seems that in this respect LO Writer 7.5 is worse than 7.4, which itself is worse than 7.2.
You can see the missing text in the PDF files.
Can you please test it with 7.6 dev version? I see the text, there is no duplicity of pages, but pdf export is broken. You can download it here: http://dev-builds.libreoffice.org/daily/master/ Thank you Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 4e6ab75c1a907398d24768d19cf097a4892d374c CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: x11 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded
Thank you very much! You are right -- the PDF export is broken. Exporting the files via a virtual PDF printer like PDFill PDF almost works. The text is visible but the layout is still a bit different from MS Word 2013. The page numbers on pages 2 to 4 of the fashion template are missing.
(In reply to Frank Reibold from comment #11) > Thank you very much! > > You are right -- the PDF export is broken. > > Exporting the files via a virtual PDF printer like PDFill PDF almost works. > > The text is visible but the layout is still a bit different from MS Word > 2013. The page numbers on pages 2 to 4 of the fashion template are missing. Raal, Frank: can you please point out how the PDF export is broken? I have reported earlier the issue with the squished images in the Fashion template: bug 136082. This issue is visible even just by opening the file.
The problem was that LO Writer 7.6 DEV displays the template almost correctly but that the PDF export adds one or more pages. If you use a virtual PDF printer, you get 4 pages. The current Writer 7.5.2.2 doesn't display the template correctly.
(In reply to Frank Reibold from comment #13) > The problem was that LO Writer 7.6 DEV displays the template almost > correctly but that the PDF export adds one or more pages. If you use a > virtual PDF printer, you get 4 pages. > > The current Writer 7.5.2.2 doesn't display the template correctly. Yeah, but HOW?
Created attachment 186325 [details] Fashion PDF export, LO 7.6 This is the PDF of the fashion template, exported with LO Writer 7.6
Created attachment 186326 [details] Fashion PDF print result, LO 7.6 The resukt of printing the fashion template to a virtual PDF printer with LO 7.6 DEV
It seems that the LO 7.6 results are okay, even with the PDF export.
Created attachment 186327 [details] Restaurant PDF export with 7.6
Created attachment 186329 [details] Restaurant PDF print with 7.6
As you can see, the PDF export of the restaurant template misses some text on the first page, for example. The PDF print result shows the text. That's the "broken PDF export" referred to above.
(In reply to Frank Reibold from comment #19) > Created attachment 186329 [details] > Restaurant PDF print with 7.6 This is not the restaurant template, but the fashion one
You are right. The restaurant template would show some text in the box on page one but the text is missing if you export the PDF.
Created attachment 186363 [details] Restaurant PDF print with Writer 7.6
The bug has been fixed. Both documents look good with LibreOffice Writer 7.6.3.1.