The (yet unpublished) XTreeControl interface was extended with a method
getNodeRect( [in] XTreeNode Node )
raises( ::com::sun::star::lang::IllegalArgumentException );
, allowing to retrieve the client-rect occupied by a given tree node.
This comes in handy when you want, for instance, open a context menu,
triggered by keyboard, for the currently selected entry.