Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Wed, 08 Jun 2011 10:54:21 +0200, Regina Henschel <rb.henschel@t-online.de> wrote:

Hi Thorsten,


Thorsten Behrens schrieb:

Cc-ing the list, this may be of public interest - for the moment, I
suggest you simply export *all* slides. Christian, off the top of
your head, is there a way to retrieve the current selection from the
Slidesorter via UNO?


Using Basic you first get the selection
     oShapeCollection = oCurrentController.Selection
and then you can distinguish via varType, whether it is an object or an array of object.
     nVarType = VarType(oShapeCollection)
     '9 object; Something is selected in Normal view
     '8201=8192+9 array of object; Slides are selected in slide sorter.

Hi Regina,
thanks for your reply.
The problem as I explained in my reply to Christian is that
the selection I get from the current controller is of type "void"!

Cheers,
   Marco


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.