Christoph Lutz wrote:
Hi,

I've got a textportion with a set property CharBackColor and I would
like to reset this setting (the same as the button
"Defaultsettings/Standardformatierung" of the context menu does), so
that CharBackColor is used from the current paragraph-style, but other
properties are not effected.

I tried something like

textPortion.setPropertyValue("CharBackColor", "") or
textPortion.setPropertyValue("CharBackColor", null)

Hi,
the solution is textPortion.setPropertyToDefault( "CharBackColor" )

Regards,
Oliver

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

Reply via email to