Hey again guys. I trying to understand how load and save documents. I was looking for demo project in extra folder, but I don’t understand them very well.
I think that I must create a class “document” that inherit to FileBasedDocument. Ok. Now, I implement the pure virtual method. Between them there’re two that I think that they’re the point about loading/saving: “loadDocument” and “saveDocument”.
The questions are:
- must I implement a method that can create (loadDocument) and read (saveDocument) objects in my program?
- usually the comercial programs doesn’t save their “objects” in a text file, but in another unreadable format. I think that they save it in unreadable format because it has more advantages… so… how should I do this?