Bug 136873 - Converting ppt to pdf does not show chart.
Summary: Converting ppt to pdf does not show chart.
Status: RESOLVED DUPLICATE of bug 104028
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0 all versions
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-18 08:49 UTC by vidhya sagar
Modified: 2020-09-22 14:18 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
general ppt with an chart image in it and a label (128.50 KB, application/vnd.ms-powerpoint)
2020-09-18 08:52 UTC, vidhya sagar
Details
Generated pdf from ppt using command line (35.64 KB, application/pdf)
2020-09-22 13:28 UTC, vidhya sagar
Details
Original ppt to reproduce the issue. (116.50 KB, application/vnd.ms-powerpoint)
2020-09-22 13:46 UTC, vidhya sagar
Details
Generated pdf with ppt with ver 7.0 (34.08 KB, application/pdf)
2020-09-22 13:50 UTC, vidhya sagar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vidhya sagar 2020-09-18 08:49:45 UTC
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.
Comment 1 vidhya sagar 2020-09-18 08:52:24 UTC
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.
Comment 2 Timur 2020-09-22 07:05:37 UTC
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.
Comment 3 Timur 2020-09-22 07:07:22 UTC
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.
Comment 4 vidhya sagar 2020-09-22 13:28:09 UTC
Created attachment 165774 [details]
Generated pdf from ppt using command line
Comment 5 vidhya sagar 2020-09-22 13:32:34 UTC
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.
Comment 6 vidhya sagar 2020-09-22 13:46:26 UTC
Created attachment 165775 [details]
Original ppt to reproduce the issue.
Comment 7 vidhya sagar 2020-09-22 13:50:18 UTC
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.
Comment 8 Timur 2020-09-22 14:18:11 UTC
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 ***