https://ask.libreoffice.org/en/question/59798/macro-to-get-set-the-document-custom-properties/