We’re recreating a form using Aspose.Words and are using cells to create the spacing and organization that the report needs. We are using the following code in the document creation to set up our merged cells using i in a for loop:
row.Cells[0].CellFormat.HorizontalMerge = CellMerge.First;
then
row.Cells[i].CellFormat.HorizontalMerge = CellMerge.Previous; //for all other cells in the merge.
We then save the document to SaveFormat.XamlFixed to a temporary location. Within our WPF GUI, when then open that xaml and pop it into a document viewer. The merged cells are collapsed in the WPF DocumentViewer. However, when exported or saved as xps from the viewer, the cells are back to normal.
My question is this:
Is it how I’m merging the cells that is causing the oddity, a problem with Aspose, or a problem with WPF?