We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Problem with StyleRef in Footer/Header

Hi,

I have a problem converting the provided doc to pdf. The doc contains field-functions in footer/header, that are not validated. And "*/ MERGEFORMAT’ is also ignored. Please look at the top of page 2 for the error. (Table row 2, col 2, Text: Mod inkl…).
I use Word 14.6.0.0 and this code:
string strFile = @“C:_Temp\Aspose_Word2Pdf\Fall_5\StyleRef-Test.docx”;

string sInFile = strFile;
string sOutFile = strFile + “.pdf”;
Aspose.Words.License wLic = new Aspose.Words.License();
wLic.SetLicense(“Aspose.Total.lic”);

Aspose.Words.Document wDoc;
wDoc = new Aspose.Words.Document(sInFile);
wDoc.Save(sOutFile, SaveFormat.Pdf);

With version 13.8.0.0 it worked fine.

Kind regards,
Oliver

Hi Oliver,


Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 14.7.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-10733. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-10733) have been fixed in this .NET update and this Java update.


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

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan