Skip to content

divvun/libreoffice-divvun

 
 

Repository files navigation

What is this?
=============
This is libreoffice-divvun, a multi language spellchecker, grammar checker and
hyphenator extension for LibreOffice. It uses libdivvun for all linguistic operations.


License
=======
This package is distributed under the terms of Mozilla Public License Version 2.0
(see COPYING). Alternatively, the source code may be used under the terms of the
GNU General Public License, version 3 or later.


Authors
=======

Source code:
  2005 - 2016 Harri Pitkänen (hatapitk@iki.fi)
Icon:
  2011 Tarja Lindfors (tarja@puimula.org)

Porting status
==============
- Linux: This is the primary development platform, and should always work
- Other platforms: The extension is platform independent Python code and should
  work as long as libdivvun is available for the platform.

Platform identifiers to be used as directory names for native libraries on some of
the common platforms are:

  Windows (64 bit): Windows-64bit-WindowsPE
  Windows (32 bit): Windows-32bit-WindowsPE

Requirements
============

- LibreOffice 4.1 or later (must come with Python 3 or later)
- libdivvun
- Make, sed, find and zip for packaging.

Instructions for packaging
==========================

- Install all of the required software listed above.
- Run "make oxt". This will build the extensions package divvun.oxt under
  subdirectory build.
  * There are some settings available that can be used to customize the build.
    Please see "build settings" in Makefile. You may change any of these settings
    by running "make VARIABLE=value" instead of "make".


Supported Make targets
======================

- extension-files
    Builds the extension files under build/oxt.
- oxt
    Builds the extensions package divvun.oxt under subdirectory build.
- all
    Same as 'oxt'.
- install-unpacked DESTDIR=some_directory
    Installs the unpacked extension under directory DESTDIR. Default
    for DESTDIR is /usr/lib/libreoffice-divvun.
- dist-gzip
    Builds the source package.
- clean
    Removes all files generated by other targets.


Diagnostic tools
================

Setting environment variable PYUNO_LOGLEVEL=ARGS before starting LibreOffice
causes debug information from PyUNO to be printed to stderr.

Setting environment variable DIVVUN_DEBUG to any value before starting
LibreOffice causes debug output from this extension to be printed to stderr.

To debug possible initialization errors in production builds, try listing
spelling suggestions for string "DivvunGetStatusInformation". This will
return a string that contains all successfully initialized languages
and failed initializations along with error messages from libdivvun.


Bug reports and patches
=======================

Patches and bug reports can be sent to the author (hatapitk@iki.fi). The web
site for libreoffice-divvun is located at http://divvun.no


Change history
==============

Version 2.0 was an almost total rewrite of the previous version 1.2. This
version was designed to work well with libvoikko and aimed to use the best
current practices for OpenOffice.org extension development. The old code
was based on the internals of OpenOffice.org 1.0 and designed to work with
a non-free Finnish spellchecking library.

Version 3.0 added support for grammar checking. Version 3.2 added support
for spell checking in languages other than Finnish.

Version 4.0 extended support for grammar checkers and hyphenators to any
language. The license was changed from GPL to MPL.

Version 5.0 changed the implementation language from C++ to Python in
order to make the extension code platform independent.

For more detailed changes since 2.0 see ChangeLog.

About

Language checker and hyphenator extension for LibreOffice

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.2%
  • Makefile 6.8%
  • Shell 4.7%
  • Emacs Lisp 0.3%