Multiselection needs work?

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


Hi,

Since
http://cgit.freedesktop.org/libreoffice/core/commit/?id=5bbff06137a87e97260a188f6745cf2a227f15cf
is now pushed, I tried to find the next step about multiselection.
I kept on with this:
https://gerrit.libreoffice.org/#/c/18711/
and then, searching about getFiles (see
http://opengrok.libreoffice.org/s?n=25&start=50&q=getFiles&sort=relevancy&project=core,,),
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?

Julien



--
View this message in context: http://nabble.documentfoundation.org/Multiselection-needs-work-tp4153207p4160732.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list