Click here to Skip to main content
15,921,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Can any one suggest the the best third-party tool for generating report in XPS format using WPF.

Regards,

sajith
Posted

 
Share this answer
 
Comments
sajithnet 13-Mar-12 3:48am    
thanks Abhinav
Abhinav S 13-Mar-12 7:25am    
You are welcome. Vote if it helped.
You can do it yourself, without any tools. Please see this discussion and the basic code sample in the answer:
http://stackoverflow.com/questions/352540/how-to-create-an-xps-document[^].

[EDIT]

In reply to follow-up discussion:

You should understand that XPS is a fixed-layout document format. Please see:
http://en.wikipedia.org/wiki/Open_XML_Paper_Specification[^].

—SA
 
Share this answer
 
v2
Comments
sajithnet 13-Mar-12 3:47am    
thanks SA,
you are correct.but my problem is that only Document.Table is more flexible
in flow document .but it does not support binding like we have in grid/Listview.
if we are using grid in flow document say the grid has 100 row these rows will
only fit with the height of grid with scroll option.so i need a control that
fulfills data-binding,repeated column headers if there is overflow to another-page.
can u please go through my project on https://skydrive.live.com/?cid=96FB4F1E3660C28B&id=96FB4F1E3660C28B!103
Sergey Alexandrovich Kryukov 13-Mar-12 12:58pm    
This is not what you asked in first place. Could that be a reason for vote of 1?

Please see my updated answer, after [EDIT]. What data binding can you expect in a document. A document is a document; even a fluid-layout document is fixed structurally and carries fixed data.

--SA
sajithnet 14-Mar-12 8:07am    
thanks SA
"fluid-layout document is fixed structurally and carries fixed data".??
then why .net provide flow document this is just opposite of what u said right?
Sergey Alexandrovich Kryukov 14-Mar-12 12:45pm    
One does not contradict to another. Flow documents are important, but XPS ones are only fixed. Again, please see this Wikipedia article.
--SA
Sergey Alexandrovich Kryukov 14-Mar-12 12:48pm    
Sorry, I did not get you. Yes. What I mean is: fixed documents are fixed; like those on paper. One of them is XPS.
Fluid-layout documents still are fluid (WPF flow documents), but they are fluid in layout; the content is fixed. Structurally, logically.

Did I make it clear now?
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900