Questions tagged [documentviewer]

A WPF UI control that can host paginated FixedDocument content such as an XpsDocument.

A WPF UI control that can host paginated FixedDocument content such as an XpsDocument.

You can read more about the DocumentViewer on Docs.

185 questions
1
vote
2 answers

Plone and document-viewer

I'm working on Plone. I've successfully installed document-viewer: Now I have a very nice preview of uploaded pdfs. The problem resides on world and excel files previews. As requirements says, I have to install OpenOffice or LibreOffice in order to…
Massimo Variolo
  • 4,669
  • 6
  • 38
  • 64
1
vote
1 answer

Save xps document as .pdf in wpf

Is there any way to save .xps document as pdf document from wpf without using any third party libraries? To be more precise, I have a documentviewer control in which I preview some xps document. I added some button "Create pdf" which I planing to…
Stojdza
  • 445
  • 2
  • 10
  • 32
1
vote
1 answer

How to display files stored outside web application folder on same web server using a web application domain name URL in JSP and Servlets?

I am working on a file sharing web application. This application is being developed using jsp and servlet, MySql, Apache tomcat 6.0 webserver and Eclipse Juno IDE. My expert level is beginner for these given technologies. This application is a…
Param-Ganak
  • 5,787
  • 17
  • 50
  • 62
1
vote
1 answer

Print preview using custom paginator and XpsDocumentWriter not displaying in DocumentViewer

I have created a custom document paginator that takes a datatable and prints exactly as I need. I would like to do a print preview. I have read all the posts on how to create a xps file in memory and then display it. I just can't get it to work.…
Allan
  • 83
  • 5
1
vote
2 answers

WPF - example of creating XPS document that is NOT from Visual

I'm looking for a reporting/printing solution that does not involve RDLC/SSRS. I'd like to use the DocumentViewer, which I know supports XPS. I have found plenty of examples that use Visual to XPS but I haven't found many examples where I can take…
Unknown Coder
  • 6,625
  • 20
  • 79
  • 129
1
vote
2 answers

WPF - view and RDLC report file

I have an extensive WPF application and I now want to incorporate some reports. I understand how to create the reports with RDLC but what about viewing them? Ideally, I'd like to use the DocumentViewer but I don't think that's one of the supported…
Unknown Coder
  • 6,625
  • 20
  • 79
  • 129
1
vote
1 answer

navigate to link in xps document using wpf

I am trying to open an xps document in wpf with vb as a fixed document with documentviewer, then navigate to a bookmark/link within the document. I have unpacked the xps and found the available links in DocStucture.struct, but I don't know how to…
sanation
  • 11
  • 4
1
vote
1 answer

Using HTML5 Canvas as document viewer offline

I am developing a website on local area network for that i need to display the documents in a viewer, can i use HTML5 canvas as document viewer e.g. (xls, xlsx, ppt, pptx, pdf) etc, it there any library or jQuery library to make offline document…
1
vote
1 answer

WPF DocumentViewer loses custom style after internal link use

Hi want to build a small application, that allows to navigate through filesystem and displays several documents. One type of document i want to show, is xps. DocumentViewer is doing well. In combination with a Frame the viewer can handle internal…
Markus
  • 13
  • 6
1
vote
1 answer

How to hide a DocumentViewer page element from printing

So I have been building a WPF application that prints over some forms. These forms come preprinted with only blank spaces where you are supposed to write in some information. WPF app needs to precisely print text so that text printed by WPF aligns…
4th Dimension
  • 65
  • 2
  • 11
1
vote
0 answers

How we can determine pages to print in xps documentViewer?

When I want print an XPS Document using DocumentViewer(which I created it by DocumentPaginator ),Print Dialog only shows me to print all pages and I can not determine page numbers to print, How we can say to documentViewer to print some Page Range…
Shakerinia
  • 11
  • 2
1
vote
2 answers

How can you tell which PageView was clicked on a DocumentViewer?

It is pretty clear if only one page is visible but if multiple pages are visible, how can you tell which page the user clicks on? I looked through its properties and nothing really stuck out. Even if I find a way to show only one page at a time,…
Pittfall
  • 2,751
  • 6
  • 32
  • 61
1
vote
2 answers

Can there be Password in XPS File so that only authorised C# code can open it in WPF Document Viewer?

We have all heard that XPS is Microsoft's answer to Adobe's PDF. Since PDF File has password facility so i was wondering is there any such facility in XPS Files also. Why and where I want it :- I need to display some books which are stored in file…
Nikhil Agrawal
  • 47,018
  • 22
  • 121
  • 208
1
vote
0 answers

WPF Table Multiple Row Header

How can i achieve this multiple row header in WPF table? Example: ID Name Age Gender City Phone 1 Address 1 Phone 2 Address 2 ------------------------------------ 1 Justin 30 M …
lionheart
  • 423
  • 2
  • 4
  • 17
0
votes
1 answer

What can cause XPS FixedDocument to look different on Windows 7 compared to XP?

I have a program that generates a FixedDocument object and displays that in the XPS DocumentViewer. According to the documentation on MSDN "Fixed documents are intended for applications that require a precise "what you see is what you get" (WYSIWYG)…