Apache OpenOffice (AOO) Bugzilla – Issue 39138
Supporting the projector media on Impress XML
Last modified: 2013-02-07 21:48:55 UTC
I have seen the CSS that produces the XSLT for Impress XHTML. I would love to see a really great media type that is increasing on the CSS space to create web-presentations. The media type is called @projector. This media type will make webistes and headings so that it would be titles of the slides and the conent will be transformed into list items. I would like to get in touch with some of the maintainers of this xslt and tell me how can I enhace it with the projector properties. You can learn more about this media type by Opera's tutorial on Opera 'show'. http://www.opera.com/support/tutorials/operashow/
MIB->CL: Any ideas regarding supporting @projector?
Maintainer of the XSLT for XHTML is Svante Schubert
We came to a cross-road on implementing the XSLT, my lack of knowledge of XSLT (I know more now thought) and understand the XSLT framework make it hard to implmeent this XSLT. The framework can be found here: C:\Program Files\OpenOffice.org 1.9.113\share\xslt\export\common\styles Basically the problem resides on understanding how it changes to each format (I currently focus on Impress). Having the XSLT to write the extra mediatype in the CSS caused some issues as I couldn't test it using xsltproc.
SUS->JZA: The XHTML transformation is the same for all input document formats (Writer, Impress, Calc..) as it is the same XML specification (OpenOffice.org XML) being used. Only the elements and attributes vary slightly. My advice would be to create a simple Office example (impress) document where the media type attribute 'projector' (cp. http://www.w3.org/TR/CSS21/media.html#media-types) might get used. Most likely (without reading into it) the type will be used for all presentations, therefore used whenever the office:document/@office:class="presentation" (later in OASIS XML the attribute will be exchanged to "office:mimetype="application/x-vnd.oasis.openoffice.presentation"). PS: To improve performance the check should be done via xsl:key in the transformation. BTW it is a general problem of XSLTPROC, which does not cope with the complex transformation. If you are able to use Java I suggest the Xalan processor.
Created attachment 30107 [details] Graphic explaining the difference
Created attachment 30108 [details] export with the Projection @media support (look for comment)
SUS->JZA: Just tested it with latest Opera (Version 8.5 /Build 7700). This full screen presentation with F11 seems to be a nice brower feature. The question that remains is how does I generate the new CSS attribute @media projection { .p3 {font-size: 3em;} .dp3 { page-break-after: always; display:block; padding:65px 200px 0px 24px;} .P2 div {background-color:red;} .P2 p {font-size: 6em;} } from an OpenDocument? I assume that the provided CSS @media projection values should not be static. What does the spec say? Hopefully you can provide me with some further information.
Hi, it should inherit the original style of the impress presentation. The only key should be tie the <div class="dp3"> with the page-break-after: always;. Away from that I think we shouldn't resize nor re-align the text this will make the actual impress display and the Opera display almost the same.