Hi !
Using OCAF is very messy, at least thats what I think, take a look at the pdf file on the documentation page, it does explain most stuff, but I have not read it very much yet.
I think I have some source code you can look at, I will see if I can dig it up.
Your TDocStd_Application must implement the ResourceNames() and the Formats() method, you also need a REGISTRY file and lots of other weird stuff to get it working.
I also think you need a few files from the ShapeViewer package to get it to work.
Try to search on my name in the forum "Commenter-1 Aronsson" and I think you will find a few answers to your questions.
I gave up on OCAF and use my own code instead, I belive OCAF is to messy to use.
But you may like it so don't give up yet :o)
I hope that helps a little, and if I find my old source code I will mail it to you.
regards, Commenter-1 Aronsson