On Sunday 18 August 2002 3:50 am, Rob Lahaye wrote:
> 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?

Not to xforms_helpers. It's used only by FormGraphics, so should go there.

> 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.

Hmmmmm. What do the LaTeX experts say?
Angus

Reply via email to