简体   繁体   English

OneNote FSSHTTP

[英]OneNote FSSHTTP

For one of our application that needs to get connected to Office365 and Sharepoint Online we are implementing FSSHTTP functions. 对于我们需要连接到Office365和Sharepoint Online的应用程序之一,我们正在实现FSSHTTP函数。 This to be able to modify Word documents. 这样就可以修改Word文档。 The impact is that once you start supporting FSSHttp, then all the other applications do use FSSHTTP as well. 影响是,一旦开始支持FSSHttp,那么所有其他应用程序也会使用FSSHTTP。

We managed to be able to read and modify word files. 我们设法能够读取和修改Word文件。 We now need to manage OneNote files as well. 现在,我们还需要管理OneNote文件。

Unfortunately the format of a OneNote file in FSSHTTP is very different from the one of Word. 不幸的是,FSSHTTP中OneNote文件的格式与Word中的格式有很大不同。

Word comes into zipped XML files, while the OneNote content just comes into an array of bytes. Word包含在压缩的XML文件中,而OneNote内容仅包含一个字节数组。

We have arrays like this (length=97):02 00 00 80 0F 00 00 00 1C 00 00 00 0A 00 DD 34 00 88 77 34 00 0C FE 1C 00 10 3E 1C 00 14 84 1C 00 14 7A 1D 00 14 22 1C 00 1C 5B 1E 00 1C 2C 34 00 20 13 1E 00 24 00 0C 04 01 00 00 00 01 00 00 00 49 2E 2B 47 0C 00 00 00 53 00 61 00 6C 00 75 00 74 00 00 00 04 00 00 00 31 00 00 00 01 00 00 00 我们有这样的数组(长度= 97):02 00 00 80 0F 00 00 00 1C 00 00 00 0A 00 DD 34 00 88 77 34 00 0C FE 1C 00 10 3E 1C 00 14 84 1C 00 14 7A 1D 00 14 22 1C 00 1C 5B 1E 00 1C 2C 34 00 20 13 1E 00 24 00 0C 04 01 00 00 00 01 00 00 00 49 2E 2B 47 0C 00 00 00 53 00 61 00 6C 00 75 00 74 00 00 00 04 00 00 00 31 00 00 00 01 00 00 00

(length=87):02 00 00 80 0F 00 00 00 1C 00 00 00 0A 00 DD 34 00 88 77 34 00 0C FE 1C 00 10 3E 1C 00 14 84 1C 00 14 7A 1D 00 14 22 1C 00 1C 5B 1E 00 1C 2C 34 00 20 13 1E 00 24 00 0C 04 01 00 00 00 01 00 00 00 49 2E 2B 47 02 00 00 00 00 00 04 00 00 00 31 00 00 00 01 00 00 00 (长度= 87):02 00 00 80 0F 00 00 00 1C 00 00 00 0A 00 DD 34 00 88 77 34 00 0C FE 1C 00 10 3E 1C 00 14 84 1C 00 14 7A 1D 00 14 22 1C 00 1C 5B 1E 00 1C 2C 34 00 20 13 1E 00 24 00 0C 04 01 00 00 00 01 00 00 00 49 2E 2B 47 02 00 00 00 00 00 00 04 04 00 00 00 31 00 00 00 01 00 00 00

We understand the content is in Unicode 16. We managed to find some content, but we can't really figure out what this content is and how it is formatted. 我们知道内容是Unicode 16格式的。我们设法找到了一些内容,但是我们无法真正弄清楚该内容是什么以及如何格式化。

Has anybody already used this? 有人使用过吗? Do you know if the OneNote content is FSSHTTP is into XML fragment (as it is for OpenXML documents)? 您是否知道OneNote内容是否为FSSHTTP插入XML片段(就像处理OpenXML文档一样)?

We could not find any documentation explaining or describing the format. 我们找不到任何解释或描述格式的文档。

It would be very much appreciated if somebody could share some pointers, or links. 如果有人可以共享一些指针或链接,将不胜感激。

Many thanks in advance 提前谢谢了

Gilles 吉尔斯

https://msdn.microsoft.com/en-us/library/dd924743(v=office.12).aspx https://msdn.microsoft.com/zh-CN/library/dd924743(v=office.12).aspx

The .one file format is documented in the link above. .one文件格式在上面的链接中记录。 The OneNote REST API (or Graph API) can give you an HTML representation of OneNote content, but I don't think this is what you're looking for. OneNote REST API(或Graph API)可以为您提供OneNote内容的HTML表示形式,但我认为这不是您想要的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM