Created attachment 120912 [details] Example file with a custom property set in File -> Properties LibreOffice 5.0.3 imports the attached company_before.rtf mostly correctly. It also imports the custom properties it has, see customprop-before.png. After doing any changes to the content and saving to RTF (see attached company_after.rtf), the custom property is missing, see customprop-after.png. When saving to ODT, DOC or DOCX format the custom property is preserved. LO warns that some formatting or content cannot be saved to RTF, but the document is going to be processed by a third party application (which bails out without this property), so we need the document in RTF.
Created attachment 120913 [details] Screenshot of the original files Properties window
Created attachment 120914 [details] File modified and saved from LO 5.0.3
Created attachment 120915 [details] Screenshot of the modified files Properties window. Custom property is missing.
Repro. Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+ Build ID: a7c3a2a9be83686657c06f37d521f9f6d2004ddd Threads 4; Ver: Windows 6.1; Render: default; TinderBox: Win-x86@39, Branch:master, Time: 2015-11-28_04:39:18 Locale: fi-FI (fi_FI) LibreOffice 3.5.0rc3 Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=abe8ea175ad9fc282a1e702acb74da5d7c967cbe tdf#96175 RTF filter: export \company It will be available in 5.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-5-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4b0390a9cb45f56a7c6d04eff795de8b63b13b2e&h=libreoffice-5-1 tdf#96175 RTF filter: export \company It will be available in 5.1.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-5-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c3952d952ba6604af28eb116af5d26f6edda5a37&h=libreoffice-5-0 tdf#96175 RTF filter: export \company It will be available in 5.0.6. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.