Michael Prochaska wrote (20-5-2008 18:46)
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 :-)
there is no difference if this option is checked or not.
that means i have the following situation:
- checked "hidden paragraph" option
- Sub refresh
Dim xFields
xFields = ThisComponent.getTextFields()
xFields.refresh
End Sub
- if i execute the macro the blank lines (with the hidden paragraph
fields) do not disappear
- the macro is stored in the document, that means "ThisComponent"
should
definitely point to the document
any further ideas?
do the condition matches :-)
yes, if i do a mailmerge it works.
the condition is "!<fieldname>" and the field is blank.
OK but what is the value of <fieldname> when you run the macro ??
the value is "" => empty field
Thiscomponent.Reformat() does not work too :-(
Ok, is anybody out there who has this code (or any other code to solve
the problem) running?
If no, are there any alternatives to solve this issue?
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.
Regards,
Cor
--
"The Year of 3" -2008- "Het jaar van 3"
Cor Nouws
Arnhem - Netherlands - nl.OpenOffice.org - marketing contact
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]