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

--- Comment #20 from Armin Le Grand <[email protected]> ---
Taking a look.
This is strange, when I check the crop values used internally it shows that

    const SwCropGrf& rCrop = rSet.GetCropGrf();

in SwGrfNode::GetGraphicAttr gets crop values of

        nLeft    0    long
        nRight    0    long
        nTop    65468    long
        nBottom    0    long

which makes clear why the graphic is not shown - it gets completely cropped
away. Checking the content.xml of the test file shows that the 2nd graphic with
style draw:style-name="fr1" indeed has set a 

             fo:clip="rect(115.478cm, 0cm, 0cm, 0cm)", 

so this is imported correctly (also checked SvxGrfCrop::PutValue which is used
at import time).

Thus, the crop values used for paint are the ones from the file.

The strange thing is that in the UI using 'format/image' in the context menu
shows in its crop tab indeed other values - where do these come from and where
are these in the odf file? They *should* be stored in fo:clip, but seems not to
be. Looking deeper...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to