Evaluation only

I create documents with Aspose, which is offically part of IvyAddOns. Why is on each generated document an "evaluation only" message?

This code generates the document:

import com.aspose.words.Document;
Document doc = new Document("C:\\temp\\test.docx");
doc.save("C:\\temp\\test.pdf");

asked 24.03.2017 at 10:02

Alex%20Suter's gravatar image

Alex Suter ♦♦
3.1k122247
accept rate: 84%

edited 24.03.2017 at 10:04


You are using Aspose directly. In this case you must ensure that the Aspose License is loaded. The easiest way is just to execute the following statement within the process. This statement will load the Aspose license:

new AsposeDocFactory();

You may work directly with the DocFactory-API. Sample conversion of Word-Document to PDF:

BaseDocFactory docFactory = new AsposeDocFactory();
docFactory .generateDocument("C:\\dev\\test.docx", "abc", "C:\\dev\\", ".pdf", new ArrayList<>());

Update 13.10.2017

You may need another Aspose license. I recommend to load the specific license over the following API:

ch.ivyteam.ivy.addons.docfactory.aspose.LicenseLoader.loadLicenseforProduct(AsposeProduct)

new AsposeDocFactory() would only load the license of type AsposeProduct.WORDS

link

answered 24.03.2017 at 10:05

Alex%20Suter's gravatar image

Alex Suter ♦♦
3.1k122247
accept rate: 84%

edited 13.10.2017 at 03:37

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×4

Asked: 24.03.2017 at 10:02

Seen: 12,193 times

Last updated: 13.10.2017 at 03:37