Created attachment 179703 [details] Sample document Steps to reproduce: 1) open attached document "form_sample.odt" in Writer 2) export to PDF 3) open the resulting PDF document 4) check values in the numerical fields (lines starting with "Some amount" and "Another amount") Actual result: The fields are empty Expected result: The values of the form fields from the Writer doc should be present in the PDF export as well. Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: d81c26a1b9220c176f2d7162ac3b01983d6c8e4f CPU threads: 12; OS: Linux 5.16; UI render: default; VCL: gtk3 Locale: en-US (en_GB.UTF-8); UI: en-US Calc: threaded
Created attachment 179704 [details] Result of PDF export with missing values for numerical fields
Reproduced in Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 8189d815641c583b5506d482f0b4f1ab47924f6a CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded
Also reproduced in Version: 6.4.0.0.alpha1+ Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470 CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; Locale: es-ES (es_ES.UTF-8); UI-Language: en-US Calc: threaded
and Version: 6.0.0.0.alpha1+ Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9 CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3; Locale: es-ES (es_ES.UTF-8); Calc: group threaded
I think I know how to fix it
Patch in gerrit: https://gerrit.libreoffice.org/c/core/+/134240
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/3bd7111fe29ce19a007915af87f1f9269d27d9ff tdf#148706: map value prop in numericfield to text It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
The patch just focuses on exporting the value to pdf. The next step would be to also export the format ( e.g number, date ) but that's another issue. Closing this one
@Xisco: Thanks a lot for fixing this! Fix verified with Version: 7.4.0.0.alpha1+ / LibreOffice Community Build ID: fc2716740bd513154ae4ab5404d9c575678172e0 CPU threads: 12; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb) Locale: en-GB (en_GB.UTF-8); UI: en-US Calc: threaded (In reply to Xisco Faulí from comment #8) > The patch just focuses on exporting the value to pdf. The next step would be > to also export the format ( e.g number, date ) but that's another issue. There's already tdf#105972 for the format not being exported.
Xisco Fauli committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/c5b381b91494057a293f6cb7f1d9798fb40ebea0 tdf#148706: map value prop in numericfield to text It will be available in 7.3.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.