https://bugs.freedesktop.org/show_bug.cgi?id=44435

             Bug #: 44435
           Summary: EDITING, FORMATTING, Need a Paste Special... checkbox:
                    DO NOT autoformat my data!
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.4.4 release
          Platform: All
        OS/Version: Mac OS X (All)
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: Spreadsheet
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Trying to paste a tab-delimited "table" of plain text (plain old text with
"rows" and "columns" enforced by the tabs and returns.)

I'm having the problem of numbers with dashes being turned into dates, then
being changed to "date numbers" by Format -> Clear Direct Formatting (data
loss.)

So here's the enhancement request: The Paste Special... dialog should have a
checkbox, "Do not autoformat this data." This would help people who don't have
time to become LibreOffice autoformat prevention scientists.

Below is the tab-delimited data I used followed by the paste special and clear
direct formatting results (three sets of data: ORIGINAL TEXT, POST PASTE
SPECIAL, and POST CLEAR DIRECT FORMATTING.)  

Copying from either Mac apps TextEdit (plain text) or BBEdit, Paste Special
dialog considered it thusly: 

 Source: unknown format 
 Selection: unformatted text

Results:  after the paste special, certain cells in columns G, I, and K are
turned into dates - and I don't want that, in fact, I've never wanted that. 
After the paste, if I use Format -> Clear Direct Formatting, the dates are
turned into "date numbers" and the original text is gone.

-----------  
ORIGINAL TEXT  
----------

##    Player    GP-GS    Min--Avg    FG-FGA    Pct    3FG-FGA    Pct    FT-FTA 
  Pct    Off    Def    Tot    Avg    PF    FO    A    TO    Blk    Stl    Pts  
 Avg
------------------------------------------------------------------------------------------------------------------------------------
04    SPERLING,    Brandon..    10-9    285    28.5    47-92    .511    6-16   
.375    62-82    .756    10    32    42    4.2    21    0    35    28    2   
15    162    16.2
21    HUNTER,    Randy......    10-8    281    28.1    47-96    .490    4-11   
.364    35-53    .660    28    40    68    6.8    25    0    8    15    9    16
   133    13.3
02    CLARK,    Scott.......    10-9    243    24.3    33-66    .500    11-31  
 .355    40-58    .690    5    23    28    2.8    17    1    14    8    1    16
   117    11.7
24    BRYAN,    Austin......    10-2    203    20.3    38-69    .551    21-39  
 .538    19-22    .864    6    13    19    1.9    19    0    9    6    1    2  
 116    11.6
22    BAXTER,    Kyle.......    10-8    300    30.0    42-97    .433    4-23   
.174    15-27    .556    15    54    69    6.9    23    1    29    25    7   
10    103    10.3
05    LIPSKI,    Matt.......    10-8    148    14.8    31-55    .564    0-0   
.000    19-33    .576    18    17    35    3.5    31    0    4    11    3    6 
  81    8.1
13    DILLARD,    Ethan.....    9-0    81    9.0    17-35    .486    16-33   
.485    0-1    .000    2    5    7    0.8    7    0    4    7    0    1    50  
 5.6
34    HURLEY,    Tavin......    1-0    11    11.0    2-5    .400    0-0    .000
   1-1    1.000    2    2    4    4.0    3    0    0    1    0    1    5    5.0
03    BROOME,    D.J........    10-0    210    21.0    11-27    .407    0-0   
.000    2-5    .400    16    14    30    3.0    26    0    24    12    0    14 
  24    2.4
32    TURPIN,    Darren.....    8-1    104    13.0    8-13    .615    0-0   
.000    2-2    1.000    5    12    17    2.1    20    2    1    11    1    3   
18    2.3
12    ESTERS,    J.D........    7-0    59    8.4    3-11    .273    2-8    .250
   0-0    .000    3    3    6    0.9    9    0    8    4    0    3    8    1.1
23    TORRES,    Andrew.....    3-0    9    3.0    1-4    .250    1-1    1.000 
  0-0    .000    3    0    3    1.0    1    0    0    0    0    0    3    1.0
44    LESLIE,    Greg.......    6-0    48    8.0    1-9    .111    0-6    .000 
  0-0    .000    2    3    5    0.8    8    0    2    2    0    0    2    0.3
15    HENTLY,    Nathan.....    6-0    18    3.0    0-4    .000    0-4    .000 
  0-0    .000    1    2    3    0.5    1    0    1    2    0    0    0    0.0

--------------
POST PASTE SPECIAL
--------------


##    Player    GP-GS    Min--Avg    FG-FGA    Pct    3FG-FGA    Pct    FT-FTA 
  Pct    Off    Def    Tot    Avg    PF    FO    A    TO    Blk    Stl    Pts  
 Avg        
------------------------------------------------------------------------------------------------------------------------------------
 
4    SPERLING,    Brandon..    10/09/12    285    28.5    47-92    0.511   
06/16/12    0.375    62-82    0.756    10    32    42    4.2    21    0    35  
 28    2    15    162    16.2
