如何使用C#with open xml从word文档中获取没有不可见textframes内容的内容

编程入门 行业动态 更新时间:2024-10-12 18:23:47
本文介绍了如何使用C#with open xml从word文档中获取没有不可见textframes内容的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

不确定内容来自word文档,但是在C#中使用openXML在文档中选择和回退的单词AlternateContent中存在一个不可见的文本框,因为文字处理文本框出现在单词2013中

没有不可见的文本框架,如何使用C#with open xml从Word文档中获取内容


RL Kiran

解决方案

据我所知,您想了解文档内容以及如何通过Open XML获取内容。 1.我创建了一个单词在我的本地机器和填充内容"这是我的测试应用程序。 -Simon"如下所示:

2。我将单词的后缀更改为RAR。然后,您可以查看Word的文件。像这样:

另外,请看这个 发布如果您可以使用OpenXml获取内容。 希望它可以帮助您。

Uncertain where content is coming from word document, but guessing an invisible text box is present in word AlternateContent of Choice and Fallback in document using openXML in C#, since word processing textframes are coming in word 2013

Without invisible text frames, how to get the content from word documents with using C# with open xml

R L Kiran

解决方案

As I understand it, you want to know document content and how to get content by Open XML. 1. I created a word in my local machine and filled content "This is my test app. -Simon" as below:

2. I changed the suffix of the word to RAR. Then you can view the files of Word. Like this:

Also, please see this post if you can get the content using OpenXml. Hopefully it helps you.

更多推荐

如何使用C#with open xml从word文档中获取没有不可见textframes内容的内容

本文发布于:2023-11-28 12:13:59,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642354.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:内容   如何使用   文档   open   word

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!