Uwe Stöhr wrote:
> Am 22.03.2013 03:16, schrieb Pavel Sanda:
>
>>> +                   // use the code "-999col%" for the case that no width 
>>> was selected
>>> +                   params.special = "none";
>>> +                   params.width = Length("-999col%");
>>
>> Ouch.
>> What are you trying to do here? special=="none" is no more enough?
>
> it is not enough, because a width must be given in every case.
> I asked twice on the list if there is a cleaner solution but apparently 
> this is not the case. If you have an idea it is very welcome.

I think the correct way is to have bool InsetBoxParams::use_width
which is true in case width is used and false instead of this -999col%
magical constant.
Is it enough for usecase?

Pavel

Reply via email to