Макросы

    From The Document Foundation Wiki
    This page is a translated version of the page Macros and the translation is 41% complete.


    Документация для создателей и пользователей макросов

    Andrew's Macros

    Обновляемая информация о макросах на Basic с примерами от Эндрю Питоньяка (Andrew Pitonyak).

    Руководства по LibreOffice Basic

    LibreOffice API

    LibreOffice scripts make use of the LibreOffice API , documentation is available at:

    Python как язык для макросов

    Для создания макросов можно использовать Python, более подробную информацию можно найти на этой странице:

    Руководство по Python в LibreOffice

    Инструменты - Сборники

    Tomaž's Development Tools

    • Since LibreOffice 7.2, an object inspector tool is included, found under Tools -> Development Tools (see release notes).
    • The tool is similar to the X-Ray and MRI extensions mentioned below.
    • Read more in Tomaž's blog posts: part1 part2 part3

    Extensions

    • X-Ray Basic macro is displaying API objects and is exploring their content. It also displays most Basic datatypes. Its integration of API documentation for services, interfaces, properties and methods is limited to OpenOffice.
    • Alternative Python script organizer (apso) helps managing Python modules as LibreOffice or OpenOffice libraries.
    • MRI It is not always clear at design time which services a UNO object actually supports. MRI (My Reflection and Introspection) displays the properties, methods, services, interfaces which are provided by an object variable (latest release).

    Lanedo Labs (archived)

    Фрагменты кода (Code Snippets)

    A set of code snippets in Basic covering many parts of LibreOffice:

    The OpenOffice CodeSnippet website had a collection of macros in various scripting languages: