https://bugs.documentfoundation.org/show_bug.cgi?id=161790
Bug ID: 161790
Summary: DOCX file looks empty when opened in LibreOffice
Product: LibreOffice
Version: 24.2.0.3 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
This file is generated using DOCX Node.JS library.
It contains a sentence “This TextRun contains several children TextRuns” and is
correctly displayed in MS Word and other (online) viewers.
But LibreOffice displays nothing.
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: be-BY (be_BY); UI: en-US
Calc: CL threaded
Steps to Reproduce:
1. Open the attached file in LibreOffice and you will see nothing
2. Open the attached file in MS Word or any other docx viewer and you will see
text “This TextRun contains several children TextRuns”
Actual Results:
The file is empty
Expected Results:
File contains text “This TextRun contains several children TextRuns”
Reproducible: Always
User Profile Reset: Yes
Additional Info:
This file is generated using DOCX Node.JS library. To make this bug happen,
Paragraph should contain TextRun which contains children property. Children
property value should be an array with some TextRuns.
const checkTextRun = new TextRun({
//This textRun contains several children
children: [
new TextRun({
text: "This TextRun ",
}),
new TextRun({
text: "contains ",
}),
new TextRun({
text: "several children TextRuns",
}),
],
});
const doc = new Document({
sections: [
{
properties: {},
children: [
new Paragraph({
children: [checkTextRun],
}),
],
},
],
});
This is not a bug in NodeJS library because other editors display text
correctly
--
You are receiving this mail because:
You are the assignee for the bug.