https://issues.apache.org/ooo/show_bug.cgi?id=123528

Clarence GUO <clarence.guo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #81851|                            |review?
              Flags|                            |
                 CC|                            |clarence.guo...@gmail.com

--- Comment #4 from Clarence GUO <clarence.guo...@gmail.com> ---
Created attachment 81851
  --> https://issues.apache.org/ooo/attachment.cgi?id=81851&action=edit
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to