<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Optimal column width of table in Writer is cumbersome and not persistent"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113604#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Optimal column width of table in Writer is cumbersome and not persistent"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=113604">bug 113604</a>
              from <span class="vcard"><a class="email" href="mailto:evert.heylen@mycellhub.com" title="Evert Heylen <evert.heylen@mycellhub.com>"> <span class="fn">Evert Heylen</span></a>
</span></b>
        <pre>(In reply to V Stuart Foote from <a href="show_bug.cgi?id=113604#c13">comment #13</a>)
<span class="quote">> Much of the request for 'optimize' widget controls in the UI is available
> now with rework for <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - TABLE: correct UX handling of "Distribute" and "Equally Space" table Columns and Rows"
   href="show_bug.cgi?id=64242">bug 64242</a>. A selection is still required, and we still
> don't implement the ODF 'style:use-optimal-column-width'-- and that would
> require new dev implementation to make that automatic for the listed see
> alsos.

> Otherwise, all six row/column/table controls are available as UNO actions
> and can be added to Toolbar, Menu, Context-menu, and Keyboard shortcuts.

> This is not completely resolved, but any question of the UI customization to
> manipulate table layout is pretty well available from 6.2 onward.</span >

I generate documents programmatically, and use LibreOffice (headless) to turn
them into PDFs. Is there a way to optimize column widths
programmatically/headless too? The `use-optimal-column-width` property would be
awesome but I understand it is not supported yet. I tried writing a macro but
could only get it to work while selecting something (i.e. impossible to use
headless).</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>