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