https://issues.apache.org/ooo/show_bug.cgi?id=125323
--- Comment #3 from Regina Henschel <[email protected]> --- This checkbox is no picture property but a dialog property. It binds the input fields together. Same with the analogous options on the tab 'Crop'. This leads to many user irritations. The problem with this check box is from the beginning, see bugs 6769, 18181, 21917, 16042, .... A search in Comment with phrase "keep ratio" gives you 74 results with various Status/Resolutions. It is time to solve it. In ODF1.2 you can use the attribute "style:rel-height" and "style:rel-width" of the element "graphic-properties". They allow the values "scale" and "scale-min" and a percent number. Currently only the percent number is implemented. But "scale" might solve the problem. Read in section "19.509 style:rel-height" the description, "●scale: the height should be calculated depending on the width, so that the ratio of width and height of the original image or object size is preserved." Details would have to be cleared, for example if only one of width and height has to be set. The dialog has currently the options 'Contents', 'Position', 'Size' on tab "Options" in section "Protect". There is enough space to add an option 'Ratio'. At least for pictures and OLE is should be checked as default. But the whole dialog would need a new design, because there is not only on tab "Type" this option to bind the input fields, but on tab "Crop" exists similar options. Are they still needed? How works the input on ratio-protected pictures? In addition the drag behavior is affected. Therefore I think a UI discussion on the mailing list is needed before implementing the feature. For a 'form:image-frame' element "keep ratio" is solved by an attribute 'style:repeat="scale"'. But that looks very suspicious, because the value "scale" is not listed as valid value of the attribute "style:repeat". -- You are receiving this mail because: You are the assignee for the issue. You are watching all issue changes.
