Do you have plan to support Excel to XPS so that we can view in WPF?
We don't have a plan to support Excel2XPS. I think you may use Worksheet.Sheet2Image() method to take the image of the sheet and use for your need: http://www.aspose.com/documentation/file-format-components/aspose.cells-for-.net-and-java/converting-worksheet-to-image.html
Still no plans for this? My goal is actually to convert an excel spreadsheet into xaml for use in a silverlight project but XPS would be perfect since it is actually a zip file with xaml inside. An image won’t work for our scenario since we will also need to make modifications to the xaml. For example, we need frozen columns and rows but that part could be modified by us if we had an XPS file.
We have planned for your desired feature. Your feature request has been logged into our issue tracking system with an issue id: CELLSNET-13872. We will inform you if there is any progress about it.
was this ever added? if not, will it be?
Well, we did plan this feature and added to our feature list, but never started it. Actually, we have to complete some other important tasks (on hand) first, so this feature is delayed again. This is unfortunate really and we are sorry for any inconvenience caused.
Once we start working on this feature, we will let you know about it.
Thanks for your understanding!
Did you already implement this feature?
Or what is the best way to export an Excel sheet to XPS?
I am afraid, still I don’t have any good news for you.
We will try to discuss it with developers if we can make it. Once we have any update, we will let you know.
Sorry for any inconvenience caused!
Hopefully, we can start working on it in the next month.
So what the final result?
Does this feature implemented?
We are afraid, this is not implemented yet.
If we have any other update for you, we will let you know.
When you will deliver XPS as output type for cells?
From my point of view it is an important function with high Prio.
Words and Slides already implementing it very well!
In an MS environment with WPF and Silverlight
PDF is not accectable and XPS required.
I am afraid, we still could not evaluate it.
But, surely, we will look into it in the next week and share the details with you.
Keep in touch.
Please download Aspose.Cells
for .NET v18.104.22.168. We have fixed this issue.
And now we support export to XPS from Excel. Below is a code example.
1 - Export one page from sheet:
ImageOrPrintOptions iop = new ImageOrPrintOptions();
iop.SaveFormat = SaveFormat.XPS;
SheetRender sr = new SheetRender(workbook.Worksheets, iop);
2 - Export whole workbook to xps:
WorkbookRender wr = new WorkbookRender(workbook, iop);
wr.ToImage(path + fi.Name + “.xps”);