I keep getting this error when converting MS Word files… Is there any work around for this available? Current Library Aspose.Words v14.11.
I updated to v15.6 with the same issue… The issue is captured using the IWarningCallback.
Here is something interesting as well, I updated to Aspose.PDF 10.6 which is now throwing an SEHException when trying to save the same file as an attachment inside a PDF.
Hi Cary,
Cary:Import of element ‘rsids’ is not supported in Docx format by Aspose.Words.
caryangell:Here is something interesting as well, I updated to Aspose.PDF 10.6 which is now throwing an SEHException when trying to save the same file as an attachment inside a PDF.using (PdfContentEditor editor = new PdfContentEditor()){System.Drawing.Rectangle rect = new System.Drawing.Rectangle(0, 0, 25, 25);editor.BindPdf(strNativePdfName_temp);if (strAttFileName.ToUpper().Substring(strAttFileName.LastIndexOf(@"\") + 1) != @"C.GIF" && strAttFileName.ToUpper().Substring(strAttFileName.LastIndexOf(@"\") + 1) != @"C.JPG"){using (System.IO.FileStream attStream = System.IO.File.OpenRead(strAttFileName)){editor.CreateFileAttachment(new System.Drawing.Rectangle(0, 0, 25, 25), strAttFileName, attStream, strAttFileName, 1, "Paperclip");//Save the filetry{editor.Save(strNativePdfName);}catch{throw;}}}}
using (PdfContentEditor editor = new PdfContentEditor())
{
System.Drawing.Rectangle rect = new System.Drawing.Rectangle(0, 0, 25, 25);
editor.BindPdf(myDir + "input.pdf");
string strAttFileName = myDir + "NY+Info+.docx";
using (System.IO.FileStream attStream = System.IO.File.OpenRead(strAttFileName))
{
editor.CreateFileAttachment(new System.Drawing.Rectangle(0, 0, 25, 25), strAttFileName, attStream, strAttFileName, 1, "Paperclip");
//Save the file
try
{
editor.Save(myDir+"fileattachment.pdf");
}
catch
{
throw;
}
}
}
Best Regards,
Have we found a solution to this issue?
Hi Cary,
FYI there is an issue with the following tags as well “decimalsymbol” , “rsids” , “defaultshapes” when loading/saving using Aspose.Words
The issues you have found earlier (filed as WORDSNET-12134) have been fixed in this Aspose.Words for .NET 19.10 update and this Aspose.Words for Java 19.10 update.