Hello everybody!
We use Aspose.Word and Aspose.PDF to convert RTF to PDF. Everything works fine except for the nonbreaking space that we used to keep some words together (like date and company names). It seems as if the nonbreak space is being ignored.
The tag of the nonbreaking space looks like that: ~.
thanks for you help!
best regards
Hi,
Could you please attach a document to test? It seems like the non-breaking space is imported by Aspose.Words okay but exported to PDF as a regular space. Is this the case or the space is completely ignored on your side?
Thanks.
Hi,
here are 3 examples (same content as rtf, doc and pdf).
btw.: You are right! Aspose.Word is okay and it is a regular space, when it is exported to PDF.
Thanks.
It’s absolutely not a problem to implement the export of the non-breaking space, but let me coordinate it with the Aspose.PDF team. I will get back to you ASAP.
sounds cool! Thanks a lot!
It is not supported in Aspose.Pdf. We will investigate this issue to see if we can support it in short time.
Could you give me a status update for this problem, please? I just have to keep my boss up to date…
best regarts
I have logged this issue but after investigation we found it is not easy to support in short time. If you can modify the Word document, as a workaround you can use some character to replace the non break space and set the character color to be the same with the background. Sorry for the inconvenience.
Hey everybody!
I tried your workaround and it doesn’t work :-(.
Seems that a letter with da different textformat (Color, Fontsize or somthing else) is a new word for the pdf control.
Do you have other suggestions for me, please?
best regards
Can you please provide your Word document and let us check it?
here is my example. thanks.
best regards
Sorry for my mistake. I tested your document and found my suggestion won’t work. I have tried my best but I can’t find a solution for this issue. We can’t support it in short time. The only possible solution is to write the text lile “Februar-2006”.
We have managed to support non-breaking space but there is limitation that the segments before and after non-breaking space should have same format. If the segments have different format, Aspose.Pdf will use the format of the segment before the non-breaking space.
The hotfix will be published early next week. Now I have notified the Aspose.Words team to modified there code to support this feature.
Hello!
This feature was logged as WORDSNET-3551 on the Aspose.Words side.
Regards,