in reply to How to add A Table Of Contents / toc object in OpenOffice::OODoc?
Another module ODF::lpOD by the same author has this capability and is documented.
It also has a better API and fewer bugs.