[Libreoffice-bugs] [Bug 125440] textimport: copy & paste one row is different from multiple rows

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat May 25 13:10:32 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125440

--- Comment #10 from Oliver Brinzing <oliver.brinzing at gmx.de> ---
noticed: 

- only tab separated values will be splitted and pasted into single cells 
- AOO 4.1.5/LO 3.6.7.2 will detect numbers and remove enclosing quotes

AOO 4.1.5/LO 3.6.7.2
- tab
  "Row1"        "1"     "2" -> Row1 | 1 | 2

- other delimeters:
  "Row1";"1";"2" -> "Row1";"1";"2" (AOO 4.1.5)
                 -> Row            (LO 3.6.7.2)

since LO 4
- tab
  "Row1"        "1"     "2" -> "Row1" | "1" | "2"

- other delimeters:
  "Row1";"1";"2" -> "Row1";"1";"2" 

AOO4.1.5 calls a method setString() with parameter bDetectNumberformat=true:
 sal_Bool ScDocument::SetString( SCCOL nCol, SCROW nRow, SCTAB nTab, const 
                                 String& rString, SvNumberFormatter*
pFormatter,
                                 bool bDetectNumberFormat )

while LO setString() method misses this parameter:
sc\source\core\data\document.cxx:
 bool ScDocument::SetString( SCCOL nCol, SCROW nRow, SCTAB nTab, const 
                             OUString& rString, const ScSetStringParam* pParam
)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190525/966d4e78/attachment.html>


More information about the Libreoffice-bugs mailing list