https://bugs.documentfoundation.org/show_bug.cgi?id=162243
Bug ID: 162243
Summary: Masterpage ignored if the first page's element is a
table and it's first cell is another table in
LibreOffice Writer.
Product: LibreOffice
Version: 7.4.7.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Description:
We use BIRT to create our reports, but when creating in ODT format the
following happen:
1. Having the Masterpage defined in Table1 and Table1 being the first page
element.
2. Having Table2 as first element from the Table1 first cell.
The masterpage from Table1 style will be ignored and the masterpage from Table2
will be taken.
In the below case, for example, Table1 has the masterpage setted. But
Libreoffice will try to take masterpage from Table2, and how it wasn't defined,
the default masterpage will be used.
```
<style:style style:name="Table1.Table1" style:family="table"
style:master-page-name="Mp-1-1">
<style:table-properties table:border-model="collapsing"
table:align="left"
style:width="11.192in" fo:text-align="start"
style:vertical-align="baseline" fo:break-before="page" />
</style:style>
<style:style style:name="Table2.Table2" style:family="table">
<style:table-properties table:border-model="collapsing"
table:align="left"
style:width="3.73in" fo:text-align="start"
style:vertical-align="baseline" />
</style:style>
```
```
<office:body>
<office:text>
<table:table table:style-name="Table1.Table1">
<table:table-column
table:style-name="Table1.Column1" />
<table:table-header-rows>
<table:table-row>
<table:table-cell
table:style-name="Table1.Cell1">
<table:table
table:style-name="Table2.Table2">
<table:table-column />
<table:table-row>
<table:table-cell table:style-name="Table2.Cell2">
<text:p text:style-name="P1">
```
Steps to Reproduce:
1. In Writer, create a table
2. In the first cell, create another table
3. Try to edit the Table1 properties. The Table2 table properties will be
opened instead.
Actual Results:
Libreoffice just ignore the Table1 properties if it's first cell element be
another table.
Expected Results:
Don't ignore the Table1 properties.
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 7.4.7.2 (x64) / LibreOffice Community
Build ID: 723314e595e8007d3cf785c16538505a1c878ca5
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: pt-BR (pt_BR); UI: pt-BR
Calc: CL
--
You are receiving this mail because:
You are the assignee for the bug.