locked
Is there a file property where I can keep notes or data?

    Question

  • I have a word processor app in the store. A user just asked for a feature, and I can implement it easily.  He asks for the ability to keep book marks in his document.

    It's quite simple o implement.  All I will do is find out where the position of the caret is and the length of the selection.  In other words, the data for the bookmarks for a document will have (1) the name of the bookmark named by the user, (2) the position of the caret, and (3) the length of the selection if he bookmark is a text selection. 

    Now, where to store it is a different matter.  The only way I can make sure the info will stay with the file is to store the info on the file itself.  Is there a property field in the file I can store this info in?

    My app can open from, edit, and save to doc, docx, html, rtf, and txt.  So, whatever property field I can store the bookmarks in should be available in all of these file formats.

    Many thanks.

    Tuesday, October 28, 2014 5:18 PM

Answers