当前文档提示这个,怎么判断文档的宏被禁止?
@ouchli 您可以使用Document.hasMacros
方法检查文档中是否有宏。 如果需要从文档中删除宏,您可以使用Document.removeMacros
。 请参阅我们的文档以了解如何使用 Aspose.Words 处理宏:
https://docs.aspose.com/words/java/working-with-vba-macros/
当前文档提示这个,怎么判断文档的宏被禁止?
@ouchli 您可以使用Document.hasMacros
方法检查文档中是否有宏。 如果需要从文档中删除宏,您可以使用Document.removeMacros
。 请参阅我们的文档以了解如何使用 Aspose.Words 处理宏:
https://docs.aspose.com/words/java/working-with-vba-macros/