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

Johnny Rosenberg <gurus.knugum <at>> writes:

Just don't never ever use the macro recorder. It's crap and will never
be anything else.
There is an alternative macro recorder somewhere to install that is
slightly better, but the best thing to do (as far as I know) is to
install (and use) xray and learn from others, maybe could be a good start.

Kind regards

Johnny Rosenberg

You're right Johnny R., the macro recorder catches and writes all
dispatches with java-level naming, and so they're not documented in
libreoffice's api help (I think...)
The forum I named on the original message [0] lead me to the accurate
instruction to copy sheets: oDoc.getSheets().copyByName( sOld, sNew,
iNum )
which is documented in [1]. Doesn't cover the case of sheets from
other books/files opened, but I think it will be enough pointing sOld
and sNew spreadsheets objects to their container book.


For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


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.