How to "Open Copy" a document programmatically using loadComponentFromURL?

When I try to open a locked document in LibreOffice GUI, I get a OpenLockedQueryBox dialog box that presents me with the options:

  • Open Read-Only
  • Open Copy
  • Open
  • Cancel

Programmatically, using desktop.loadComponentFromURL()

I can do the “Open Read-Only” setting a “ReadOnly” PropertyValue to be true.

How can do a “Open Copy”?

https://api.libreoffice.org/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1frame_1_1XComponentLoader.html#a6f89db7d45da267af47d1acf01cd986d

https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1document_1_1MediaDescriptor.html

sounds like

	properties(0).Name = "AsTemplate"
	properties(0).Value = True 

cf Macros/Basic/Documents - The Document Foundation Wiki #Open_documents