[reportlab-users] Right-to-Left languages

Robin Becker reportlab-users@reportlab.com
Wed, 16 Oct 2002 08:56:31 +0100


In article <00e501c27499$110d0740$03000000@over>, Ury Marshak
<um@hottech-israel.com> writes
>Here we run into Frame's __getattr__/__setattr__ magic: Frame allows
>all attributes to be set, but only geometry attributes are allowed
>to be read back. Even if such write-only behavior was deliberate,
>hopefully we can extend it to allow reading back the direction.
actually I think there's a misunderstanding here; the __get/setattr__
pair are not enforcing a readonly policy on anything other than the
geometry attributes. There's only a need for __getattr__ on geometry as
ordinary attributes once set are directly visible on the instance and
don't go through __getattr__.  The idea is to hook changes to geometry
and not other things. In fact the policy is not to make geometry
readonly, but rather 'controlled' :)
-- 
Robin Becker