Product: Database Access
          Type: new
         Title: image controls: scaling the image by keeping the ratio
     Posted by: [EMAIL PROTECTED]
      Affected: -
         TaskId: i93264
<http://www.openoffice.org/issues/show_bug.cgi?id=93264>
Effective from: CWS dba31e
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/dba31e>
    CWS status: new


*Flags*
-------
API/ BASIC [x]
Configuration [ ]
File format change [ ]
Help/ Guide [x]
Performance test [ ]
Translation [ ]
UI relevant [x]


*Description*
-------------
Image form controls in documents got an additional mode for scaling
the image they display.

Previously, you could control the scaling by setting the "Scale"
property to "Yes" or "No" only, where "Yes" implied an anisotropic
scaling, i.e. one which distorted the image's dimensions.

Now, the "Scale" property allows the values "No" (same as before),
"Keep Ratio" and "Fit to Size" (equivalent to the old "Yes"). When
"Keep Ratio" is selected, the image is still scaled up or down to
match the control dimensions, but it's ratio is aspect kept constant.

This is especially useful for controls where the designer of the
document does not know, at time of designing the document/control, the
dimensions of the to-be-displayed images. In particular, this is
useful for image controls in database forms, displaying images
obtained from the database.


Send feedback to [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to