Free Support Forum -

Hard Hyphen


It seems hard-hyphens are not supported in Aspose.Words 8.0.0.

Attached is a Word 2007 document that is converted to Pdf. All hard hyphens are outputted with strange characters.



<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for reporting this problem to us. I managed to reproduce it on my side. Your request has been linked to the appropriate issues. You will be notified as soon as it is resolved.

As a temporary workaround, you can try removing optional hyphens from the document before converting it to PDF. Please see the following code example:

// Open document.

Document doc = new Document(@"Test159\HardHyphen.docx");

// Remove optionalHypens from the document.

doc.Range.Replace(ControlChar.OptionalHyphenChar.ToString(), "", false, false);

// Save document to PDF.


Hope this helps.

Best regards.

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

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