Angus Leeming wrote:
> On Saturday 17 August 2002 7:05 am, Rob Lahaye wrote:
>>
>>1) Image percentage unit needed for Width/Height output size.
>
>
> See xhorms_helpers.h. Do you want "choice_Length_All" rather than
> "choice_Length_WithUnit"?
In xforms_helpers.h I find:
// what we always need for lengths
string const choice_Length_All =
"cm|mm|in|text%%|col%%|page%%|line%%|ex|em|pt|sp|bp|dd|pc|cc|mu";
string const choice_Length_WithUnit =
"cm|mm|in|ex|em|pt|sp|bp|dd|pc|cc|mu"; // all with a Unit
but I need here also something like "image%%". May I add that?
We need then also a modification of the "enum UNIT" list of "class LyXLength"
in lyxlength.[Ch], e.g. one more unit as:
PI, ///< Percent of image
If I may add this, the final Output size setting problems are solved.
Rob.