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

Free Support Forum - aspose.com

Avoid Conversion of IP Address & Port Number in URL to Hindi Arabic | Word to PDF with Java

I am using aspose-words-21.6.0-jdk17
in save word as pdf, we are using pdfsaveOptions.setNumeralFormat(1) to convert all numbers to Hindi numbers,
the issue is, if we type URLs contains numbers in word document its numbers also converted to Hindi numbers, we need to prevent any String match pattern URL from converted to Hindi numbers.
we are using this code:
com.aspose.words.PdfSaveOptions options = new com.aspose.words.PdfSaveOptions();
options.setNumeralFormat(1);
is there is any way to prevent URL contains numbers from converting its numbers to Hindi

@mahmoudmw,

Please upgrade to the latest (21.8) version of Aspose.Words for Java and see how it goes on your end? In case the problem still remains, then please ZIP and upload your input Word document and Aspose.Words generated PDF file showing the undesired behavior here for testing. We will then investigate the issue on our end and provide you more information.

[quote=“awais.hafeez, post:2, topic:233794”]
upgrade
[/quote]TEST.zip (61.4 KB)

we upgrade aspose.word to latest 21.8, we still see the URL converted to Hindi Numbers,
Document doc = new Document(“D:\TEMP\TEST.DOCX”);
com.aspose.words.PdfSaveOptions options = new com.aspose.words.PdfSaveOptions();
options.setNumeralFormat(1);

        doc.save("D:\\TEMP\\RESULTTT.PDF",options);

@mahmoudmw,

We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-22629. We will further look into the details of this problem and will keep you updated here on the status of correction. We apologize for your inconvenience.

Dears,

any updates on issue with ID WORDSNET-22629

@mahmoudmw

Unfortunately, the issue WORDSNET-22629 has been postponed (no estimate is available at the moment). We will inform you via this forum thread once there is an update available on it.

We apologize for your inconvenience.

Dears,
we are still suffering from this issue, would you update us, and give us estimation time for resolving,
thanks

@mahmoudmw Unfortunately, the issue still has postponed status. We apologize for your inconvenience.
We will inform you within this forum thread as soon as we have more information.