[Libreoffice-bugs] [Bug 141127] FILEOPEN ODP LibreOffice uses wrong default skew angle in extruded custom shape

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 20 19:46:39 UTC 2021


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

--- Comment #4 from Julien Nabet <serval2412 at yahoo.fr> ---
Searching ppt import in cgit, I got:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=ppt+import

I gave a look at
https://cgit.freedesktop.org/libreoffice/core/commit/?id=11d542352e1088a2c870b0e73e14e10266276483
tdf#118037 PPT import: fix lost crop of graphic
Regression from commit b11188835d3b87cd9d2a8cdb3da204cfda5d3e6e (DOC
import: lazy-read images, 2018-04-20).
and noticed this file:
filter/source/msfilter/msdffimp.cxx

Then searching Skew in it, I got:
https://opengrok.libreoffice.org/xref/core/filter/source/msfilter/msdffimp.cxx?r=4e639c37#1828

Here's part of bt:
#0  DffPropertyReader::ApplyCustomShapeGeometryAttributes(SvStream&,
SfxItemSet&, DffObjData const&) const
    (this=0x88e3f18, rIn=..., rSet=SfxItemSet of pool 0x937c110 with parent 0x0
and Which ranges: [(1000, 1241), (4006, 4061)] = {...}, rObjData=...) at
filter/source/msfilter/msdffimp.cxx:1828
#1  0x00007ff304630f24 in DffPropertyReader::ApplyAttributes(SvStream&,
SfxItemSet&, DffObjData const&) const
    (this=0x88e3f18, rIn=..., rSet=SfxItemSet of pool 0x937c110 with parent 0x0
and Which ranges: [(1000, 1241), (4006, 4061)] = {...}, rObjData=...) at
filter/source/msfilter/msdffimp.cxx:2684
#2  0x00007ff304637b80 in SvxMSDffManager::ImportShape(DffRecordHeader const&,
SvStream&, SvxMSDffClientData&, tools::Rectangle&, tools::Rectangle const&,
int, int*)
    (this=0x88e3f10, rHd=..., rSt=..., rClientData=..., rClientRect=...,
rGlobalChildRect=..., nCalledByGroup=0, pShapeId=0x7ffc04d48d4c) at
filter/source/msfilter/msdffimp.cxx:4348
#3  0x00007ff304635c3c in SvxMSDffManager::ImportObj(SvStream&,
SvxMSDffClientData&, tools::Rectangle&, tools::Rectangle const&, int, int*)
    (this=0x88e3f10, rSt=..., rClientData=..., rClientRect=...,
rGlobalChildRect=..., nCalledByGroup=0, pShapeId=0x7ffc04d48d4c) at
filter/source/msfilter/msdffimp.cxx:4034
#4  0x00007ff3046bf083 in SdrPowerPointImport::ImportPage(SdrPage*,
PptSlidePersistEntry const*) (this=0x88e3f10, pRet=0x877d450,
pMasterPersist=0x93a1b60) at filter/source/msfilter/svdfppt.cxx:2910
#5  0x00007ff2fd82621b in ImplSdPPTImport::Import() (this=0x88e3f10) at
sd/source/filter/ppt/pptin.cxx:951
#6  0x00007ff2fd820cb6 in SdPPTImport::Import() (this=0x8275c90) at
sd/source/filter/ppt/pptin.cxx:155
#7  0x00007ff2fd830cf0 in ImportPPT(SdDrawDocument*, SvStream&, SotStorage&,
SfxMedium&) (pDocument=0x93fb5c0, rDocStream=..., rStorage=..., rMedium=...) at
sd/source/filter/ppt/pptin.cxx:2778
#8  0x00007ff304c9051e in SdPPTFilter::Import() (this=0x7ffc04d4b3a8) at
sd/source/filter/sdpptwrp.cxx:207
#9  0x00007ff304e083df in sd::DrawDocShell::ConvertFrom(SfxMedium&)
(this=0x87bd5b0, rMedium=...) at sd/source/ui/docshell/docshel4.cxx:457
#10 0x00007ff31d71ae75 in SfxObjectShell::DoLoad(SfxMedium*) (this=0x87bd5b0,
pMed=0x93eb390) at sfx2/source/doc/objstor.cxx:751
#11 0x00007ff31d7837ee in
SfxBaseModel::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
const&) (this=0x83e71b0, seqArguments=uno::Sequence of length 16 = {...})
    at sfx2/source/doc/sfxbasemodel.cxx:1883
#12 0x00007ff31d8f7f11 in (anonymous
namespace)::SfxFrameLoader_Impl::load(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
const&, com::sun::star::uno::Reference<com::sun::star::frame::XFrame> const&)
(this=0x83f28e0, rArgs=uno::Sequence of length 12 = {...},
_rTargetFrame=uno::Reference to ((anonymous namespace)::XFrameImpl *)
0x3f67030) at sfx2/source/view/frmload.cxx:681

Perhaps it may help.

-- 
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/20210320/61d9f5eb/attachment.htm>


More information about the Libreoffice-bugs mailing list