odt2daisy:
Generating DAISY Books from
LibreOffice / OpenOffice.org

             Christophe Strobbe
             K.U.Leuven, Belgium
             christophe.strobbe@esat.kuleuven.be

AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
odt2daisy Objectives

Produce DAISY from LibreOffice /
 OpenOffice.org Writer
  ●
      In most European languages
  ●
      In a free and open-source office suite
  ●
      Support:
      –   DAISY 3 (with or without audio)
      –   DAISY 2.02 (for older players)
      –   Multilingual content
      –   Mathematical Markup Language

          AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
odt2daisy Components
●
    odt2daisy extension, which uses
    ●
        OpenOffice.org UNO API
    ●
        Java, XSLT & XPath
    ●
        DAISY Pipeline Lite (for Full DAISY)
    ●
        Operating system’s text-to-speech
        engine(s)
●
    Templates with custom styles for DAISY
    production

          AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
odt2daisy: Latest Version(s)
●
    V 2.1 released April 2010; v 2.1.2
    November 2011
    ●
        http://sourceforge.net/projects/odt2daisy/
    ●
        Available for Windows, Mac, Linux
        (no 64-bit operating systems)
    ●
        Localised in English, French, Dutch,
        Spanish and Hungarian
    ●
        LGPL 3 or later
    ●
        Being used in DAISY Pipeline
           AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
Support for ODT Features
●
    Heading, List, Table, Images, Captions,
    Notes, Foot/Rear notes, Math, TOC,
    Section, Frame, Bookmark,
    Metadata, ...
●
    Page numbering (1,i,I,a,A; advanced)
●
    Front / body / rear matter
●
    New in 2.1.2: long description for
    images, table captions, non-Western
    languages, ...
        AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
The odt2daisy Wish List
●
    More accessible user interface
●
    Move all content checks before “Save...”
●
    Option to preserve empty paragraphs to
    create pauses
●
    Improve support for tables, page
    numbering, non-Western languages, …
●
    Share more code with odt2braille
●
    Later: support for DAISY 4

        AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
odt2daisy Demonstration




   AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
odt2braille:
Generating Braille from
LibreOffice / OpenOffice.org


             Christophe Strobbe

AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
Motivation & Problem Area
●
    Braille
    ●
        faces competition from TTS and digital
        talking books
    ●
        important for functional literacy
    ●
        only reading method for deafblind
        persons




          AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
Braille Production Methods
●
    Tiger Software Suite (TSS), Braille Maker,
    WinBraille: embossing from MS Word and other
    Microsoft applications
●
    Separate programs, e.g. Duxbury Braille
    Translator (DBT)
●
    RoboBraille: e-mail based Braille translation
    agent
●
    AutoBraille & NorBraille: multi-volume Braille
    books based on DAISY
●
    Dots: open-source Braille transcriber for GNOME
    (relies on liblouisxml)
         AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
odt2braille Objectives

Enable end-users to produce Braille
●
    In a free, open-source and cross-
    platform office suite
    => LibreOffice / OpenOffice.org as
    Braille authoring environment
●
    Reduce or eliminate the need for editing
    Braille codes after export
●
    Emboss directly or just export

        AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
odt2braille Objectives
●
    ODF as source format for both DAISY &
    Braille
    ●
        Useful for Braille & DAISY production
        centres
●
    High flexibility




          AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
How?
●
    Build LibreOffice / OpenOffice.org
    extension
●
    Reuse existing tools:
    ●
        liblouisxml: open-source library for
        Braille transcription of XML docs
    ●
        liblouis: Braille translation engine
    ●
        BrailleUtils: library for embossing and
        converting PEF files (Portable Embosser
        Format)

           AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
Current Status

Version 0.1.1 released 8 November 2011:
  ●
      OpenDocument Text (ODT) can be embossed
      on embossers from Interpoint, Index, Braillo,
      CIDAT, Enabling Technologies, Mountbatten,
      ViewPlus
  ●
      Export to “Braille Formatted files” (.brf; .bra)
  ●
      Export to Portable Embosser Format (PEF):
      embosser-independent; uses XML and Unicode
  ●
      User preferences stored as metadata
  ●
      In 17 languages, including English, Dutch, French,
      Spanish, Portuguese, German, Swedish, Greek, ...
         AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
