Lightproof editor

8 0

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_path\program\]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. 2. Apply all rules Compile and apply all (including optional) Lightproof rules in the current document and update the relevant component. 3. Debug rules Check the current text and report run time errors (eg. in the Python conditions of the rules).

Category/Categories

Writer Extension

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…

lightproof_editor-0.1-2.oxt
File size: 32 kb

All Releases

Version

Released

Platform(s)

Compatibility

Description

License(s)

Status

0.1-2

Feb 04, 2012
    • LibreOffice 3.3
    • LibreOffice 3.4
    • LibreOffice 3.5
    Small fix of the suggestion formatting.
    • GNU-GPL-v2 (GNU General Public License Version 2)
    • LGPL-v2.1 (GNU Lesser General Public License Version 2.1)
    • MPL-v1.1 (Mozilla Public License Version 1.1)
    final

    0.1

    Feb 02, 2012
      • LibreOffice 3.5
      Initial release
      • GNU-GPL-v2 (GNU General Public License Version 2)
      • LGPL-v2.1 (GNU Lesser General Public License Version 2.1)
      • MPL-v1.1 (Mozilla Public License Version 1.1)
      final

      Legal Disclaimer and Limitations for Downloads

      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. 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. 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.