Can't open exported project to PDF file on Foxit Reader


#1

Hello
Words Project saved to PDF generates corrupted file.

tested on:

  • windows 10, Foxit Reader 9.2.0.9297, Aspose Words 18.7 Java
  • OSX 10.13.6, Foxit Reader 2.4.1.0609, Aspose Words 18.7 Java

Works good - created PDF is ok

Project project = new Project();
project.getRootTask().getChildren().add("Summary");

project.save("./project.pdf", SaveFileFormat.PDF);

Works bad - created PDF is corrupted

Project project = new Project();
Task task = project.getRootTask().getChildren().add("Summary");
Task subtask = task.getChildren().add("Subtask with comma");

project.save("./project.pdf", SaveFileFormat.PDF);

#2

@SoftwarePlant,

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output PDF file that shows the undesired behavior.
  • Please create a simple Java application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.


#4

I created post inside Aspose Words forum, now I moved it to Aspose Tasks


#5

@SoftwarePlant

We have tested the code sample provided and it is working fine. Please have a look on the generated PDF saved_in_pdf.pdf (98.7 KB) and sample code given below:

Project project = new Project();
Task task = project.getRootTask().getChildren().add("Summary");
Task subtask = task.getChildren().add("Subtask with comma");

project.save("D:\\" + "saved_in_pdf1.pdf", SaveFileFormat.PDF);

#6

Sorry, this file is private. Only visible to topic owner and staff members.


#7

Can you recheck it? I generated PDF on my mac and this Foxit Reader version cant open the file.


#8

@SoftwarePlant

We have found that the issue is with Foxit Reader. Can you please try with some other PDF readers. You may find the PDF file here: https://www.dropbox.com/s/66tjbo6pgbayucb/saved_in_pdf.pdf?dl=0

Moreover, we have logged the issue under ID “TASKSJAVA-682” for further investigation with Foxit Reader. You will automatically be notified here once we have more information to share.


#9

Google Chrome open file attached by you correctly, Foxit Reader crushes.

Other readers are able to open so I think that Foxit Reader’s got a bug.


#10

@SoftwarePlant

Yes that’s right. We are investigating the issue with Foxit Reader. We will let you know as soon as we have more information.