<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:baron@caesar.elte.hu" title="Aron Budea <baron@caesar.elte.hu>"> <span class="fn">Aron Budea</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILEOPEN: "Text Import" dialog: option to trim whitespace"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114200">bug 114200</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>baron@caesar.elte.hu
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILEOPEN: "Text Import" dialog: option to trim whitespace"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114200#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FILEOPEN: "Text Import" dialog: option to trim whitespace"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114200">bug 114200</a>
              from <span class="vcard"><a class="email" href="mailto:baron@caesar.elte.hu" title="Aron Budea <baron@caesar.elte.hu>"> <span class="fn">Aron Budea</span></a>
</span></b>
        <pre>I don't know much about this, and don't know how to repro the paste part
myself, but if it's the same as CSV handling, then the parsing code is here:

<a href="https://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/impex.cxx#367">https://opengrok.libreoffice.org/xref/core/sc/source/ui/docshell/impex.cxx#367</a>
bool ScImportExport::ImportStream(...)

...and even further in ExtText2Doc(...) called from there.
The options from the dialog are available in pExtOptions in that class (which
is of type ScAsciiOptions). So I'd assume the UI has to be extended with a
checkbox, then the option has to be captured into a newly added bool field of
ScAsciiOptions through the class Heiko mentioned, and finally taken into
account in ExtText2Doc(...) or somewhere around there.

I hope that helps, good luck!</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>