As suggested by Caolán M. bug 75408#c12--Perhaps we should adjust the UI a bit to have a little radiobutton on the borders page to "add border distance to current size" vs "subtract border distance from current size (default)" The default behavior when modifying individual OLE objects, or setting a document style for their import, is to keep the containing frame size static and reduce the object size to fit. As in bug 75408 This is especially a problem when inserting or linking OLE for Math .odf formula objects where font size and spacing is critical to readability. Propose enhancement would be as Caolán suggests to add a radio button and label to the Frame Properties dialog --> Borders tab to choose to increase the size of object's frame rather than reduce object to fit in existing frame. Should be applied to the Frame Style dialog as well, and style behavior when set would be that on import or linkage, border or distance to content would be additive--holding size of original.
I agree. Thank you for this proposition. Best regards. JBF
I agree with this too
*** Bug 48846 has been marked as a duplicate of this bug. ***
I suggest to make this also possible for other border lines, e.g. page borders.
My comment 4 relates to bug 112195 (Whole-Page-Filling) - Allow page background to cover the whole page. Because of that bug, now it's not possible to have an other-colored margin around the page content area as it was possible until LibO 6.3.
*** Bug 127948 has been marked as a duplicate of this bug. ***
*** Bug 127956 has been marked as a duplicate of this bug. ***
*** Bug 133461 has been marked as a duplicate of this bug. ***
I confirm the behavior in Version: 7.1.0.0.alpha0+ (x64) Build ID: 7dc3a20cab712ee987ea25a8f5728529521485b7 CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: Skia/Raster; VCL: win Locale: cs-CZ (cs_CZ); UI: en-US Calc: CL Adding padding (to image) distorts content.
*** Bug 166783 has been marked as a duplicate of this bug. ***
(In reply to V Stuart Foote from comment #10) > *** Bug 166783 has been marked as a duplicate of this bug. *** My bug, marked a dupe of this one, is entitled "Adding a border around image with padding - shrinks the image". And it is definitely not an enhancement nor about optional behavior. The current behavior is just wrong, and I claim users absolutely don't want this as default behavior. So, what do you all think? Should we... Option 1: Enlarge the scope of this bug to, first of all, change the default, and then possibly add UI for allowing the current behavior, or Option 2: Un-duplicate the two bugs, with one bug for changing the default, and this bug for adding UI?
(In reply to Eyal Rozenberg from comment #11) > (In reply to V Stuart Foote from comment #10) > > *** Bug 166783 has been marked as a duplicate of this bug. *** > > My bug, marked a dupe of this one, is entitled "Adding a border around image Did you mean Telesto's bug 166783? ;-) But, none the less, it is a dupe. This enhancement, "OLE object frame properties and styles: border lines and spacing should optionally increase frame size rather than reduce content to fit" scoped as result of bug 75408 against sm ODF Formula is exactly the ask of "Adding a border around image with padding - shrinks the image" and shouldn't. The frames holding an image is the same as the frames holding an OLE, border and spacing interaction with the content of the frames is the ask.
(In reply to V Stuart Foote from comment #12) > The frames holding an image is the same as the frames holding an OLE, border > and spacing interaction with the content of the frames is the ask. My bug is technically speaking indeed a duplicate. And the suggested solution could work. However marking it as duplicate makes it quite convoluted: a) title (limited to OLE) b) the context. Reason for this bug was initially "Math formulas" size. relevance gone with comment 75408 comment 19 c) suggesting "subtract border distance from current size" being default and add border distance to current size being optional d) defining it as enhancement Put differently: A) It feels like a more prominent bug has been degraded to something trivial. B) This bug doesn't cater a specific need for images: "add border distance to current size" should be default, not optional IMHO: My bug should be duplicate of bug 133461, with this bug here in see also
Sure, not OLE specific--rather it is all content held within discrete frames. The padding and spacing from content to the frame has to respect the dimensions of the content--expanding the frame size--and not shrinking the content.