https://bugs.documentfoundation.org/show_bug.cgi?id=101430
Bug ID: 101430
Summary: LibreOffice5.0.4.2 crashes while generating docx
output with HTML table
Product: LibreOffice
Version: 5.0.4.2 release
Hardware: x86-64 (AMD64)
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: sdk
Assignee: [email protected]
Reporter: [email protected]
We use LibreOffice 5.0.4.2 to create .docx and .doc documents using UNO Java
API.
We use MS Word 97 filter to produce .doc documents and MS Word 2007 XML to
produce .docx documents.
We have a table content from HTML file. The table has three rows and three
columns. All the rows has data in it.
We have a bookmark in both .doc and .docx files and used
XDocumentInsertable.insertDocumentFromURL API to insert text from HTML file in
place of bookmark XTextCursor and produce doc and docx output.
We used LibreOffice_5.0.4_Win_x86.msi(32 bit) and
LibreOffice_5.0.4_Win_x64.msi(64bit).
We use below command to start LibreOffice 5.0.4.2(64 bit)
Command to start:
-----------------
soffice -invisible
"-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager"
The issue is LibreOffice crashes every time while producing docx ouput when
the source html is table. But it works for doc output.
We have LibreOffice_5.0.4_Win_x86.msi(32 bit) and it's bale to produce both
doc aND docx output with out any issues.
Please find project.zip for sample program source html and generated output.
I attached my source project as eclipse project and attached all source
content files, template and sample output files.
Please follow the below steps:
1) Extract zip file content.
2) Import Libre as java project.
3) Run DocumentGenerator.java by passing full path of template, full path of
output file and full path of source html file.
Sample arguments:
"D:\libre\template.doc" "D:\libre\output.doc" "D:\libre\table.html"
4) template and source html files are part of zip file content.
Please let me know if you have need any more information.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs