[Libreoffice-bugs] [Bug 109831] New: Problem Importing RTF Document with Boolean Custom Properties

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 28 12:24:47 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=109831

            Bug ID: 109831
           Summary: Problem Importing RTF Document with Boolean Custom
                    Properties
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: documentfoundation.org at ziberex.dk

Description:
LibreOffice does not support Boolean as a custom property in a document and
throws an error if the first property encountered in an RTF document is a
Boolean (RTF: \proptype11). If a Boolean property follows another property, it
assumes the preceding property's type.

Steps to Reproduce:
1. Create a document with a custom property of number
2. Save the document as an RTF file
3. Edit the RTF file with an ASCII editor and change
4. Find the section starting with "{\*\userprops"
5. Change the property type from "\proptype3" to "\proptype11"
6. Save the edited file
7. Open the edited file with LibreOffice

Actual Results:  
LibreOffice throws an error: "General Error. General input/output error."

Expected Results:
LibreOffice should have opened the file and either converted the property to a
number (with the actual value specified in the property, 0 or 1) or to a Yes/No
property with 0 meaning No and all other values meaning Yes.


Reproducible: Always

User Profile Reset: No

Additional Info:
I will raise a different bug suggesting that the Yes/No property will be
converted to an RTF Boolean property


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170728/141f7931/attachment.html>


More information about the Libreoffice-bugs mailing list