https://bugs.documentfoundation.org/show_bug.cgi?id=154427
Bug ID: 154427 Summary: Conditional-text field is empty when exporting a document as EPUB Product: LibreOffice Version: 7.5.1.2 release Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: pa...@landau.ws Description: I have a large document that contains many conditional-text fields. I need to export the document as EPUB. Exporting as PDF works perfectly, but when exporting as EPUB, all of the conditional-text fields are empty. Note: I don't expect the EPUB to contain dynamic fields; it's OK to export the currently-displayed text as fixed text, exactly as exporting to PDF does. I export using the menu File > Export As > Export as EPUB. I shall add two attachments to this bug report: • Sample document in LibreOffice • The resulting EPUB How do I fix this so that the conditional text is exported to the EPUB, please? Steps to Reproduce: 1. Create a document with at least one conditional-text field. You can use the sample document that is linked in the OP. 2. Set the condition so that text is displayed in the field, i.e. the conditional-text field isn't empty. 3. (Optional) File > Export As > Export as PDF 4. File > Export As > Export as EPUB Actual Results: The EPUB file leaves the conditional-text field empty. Looking at the XML file inside the EPUB file, there is no text there; only redundant formatting instructions remain. Expected Results: The EPUB file should have contained the conditional text, exactly as an export to PDF does. (You can see this from the PDF file from the optional step 3 above.) Reproducible: Always User Profile Reset: Yes Additional Info: Tested on three setups: 1. Linux Ubuntu 22.04 Version: 7.5.1.2 (X86_64) / LibreOffice Community Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129 CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: en-GB (en_GB.UTF-8); UI: en-GB Flatpak Calc: threaded 2. Windows 11 Version: 7.4.6.2 (x64) / LibreOffice Community Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d CPU threads: 4; OS: Windows 10.0 Build 22000; UI render: Skia/Raster; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: CL 3. Windows 11 Version: 7.5.1.2 (X86_64) / LibreOffice Community Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129 CPU threads: 4; OS: Windows 10.0 Build 22000; UI render: Skia/Raster; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: CL threaded -- You are receiving this mail because: You are the assignee for the bug.