New: Uniformize odt generation to use hooks like pdf generation