cuba-platform / yarg

Yet Another Report Generator - CUBA Platform reporting engine
https://www.cuba-platform.com
Apache License 2.0
239 stars 75 forks source link

Incorrect row shift in XLSX report #114

Open NikitaShchienko opened 5 years ago

NikitaShchienko commented 5 years ago

Environment

Description of the bug or enhancement

When creating a report structure with cross strips, a single line shift occurs. image

Link to the forum: https://www.cuba-platform.ru/discuss/t/smeshhenie-dochernej-polosy-pri-formirovanii-otcheta-xlsx/3175

The shift is due to the intersection of orientation bands. (com\haulmont\yarg\formatters\impl\XlsxFormatter.java:851) image

Minimal reproducible example

  1. Run a project with reports
  2. Import sample Report.zip
  3. Run the report

Expected behavior The absence of the shift of the first row or the correct shift of all rows Actual behavior The incorrect shift of the first row. image