Hi Richard and Abdul, Thanks for the pointers. Sorry for not providing more context about what I am trying to accomplish. The addition of a vector into the TocItem class was to give me a place to store other insets that might also be present in the paragraph.
<< I think he really does mean: vector<TocItem> * >> That's correct. I've rewritten the InsetText class to identify Note insets and add them to this vector. It then gets unpacked to a second column of the Table of Contents model and used in various custom views (such as the expanded outline pane). I know that it looks strange, but there really is some method to the madness. I'm not sure if it is the best method for storing and retrieving this type of information, but it seems to be working pretty well so far. I should probably send along a patch that shows all of these changes in context to get feedback ... Cheers, Rob