Lighting up the XML Paper Specification [Proof-of-concept XPS reader for Silverlight!]
**
This blog has moved to a new location and comments have been disabled.
All old posts, new posts, and comments can be found on The blog of dlaa.me.
See you there!
SimpleSilverlightXpsViewer.png
Comments
Anonymous
May 22, 2007
Cool project that Delay worked on: http://blogs.msdn.com/delay/archive/2007/05/22/lighting-up-the-xml-paper-specification-proof-of-concept-xps-reader-for-silverlight.aspxAnonymous
May 22, 2007
Delay started out poking around in the XPS document format. Before he could stop himself, he had an XPSAnonymous
May 22, 2007
Delay has a great proof-of-concept example that shows how a simple XPS viewer can be implemented in SilverlightAnonymous
May 22, 2007
David Anson has created an XPS viewer using the Silverlight 1.1 Alpha. This app is a very cool idea andAnonymous
May 22, 2007
The comment has been removedAnonymous
May 22, 2007
Delay 发布了一个SimpleSilverlightXpsViewer 小软件Anonymous
May 23, 2007
Amazing post over here; http://blogs.msdn.com/delay/archive/2007/05/22/lighting-up-the-xml-paper-specification-proof-of-concept-xps-reader-for-silverlight.aspx...Anonymous
May 23, 2007
The comment has been removedAnonymous
May 23, 2007
I have been working with XML for most of my career, from developing a CAD application to my roles atAnonymous
May 24, 2007
Silverlight news - May 24, 2007Anonymous
May 26, 2007
Well this week was a nice rest, most of it spent relaxing with my wife. So it was a non-coding week butAnonymous
June 06, 2007
On Monday I gave an overview talk called "A Lap Around Silverlight" at TechEd in Orlando. You can downloadAnonymous
June 12, 2007
לאט לאט עולים יותר הדגמות וחומרים על Silvelight, הנה כמה דברים מעניינים: מימוש של גרפים ב SilverlightAnonymous
June 13, 2007
G'day, I have been playing with XPS/Silverlight for a few days. I have noticed the sample XPS document you have provided with your sample code contains several ottdf file. How do you generate such a file ? My understanding is that font data is included within the XPS file unless i am incorrect. Another question for you is that if I used the Save As XPS option within Office 2007 within the XPS package there is a file FixedDoc.fdoc under Documents1. Whereas if I used the XPS printer driver the file is FixedDocument.fdoc. Why is there a difference ? In your code you are referring to FixedDocument.fdoc. thanks VeeralAnonymous
June 13, 2007
sorry mate i reread your post above regarding the ottdf file. Its included within Documents1ResourcesFonts path. Still interested in the fixeddoc.fdoc and fixeddocument.fdoc issue.Anonymous
June 13, 2007
The comment has been removedAnonymous
June 14, 2007
thanks for the feedback. It makes sense after a good sleep. I have been reading the XPS specification and the spec states that the actual name of the file with the extension fdoc can be anything as long as the long as the other aspects of the part naming conventions are adhered to. Just read up on section 2.2 and S2.25. Now I got to spend a bit more time with the XAML syntaxes between the two platforms. You guys pump out so many new things so quickly its hard for me to keep abreast with everything. :D What amazes me is how you managed to write this app and the ms surface app so quickly. I guess you have access to the team and internal resources. I really do envy you alot. :-) thanks for your help. veeralAnonymous
July 27, 2007
With today's release of the Silverlight 1.0 RC and 1.1 Refresh , I've updated the Silverlight samplesAnonymous
July 27, 2007
With today's release of the Silverlight 1.0 RC and 1.1 Refresh , I've updated the SilverlightAnonymous
July 28, 2007
Delay מפרט את השלבים שהוא עשה כדי לעשות Upgrade לכמה דברים שהוא כתב ב Silverlight 1.1. בינהם ה Air LinesAnonymous
August 02, 2007
Cool tool, I wonder if I can use this in my project, I am using Windows 2003, VS.NET c# ASP.net. I am plannig to convert all documents to .XPS and use the XPS viewer to view document overt the interner. Any Suggestions? All my web application was coded in ASP.net,C#, Windows 2003. It is too late for me to change to Vista for the monent.Anonymous
August 02, 2007
cesarzam, You could use something like my demo application or just rely on the native .XPS viewing that comes with .NET 3.0. It's my understanding that Vista is not a requirement for XPS viewing. You can find more details here: http://www.microsoft.com/whdc/xps/default.mspx Thanks and good luck!Anonymous
August 08, 2007
Bardzo mi się podoba fakt, że niektóre technologie kojarzone jako "produkty" bardzo odrębnie, ze względuAnonymous
August 08, 2007
Bardzo mi się podoba fakt, że niektóre technologie kojarzone jako "produkty" bardzo odrębnieAnonymous
October 11, 2007
Dla porządku nieco wstępu teoretycznego - XPS ( XML Paper Specification ) to jeden z nowych formatówAnonymous
October 11, 2007
Интересное приложение, созданное с использованием Silverlight, опубликовано в Delay's Blog . ПриложениеAnonymous
October 11, 2007
Интересное приложение, созданное с использованием Silverlight, опубликовано в DeAnonymous
October 12, 2007
这是一篇关于基于Silverlight 1.1 alpha 的XPS查看器,现在微软还没有官方的基于Silverlight的 XPS 查看器,但这位开发者是非Silverlight 团队的,他制作一个可以很好的查看XPS文档的查看器而且还有源代码下载,虽然能使用但是有一些问题(在文中会谈到).Anonymous
January 23, 2008
Postanowiłem wziąść udział w konkursie Silverlighta (SL). Długo szukalem tematu. Po akademicku zacząłemAnonymous
February 19, 2008
David Anson has created an XPS viewer using the Silverlight 1.1 Alpha. This app is a very cool idea andAnonymous
April 08, 2008
After a few customer requests to update my SimpleSilverlightXpsViewer proof-of-concept XPS reader forAnonymous
April 09, 2008
Windows Vistaに伴って、いろいろと新しいMSのアーキテクチャが導入さ...Anonymous
June 12, 2008
Earlier this week I was asked about an update to my SimpleSilverlightXpsViewer sample for the newly releasedAnonymous
October 17, 2008
Since the public release of Microsoft Silverlight 2 , I've gotten a few internal and external requestsAnonymous
December 14, 2008
LightinguptheXMLPaperSpecification[Proof-of-conceptXPSreaderforSilverlight!]Sincegetting...Anonymous
March 09, 2009
Please help in the following:
- How the Silverlight2.dll for Silverlight2.xps is generated.
- I can see a project with name Silverlight2. What kind of project is that ? (I mean I found there is a project for every XPS document)
- StreamResourceInfo streamInfo = Application.GetResourceStream(new StreamResourceInfo(e.Result, "application/binary"), new Uri(source, UriKind.Relative)); Here I get the error. That is If I have a MyXPS.XPS, the MyXPS.dll is not found which throws object not instantiated exception. Soumen, India
Anonymous
March 10, 2009
Soumen, I'm afraid I don't understand most of what you're asking. But maybe you want to start with one of the following two links which point to Silverlight 2 versions of the XPS Viewer: http://blogs.msdn.com/delay/archive/2008/10/18/roadblock-in-the-way-of-migrating-the-proof-of-concept-silverlight-xps-reader-simplesilverlightxpsviewer-sample-does-not-work-on-silverlight-2-rtw.aspx http://firstfloorsoftware.com/blog/xps-in-silverlight-revisited/ Hope this helps!Anonymous
March 11, 2009
Say for example, I have an XPS Document named “MyPPTSlide.xps” that I want to display in Silverlight-2 application. I need to know what are the steps involves in this regard. What I do is as below:
- Create a Silverlight 2 application using VWD 2008.
- Use the SimpleSilverlightXpsViewer.xap made by you in the HTML page as <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"> <param name="source" value="ClientBin/SimpleSilverlightXpsViewer.xap"/> <param name="initParams" value="xpsDocument=MyPPTSlide.xps" />
- Unknown Here I need to know what are the other tasks I need to do to display the MyPPTSlide.xps into the the html page. This might involve creating a separate project for the XPS document, creating fonts etc. I am stuck after step 2 and want to continue from step 3. Thanks in advance! Soumen, India
Anonymous
March 11, 2009
Soumen, The way the sample works is that references to the three samples are directly in the code which tells it where to look for them. Your proposal to use initParams to pass something in is a good one, but was unnecessary for the proof-of-concept I was working on. If you'd like to change the code to support that feature, I'd encourage you to do so because it seems like a nice thing to have. But the code I wrote was specifically not trying to support that general scenario. For what it's worth, if you want something quick and easy to start with, you can rename your XPS document to Intro.xps, replace the contents of the Intro sample with your document and files, and see where that gets you. :) Hope this helps!Anonymous
March 11, 2009
The comment has been removedAnonymous
March 12, 2009
Soumen, That has to do with the internal structure of the XPS document. You'll probably want to read the XPS specification if you're going to be doing much with XPS documents. Thanks!Anonymous
April 20, 2009
I’ve recently been involved on a project that has a requirement to create and view XPS documents in Silverlight. Anonymous
May 19, 2009
re: [Silverlight] Silverlight2での大量テキストの表示Anonymous
May 20, 2009
[Silverlight] Silverlight2での大量テキストの表示(XPS編)Anonymous
September 02, 2012
Thanks for this nice tutorial.But I've been used www.fileviewpro.com/.../file-extension-tif