Message de Fernand Vanrie  date 2008-04-30 16:52 :
Bernard Marcelly wrote:
Message de Fernand Vanrie  date 2008-04-29 16:14 :

when a paragraph has only 1 textportion, the whole pargraph was hardcoded , then the PropertyState indicates that there was no hardcoding (com.sun.star.beans.PropertyState.DIRECT_VALUE = 1)

Is this a issue are am i missing something

Hi Fernand,
You should first test the PropertyState for the paragraph itself.
thanks for this hint,
do you mean there is a sort off a general-default property who can be checked on a paragraph, or do I have to make a loop and ckeck every character releated property ?

I mean this:

If Para.getPropertyState("CharFontName") = com.sun.star.beans.PropertyState.DIRECT_VALUE Then

Write a small test, you'll see.
   Bernard

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

Reply via email to