documentviewer

Host Html Document in DocumentViewer WPF

I'd like to show an html document in the documentViewer control. How should it be done? I've searched for any examples with no success. Any idea would be apreciated. ...

Does anyone know of an iPaper alternative?

We would like to display office documents in the browser (DOC, PPT, XLS and PDFs). The iPaper API from Scribd is perfect but ideally it would be installed on our server. Open source is a preference but commercial is ok. Looking for an easy, server side, good looking, minimal interface flash frontend viewer. Thanks! ...

Integrating a WPF control in WinForms without allowing access to other WPF controls?

I need the DocumentViewer WPF control (for XPS files) in a Windows Form application. This is actually simple, but I'm not allowed to link in WPF assemblies. My boss' reasoning is that people will start using WPF controls which are incompatible with some of our software. I can't change any of this; it has to be XPS and cannot bring in mor...

DocumentMap/Table of Contents for DocumentViewer, and calling a hyperlink by name or link number for XPS documents.

I have XPS files with header bookmarks. If you open the source document in Word and go to view->Document Map, you see all of the bookmarks on the left. Is it possible to get this same functionality in DocumentViewer, like you would get with a PDF document in some sort of PDF reader? Also, the RequestNavigateEventHandler shows that each...

Cannot find a public type named PresentationUIStyleResources

I am new to WPF and XAML, but after a few hours of googling I cannot figure out what is wrong here. I have PresentationUI assembly added as a reference. "The type reference cannot find a public type named 'PresentationUIStyleResources'. Line 14 Position 44." The error occurs on the first line with 'PresentationUIStyleResources'. What...

Retrieving a list of hyperlinks/bookmarks from an XPS Document?

I have a .docx file with a bunch of bookmarks and hyperlinks. I can navigate through these in documentviewer just fine. What I would like is if it was possible to generate a list of all of the hyperlinks contained in the file. From there, I can create a TreeView on the documentviewer and call the links by name (using the list) instead of...

Surface WPF ScatterViewItem with DocumentViewer data binding problem

I've got an issue with data-binding with a WPF application I'm working on. Essentially I've got a class document which contains a IDocumentPaginatorSource property containing the contents of an XPS document. In my Main Window I've got a ScatterView which I create ScatterViewItems for programmatically. When a button is pressed, a new Docu...

Render PDF using DocumentViewer control ?

Is it possible to render PDF using DocumentViewer (it's WPF control) ? If it is possible then how ? Code example or link to some code example would be appreciated. Thanks for answers. ...

Where's my Paperclip doc? Finding the right path

I have a site that saves user documents and I want to use Paperclip to display them using Google Docs Viewer (http://googledocs.blogspot.com/2009/09/view-online-files-using-google-docs.html). Paperclip is working. For instance, I have a file saved at: 127.0.0.1:3000/assets/resumes/51/original/myfile.pdf I want to display that through t...