Free Support Forum - aspose.com

Export to XPS

Hi,

Do you have plan to support Excel to XPS so that we can view in WPF?

Hi,

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

Thank you.

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.

Hi,

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.

Thank you.

was this ever added? if not, will it be?

Hi,

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!

Hello

Did you already implement this feature?
Or what is the best way to export an Excel sheet to XPS?

Hi,

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!

Hi,

Hopefully, we can start working on it in the next month.

Thank you.

Hello Sirs,

So what the final result?

Does this feature implemented?

Hi,

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.

regards

Hi,

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.

Hi,

Please download Aspose.Cells
for .NET v5.3.3.1
. 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:

C#


ImageOrPrintOptions iop = new ImageOrPrintOptions();

iop.SaveFormat = SaveFormat.XPS;

SheetRender sr = new SheetRender(workbook.Worksheets[0], iop);

sr.ToImage(0, “O:\TEST.XPS”);


2 - Export whole workbook to xps:

C#

WorkbookRender wr = new WorkbookRender(workbook, iop);

wr.ToImage(path + fi.Name + “.xps”);

The issues you have found earlier (filed as 13872) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.