Hello,
if we (and also in your online demo) convert the attached (Input.zip) file to PDF two fields are erroneous in the result PDF (see attached Screenshot).
Input.zip (144.3 KB)
Kind Regards,
Andy
Hello,
if we (and also in your online demo) convert the attached (Input.zip) file to PDF two fields are erroneous in the result PDF (see attached Screenshot).
Input.zip (144.3 KB)
Kind Regards,
Andy
@AStelzner Thank you for reporting this problem to us. For a sake of correction it has been logged as WORDSNET-23765. We will keep you informed and let you know once it is resolved.
Hello,
do you know when the error will be fixed?
Kind regards,
Andy
@AStelzner Unfortunately, the issue is not resolved yet. It is currently in a queue for analysis and is not yet scheduled for development. We will keep you informed and let you know one it is resolved or we have more information for you.
This ticket has been in existence since April, we pay a lot of money for the license and it is not ok that errors that are obviously in your possession last more than 3 months.
@AStelzner Unfortunately, there are still no news regarding this issue. I have asked the responsible developer to take a looks at it shortly. But still we cannot promise you a fast fix of this problem. Your input document is ODT, that contains ODT checkbox, there is no one-to-one analog of such checkbox in MS Word and in Aspose.Words model (since model is designed to work with MS Word document at first). That is why Aspose.Words tries to convert the checkboxes to the closest analog - checkbox form field. By the way MS Word simply ignores them. Upon this conversion after the checkbox form field redundant text is inserted.
As a temporary workaround, you can remove this redundant text to get the desired output:
Document doc = new Document(@"C:\Temp\in.odt");
foreach (Field ff in doc.Range.Fields)
{
if (ff.Type == FieldType.FieldFormCheckBox)
{
Run nextRun = ff.End.NextSibling as Run;
if (nextRun != null && nextRun.Text.Trim().StartsWith("Markierfeld"))
nextRun.Remove();
}
}
doc.Save(@"C:\Temp\out.pdf");
The issues you have found earlier (filed as WORDSNET-23765) have been fixed in this Aspose.Words for .NET 22.8 update also available on NuGet.