Contents

F.A.Q

  1. How to install odt2dtbook ?
  2. Why odt2dtbook works only with OpenOffice.org 3.0 (or grather) ?
  3. Why odt2dtbook doesn't detect the right document language ?
  4. Why the DAISY book have not pagenum tags ?

Answers

How to install odt2dtbook ?

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


Why odt2dtbook works only with OpenOffice.org 3.0 (or grather) ?

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


Why odt2dtbook 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 ?

Odt2dtbook 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"



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

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