Multiselection needs work?

julien2412 serval2412 at
Fri Sep 18 16:58:43 PDT 2015


is now pushed, I tried to find the next step about multiselection.
I kept on with this:
and then, searching about getFiles (see,,),
I found similar cases like this:
...xFP->getFiles().getConstArray()[0] ...
For example, import part of autotext. First I thought I could easily replace
getFiles by getSelectedFiles too here since one file could be selected in
dialog box but then I realized that perhaps multiselection should be enabled
here. If this is the case, I don't know how to enable it. I saw things like
SFXWB_MULTISELECTION, m_bMultiSelection, setMultiSelectionMode but at first
sight, it seems it be a dangerous area to enter.

In brief, I'm a bit stuck to know how to keep on with this without breaking
anything. Indeed, I'd like to continue step by step and avoid from changing
too much things in one move.

Any thoughts?


View this message in context:
Sent from the Dev mailing list archive at

More information about the LibreOffice mailing list