https://bz.apache.org/ooo/show_bug.cgi?id=110486
dam...@apache.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dam...@apache.org --- Comment #7 from dam...@apache.org --- Of the pasted cells, only the first 65534 have colored text, the rest are black. So it looks like some 16 bit limit (65534 = 2^16 - 2). A partial stack trace from what looks like a useful point in the HTML parsing code looks like this, with the modules annotated: sc: #0 ScHTMLLayoutParser::NewActEntry(ScEEParseEntry*) (this=this@entry=0x80fcc61d0, pE=0x80e3ea930) at source/filter/html/htmlpars.cxx:202 #1 0x0000000814878d79 in ScHTMLLayoutParser::CloseEntry(ImportInfo*) (this=0x80fcc61d0, pInfo=<optimized out>) at source/filter/html/htmlpars.cxx:743 #2 0x000000081487b14b in ScHTMLLayoutParser::TableDataOff(ImportInfo*) (this=this@entry=0x80fcc61d0, pInfo=0x80e3ea930, pInfo@entry=0x7fffffffc9e0) at source/filter/html/htmlpars.cxx:1032 #3 0x0000000814879aa7 in ScHTMLLayoutParser::ProcToken(ImportInfo*) (this=this@entry=0x80fcc61d0, pInfo=pInfo@entry=0x7fffffffc9e0) at source/filter/html/htmlpars.cxx:1594 #4 0x0000000814879981 in ScHTMLLayoutParser::HTMLImportHdl(ImportInfo*) (this=0x80fcc61d0, pInfo=0x7fffffffc9e0) at source/filter/html/htmlpars.cxx:848 #5 0x0000000814878607 in ScHTMLLayoutParser::LinkStubHTMLImportHdl(void*, void*) (pThis=0x80fcc61d0, pCaller=0x80e3ea930) at source/filter/html/htmlpars.cxx:747 editeng: #6 0x000000080443dff7 in EditHTMLParser::NextToken(int) (this=0x80e33af10, nToken=695) at source/editeng/eehtml.cxx:514 svtools: #7 0x0000000801c699e9 in HTMLParser::Continue(int) (this=0x80e33af10, nToken=1450261705) at source/svhtml/parhtml.cxx:362 #8 0x0000000801c69983 in HTMLParser::CallParser() (this=0x80e33af10) at source/svhtml/parhtml.cxx:344 editeng: #9 0x000000080443db30 in EditHTMLParser::CallParser(ImpEditEngine*, EditPaM const&) (this=0x80e33af10, pImpEE=<optimized out>, rPaM=<optimized out>) at source/editeng/eehtml.cxx:101 #10 0x000000080446f039 in ImpEditEngine::ReadHTML(SvStream&, String const&, EditSelection, SvKeyValueIterator*) (this=this@entry=0x80fb0f810, rInput=..., rBaseURL=..., aSel=..., pHTTPHeaderAttrs=pHTTPHeaderAttrs@entry=0x80fd8ba50) at source/editeng/impedit4.cxx:209 #11 0x000000080446eb30 in ImpEditEngine::Read(SvStream&, String const&, EETextFormat, EditSelection, SvKeyValueIterator*) (this=0x80fb0f810, rInput=..., rBaseURL=..., eFormat=EE_FORMAT_HTML, aSel=..., pHTTPHeaderAttrs=0x80fd8ba50) at source/editeng/impedit4.cxx:111 #12 0x0000000804425cfb in EditEngine::Read(SvStream&, String const&, EETextFormat, SvKeyValueIterator*) (this=0x80e3762f0, rInput=..., rBaseURL=..., eFormat=EE_FORMAT_HTML, pHTTPHeaderAttrs=0x80fd8ba50) at source/editeng/editeng.cxx:1352 sc: #13 0x0000000814878498 in ScHTMLLayoutParser::Read(SvStream&, String const&) (this=0x80fcc61d0, rStream=..., rBaseURL=...) at source/filter/html/htmlpars.cxx:173 #14 0x0000000814882c37 in ScEEImport::Read(SvStream&, String const&) (this=0x80fec9f00, rStream=..., rBaseURL=...) at source/filter/rtf/eeimpars.cxx:98 #15 0x000000081081d623 in ScImportExport::HTML2Doc(SvStream&, String const&) (this=this@entry=0x7fffffffce40, rStrm=..., rBaseURL=...) at source/ui/docshell/impex.cxx:2013 #16 0x000000081081b543 in ScImportExport::ImportStream(SvStream&, String const&, unsigned long) (this=0x7fffffffce40, rStrm=..., rBaseURL=..., nFmt=<optimized out>) at source/ui/docshell/impex.cxx:472 #17 0x00000008108626c1 in ScViewFunc::PasteDataFormat(unsigned long, com::sun::star::uno::Reference<com::sun::star::datatransfer::XTransferable> const&, short, int, Point*, unsigned char, unsigned char) (this=0x80fe36890, nFormatId=51, rxTransferable=..., nPosX=0, nPosY=<optimized out>, pLogicPos=0x0, bLink=0 '\000', bAllowDialogs=1 '\001') at source/ui/view/viewfun5.cxx:319 #18 0x000000081085d144 in ScViewFunc::PasteFromSystem(unsigned long, unsigned char) (this=this@entry=0x80fe36890, nFormatId=nFormatId@entry=51, bApi=bApi@entry=0 '\000') at source/ui/view/viewfun3.cxx:809 #19 0x000000081085b1ee in ScViewFunc::PasteFromSystem() (this=0x80fe36890) at source/ui/view/viewfun3.cxx:657 #20 0x00000008108f39a9 in ScCellShell::PasteFromClipboard(ScViewData*, ScTabViewShell*, bool) (pViewData=0x80fe36898, pTabViewShell=pTabViewShell@entry=0x80fe36810, bShowDialog=<optimized out>) at source/ui/view/cellsh1.cxx:2184 -- You are receiving this mail because: You are on the CC list for the issue. You are the assignee for the issue.