[Libreoffice-bugs] [Bug 34722] FILEOPEN: Text boxes are not shown in generated .doc documents

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 5 21:03:12 UTC 2019


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

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #24 from Julien Nabet <serval2412 at yahoo.fr> ---
Regina: taking a look at this one, I noticed that the log
warn:legacy.osl:271686:271686:sw/source/filter/ww8/ww8graf.cxx:2596: Where is
the Shape ?
appeared first with mso_sptNotchedCircularArrow

bt:
#0  0x00007fffd7a717c7 in SvxMSDffManager::ImportShape(DffRecordHeader const&,
SvStream&, SvxMSDffClientData&, tools::Rectangle&, tools::Rectangle const&,
int, int*)
    (this=0x55555b1a6720, rHd=..., rSt=..., rClientData=..., rClientRect=...,
rGlobalChildRect=..., nCalledByGroup=0, pShapeId=0x0) at
/home/julien/lo/libreoffice/filter/source/msfilter/msdffimp.cxx:4925
#1  0x00007fffd7a6c725 in SvxMSDffManager::ImportObj(SvStream&,
SvxMSDffClientData&, tools::Rectangle&, tools::Rectangle const&, int, int*)
    (this=0x55555b1a6720, rSt=..., rClientData=..., rClientRect=...,
rGlobalChildRect=..., nCalledByGroup=0, pShapeId=0x0) at
/home/julien/lo/libreoffice/filter/source/msfilter/msdffimp.cxx:4119
#2  0x00007fffd7a77b21 in SvxMSDffManager::GetShape(unsigned long, SdrObject*&,
SvxMSDffImportData&) (this=0x55555b1a6720, nId=1157, rpShape=@0x7ffffffef498:
0x0, rData=...)
    at /home/julien/lo/libreoffice/filter/source/msfilter/msdffimp.cxx:6425
#3  0x00007fffd65e2c25 in SwWW8ImplReader::Read_GrafLayer(long)
(this=0x55555bcdf210, nGrafAnchorCp=1) at
/home/julien/lo/libreoffice/sw/source/filter/ww8/ww8graf.cxx:2590
#4  0x00007fffd6611f2d in SwWW8ImplReader::ReadChar(long, long)
(this=0x55555bcdf210, nPosCp=1, nCpOfs=0) at
/home/julien/lo/libreoffice/sw/source/filter/ww8/ww8par.cxx:3740
#5  0x00007fffd66112af in SwWW8ImplReader::ReadChars(int&, int, long, long)
(this=0x55555bcdf210, rPos=@0x7ffffffefc88: 1, nNextAttr=121, nTextEnd=122,
nCpOfs=0)
    at /home/julien/lo/libreoffice/sw/source/filter/ww8/ww8par.cxx:3527
#6  0x00007fffd66137c4 in SwWW8ImplReader::ReadText(int, int, ManTypes)
(this=0x55555bcdf210, nStartCp=0, nTextLen=122, nType=MAN_MAINTEXT) at
/home/julien/lo/libreoffice/sw/source/filter/ww8/ww8par.cxx:4088
#7  0x00007fffd661aff3 in SwWW8ImplReader::CoreLoad(WW8Glossary const*)
(this=0x55555bcdf210, pGloss=0x0) at
/home/julien/lo/libreoffice/sw/source/filter/ww8/ww8par.cxx:5277
#8  0x00007fffd661ea8a in SwWW8ImplReader::LoadThroughDecryption(WW8Glossary*)
(this=0x55555bcdf210, pGloss=0x0) at
/home/julien/lo/libreoffice/sw/source/filter/ww8/ww8par.cxx:5941
#9  0x00007fffd6620402 in SwWW8ImplReader::LoadDoc(WW8Glossary*)
(this=0x55555bcdf210, pGloss=0x0) at
/home/julien/lo/libreoffice/sw/source/filter/ww8/ww8par.cxx:6245
#10 0x00007fffd662100c in WW8Reader::Read(SwDoc&, rtl::OUString const&, SwPaM&,
rtl::OUString const&) (this=0x55555b239620, rDoc=...,
rBaseURL="file:///tmp/no_text_boxes_shown.doc", rPaM=SwPaM = {...})
    at /home/julien/lo/libreoffice/sw/source/filter/ww8/ww8par.cxx:6396

pRet is false because "GetCustomShapeContent( aObjData.eShapeType )" from line
4433
 (see
https://opengrok.libreoffice.org/xref/core/filter/source/msfilter/msdffimp.cxx?r=be3a8183#4433)
returns nothing.

Indeed this function doesn't deal with case "mso_sptNotchedCircularArrow"
(see
https://opengrok.libreoffice.org/xref/core/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx?r=d2702aea#8346)
but when taking a look at how the other ones are implemented, it seems it's
quite complex.
I don't pretend I could succeed but are there some doc about how to implement
them?

-- 
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/20191205/93fb3f1e/attachment-0001.html>


More information about the Libreoffice-bugs mailing list