<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 - Copy & Paste to Excel may not paste contents in clipboard if content's length >= 256"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107638">107638</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Copy & Paste to Excel may not paste contents in clipboard if content's length >= 256
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.3.3.1 rc
          </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>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>himajin100000@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
See STEPS TO REPRODUCE

Steps to Reproduce:
1. Open LibreOffice Calc
2. in Cell A1, type as follows
= REPT("a",255)
3. in Cell A2, type as follows
= REPT("a",256)
4. Select A1:A2 in Calc
5. Open Excel(I used Excel 2016)
6. Select A1:A2 cell in Excel
7. 
DO any of the following to reproduce the problem.

7-a. Ctrl + V
7-b. Click the toolbar button with "Paste" as its title
7-c. select context menu item "Paste Special", choose "SYLK" format 

DONT DO the following.

7-d. Select Paste options like "Keep source formatting" nor "Match destination
formatting" in context menu.

Actual Results:  
In Excel 
A1 will show 255 'a' letters
A2 will show nothing

Expected Results:
In Excel 
A1 will show 255 'a' letters
A2 will show 256 'a' letters


Reproducible: Always

User Profile Reset: No

Additional Info:
I guess that SYLK only supports 255 characters as its cell content and that
Excel tries to parse data with this type in a strict way. Then, Excel tries not
to paste invalid data.


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101
Firefox/55.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>