Rendering File issue : Checkbox is unchecked in the stamped document

Rendering File issue : Checkbox is unchecked in the stamped document.
Attached is the evidence of this issue.

We are having updated aspose patch applied and still the issue exists.

Hi Shilpa,

Thanks for your inquriy. Please share your source PDF document and sample source code here, we will look into it and will guide you accordingly.

We are sorry for the inconvenience caused.

Best Regards,

Hello,
Please find the following source code for the doc file :
------------------------------------

try
{
    // Document doc = new
    Document("d:\test_doc.doc");
    com.aspose.words.License license =
    new com.aspose.words.License();
    license.setLicense(new
    FileInputStream("d:\Aspose.Total.Java.lic"));

    // Once the builder is created, its cursor is positioned at the beginning of the document.
    docToPDF("D:\GEHC_FILE_SAMPLES\ft1.doc",
        "D:\GEHC_FILE_SAMPLES\ft1.doc.pdf", "",
        "C:\WINDOWS\Fonts");

}
catch (Exception e)
{
    System.out.println(e);
}

------------------------------------
Note :

  1. Aspose word jar should be there in the class path
  2. Fonts folder should contains the fonts

-----------------------------------
JAR files used are as follows :

aspose-cells-2.5.4.18.jar
aspose-metafiles-1.6.1-20100110.jar
aspose-pdf-jdk16.jar
aspose-pdf-kit-3.6.0.jar
aspose.slides-14.4.0.jar
Aspose.Words.jdk15.jar

Hi Shilpa,

Thanks for sharing the details.

As per my understanding, the issue appears to be related to Aspose.Words, so I am moving this thread to respective forum and my fellow workers from respective team will further look into this matter and will reply accordingly.

Hi Shilpa,

Thanks for your inquiry.

In case you’re using an old version of Aspose.Words for Java; we suggest you please upgrade to the latest version 16.1.0 from the following link:

Download latest version of Aspose.Words for Java

In case the problem still remains, please attach your input Word document and output PDF file showing the undesired behavior here for testing. We will investigate the issue on our end and provide you more information.

Best regards,

Hi Awais,

We tried using new Words java file as per your suggestion and we encountered following error :
Expected static method com.aspose.words.FontSettings.setFontsFolders([Ljava/lang/String;Z)V

TrueFont installed already. Could you please share the latest JARs info required for doc files and the rendered file you were able to generate from the sample document.

Please find the attachment for the source file used for rendering.

Regards,
Shilpa

Hi Shilpa,

Thanks for your inquiry. While using Aspose.Words for Java 16.1.0 and MS Word 2016, we have converted your “Sample Rendering File.doc” to two PDF files and attached them here for your reference. They both are rendered identically.

Secondly, we have added a new feature to work without static Font cache and you can use it per document FontSettings. Please refer to the Public API Changes in Aspose.Words 16.1.0 page.

Best regards,