21    HUNTER,    Randy......    10/08/12    281    28.1    47-96    0.49   
04/11/12    0.364    35-53    0.66    28    40    68    6.8    25    0    8   
15    9    16    133    13.3
2    CLARK,    Scott.......    10/09/12    243    24.3    33-66    0.5   
11/01/31    0.355    40-58    0.69    5    23    28    2.8    17    1    14   
8    1    16    117    11.7
24    BRYAN,    Austin......    10/02/12    203    20.3    38-69    0.551   
21-39    0.538    19-22    0.864    6    13    19    1.9    19    0    9    6  
 1    2    116    11.6
22    BAXTER,    Kyle.......    10/08/12    300    30    42-97    0.433   
04/23/12    0.174    15-27    0.556    15    54    69    6.9    23    1    29  
 25    7    10    103    10.3
5    LIPSKI,    Matt.......    10/08/12    148    14.8    31-55    0.564    0-0
   0    19-33    0.576    18    17    35    3.5    31    0    4    11    3    6
   81    8.1
13    DILLARD,    Ethan.....    09/01/00    81    9    17-35    0.486    16-33 
  0.485    0-1    0    2    5    7    0.8    7    0    4    7    0    1    50  
 5.6
34    HURLEY,    Tavin......    01/01/00    11    11    02/05/12    0.4    0-0 
  0    01/01/12    1    2    2    4    4    3    0    0    1    0    1    5   
5
3    BROOME,    D.J........    10/01/00    210    21    11/27/12    0.407   
0-0    0    02/05/12    0.4    16    14    30    3    26    0    24    12    0 
  14    24    2.4
32    TURPIN,    Darren.....    08/01/12    104    13    08/13/12    0.615   
0-0    0    02/02/12    1    5    12    17    2.1    20    2    1    11    1   
3    18    2.3
12    ESTERS,    J.D........    07/01/00    59    8.4    03/11/12    0.273   
02/08/12    0.25    0-0    0    3    3    6    0.9    9    0    8    4    0   
3    8    1.1
23    TORRES,    Andrew.....    03/01/00    9    3    01/04/12    0.25   
01/01/12    1    0-0    0    3    0    3    1    1    0    0    0    0    0   
3    1
44    LESLIE,    Greg.......    06/01/00    48    8    01/09/12    0.111    0-6
   0    0-0    0    2    3    5    0.8    8    0    2    2    0    0    2   
0.3
15    HENTLY,    Nathan.....    06/01/00    18    3    0-4    0    0-4    0   
0-0    0    1    2    3    0.5    1    0    1    2    0    0    0    0


--------------
POST CLEAR DIRECT FORMATTING
-------------


##    Player    GP-GS    Min--Avg    FG-FGA    Pct    3FG-FGA    Pct    FT-FTA 
  Pct    Off    Def    Tot    Avg    PF    FO    A    TO    Blk    Stl    Pts  
 Avg        
------------------------------------------------------------------------------------------------------------------------------------
 
4    SPERLING,    Brandon..    41191    285    28.5    47-92    0.511    41076 
  0.375    62-82    0.756    10    32    42    4.2    21    0    35    28    2 
  15    162    16.2
21    HUNTER,    Randy......    41190    281    28.1    47-96    0.49    41010 
  0.364    35-53    0.66    28    40    68    6.8    25    0    8    15    9   
16    133    13.3
2    CLARK,    Scott.......    41191    243    24.3    33-66    0.5    11628   
0.355    40-58    0.69    5    23    28    2.8    17    1    14    8    1    16
   117    11.7
24    BRYAN,    Austin......    41184    203    20.3    38-69    0.551    21-39
   0.538    19-22    0.864    6    13    19    1.9    19    0    9    6    1   
2    116    11.6
22    BAXTER,    Kyle.......    41190    300    30    42-97    0.433    41022  
 0.174    15-27    0.556    15    54    69    6.9    23    1    29    25    7  
 10    103    10.3
5    LIPSKI,    Matt.......    41190    148    14.8    31-55    0.564    0-0   
0    19-33    0.576    18    17    35    3.5    31    0    4    11    3    6   
81    8.1
13    DILLARD,    Ethan.....    36770    81    9    17-35    0.486    16-33   
0.485    0-1    0    2    5    7    0.8    7    0    4    7    0    1    50   
5.6
34    HURLEY,    Tavin......    36526    11    11    40944    0.4    0-0    0  
 40909    1    2    2    4    4    3    0    0    1    0    1    5    5
3    BROOME,    D.J........    36800    210    21    41240    0.407    0-0    0
   40944    0.4    16    14    30    3    26    0    24    12    0    14    24 
  2.4
32    TURPIN,    Darren.....    41122    104    13    41134    0.615    0-0   
0    40941    1    5    12    17    2.1    20    2    1    11    1    3    18  
 2.3
12    ESTERS,    J.D........    36708    59    8.4    40979    0.273    40947  
 0.25    0-0    0    3    3    6    0.9    9    0    8    4    0    3    8   
1.1
23    TORRES,    Andrew.....    36586    9    3    40912    0.25    40909    1 
  0-0    0    3    0    3    1    1    0    0    0    0    0    3    1
44    LESLIE,    Greg.......    36678    48    8    40917    0.111    0-6    0 
  0-0    0    2    3    5    0.8    8    0    2    2    0    0    2    0.3
15    HENTLY,    Nathan.....    36678    18    3    0-4    0    0-4    0    0-0
   0    1    2    3    0.5    1    0    1    2    0    0    0    0

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to