The odt2braille Wish List
●
    Volunteers to test embosser support !
●
    More accurate Braille translations (liblouis)
●
    Support for more official Braille formatting
    guidelines (not only BANA)
●
    Embossing on Mac OS (not just export)
●
    Linux version:
    ●
        Debian package being prepared by Debian
        Accessibility Project
●
    Ideally not just Writer but also Calc
    (spreadsheets) and Impress (presentations)

           AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
Screenshot: Settings - General




   AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
Screenshot: Emboss




   AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
Screenshot: Preview Window




   AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
AccessODF:
Accessibility Evaluation and
Repair for LibreOffice /
OpenOffice.org Writer
             Christophe Strobbe
             K.U.Leuven, Belgium
             christophe.strobbe@esat.kuleuven.be

AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
AccessODF Objectives
●
    Quality of DAISY & Braille output
    depends on accessibility of source
    ●
        → Users asked for accessibility checker
●
    Help users evaluate and repair
    accessibility issues in Writer
    ●
        for ODT
    ●
        for ODT as source for DAISY & Braille
    ●
        for ODT as source for PDF

          AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
AccessODF Status
●
    First version released 8 November 2011
●
    Identifies 30+ errors and warnings:
    ●
        image / formula / object without text
        alternative
    ●
        no default language for the document
    ●
        span of text / hyperlink without
        language identification
    ●
        table created with tabs / spaces
    ●
        text & background have low contrast
          AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
AccessODF Status
●
    DAISY-specific checks
    ●
        Image format not supported by DAISY
        (only PNG and JPG)
    ●
        More than 6 levels of headings
●
    Braille-specific checks
    ●
        Table or image caption cannot be linked
    ●
        Material is transposed from its original
        location. (Lists, text boxes and images
        inside a table.)
          AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
Support for Accessibility Repair
●
    Not just errors and
    warnings:
●
    “Repair” button: active
    when (semi-)automatic
    repair is possible, e.g.
    ●
        empty heading:
        automatic
    ●
        missing alt text: semi-
        automatic

          AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
AccessODF Demonstration




   AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
Where to Go...
●
    odt2daisy:
    http://odt2daisy.sf.net/
●
    odt2braille:
    http://odt2braille.sf.net/
●
    AccessODF:
    http://sourceforge.net/projects/
    accessodf
●
    Use the software, submit bugs,...

        AEGIS Final Workshop, Brussels, Belgium, 28 November 2011

