Michael Prochaska wrote:
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?
I am always interested to find a solution to this kind of writer automation problems. Soon are later they will come up in one of my future projects. Can you send me the document and tje problem code Then i will trye to find a solution.
You can send the doc to [EMAIL PROTECTED]

Fernand



If no, are there any alternatives to solve this issue?


Best regards,
Michael



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


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

Reply via email to