Ask Your Question
0

uno service: return folder content as a sequence (array) of file url?

asked 2020-01-16 13:11:21 +0100

Lupp gravatar image

I once found this service and cannot find it again.

edit retag flag offensive close merge delete

Comments

Opaque gravatar imageOpaque ( 2020-01-16 13:45:32 +0100 )edit

Thanks! However, my question was not about the file picker. It was a service to which I could pass an accessible folder in URL notation and which returned the contained elements. The result was called a sequence but actually was a 1D-array.

Lupp gravatar imageLupp ( 2020-01-16 13:51:58 +0100 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2020-01-16 14:28:15 +0100

Lupp gravatar image

updated 2020-01-16 14:29:36 +0100

I got it again. It was the service com.sun.star.ucb.SimpleFileAccess.
My question specifically addressed one of many member functions (of the interface):
sequence< string > getFolderContents ([in] string FolderURL, [in] boolean bIncludeFolders)
In LibreOffice Basic the service is accessible via an object created by createUnoService("com.sun.star.ucb.SimpleFileAccess")

See: https://api.libreoffice.org/docs/idl/...

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2020-01-16 13:11:21 +0100

Seen: 22 times

Last updated: Jan 16