Hi *,

my goal is to remove text frames hardcoded formatting and replace it
with styles (frame width and horizontal position in my case, Java
extension). So, when I change frame width and horizontal position (in
frame style), all affected frames will be changed too. I tried
following things ...

a) call setPropertyToDefault( ... ) on all HoriOrient* properties

b) copy HoriOrient* property values from frame style directly to text
frame (to synchronize them) and call setPropertyToDefault( ... )

... and it doesn't work (yes, the correct style is applied to this
frame). There's still DIRECT_VALUE instead of DEFAULT_VALUE = still
hardcoded. Should I treat text frames in another way? Because when I
try this on simple text with setPropertyToDefault( "CharWeight" ) for
example, hardcoded formatting is removed and DIRECT_VALUE is switched
to DEFAULT_VALUE = style is followed.

Any hints? I'm trying this with 2.4.0.

-- 
Robert Vojta

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to