Michael Prochaska wrote:
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 ----------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem ----------------------------------------------------------------------
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "ShowHiddenParagraphs"
args1(0).Value = true  (not hidden)

dispatcher.executeDispatch(document, ".uno:ShowHiddenParagraphs", "", 0,
args1())


end sub



Hi,

i'm not shure if we are talking from the same things, but if i
check/uncheck "hidden paragraph" in the view menu, there is no effect to
my paragraphs which should be hidden. the code doesn't make any
difference.

I am speaking from the hidden paragraph field which i can insert (in the
GUI) like this:
insert=>fields=>other (CTRL+F2)
on the functions tab => hidden paragraph

if i do a mailmerge everything works fine.

any further ideas?
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


regards,
michael


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