Hi Dave,
this seems to be a problem regarding the way OOo saves captions for
objects like frames, sounds, pictures, etc.
In other words, the surrounding frame is only there because the inner
frame has a caption.
Thanks for this hint --- I always wanted to inform the OpenDocument TC
about this issue.
Best regards,
Florian
I can insert an image, and find the XML in content.xml workable for an
output transform.
Audio however, is treated almost identically; producing
<text:p text:style-name="Text_20_body">
<draw:frame draw:style-name="fr1" draw:name="Frame2"
text:anchor-type="paragraph" svg:x="5.031cm" svg:y="-0.041cm"
svg:width="3.082cm" draw:z-index="2">
<draw:text-box fo:min-height="0.605cm">
<text:p text:style-name="Caption">
<draw:frame text:anchor-type="paragraph"
draw:z-index="3" draw:style-name="gr1" svg:width="3.081cm"
svg:height="0.604cm" svg:x="0cm" svg:y="0cm">
<draw:plugin xlink:href="../mmlExample.mp3"
xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
draw:mime-type="application/vnd.sun.star.media">
<draw:param draw:name="Loop" draw:value="false"/>
<draw:param draw:name="Mute" draw:value="false"/>
<draw:param draw:name="VolumeDB" draw:value="0"/>
</draw:plugin>
</draw:frame>Simple mml insert. mp3 format</text:p>
</draw:text-box>
</draw:frame>Inserting an audio file. </text:p>
Comments.
The structure seems messy?
The caption is a sibling of the draw:frame yet unwrapped?
It uses the drawing structure, even though it's audio?
There is no accessibility option, as with drawings, for svg:desc
to provide a text alternative for deaf users?
Are there any plans to change this please?
It makes processing (for an output transform) a bit messy :-)
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]