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)

but this didn't work. What could I do?

a workaround could be settings CharBackColor to the color white

textPortion.setPropertyValue("CharBackColor", new Integer(0xffffff))

but it's not the same as resetting the property completely...

regards,
Christoph

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

Reply via email to