Zoom View Error

Hi, I’m having trouble opening an ODT document when the zoom level is set up to 500% from Open Office. These are the steps:

  • Open a document in OpenOffice
  • Set the zoom level to 536%
  • Save the document
  • Open the document with Aspose Words, with this code :
  LoadOptions loadOptions = new LoadOptions();
  loadOptions.setLoadFormat(LoadFormat.AUTO);

  Document doc = new Document(inputStreamTemplate,loadOptions);

Error :

Caused by: java.lang.IllegalArgumentException: Specified argument was out of the range of valid values.
Parameter name: value
	at com.aspose.words.ViewOptions.setZoomPercent(Unknown Source)
	at com.aspose.words.zzWT7.zzWHX(Unknown Source)
	at com.aspose.words.zzWT7.zz7I(Unknown Source)
	at com.aspose.words.zzWT7.zzXZr(Unknown Source)
	at com.aspose.words.zzWT7.zztb(Unknown Source)
	at com.aspose.words.zzWT7.zzXfC(Unknown Source)
	at com.aspose.words.zzWT7.zzjx(Unknown Source)
	at com.aspose.words.zzWT7.zz7I(Unknown Source)
	at com.aspose.words.zzn3.zzmm(Unknown Source)
	at com.aspose.words.Document.zzXfC(Unknown Source)

Regards

@samuele.lucarini Could you please attach the problematic document here for testing? We will check the issue and provide you more information.

This is example :
notifica_ordinanza_xcds.zip (75.4 KB)

@samuele.lucarini
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-27843

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as WORDSNET-27843) have been fixed in this Aspose.Words for Java 25.4 update.