Contents

F.A.Q

  1. How to install odt2daisy ?
  2. How to install odt2daisy on Ubuntu ?
  3. Why odt2daisy works only with OpenOffice.org 3.0 (or greater) ?
  4. Why odt2daisy doesn't detect the right document language ?
  5. Why the DAISY book have not pagenum tags ?
  6. Why the error "Could not create Java implementation loader" occurs during installation ?
  7. Why the error
    "(com.sun.star.registry.CannotRegisterImplementationException)
    { { Message = "", Context = com.sun.star.unoXInterface) @0 } }
    Could not create Java implementation loader"
    occurs during installation ?

Answers

How to install odt2daisy ?

  • Open OpenOffice.org
  • in menu "Tools", select "Extension Manager ..."
  • Click on "Add..." button, and then, select the downloaded oxt file
  • Restart OOo

Now, in a Writer View, you can see the Daisy DTBook Toolbar.
You can dock it in OOo Toolbar by drag-n-drop.


How to install odt2daisy on Ubuntu ?

You should copy/paste the following command lines in a terminal:

sudo apt-get install default-jre
sudo apt-get install openoffice.org-java-common


Why odt2daisy works only with OpenOffice.org 3.0 (or greater) ?

Odt2daisy works only with OOo.org 3.0 because it's compatible with ODF 1.2 (or grather).


Why odt2daisy doesn't detect the right document language ?

You need to set the right document language like this in OOO.org with
"Tools" > "Language" > "For All Text" > YOUR LANGUAGE


Why my DAISY book have not pagenum tag ?

Odt2daisy output a pagenum if only a header or a footer is in the page and have a Page Number Field. You can do it like this:
"Insert" > "Footer" > "Default", and next "Insert" > "Fields" > "Page Number"


Why the error "Could not create Java implementation loader" occurs during installation ?

This error occurs if you didn't install or configure Java JRE properly.
Go to "Tools" > "Options ..." then select "Java" in the list and verify:

  • Use a Java runtime environement should be checked
  • A JRE should be selected in "Java runtime environment (JRE) already installed" list

If this list is empty, you should install a JRE at Java SE Downloads page


Why the error
"(com.sun.star.registry.CannotRegisterImplementationException)
{ { Message = "", Context = com.sun.star.unoXInterface) @0 } }
Could not create Java implementation loader"
occurs during installation ?

This error occurs if your operating system doesn't include a proper version of OpenOffice.org.

  • Debian / Ubuntu:
    You should copy/paste de following line in a terminal:
    sudo apt-get install openoffice.org-java-common
  • Other:
    Download the lastest version of OpenOffice.org on the official website.


Supported Tags

DAISY DTBookOpenDocument Text
Major Structural Elements
LevelStyle "Heading 1" "~ 2" "~ 3" "~ 4" "~ 5" "~ 6"
Alternative Markup of LevelsExport dialog
Front MatterAll before 1st Heading or Section "BodyMatterStart"
DoctitleExport dialog
DocauthorExport dialog
Table Of ContentsOOo TOC
Body MatterAfter 1st Heading or Section "BodyMatterStart"
PartTemplate "Part"
ChapterTemplate "Chapter"
SectionTemplate "Section"
Rear MatterAfter Section "RearMatterStart"
Block Elements
AddressCustom Style
AuthorCustom Style
BridgeHeadCustom Style
ByLineCustom Style
DatelineCustom Style
Keyboard InputCustom Style
ListsOOo Lists
FootnoteOOo footnote
RearnoteOOo endnote
AnnotationOOo Notes
SidebarOOo Frames
ParagraphOOo paragraph, press [Enter]
Producer NoteCustom Style
Block QuotationCustom Style
SampleCustom Style
Inlines Elements
AnchorOOo Bookmark
AbbreviationCustom Style
AcronymCustom Style
Computer CodeCustom Style
EmphasisItalic or Emphasis Style
Strong EmphasisBold or "Strong Emphasis" Style
Keyboard InputCustom Style
Line Breakpress [SHIFT+ENTER]
PagenumberHeader or Footer with "Page Number" Field
Producer NoteCustom Style
QuotationStyle "Citation"
SampleCustom Style
SentenceCustom Style
SpanCustom Style
Superscript & SubscriptOOo Superscript & Subscript
Others Elements
TableOOo Table
MathMLOOo Formula
PicturesOOo Pictures
Multi-LanguageOOo Languages Options


Unit Testing

odt2daisy is tested using JUnit 4 and XmlUnit Library.
Latest Unit Testing files can be downloaded here.



Bug Report

You are strongly encouraged to report any bug found in odt2daisy by submitting a report using this form.