abstract soffice path detection