add position and dimension for libreoffice