Diagonal lines artifact in spreadsheets

I have received a spreadsheet saved as .xlsx (possibly created with Excel) with cell borders. Some of these borders appear diagonally, although this is not the expected outcome.
In the (reduced) sample file it is in the F2 cell.
wrong diagonal line.xlsx (5.3 KB)
Clear direct formatting works, but it seems to be an import bug.
It is related with the text orientation (359°).

But Format Cells also show a background color not visible in the cell.

1 Like

The same example, reduced to one cell.

In Excel, after opening the file, it is shown “normally”. If you enter some value into A1 (for example, A), then a diagonal appears instead of text.

diagonal lines artifact 2.xlsx (8.8 KB)

With the Reference edge set to “Text Extension Inside Cell” the background color is shown.



Same efect can be achieved with LibreOffice native file:

1 Like

So, here is a bug.
The numbers writen in column A (1, 2, 3, 4, 5, 10) are the degrees for Text Orientation:
imagen
borders with text orientation.ods (11.2 KB)

There are a bug report:
https://bugs.documentfoundation.org/show_bug.cgi?id=145776

Maybe related to:
https://bugs.documentfoundation.org/show_bug.cgi?id=121614
https://bugs.documentfoundation.org/show_bug.cgi?id=38446

1 Like

that’s no bug but empty fields/variables in formating the cell: no value in angle, no value in alignments. I set it to null (zero) or “standard”, so the artefact does go away

      • prae:
        opened it with OpenOffice v.4.1.7
        not tested with LibreOffice v.7.2.7.2 (18.NOV.2023)

Maybe is the intended behavior (not a bug), but in my samples there are no empty variables.
imagen
Some text in cells C3, C5 and C7.
no empty variables.ods (11.1 KB)

1 Like

sorry for my bad englisch


my study:

  • playing/fiddling around with size designs
  • attract attention to abyurd encroachments on cells in neighbourhood
  • so i cannot recognize any efficiency to style a formula table.

lucky wishings out of germanskji over the “Großer Teich”
fiddling with size designs_LO-v7272.ods (18.4 KB)
fiddling with size designs_LO-v7272.pdf (59.1 KB)