<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 - EDITING Custom size chart legend does not ellipsize contents"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=126425">126425</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING Custom size chart legend does not ellipsize contents
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.0.0.alpha0+ Master
          </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>libreoffice@nisz.hu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
If a chart legend in Word has a custom size that is too small to contain the
text then Word ellipsizes the text. 
LO on the other hand can not ellipsize the legend box contents, instead if the
text would not fit, it hides the legend contents entirely.
This can be seen during editing and the attached example docx triggers it as
well.


Steps to Reproduce:
1.      Create a chart in Word with one data series that has a long name
2.      Reduce the legend boxes size so much that the text does not fit in it.
3.      To trigger the problem in Writer also set a custom font for the legend
object, I used Algerian in a copy of the previously created chart.
4.      Save the file and open it in Writer


Actual Results:
The legend box content is not visible at all in the lower chart with custom
font setting.  It is possible to select and resize it, if you know where it
should be.

Expected Results:
The legend box content is visible in the lower chart, with the contents text
ellipsized.


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice details:
Version: 6.4.0.0.alpha0+ (x86)
Build ID: 49422a469646ad8be43ba828ca24c2484c26b9e8
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-07-08_00:50:19
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL</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>