You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by bu...@apache.org on 2013/10/31 10:28:51 UTC

review requested: [Bug 123528] Only placeholder shown for cropped picture in particular .pptx : [Attachment 81851] fix patch

Clarence GUO <cl...@gmail.com> has asked  for review:
Bug 123528: Only placeholder shown for cropped picture in particular .pptx
https://issues.apache.org/ooo/show_bug.cgi?id=123528

Attachment 81851: fix patch
https://issues.apache.org/ooo/attachment.cgi?id=81851&action=edit


------- Additional Comments from Clarence GUO <cl...@gmail.com>
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org