Skip to content

Improve LibreOffice Calc export to match Excel - #745

Merged
slachiewicz merged 13 commits into
mojohaus:masterfrom
Master-Code-Programmer:highlight-licenses
Nov 19, 2026
Merged

slachiewicz merged 13 commits into
mojohaus:masterfrom
Master-Code-Programmer:highlight-licenses

Conversation

@Master-Code-Programmer

@Master-Code-Programmer Master-Code-Programmer commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Your original PR, extended with the following:

Short form

The LibreOffice Calc export produces now a functional identical export to Microsoft Office Excel.

Long form

  • I fixed that some empty cells always copied the background from the cells above, which looked especially broken with the 1st few rows, when they copied the turqoise headers background color and thick black border.
  • The cell width and height are now limited. The height is always the standard height, and while some cells width expands, they're limited and don't try to show the whole content, thereby not spanning over multiple screen pages, and make the whole document hard to read.
  • The 3 header rows and the 1 dependency name column are now freezed. So no matter where you scroll, you always know what each cell value stands for. Finally, I could get it working, with AI, but still, the AI used my ground work to make it work, and it had no fundamentally better solution. The ODF SDK is very basic.
  • I replaced a deprecated call to the ODF SDK.
  • Also with the AI I could add groups, which I consider very important. Before grouping I always heard the complaint that there was too much data, and it was all too confusing, with the grouping exists a very easy way to filter out all uninteresting data. For each individual use-case, with a few mouse-clicks. Just click on a minus and collapse the unwanted group.

Non-Code fixes

  • Spotless formats now also the Java 11 directories.

@Master-Code-Programmer
Master-Code-Programmer force-pushed the highlight-licenses branch 2 times, most recently from 6773258 to 65f01da Compare September 19, 2026 20:57
@Master-Code-Programmer

Copy link
Copy Markdown
Contributor Author

Sorry, for the confusing log. Tried rebasing it on master, but saw that it made it more confusing, so switched back to rebasing it on your branch.

slachiewicz and others added 13 commits November 19, 2026 15:18
Colour is on the license text, not the cell fill, so the alternating row
background that tells the dependencies apart survives.

SpreadsheetFormatting has to live in src/main/java even though only the
writers read it: CalcFileWriter exists twice, and the Java 8 stub has to
compile against the same signature as the Java 11 implementation.

Co-authored-by: Jan-Hendrik Diederich <1955253+Master-Code-Programmer@users.noreply.github.com>
* Leave the developers out of the spreadsheets when asked

The developer columns stay in place and are simply empty, rather than
shifting the layout of every other column.

Co-authored-by: Jan-Hendrik Diederich <1955253+Master-Code-Programmer@users.noreply.github.com>

* Document skipDevelopers

---------

Co-authored-by: Jan-Hendrik Diederich <1955253+Master-Code-Programmer@users.noreply.github.com>
@slachiewicz
slachiewicz changed the base branch from highlight-licenses to master November 19, 2026 14:22
@slachiewicz slachiewicz changed the title Highlight licenses Improve LibreOffice Calc export to match Excel Nov 19, 2026
@slachiewicz
slachiewicz merged commit c3ba383 into mojohaus:master Nov 19, 2026
12 checks passed
@github-actions github-actions Bot added this to the 2.9.1 milestone Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants