Hi, I am trying to convert one note file to pdf format and got a bad result in the direction of the text.
I combined RTL languages (Arabic and Hebrew) and LTR language (English) and the direction of the text is incorrect.
I am using Aspose.Note for Java 19.7 and have 30 day trial license.
Can you please help me with this issue?
Here are my files: files.zip (79.0 KB) and here is my code:
private static void convertDocToPdf(File file) {
String outputPdfFile = new StringBuilder().append(OUTPUT_PDF_FOLDER).append(File.separator).append(FilenameUtils.removeExtension(file.getName())).append(".pdf").toString();
try {
Document doc = new Document(file.getAbsolutePath());
doc.save(outputPdfFile, new PdfSaveOptions());
} catch (final Exception e) {
System.out.println(e);
}
}