openoffice: support all version of openoffice and libreoffice