Description: I have uploaded the Sample ppt file. Converting the above ppt to pdf does not show graph. Ex: if I open with Document Viewer the image does not show. Even in Adobe the graph image is not shown. if I open with libreoffice draw the image shows in pdf. Below is the command used soffice --headless --convert-to pdf --outdir "/home/ubuntu/Desktop/" "/home/ubuntu/Desktop/Sample.ppt" os: ubuntu 18.04 Steps to Reproduce: 1.soffice --headless --convert-to pdf --outdir "/home/ubuntu/Desktop/" "/home/ubuntu/Desktop/Sample.ppt" 2.pdf is generated. 3. Actual Results: opening pdf in libreoffice draw shows image chart. in other softwares it is not showing graph. Expected Results: pdf should be opened in any softwares. Reproducible: Always User Profile Reset: No Additional Info: https://ask.libreoffice.org/en/question/266549/converting-ppt-to-pdf-does-not-show-chart/ More information can be obtained in above link.
Created attachment 165651 [details] general ppt with an chart image in it and a label I think it is the type/version of wmf that is the problem. LO can handle wmf normally; you can export an image as wmf in Draw. If I open the PPT in MS Powerpoint the fill in the graph is hatched, if I open it in Impress, then the fill is a smooth colour, so LO is not interpreting the wmf correctly.
I tested in LO 6.0 and 7.1+ and couldn't reproduce, I see chart in PDF. Please: 1. write exact LO version 2. test with master from https://dev-builds.libreoffice.org/daily/master/current.html 3. attach that wrong PDF.
4. Even if you use headless, it's wrong to report like that, without testing simple GUI save as, because we need to know where the problem is, is it headless, filesave or fileopen.
Created attachment 165774 [details] Generated pdf from ppt using command line
Hi Timur, I apology for not providing the exact version number. I am using LibreOffice 6.0.7.3 00m0(Build:3) and I have also attached the generated pdf file. If you open in libreoffice 6.0.7.3 you can view the chart image in pdf. If you use document viewer in ubuntu unable to view the chart image. Upgraded to LibreOffice 7.0.1.2 00(Build:2) and it is working fine. Thanks a lot.
Created attachment 165775 [details] Original ppt to reproduce the issue.
Created attachment 165776 [details] Generated pdf with ppt with ver 7.0 issue exists even in LibreOffice 7.0.1.2 00(Build:2) I have added the attachments. Let me know if I can provide more information. Thanks, Sagar.
Chart/image in attachment 165776 [details] is not seen only in some PDF viewers, like Adobe in Windows, but is seen in some other, like PDF-Xchange, PDF Master Editor etc. Image is WMF, so duplicate. So moral is: please test more and search before reporting. *** This bug has been marked as a duplicate of bug 104028 ***