Git Product home page Git Product logo

libreoffice-macros-functions's Introduction

LIBREOFFICE

Description: Libreoffice Programming Resources and Snippets for LOFFICE Calc Spreadhseet

Descrição: Recursos de programação e esqueletos de código para a planilha Libreoffice Calc

Files:

  • Algorithms.js : Libreoffice calc algorightms of Financial Functions ported to Javascript

Command Line

Convert html to pdf

$ libreoffice --headless --invisible --nologo --convert-to pdf *.html

Convert Doc to Text

libreoffice --headless --convert-to txt:text --outdir "/tmp/outdir" "/path/to/file.doc"

$ Convert to pdf in command line (put it in .bashrc)

cpdf () { libreoffice --headless --convert-to pdf "$1" }

Programmer Documentation

Details

  • It is not possible to edit/debug a Python macro within OpenOffice, it has to be edited with an external editor and can only be executed in OpenOffice. Debugging can be a little bit difficult

Documentation Reference

Baisc

Python

Examples:

Script Directories

Python Macro Directory: /usr/lib/libreoffice/share/Scripts/python

User Script Directories:

User Directories Location

Linux:

~/.config/libreoffice/3/user (since LibreOffice 3.5.0)
~/.libreoffice/3/user (prior to LibreOffice 3.5.0)

Darwin/MAC/OSx:

/Users/<user name>/Library/Application Support/libreoffice/3/user

Windows:

	Before Vista: \Documents and Setting\<user name>\Application Data\libreoffice\3\user
    From Vista: \Users\<user name>\AppData\Roaming\libreoffice\3\user

Install

Install Script Support

$ sudo apt-get install libreoffice-script-provider-python

$ sudo apt-get install python-uno

libreoffice-macros-functions's People

Contributors

caiorss avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.