Drawing Framework Examples
From Apache OpenOffice Wiki
First some example and remarks about the implementation of thhe drawing framework in the components1 child work space. After that some illustrations of how to use the framework and how to extend it.
Note that the code below is C++ pseudo code. It tries to be complete and accurate with respect to the drawing framework API. It is not so complete and accurate with regard to the (hopefully) well known parts of the existing API and its C++ usage.