locked
Processing of RichTextOENode properties RRS feed

  • Question

  • Hello!

    I have a *.one file in OneNote Online format.
    Our library processes this file almost well except one RichTextOENode.

    This RichTextOENode node contains 15 properties, 3 of them are:
    - Id: ParagraphStyle, Format: ObjectId, IntegerValue: 0
    - Id: TextRunFormatting, Format: ArrayOfObjectIds, IntegerValue: 3
    - Id: TextRunDataObject, Format: ArrayOfObjectIds, IntegerValue: 3

    But the problem is this node contains only 6 object references.

    By our current understanding this node should have 7(1 for ParagraphStyle + 3 for TextRunFormatting + 3 for TextRunDataObject).

    It would be great to get a clarification how we should process nodes with such set of properties.

    I can share the file via private communication channel if required.

    Sincerely, Alexei.

    Thursday, July 30, 2020 1:10 PM

Answers

  • To follow up on this for the community, after investigation into the file in question, we determined that it's likely it is corrupt and does not conform to the MS-ONESTORE format. The specification does not provide guidance on specific scenarios around how to handle corruption as this depends on the application and it's use cases. 

    Tom

    Wednesday, September 9, 2020 7:16 PM

All replies

  • Hi Alexei, 

    Thanks for your question about the .one format. I will assist you. Please send an email to dochelp at Microsoft dot com, referencing the URL for this thread and my name. We can arrange file transfer via email. 

    Best regards,
    Tom Jebo
    Sr Escalation Engineer
    Microsoft Open Specifications


    Thursday, July 30, 2020 3:45 PM
  • Got your email, thanks. 

    Tom

    Thursday, July 30, 2020 10:06 PM
  • To follow up on this for the community, after investigation into the file in question, we determined that it's likely it is corrupt and does not conform to the MS-ONESTORE format. The specification does not provide guidance on specific scenarios around how to handle corruption as this depends on the application and it's use cases. 

    Tom

    Wednesday, September 9, 2020 7:16 PM