如何使用openxml为MSWord以编程方式为TOC超链接添加备用文本? [英] How to add alternate text for TOC hyperlinks programmatically using openxml for MSWord?

查看:131
本文介绍了如何使用openxml为MSWord以编程方式为TOC超链接添加备用文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



您好,


I想要使用openxml for MSWord以编程方式为TOC超链接添加备用文本。基本上,我的要求是创建一个可读的pdf,保存为具有TOC的MS Word文档。目前,正确创建了超链接,但是在名为PAC2的辅助功能测试工具中测试了
转换后的PDF。它显示错误,因为替代描述不适用于TOC超链接。


问候,


Prakash

解决方案

Hello Prakash,


Open XML不支持pdf格式。根据您的描述,文档生成成功。请下载Open XML SDK Tool以检查生成的Word文档的验证。如果没有验证错误,我建议您联系
第三方工具以确认导致错误的原因。无法使用MS Word对象模型或Open XML来检查您的pdf中是否存在任何验证错误。


问候,


Celeste


Hello,

I want to add alternate text for TOC hyperlinks programmatically using openxml for MSWord. Basically, my requirement is to create a readable pdf saved as from a MS Word document which has a TOC. Currently, the hyperlinks are created properly but when the converted PDF is tested in an accessibility testing tool called PAC2. It shows error as Alternative description not available for the TOC hyperlinks.

Regards,

Prakash

解决方案

Hello Prakash,

Open XML doesn't support pdf format. According to your description, the document is generated successfully. Please download Open XML SDK Tool to check validation of the generated Word document. If there is no validation error, I suggest you contact the third party tool to confirm what causes the error. It is impossible to use MS Word object model or Open XML to check if there is any validation error in your pdf.

Regards,

Celeste


这篇关于如何使用openxml为MSWord以编程方式为TOC超链接添加备用文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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