Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Zoom minimum is at 5% | ||
---|---|---|---|
Product: | Impress | Reporter: | Armin Le Grand <Armin.Le.Grand> |
Component: | editing | Assignee: | AOO issues mailing list <issues> |
Status: | ACCEPTED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | 680m209 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
Armin Le Grand
2007-05-03 16:28:11 UTC
I it is not quite clear to me what has to be done for this enhancement: a UI change or just the extension of the zoom range, integer or float/double. Please explain. AW->AF: This decision is up to the application. As i wrote, VCL today is capable of sub-integer values due to it's usage of fractions. To do it right and future-safe, i would recommend to use doubles and allow API input of values below and above one (e.g. 0.1%, etc...). This may be done even by a slider which maps it's linear range to e.g [0.01 ... 3000]%, but it's just an example. The current minimum of 5% minimum is too big today and 3000% will be too small tomorrow as soon as we will no longer have zoom restrictions due to the technical reasons of integer usage in DrawingLayer. HTH. Techincally this should not be a problem. Removing the 5% lower bound clearly is not. The transition to rational or real numbers should also be relatively easy. Implicitly the zoom factor is already a rational number: the zoom factor is a percent value and represents the value <zoom factor>/100. Because it is ultimately stored as Fraction in a MapMode object, a rational number is a natural representation. Enlarging the denominator beyond 100 should solve the problem. However, if this change is done right, it will take some time. It needs a spec to be written and it would be a good chance to refactor and clean up the code (that is related to zooming). I therefore set the target to OOo 2.x. This has to wait a little longer. Retargeted to OOo 3.x due to time constraints. Reset assigne to the default "issues@openoffice.apache.org". |