惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
J
Java Code Geeks
雷峰网
雷峰网
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
V
Vulnerabilities – Threatpost
S
Securelist
The Hacker News
The Hacker News
The Register - Security
The Register - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
G
Google Developers Blog
Hugging Face - Blog
Hugging Face - Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
M
MIT News - Artificial intelligence
AI
AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Schneier on Security
Schneier on Security
N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Hacker News: Front Page
博客园 - 司徒正美
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
大猫的无限游戏
大猫的无限游戏
Security Latest
Security Latest
Engineering at Meta
Engineering at Meta
N
News and Events Feed by Topic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
U
Unit 42
V
V2EX
V2EX - 技术
V2EX - 技术
L
LINUX DO - 最新话题
aimingoo的专栏
aimingoo的专栏
Microsoft Security Blog
Microsoft Security Blog
Recorded Future
Recorded Future
P
Privacy & Cybersecurity Law Blog
美团技术团队
小众软件
小众软件
F
Fortinet All Blogs

博客园 - KXLF

SharePoint 事件 2137 / 2138 :SharePoint 运行状况分析器检测到错误。驱动器的可用空间不足。 SharePoint 事件 7363:对象缓存:缓存使用的超级读者帐户没有足够的权限访问SharePoint数据库。 [转] geochart 地图控件官方示例 Outlook 2007 同步到本地的SharePoint文档库,点击不同文件夹时,总是弹出登陆框 [转]Publishing files stored in the file system through external list(使用bcs映射文件系统) SPContext.Current.Web.CurrentUser 为 null [转]Use PowerShell to Manage Lists, Views, and Items in SharePoint(使用PowerShell管理列表、视图、列表项) 连接TFS服务器记住密码。 [转]Login over HTTPS from HTTP pages(使用https登陆) [转]How to Handle Long PowerShell Statements(在PowerShell中使用多行模式) [转]How to use String.Format in PowerShell?(如何在PowerShell中使用string.format?) 推荐一个电子书网站,里面关于SharePoint的英文书籍有很多。 SharePoint 2010 术语表 [转]SharePoint 2010: Client Object Model for JavaScript (ECMAScript)(使用客户端对象模型) [转]Importing documents to Document Libraries with Mavention Import Document Library Contents(使用VS插件导出文档库内容定义) [转]Import List Instances and their data with Mavention Import List Instance(使用VS插件导出列表数据定义) [转]Content targeting for anonymous users with SharePoint Server 2010(给匿名用户配置外部配置文件) [转]Allowing anonymous users access to SharePoint user's profile pictures(允许匿名用户访问用户配置文件中的头像图片) [转][MS-MAVA]: Microsoft Office SharePoint Server (MOSS) Analytics View Access Protocol Specification
[转]how to programatically access built-in properties of open xml word doc(如何读取open xml格式文档属性)
KXLF · 2011-11-02 · via 博客园 - KXLF

 WordprocessingDocument wordprocessingDocument = WordprocessingDocument.Open(filePath, true);

            Body body = wordprocessingDocument.MainDocumentPart.Document.Body;

            String message = string.Empty;

            ExtendedFilePropertiesPart appPart = wordprocessingDocument.ExtendedFilePropertiesPart;

            Manager = appPart.Properties.Manager.InnerText;

            if (Manager != null)

                message = "Manager : " + Manager + "\n";

            //Access company property

            Company = appPart.Properties.Company.Text;

            if (Company != null)

                message += "Company : " + Company + "\n";

            CoreFilePropertiesPart corePart = wordprocessingDocument.CoreFilePropertiesPart;

            XmlDocument xmlProperties = new XmlDocument();

            xmlProperties.Load(corePart.GetStream());

            //Access Title property

            Title = xmlProperties.GetElementsByTagName("title",DC).Item(0).InnerText;

            if (Title != null)

                message += "Title : " + Title + "\n";

            //Access Subject property

            Subject = xmlProperties.GetElementsByTagName("subject", DC).Item(0).InnerText;

            if (Subject != null)

                message += "Subject : " + Subject + "\n";

            //Access Author property

            Author = xmlProperties.GetElementsByTagName("creator", DC).Item(0).InnerText;

            if (Author != null)

                message += "Author : " + Author + "\n";

            //Access Keywords property

            KeyWords = xmlProperties.GetElementsByTagName("keywords", CP).Item(0).InnerText;

            if (KeyWords != null)

                message += "KeyWords : " + KeyWords + "\n";

            //Access Comments property

            Comments = xmlProperties.GetElementsByTagName("description", DC).Item(0).InnerText;

            if (Comments != null)

                message += "Comments : " + Comments + "\n";

            //Access Category property

            Category = xmlProperties.GetElementsByTagName("category", CP).Item(0).InnerText;

            if (Category != null)

                message += "Category : " + Category + "\n";

            MessageBox.Show(message, "Built-In Properties", MessageBoxButtons.OK, MessageBoxIcon.Information);

            wordprocessingDocument.Close();