Menu

#11 Export to DAISY XML crashes Apache OpenOffice 4.0.0 on Windows 7 (32 bits)

v2.1.1
open
nobody
None
5
2022-03-18
2013-08-13
No

odt2daisy 2.1.2 can be installed in Apache OpenOffice 4.0.0 on Windows 7 (32-bit version) but exporting to DAISY XML causes a crash in OpenOffice. The odt2daisy log does not contain errors or warnings. (Exporting to Full DAISY also causes the crash, presumably during the conversion to DAISY XML.)

The bug was originally reported at Apache OpenOffice: see bug 122988 at https://issues.apache.org/ooo/show_bug.cgi?id=122988. See especially comment 5 at https://issues.apache.org/ooo/show_bug.cgi?id=122988#c5.

The bug may be caused by the same issue that causes the exported abortion in LibreOffice (ticket [bugs:#10]).

Related

Bugs: #10

Discussion

  • Martin Spindler

    Martin Spindler - 2015-03-13

    I managed to make it run. I used NetBeans IDE 8.0.2, OpenOffice.org 4.1.1 and according SDK and the OOo Netbeans Plugin 4.1.0 from http://people.apache.org/~cmarcum/devtools.
    Make sure the paths for openoffice and sdk are set properly.

    In the project properties for Odt2DaisyAddOn, remove the link to the old OpenOffice 3 library, instead add OpenOffice 4 library

    Fix for "Messagebox" Error: In File "Odt2DaisyAddOn\src\com\versusoft\packages\ooo\UnoAwtUtils.java", mothod “public static short showMessageBox(...” remove the following lines:

    Rectangle messageBoxRectangle = new Rectangle();
    XMessageBox box = messageBoxFactory.createMessageBox(parentWindowPeer, messageBoxRectangle, messageBoxType, messageBoxButtons, messageBoxTitle, message);

    and replace with the following:

    MessageBoxType msgBoxType = MessageBoxType.MESSAGEBOX;
    if (messageBoxType.equals("infobox")) msgBoxType = essageBoxType.INFOBOX;
    else if (messageBoxType.equals("errorbox")) msgBoxType = essageBoxType.ERRORBOX;
    else if (messageBoxType.equals("warningbox")) msgBoxType = MessageBoxType.WARNINGBOX;
    else if (messageBoxType.equals("querybox")) msgBoxType = MessageBoxType.QUERYBOX;
    XMessageBox box = messageBoxFactory.createMessageBox(parentWindowPeer, msgBoxType, messageBoxButtons, messageBoxTitle, message);

     

    Last edit: Martin Spindler 2015-03-13
  • Mark Banschbach

    Mark Banschbach - 2022-03-18

    This error is very much still an issue. -
    Working on the windows side of my dual boot laptop -
    Current configurations are :
    System Properties :

    Device name LAPTOP-90IQ0VJ1
    Processor AMD A12-9720P RADEON R7, 12 COMPUTE CORES 4C+8G 2.70 GHz
    Installed RAM 8.00 GB (7.39 GB usable)
    Device ID F03A5615-4203-4BC5-8ADD-67AD7B6CA4A5
    Product ID 00325-80019-00032-AAOEM
    System type 64-bit operating system, x64-based processor
    Pen and touch No pen or touch input is available for this display

    Edition Windows 10 Home
    Version 21H1
    Installed on ‎9/‎21/‎2021
    OS build 19043.1586
    Serial number PF0ZLP9H
    Experience Windows Feature Experience Pack 120.2212.4170.0

    Open office Version info :
    version : 4.15.9789

    ODT2Daisy -
    Version 2.1.2_20111108

    I began to download the NetBeans ( almost 500 MB) and then it told me I had to install the Java JDK IDE, (another 150) then Netbeans ( another 450 MB) I dont think I should have to download and configure a GB worth of programs ( more so installed) Just to make this program run.. Please fix this issue.
    Thank you !

     

    Last edit: Mark Banschbach 2022-03-18

Log in to post a comment.

MongoDB Logo MongoDB