You are here: Home Extensions Lightproof editor

Lightproof editor

Lightproof grammar checker rule editor

Project Description

Lightproof grammar checker rule editor for LibreOffice

source: git://anongit.freedesktop.org/libreoffice/lightproof

or see http://cgit.freedesktop.org/libreoffice/lightproof

version 0.1 (2012-02-01)

2009–2012 (c) László Németh (nemeth at numbertext dot org), license: MPL 1.1 / GPLv3+ / LGPLv3+

This software was developed with support from FSF.hu Foundation, Hungary.

Introduction: http://libreoffice.hu/2011/12/08/grammar-checking-in-libreoffice/

Installation

  1. Via Tools -> Extension manager in OOo/LibreOffice
  2. or with unopkg tool, for example

[install_pathprogram]unopkg add -f lightproof_editor-0.1.oxt

Usage

Note: there is a huge starting time (seconds) of LibreOffice with the Lightproof editor extension. [Removing the unnecessary locales from src/editor/editor.cfg of Lightproof source and generating a new editor extension can solve this problem.]

The Lightproof editor extension contains a special grammar checker component and a LibreOffice Writer toolbar. The editor can update its grammar checker component based on the Lightproof rules in the current Writer document.

Note: for languages without 'official LibreOffice' Hunspell dictionaries or languages with default LibreOffice grammar checking (English, Russian and Hungarian in LibO 3.5) have to modify some settings, too, see doc/manual.txt in the zipped extension, or you can choose a neutral language (eg. Esperanto) for your Writer document during the rule development. Only the Hunspell-related Lightproof functions, eg. spell(), morph() need the correct language.

After the successful installation (and settings), you can check the work of the grammar checking component of the editor with the following text:

a a

The repeating letters will be underlined with blue wavy line (thanks to the default a a -> a # Did you mean rule of the grammar checker component of the editor).

Write the following Lightproof rule in an empty Writer document:

b b -> b # suggestion

Click on the first icon on the Lightproof editor toolbar. The 'b b' text will be underlined with blue wavy line as a grammar mistake with the 'b' suggestion and 'suggestion' explanation.

Load and modify the English Lightproof rules (src/en/en.dat, online: http://cgit.freedesktop.org/libreoffice/lightproof/tree/src/en/en.dat) or decribe new rules based on doc/syntax.txt (online: http://cgit.freedesktop.org/libreoffice/lightproof/tree/doc/syntax.txt, but these files can be found in the oxt (zipped) file of the Lightproof editor extension, too). See also doc/manual.txt (online: http://cgit.freedesktop.org/libreoffice/lightproof/tree/doc/manual.txt) and http://libreoffice.hu/2011/12/08/grammar-checking-in-libreoffice/

Toolbar icons

  1. Apply rules

Compile and the default Lightproof rules in the current document and update the Lightproof editor grammar checker component.

  1. Apply all rules

Compile and apply all (including optional) Lightproof rules in the current document and update the relevant component.

  1. Debug rules

Check the current text and report run time errors (eg. in the Python conditions of the rules).

Current Release
Lightproof editor 0.1-2

Released Feb 04, 2012 — tested with LibreOffice 3.3, LibreOffice 3.4, LibreOffice 3.5

Small fix of the suggestion formatting.
More about this release…

Download file Get Lightproof editor for All platforms
lightproof_editor-0.1-2.oxt
If you don't know, how to install an extension in LibreOffice, see our howto about installing extension for detailed instructions.

All Releases

Version Released Description Compatibility Licenses Status
0.1-2 Feb 04, 2012 Small fix of the suggestion formatting. More about this release…
LibreOffice 3.3
LibreOffice 3.4
LibreOffice 3.5
GPL
LGPL-v2.1
MPL-v1.1
final
0.1 Feb 02, 2012 Initial release More about this release…
LibreOffice 3.5
GPL
LGPL-v2.1
MPL-v1.1
final

Legal Disclaimer and Limitations for Downloads

Responsibility of Website User

The Document Foundation has not reviewed, and cannot review, all of the material, including computer software, available on or by means of The Document Foundation's websites, and cannot therefore be responsible for that material's content, use or effects. By operating its websites, The Document Foundation does not represent or imply that it endorses the material there available, or that it believes such material to be accurate, useful or nonharmful. You are responsible for taking precautions as necessary to protect yourself and your computer systems from viruses, worms, Trojan horses and other harmful or destructive content.

  1. The Document Foundation's websites may contain content that is offensive, indecent or otherwise objectionable, as well as content containing technical inaccuracies, typographical mistakes and other errors.
  2. The Document Foundation's websites may also contain material that violates the privacy or publicity rights, or infringes the proprietary rights, of third parties, or the downloading, copying or use of which is subject to additional terms and conditions, stated or unstated. The Document Foundation disclaims any responsibility for any harm resulting from the use by The Document Foundation's visitors of The Document Foundation's websites, or from any downloading by those visitors of content available on or by means of The Document Foundation's websites.
Changes

Content contained on The Document Foundation's websites, including these Legal Disclaimers and Limitations, may be changed at the sole discretion of The Document Foundation and without notice. You are bound by any such updates or changes, and so should periodically review these Legal Disclaimers and Limitations.

If you believe any file is present on the site contrary to any TDF rule or applicable law, please supply full details to info@documentfoundation.org for impartial consideration.

Comments (0)


Legal Disclaimers and Limitations | 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 GNU Lesser General Public License ( LGPL v.3 ).

"LibreOffice" and "The Document Foundation" are registered 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.