Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-20 Thread Michael Prochaska
Michael Prochaska schrieb: Fernand Vanrie schrieb: Michael Prochaska wrote: Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-20 Thread Michael Prochaska
Have you tried with (from what I know by head) a condition as EQ ? I was having inconsistent results when working with conditional hidden paragraphs :-\ I think the problem is more likely on that level, than with the simple piece of code. i've tried it with the condition 1 which means

Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Michael Prochaska
, the blank lines are suppressed... Best regards, Michael Mi Michael, Michael Prochaska wrote (18-5-2008 22:59) i'm using OOo 2.4.0 and i want to force the evaluation process of the condition of a hidden paragraph field. http://api.openoffice.org/docs/common/ref/com/sun/star/text/textfield

Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Michael Prochaska
Using the GUI you mustr check or uncheck 'hidden Paragraph using the dispatcher go' like sub Main rem -- rem define variables dim document as object dim dispatcher as object rem

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Michael Prochaska
What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no difference if this option is checked or not. that means i have the following situation: - checked hidden paragraph option

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Michael Prochaska
Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no difference if this option is checked or not. that means i have the following situation

Re: [api-dev] Re: [Spam] Re: [api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-19 Thread Michael Prochaska
Fernand Vanrie schrieb: Michael Prochaska wrote: Michael Prochaska wrote: What i meaned was: when the view Hidden Paragraphs not is checked the Hidden Paragraph service do NOT work, even when the condition is true ok, thanks :-) there is no difference if this option

[api-dev] force the evaluation of the condition of a hidden paragraph

2008-05-18 Thread Michael Prochaska
hi, i'm using OOo 2.4.0 and i want to force the evaluation process of the condition of a hidden paragraph field. http://api.openoffice.org/docs/common/ref/com/sun/star/text/textfield/HiddenParagraph.html i think it might work like this (pseudo code): 1) enumerate all textfields 2) if