Description: Anchor image as character when inserting it into an caption frame Steps to Reproduce: 1. Insert an image to Writer -> anchored "to character" 2. Insert caption -> Image anchor changes 'to paragraph" Actual Results: To paragraph Expected Results: As character, to make it less easy to drag they image outside the frame Reproducible: Always User Profile Reset: No Additional Info: Version: 7.1.0.0.alpha1+ (x64) Build ID: 5a96093f0ecee53432bdf35f247edd6deb501baf CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL
Also in Versie: 4.4.7.2 Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600 Locale: nl_NL
Don't see advantage from To Paragraph when the image is placed within a frame. So I agree with keeping the value. What do you think, Regina?
(In reply to Heiko Tietze from comment #2) > Don't see advantage from To Paragraph when the image is placed within a > frame. So I agree with keeping the value. What do you think, Regina? FWIW: default is 'to character' I proposed change 'as character'. Keep they existing is not what I asked for :-).
You are right, the anchor is changed automatically and should be "As Character" rather than At Paragraph".
*** Bug 149458 has been marked as a duplicate of this bug. ***
(In reply to Heiko Tietze from comment #2) > Don't see advantage from To Paragraph when the image is placed within a > frame. So I agree with keeping the value. What do you think, Regina? I'm not an expert at all, but since anchor of image is now at beginning of the caption frame, it might be the expected result: Image is "connected" with caption frame - sounds logic to me. Regina?
What Telesto is asking for is what happens when saved to DOCX format - it round-trips as an AS-CHAR inside a drawing object. However, in ODT format it remains a TO-PARA image inside an SwFrame.
So the main benefit is for eventual export to MS Formats (bug 96579)
lcl_InsertDrawLabel and lcl_InsertLabel - SwFormatAnchor aAnch( RndStdIds::FLY_AT_PARA ); + SwFormatAnchor aAnch( RndStdIds::FLY_AS_CHAR ); Unfortunately, doing that deletes the image...