Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Only placeholder shown for cropped picture in particular .pptx|
|Component:||open-import||Assignee:||AOO issues mailing list <issues>|
|Status:||CLOSED FIXED||QA Contact:|
|Priority:||P3||CC:||clarence.guo.bj, issues, rainerbielefeld_ooo_qa, steve.yin.aoo|
|Issue Type:||DEFECT||Latest Confirmation in:||4.0.1|
Description fanyuzhen 2013-10-23 02:53:39 UTC
Build Info: AOO401m5(Build:9714) - Rev. 1524958 Steps: 1. Open the sample PPTX file in AOO 2. Check the display of crop image in page 1 and 2 Problem: cannot load the crop image in AOO
Comment 1 fanyuzhen 2013-10-23 02:56:44 UTC
Cannot add an attachment more than 1M, will cut down the pages in original sample file and attach a smaller one soon.
Comment 3 Rainer Bielefeld 2013-10-25 05:03:47 UTC
Effect is Reproducible with reporter's sample and "AOO 4.1.0-Dev – English UI / German locale - [AOO410m1(Build:9750) - Rev. 1534248 - 2013-10-22]" on German WIN7 Home Premium (64bit)", own separate user profile (because of incomplete LCo selector (Bug 123063) no correct information can be left): When I open reporter's sample with above mentioned version in edit mode I only see placeholders instead of chart pictures in both slides. The same in Slideshow mode. Additional information ---------------------- (a) LibO 188.8.131.52 opens reporter's sample document without problems and shows charts on both slides. Same good result with MS PowerPoint Viewer (b) pictures also missing in SoftMaker FreeOffice (c) Regression, charts will be shown with OOo 3.1.1 (d) Already Reproducible with Reproducible with "Ooo 3.1.1 German WIN7 Home Premium (64bit) DE [OOO310m19 (Build 9420)]"! (e) Also reproducible in LibO 3.4, 3.5, is fixed in LibO 184.108.40.206 (f) Works fine with reporter's document opened with LibO and saved from LibO as .pptx But still several questions without answer @fanyuzhen: (g) What crop operation has been done with the charts in your document? (h) Why does document contain 2 slides? What do you want to tell? (i) With what Operating System did you test? (j) What kind of object is the chart? Simple raster graphic or an OLE object? (k) With what software have chart picture and sample document been created? (l) your summary seems to tell that you only see that problem with particular graphics and particular documents.pptx?
Comment 4 Clarence GUO 2013-10-31 09:28:51 UTC
Created attachment 81851 [details] fix patch The image was represented in OOXML as below: - <p:pic> - ... ... - <mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"> - <mc:Choice xmlns:ma="http://schemas.microsoft.com/office/mac/drawingml/2008/main" xmlns:mv="urn:schemas-microsoft-com:mac:vml" xmlns="" Requires="ma"> - <p:blipFill> <a:blip r:embed="rId2" /> - ... ... </mc:Choice> - <mc:Fallback> - <p:blipFill> <a:blip r:embed="rId3" /> - ... ... </mc:Fallback> </mc:AlternateContent> </p:pic> 'mc:AlternateContent" means it provides alternatives choice for application to draw the image. But this token has not been registed in supporting tokens and it's namespace is "http://schemas.openxmlformats.org/markup-compatibility/2006" which has not been registed in supporting namespaces. Then need to regist the token and it's namespace first. 'mc:Choice' means it is the first choice for applicatons to draw the image. It's image is 'rId2' which referenced to "../media/image12.pdf" in *.xml.rels file. So that mean's it's better for applications use PDF compatible functions to draw the image. However, AOO doesn't have this capability, so it will enter into 'mc:Fallback' which means another choice. under 'mc:Fallback', the image is 'rId3' which referenced to "../media/image1.png". AOO has capability to draw PNG images. However, 'Choice' and 'Fallback' has not been been registed in supporting tokens either, also need to regist them so that AOO can follow fore-mentioned process to draw the image.
Comment 5 Steve Yin 2013-11-01 05:42:12 UTC
For MS Mac Office, with PDF format it can show a vector diagram for the chart. Reviewed and verified the patch. It works on the latest revision.
Comment 6 SVN Robot 2013-11-01 05:51:40 UTC
"steve_y" committed SVN revision 1537831 into trunk: i123528: Only placeholder shown for cropped picture in particular .pptx