If you want to use it, get a reference to the implementation of the UNO object that represents a document, then you can call member functions on it directly.