Remove type odf.OdfRect.
It is not needed any more. No call to getPageRect modifies the resulting ClientRect.