Hi There,
I am getting below error on converting DOC to JPG:
Exception in thread “main” class com.groupdocs.conversion.exceptions.GroupDocsConversionException: java.lang.IllegalStateException: This document contains macros (VBA project) and you are attempting to save it in a Macro-Free format. Such document will be invalid if created. You need to either save it in a Macro-Enabled format (.DOCM or .DOTM) or remove macros before saving using the Document.RemoveMacros method.
com.groupdocs.conversion.converting.operations.PagesLimitOperation.pageLimitWordProcessing(Unknown Source)
com.groupdocs.conversion.converting.operations.PagesLimitOperation.access$400(Unknown Source)
com.groupdocs.conversion.converting.operations.PagesLimitOperation$3.a(Unknown Source)
com.groupdocs.conversion.converting.operations.PagesLimitOperation.limitDocumentPages(Unknown Source)
com.groupdocs.conversion.converting.operations.PagesLimitOperation.execute(Unknown Source)
com.groupdocs.conversion.pipeline.e$1$1.a(Unknown Source)
com.groupdocs.conversion.converting.operations.PreProcessWordProcessingDocumentOperation.execute(Unknown Source)
com.groupdocs.conversion.pipeline.e$1$1.a(Unknown Source)
com.groupdocs.conversion.pipeline.d.execute(Unknown Source)
com.groupdocs.conversion.pipeline.g.a(Unknown Source)
com.groupdocs.conversion.pipeline.g.a(Unknown Source)
com.groupdocs.conversion.b.convert(Unknown Source)
com.groupdocs.conversion.Converter.convert(Unknown Source)
com.groupdocs.conversion.Converter.convert(Unknown Source)
…
JDK 1.8
groupdocs-conversion-23.10.jar
Could we have a loading option for ignoring Macro(s) ?
I think that no one expect Macro(s) to be converted.
thanks,
James