Issue 39138 - Supporting the projector media on Impress XML
Summary: Supporting the projector media on Impress XML
Status: CONFIRMED
Alias: None
Product: xml
Classification: Code
Component: external filters (show other issues)
Version: OOo 2.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL: http://xml.openoffice.org
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-16 10:38 UTC by acolorado
Modified: 2013-02-07 21:48 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Graphic explaining the difference (57.46 KB, image/png)
2005-10-04 10:14 UTC, acolorado
no flags Details
export with the Projection @media support (look for comment) (12.90 KB, text/html)
2005-10-04 10:15 UTC, acolorado
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description acolorado 2004-12-16 10:38:18 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/
Comment 1 michael.brauer 2005-08-23 14:02:35 UTC
MIB->CL: Any ideas regarding supporting @projector?
Comment 2 clippka 2005-08-23 14:11:35 UTC
Maintainer of the XSLT for XHTML is Svante Schubert
Comment 3 acolorado 2005-08-23 15:57:55 UTC
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. 
Comment 4 svante.schubert 2005-08-26 12:20:16 UTC
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.
Comment 5 acolorado 2005-10-04 10:14:06 UTC
Created attachment 30107 [details]
Graphic explaining the difference
Comment 6 acolorado 2005-10-04 10:15:06 UTC
Created attachment 30108 [details]
export with the Projection @media support (look for comment)
Comment 7 svante.schubert 2005-10-04 17:24:21 UTC
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.
Comment 8 acolorado 2005-10-04 18:22:40 UTC
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.