How to keep track of the objects in an editor
-
Hello all, I would like to Design and write an application that does the editing of a document (almost like an MS Word, but a with a lot cut down functionality of it). The components of the document can only be known at run time, like adding a text box, adding a Image, field, text, etc.., I Started to design assuming its a simple task, but now I realize its a lot more than what I thought. can any body please help me with some ideas such as how to keep track of objects inserted, with their properties, (of course I can think up to some extent, such as maintaining a list of them along with a lot of attributes)... and maintaining them in a file and reconstructing on a file load... and so on.., but I am curious to know how it is done in a standard industry? are there any standards defined for this purpose.. like how a document (*.doc)is stored? Hope this stupid question is not annoying, Haribabu