<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 - Conditional paragraph style not saved"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=137166">137166</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Conditional paragraph style not saved
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.1.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>jm@bourguet.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When I save a document which has conditional paragraph styles, they should be
present when I open the document.

Steps to Reproduce:
1. Open a new document with the default template
2. Set a conditional paragraph style for the paragraph style "Corps de Texte"
(sorry, I'm using the french version and it doesn't allow me to switch to
English for the UI) mapping the context "1er niveau de numérotation" to the
style "Numérotation 1".
3. Save the file.
4. Leave Writer.
5. Launch Writer and reload the file.


Actual Results:
The conditional paragraph style has disappeared.

Expected Results:
The conditional style should still be present. (If the issue is that the file
format .odt doesn't allow to represent conditional style, there should be a
warning somewhere stating which format should be used to save it correctly).


Reproducible: Always


User Profile Reset: No



Additional Info:
I've reproduced the issue on both Windows with LibreOffice 7.0.1.2 and on Linux
with LibreOffice in an up to date Ubuntu 20.04 (6.4.X if I'm not mistaken).</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>