I "loadfromurl" document with hidden property. INow I need make it visible. How can I do it?

I use Delphi to make integration with LibreOffice.

Hi

I don’t practice Delphi. In basic you would do:

sub HiddenVisible

Dim sUrl As String
Dim PropFich(0) as New com.sun.star.beans.PropertyValue
dim oDoc as object

PropFich(0).NAME = "Hidden" 
PropFich(0).Value = True 

sUrl = convertToURL("c:\Test\a.odt")
oDoc = starDesktop.LoadComponentFromURL(sUrl, "_blank", 0 ,PropFich())
print "doc opened"
oDoc.getCurrentController().getFrame().getContainerWindow().setVisible(true)

end sub

Regards

Thank you. I try to do it in Delphi environment.