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

--- Comment #2 from Andras Timar <[email protected]> ---
export SAL_LOG="+INFO.oox.drawingml"
instdir/program/swriter ~/Images.docx
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:395:
Shape::addShape: id='1'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:931:
Shape::createAndInsert: id='1'
service='com.sun.star.drawing.GraphicObjectShape'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:395:
Shape::addShape: id='5'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:931:
Shape::createAndInsert: id='5'
service='com.sun.star.drawing.GraphicObjectShape'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:1381:
Shape::createAndInsert: invisible shape with id='5'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:395:
Shape::addShape: id='6'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:931:
Shape::createAndInsert: id='6'
service='com.sun.star.drawing.GraphicObjectShape'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:1381:
Shape::createAndInsert: invisible shape with id='6'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:395:
Shape::addShape: id='1'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:931:
Shape::createAndInsert: id='1'
service='com.sun.star.drawing.GraphicObjectShape'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:395:
Shape::addShape: id='2'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:931:
Shape::createAndInsert: id='2'
service='com.sun.star.drawing.GraphicObjectShape'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:1381:
Shape::createAndInsert: invisible shape with id='2'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:395:
Shape::addShape: id='3'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:931:
Shape::createAndInsert: id='3'
service='com.sun.star.drawing.GraphicObjectShape'
info:oox.drawingml:20726:20726:oox/source/drawingml/shape.cxx:1381:
Shape::createAndInsert: invisible shape with id='3'

Although ids are not 1,2,3,4,5,6 in Images.docx, it is visible that the hidden
attribute is imported 4 times, and Visible property is set to false. So import
is OK in my opinion, but possibly this Visible property is ignored later, when
LibreOffice renders the images. The export is also broken, because hidden
attribute does not survive the roundtrip. Interestingly the binary doc filter
is different, apparently it does not load hidden images to the document model
so the rendering is OK, but lose hidden images on export.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to