如何提前检查文档是否有修复错误 [英] How to check a document for repair-errors in advance

查看:115
本文介绍了如何提前检查文档是否有修复错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

在我的加载项中,我们有一个转换函数,它将.DOC格式转换为.DOCX格式以及编辑页眉/页脚并添加了一些自定义属性。

In one och my Add-Ins we have a converting-function, which converts from .DOC-format to .DOCX-format aswell as editing headers/footers and adding some custom properties.

我对某些旧文档存在问题,这些文档似乎存在缺陷或损坏的框架,图像和OLE对象。

使用OpenAndRepair打开文档时会识别这些对象,而不是其他。

I have a problem with some older documents which seems to hold defect or damaged frames, images and OLE-objects.
These object is identified when the document is opened with OpenAndRepair, not otherwise.

有没有办法通过代码识别这些对象而不关闭并使用OpenAndRepair标志重新打开文档?

Is there a way to identify these objects through code without closing and reopen the document with OpenAndRepair flag?

提前致谢

最好的问候PeterKarlströmMidrangeAB,瑞典

Best Regards Peter Karlström Midrange AB, Sweden

推荐答案

嗨Peter,

Hi Peter,

感谢您发帖。

我做了一些关于你的问题的研究,但没有找到通过代码识别对象的其他方法,除了使用OpenAndRepair标志。

I did some research about your problem but didn't find other ways to identify the objects through code except for using the OpenAndRepair flag.

我也会帮助你  让其他人帮助你。响应可能会有一些延迟。感谢您的耐心等待。  

I will also help you involve others to help you. There might be some delay about the response. Appreciate your patience. 

最好的问候,


这篇关于如何提前检查文档是否有修复错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