I know there are many ppt to flash conversion tools on the market, but any chance someone knows of one for SilverLight? Just as important, we're looking for an API to programmatically do this, allowing our clients to easily convert there powerpoint files
to readily viewable silverlight videos.
Since Silverlight is a small subset it doesn't support all the XAML properties covered by XPS.
I have come across only two elements so far, that have limitations (as explained below). There may be more when trying to convert XPS created by PPT.
My approach, all done in a c# plugin to my application (not PPT):
1) Print the doc using 'Microsoft XPS Printer'. Check if the paper setting of the XPS driver matches the document size you are printing. This could be done manually by the user through ControlPanel. In my case, I try to set it in my c# code itself.
2) For each page, extract the XAML content (XPS .net libraries makes this very easy)
3) Use XMLDOM libraries, extract children of <FixedPage> top level element and warp them in a <Canvas> object
4) Copy images and fonts (thanks to support for obfusticated Font in SL 1.0beta) to appro library and fix their path in the extracted XAML (ImageBrush and Glyph elements).
5) Fix <ImageBrush> tags by removing ViewBox and ViewPort etc, attributes (not supported in Silverlight). You will have to crop the images using the XPS's viewbox/viewport values
appropriately.
6) Remove 'RegionRenderOptions' attribute from Canvas if any (not supported in Silverlight)
And now, you should have XAML that can be passed on to Silverlight.
If you do try this, please share any other elements/attributes you come across that are not supported in Silverlight.
perhaps a MOD of XPS driver could be better instead of using XPS XAML just direct output with silverLight XAML. (can be a lot of work)
but the point here is, what's the deal with Animations ?? silverLight seems to be able to make equivalent Animation to powerpoint.
why don't use the same trick, but instead of export to xps , just export to html/js . parse and transforme MS vml to XAML. and retrieve back animation from the ppt.(could be a great exercise)
Or just wait MS to do this in next office release ;-)
Hi
We've built an application for viewing documents in Silverlight client.
In application
http://delay.members.winisp.net/SimpleSilverlightXpsViewer/ , used "Microsoft XPS Document Writer" printer driver to create an XPS document. But we couldn't use this way.
How can we programme to convert documents such as doc, docx, pdf... into XPS document in our application?
Thanks a lot!
Electric Rain is a multimedia software company that has spent the last year creating a PowerPoint-to-XAML (Microsoft WPF & Silverlight) converter technology. Electric Rain has already licensed this technology directly to
Microsoft and is now making the technology available on a broader level to other software companies. Below is a brief outline of the current features of the technology. Please contact me if you are interested in learning more about the technology and/or how
to license it for use in your products / services.
Electric Rain PowerPoint-to-XAML Converter Feature list:
Convert a PowerPoint 2007 presentation into XAML Slides and Shapes that works on Microsoft’s Windows Presentation Foundation
3.5 and Silverlight 2.0 clients.
Convert Shapes into XAML equivalents for images, text, and drawings as PNG’s. Also supports videos to videos, and PowerPoint
ink to WPF / Silverlight static ink. All other shape types can be converted to image equivalents.
Support for PPTX or PPT file format conversions (must have PowerPoint 2007 installed).
Renders all effects to PNG while preserving very accurate layout information.
Supports most common set of “wipe” animations for shapes, aka custom animations (i.e. scale, rotate, motion paths) of the
priority animations.
Renders a custom build animation within a slide (i.e. render a specific diagram animation within a slide in XAML).
Ability to render text as PNG for best fidelity retention (next version will include a full vector text implementation).
Remove/Re-add specific shapes/backgrounds from slides before final conversion.
Export slides to Visual Studio solution file (SLN) for further editing, or asset re-use in Microsoft Blend or other XAML
editors / players.
“One-click” import all button that will convert all slides to XAML files (WPF or Silverlight).
Pick and choose specific slides for conversion through a visual interface sample app.
Preview animations before exporting via the player code used within the sample app provided.
PPTX overlay allows user to see how accurate the conversion is compared to a picture of the original slide.
Render and retain layout animation transitions.
Set target output resolution.
Written completely in C# code and is a 100% .NET 3.5 managed application / code.
License is available as compiled libraries or source code. Includes sample standalone converter application and previewer.
We’ll have a trial version available in a few weeks for select potential licensor’s under NDA
with us, but in the meantime we’ve added a screenshot of the PowerPoint to XAML Converter sample application along with a sample Silverlight converted PowerPoint to view online. We can export the WPF / Silverlight XAML in many different variations from loose
XAML, to a Visual Studio SLN file, as well as to a self-contained EXE or Silverlight XAP file. Take a look at the feature set and description on our web site to see if it might be a good fit for your products.http://www.erain.com/Company/Technology/default.asp#PPTSilverlightConverter
Please let me know if you have any questions or would like to set up a call to discuss licensing terms.
PowerPoint to Silverlight Convertor(PPTX2Silverlight) is an
open source application for windows developed in WPF, and it has the following features,
* PPT Convertor with WPF interface
* Presentation Gallery Control (fish-eye) to Show and Launch Converted PPT’s
* Custom Web Server for Hosting Converted PPT’s (No Dependency on IIS) * Reusable
PPT Viewer Component Showing Slides in familiar PowerPoint Look and Feel
* Slide Navigation Controls (backward-forward) *
Full Screen Mode in PPT Viewer
* Built with Silverlight 2.0 RTM
* Available with Installer
elixirmike
0 Points
1 Post
Any chance to convert ppt to silverlight?
Jun 14, 2007 07:12 PM | LINK
I know there are many ppt to flash conversion tools on the market, but any chance someone knows of one for SilverLight? Just as important, we're looking for an API to programmatically do this, allowing our clients to easily convert there powerpoint files to readily viewable silverlight videos.
Any info anyone can provide is appreciated.
Ashraf Michail
Member
290 Points
65 Posts
Microsoft
Re: Any chance to convert ppt to silverlight?
Jun 15, 2007 03:06 AM | LINK
If you use the save as XPS support in powerpoint, you are almost there, but will need some fixup that will need to be done after that.
Software Architect
Microsoft
This post is provided "as-is"
mdhandapai
Member
32 Points
23 Posts
Re: Any chance to convert ppt to silverlight?
Jun 15, 2007 03:07 PM | LINK
App --> XPS --> Silverlight XAML
Since Silverlight is a small subset it doesn't support all the XAML properties covered by XPS.
I have come across only two elements so far, that have limitations (as explained below). There may be more when trying to convert XPS created by PPT.
My approach, all done in a c# plugin to my application (not PPT):
1) Print the doc using 'Microsoft XPS Printer'. Check if the paper setting of the XPS driver matches the document size you are printing. This could be done manually by the user through ControlPanel. In my case, I try to set it in my c# code itself.
2) For each page, extract the XAML content (XPS .net libraries makes this very easy)
3) Use XMLDOM libraries, extract children of <FixedPage> top level element and warp them in a <Canvas> object
4) Copy images and fonts (thanks to support for obfusticated Font in SL 1.0beta) to appro library and fix their path in the extracted XAML (ImageBrush and Glyph elements).
5) Fix <ImageBrush> tags by removing ViewBox and ViewPort etc, attributes (not supported in Silverlight). You will have to crop the images using the XPS's viewbox/viewport values appropriately.
6) Remove 'RegionRenderOptions' attribute from Canvas if any (not supported in Silverlight)
And now, you should have XAML that can be passed on to Silverlight.
If you do try this, please share any other elements/attributes you come across that are not supported in Silverlight.
Good Luck.
dimdoom
Member
2 Points
1 Post
Re: Any chance to convert ppt to silverlight?
Jun 19, 2007 03:05 PM | LINK
XPS to silverlight sounds the good way.
see http://delay.members.winisp.net/SimpleSilverlightXpsViewer/ seem to be a good way.
source : http://blogs.msdn.com/delay/archive/2007/05/22/lighting-up-the-xml-paper-specification-proof-of-concept-xps-reader-for-silverlight.aspx
perhaps a MOD of XPS driver could be better instead of using XPS XAML just direct output with silverLight XAML. (can be a lot of work)
but the point here is, what's the deal with Animations ?? silverLight seems to be able to make equivalent Animation to powerpoint.
why don't use the same trick, but instead of export to xps , just export to html/js . parse and transforme MS vml to XAML. and retrieve back animation from the ppt.(could be a great exercise)
Or just wait MS to do this in next office release ;-)
ntngoc_it
Member
2 Points
1 Post
Re: Any chance to convert ppt to silverlight?
Sep 09, 2008 04:23 AM | LINK
Hi
We've built an application for viewing documents in Silverlight client.
In application http://delay.members.winisp.net/SimpleSilverlightXpsViewer/ , used "Microsoft XPS Document Writer" printer driver to create an XPS document. But we couldn't use this way.
How can we programme to convert documents such as doc, docx, pdf... into XPS document in our application?
Thanks a lot!
jimbob76
Member
2 Points
1 Post
Re: Any chance to convert ppt to silverlight?
Dec 01, 2008 03:34 PM | LINK
Discovered this http://www.xcarab.com/sts/ and it seems to work
Electric Rain
Member
4 Points
3 Posts
Re: Any chance to convert ppt to silverlight?
Feb 18, 2009 07:59 PM | LINK
Mike Soucie
Electric Rain, Inc.
303.543.8233 tel
msoucie@erain.com
http://www.erain.com
xaml Silverlight 2.0 wpf powerpoint converter
witwall
Member
2 Points
1 Post
Re: Any chance to convert ppt to silverlight?
Aug 05, 2009 12:52 PM | LINK
Convert PPT to Silverlight with Free Software
PowerPoint to Silverlight Convertor(PPTX2Silverlight) is an open source application for windows developed in WPF, and it has the following features,
* PPT Convertor with WPF interface
* Presentation Gallery Control (fish-eye) to Show and Launch Converted PPT’s
* Custom Web Server for Hosting Converted PPT’s (No Dependency on IIS)
* Reusable PPT Viewer Component Showing Slides in familiar PowerPoint Look and Feel
* Slide Navigation Controls (backward-forward)
* Full Screen Mode in PPT Viewer
* Built with Silverlight 2.0 RTM
* Available with Installer
wpf powerpoint DotNET PPT2Silverlight PPTtoSilverlight PPTX
fashai
Contributor
2105 Points
458 Posts
Re: Re: Any chance to convert ppt to silverlight?
Aug 06, 2009 01:50 PM | LINK
Does all the above mentioned solutions get the animation effects of PPT as well into silverlight?
Knowledge Shared Is Knowledge Gained
www.fazal.wordpress.com
Please remember to mark the replies as answers if they help
Electric Rain
Member
4 Points
3 Posts
Re: Any chance to convert ppt to silverlight?
Aug 07, 2009 02:06 AM | LINK
Electric Rain announces 'Convexion' PowerPoint to Silverlight & WPF Converter. Available in September.
See a demo here...
http://www.erain.com/products/convexion/?erain=cnvxtwit
xaml Silverlight wpf powerpoint