Workshop strobbe odt2braille_odt2braille_20111125

  • 1.
    odt2daisy: Generating DAISY Booksfrom LibreOffice / OpenOffice.org Christophe Strobbe K.U.Leuven, Belgium christophe.strobbe@esat.kuleuven.be AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 2.
    odt2daisy Objectives Produce DAISYfrom LibreOffice / OpenOffice.org Writer ● In most European languages ● In a free and open-source office suite ● Support: – DAISY 3 (with or without audio) – DAISY 2.02 (for older players) – Multilingual content – Mathematical Markup Language AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 3.
    odt2daisy Components ● odt2daisy extension, which uses ● OpenOffice.org UNO API ● Java, XSLT & XPath ● DAISY Pipeline Lite (for Full DAISY) ● Operating system’s text-to-speech engine(s) ● Templates with custom styles for DAISY production AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 4.
    odt2daisy: Latest Version(s) ● V 2.1 released April 2010; v 2.1.2 November 2011 ● http://sourceforge.net/projects/odt2daisy/ ● Available for Windows, Mac, Linux (no 64-bit operating systems) ● Localised in English, French, Dutch, Spanish and Hungarian ● LGPL 3 or later ● Being used in DAISY Pipeline AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 5.
    Support for ODTFeatures ● Heading, List, Table, Images, Captions, Notes, Foot/Rear notes, Math, TOC, Section, Frame, Bookmark, Metadata, ... ● Page numbering (1,i,I,a,A; advanced) ● Front / body / rear matter ● New in 2.1.2: long description for images, table captions, non-Western languages, ... AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 6.
    The odt2daisy WishList ● More accessible user interface ● Move all content checks before “Save...” ● Option to preserve empty paragraphs to create pauses ● Improve support for tables, page numbering, non-Western languages, … ● Share more code with odt2braille ● Later: support for DAISY 4 AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 7.
    odt2daisy Demonstration AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 8.
    odt2braille: Generating Braille from LibreOffice/ OpenOffice.org Christophe Strobbe AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 9.
    Motivation & ProblemArea ● Braille ● faces competition from TTS and digital talking books ● important for functional literacy ● only reading method for deafblind persons AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 10.
    Braille Production Methods ● Tiger Software Suite (TSS), Braille Maker, WinBraille: embossing from MS Word and other Microsoft applications ● Separate programs, e.g. Duxbury Braille Translator (DBT) ● RoboBraille: e-mail based Braille translation agent ● AutoBraille & NorBraille: multi-volume Braille books based on DAISY ● Dots: open-source Braille transcriber for GNOME (relies on liblouisxml) AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 11.
    odt2braille Objectives Enable end-usersto produce Braille ● In a free, open-source and cross- platform office suite => LibreOffice / OpenOffice.org as Braille authoring environment ● Reduce or eliminate the need for editing Braille codes after export ● Emboss directly or just export AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 12.
    odt2braille Objectives ● ODF as source format for both DAISY & Braille ● Useful for Braille & DAISY production centres ● High flexibility AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 13.
    How? ● Build LibreOffice / OpenOffice.org extension ● Reuse existing tools: ● liblouisxml: open-source library for Braille transcription of XML docs ● liblouis: Braille translation engine ● BrailleUtils: library for embossing and converting PEF files (Portable Embosser Format) AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 14.
    Current Status Version 0.1.1released 8 November 2011: ● OpenDocument Text (ODT) can be embossed on embossers from Interpoint, Index, Braillo, CIDAT, Enabling Technologies, Mountbatten, ViewPlus ● Export to “Braille Formatted files” (.brf; .bra) ● Export to Portable Embosser Format (PEF): embosser-independent; uses XML and Unicode ● User preferences stored as metadata ● In 17 languages, including English, Dutch, French, Spanish, Portuguese, German, Swedish, Greek, ... AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 15.
    The odt2braille WishList ● Volunteers to test embosser support ! ● More accurate Braille translations (liblouis) ● Support for more official Braille formatting guidelines (not only BANA) ● Embossing on Mac OS (not just export) ● Linux version: ● Debian package being prepared by Debian Accessibility Project ● Ideally not just Writer but also Calc (spreadsheets) and Impress (presentations) AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 16.
    Screenshot: Settings -General AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 17.
    Screenshot: Emboss AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 18.
    Screenshot: Preview Window AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 19.
    AccessODF: Accessibility Evaluation and Repairfor LibreOffice / OpenOffice.org Writer Christophe Strobbe K.U.Leuven, Belgium christophe.strobbe@esat.kuleuven.be AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 20.
    AccessODF Objectives ● Quality of DAISY & Braille output depends on accessibility of source ● → Users asked for accessibility checker ● Help users evaluate and repair accessibility issues in Writer ● for ODT ● for ODT as source for DAISY & Braille ● for ODT as source for PDF AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 21.
    AccessODF Status ● First version released 8 November 2011 ● Identifies 30+ errors and warnings: ● image / formula / object without text alternative ● no default language for the document ● span of text / hyperlink without language identification ● table created with tabs / spaces ● text & background have low contrast AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 22.
    AccessODF Status ● DAISY-specific checks ● Image format not supported by DAISY (only PNG and JPG) ● More than 6 levels of headings ● Braille-specific checks ● Table or image caption cannot be linked ● Material is transposed from its original location. (Lists, text boxes and images inside a table.) AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 23.
    Support for AccessibilityRepair ● Not just errors and warnings: ● “Repair” button: active when (semi-)automatic repair is possible, e.g. ● empty heading: automatic ● missing alt text: semi- automatic AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 24.
    AccessODF Demonstration AEGIS Final Workshop, Brussels, Belgium, 28 November 2011
  • 25.
    Where to Go... ● odt2daisy: http://odt2daisy.sf.net/ ● odt2braille: http://odt2braille.sf.net/ ● AccessODF: http://sourceforge.net/projects/ accessodf ● Use the software, submit bugs,... AEGIS Final Workshop, Brussels, Belgium, 28 November 2011