Giter VIP home page Giter VIP logo

guno-extension's Introduction

Groovy UNO Extension

Introduction

This is an Apache Groovy language extension of the Java UNO API's. The artifact of this extension is a Java jar file that when used in a Groovy script or class adds convenience methods to the regular Java UNO API's.

The goal of the Groovy UNO Extension is to allow UNO programming that is less verbose than using the Java UNO API's alone.

These methods are implemented using Groovy Extension Modules. An extension module allows you to add new methods to existing classes, including classes which are precompiled, like classes from the JDK or in this case Java UNO classes. These new methods, unlike those defined through a metaclass or using a category, are available globally.

Aside from a few general methods, initial efforts have been on enhancing the spreadsheet API's and future work will be on enhancing the other applications.

Background

This project's home was originally the Apache OpenOffice Subversion repository in the developer tools area and original documentation is on the OpenOffice wiki Groovy UNO Extension.

Current development work by the author and issue tracking are now here and documentation is on the GUNO Documentation page.

Building

This software uses the Gradle build system and the library jar can be built with:

./gradlew jar

The jar task will build the library and groovydoc jar files.

For a complete build sutable for a Maven repository with library jar, groovydoc jar, and source jar including checksums and signing.

./gradlew publish

To build and install into your local Maven cache.

./gradlew publishToMavenLocal

For the signing tasks you will need a gradle.properties file containing:

signing.keyId=your key id signing.password=your password signing.secretKeyRingFile=path to your secret keyring file

Remember to exclude this file from your repository.

License

This software is licensed under the Apache License 2.0

See the LICENSE, and NOTICE files for more information.

guno-extension's People

Contributors

cbmarcum avatar

Watchers

James Cloos avatar  avatar

guno-extension's Issues

add methods to XSpreadsheetDocument to get and set the active sheet

current method:
XSpreadsheetDocument doc = xModel.guno(XSpreadsheetDocument.class)
XSpreadsheets xSheets = doc.sheets
XController xController = xModel.currentController
xSpreadsheetView = xController.guno(XSpreadsheetView.class)
XSpreadsheet sht = xSpreadsheetView.getActiveSheet()

add XCellRange methods

need methods for getting and setting cell formulas and values as well as optimal width of columns in a range.

add documentation here

Need to add documentation here. Also add that AOO Basic should be the reference for naming convenience methods for consistency.

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.