<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Problem Importing RTF Document with Boolean Custom Properties"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=109831">109831</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Problem Importing RTF Document with Boolean Custom Properties
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>documentfoundation.org@ziberex.dk
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>