How can I wrap a long Path/Filename in a calc footer

I am trying to use the Path/Filename in the Centre area of a calc footer, but the Path/Filename is longer than the page width, and is truncated to the page width. I have inserted a couple of newlines after it so it does not overwrite the Left area and Right area text, but it is still truncated.

(Changing the text attributes to a smaller font from within the Header and Footer dialogue box doesn’t seem to make any difference, but that is not what I want to do anyway).

Using LibreOffice 7.2.7.2 on Mac El Capitan.

1 Like

maybe upload a sample .ods to motivate wrapper gurus here :wink:

Thanks @fpy
Trying to create a test file, I have discovered that this is only a problem with long pathnames, not just with normal long text.

I have attached a test file, but this will only fail in the way I have suggested if the file is placed in a directory with a long path. The lorem ipsum text wraps properly.

I have also attached a pdf to show the problem - the filename part is truncated. Note that I have placed it in an artificially deep path because the actual path I am trying to use shows confidential information.

test long footers.ods (8.2 KB)
test long footers.pdf (12.3 KB)

the problem is actually about fields, and not only in footer.
trying for example with [Sheetname] :

test long field content.ods (8.5 KB)


somehow related for Writer : tdf#61813, tdf#136220 but you may want to open a bug for Calc : https://wiki.documentfoundation.org/QA/BugReport
1 Like

Thanks @fpy, Bug 167322 - Long fields do not wrap created.

This is somewhat similar to Bug 39910 - Text-Wrapping Doesn’t Wrap Long HyperLinks Resulting in Cutoff Text
but I don’t understand what is meant by textfields as opposed to “text portions” in

The background surely is that hyperlinks in spreadsheet cells are implemented as textfields. This is basically dfferent from the way hyperlinks are treated by Writer where the hyperlinks are attributed text portions and can therefore simply take part in the general textflow.

They still don’t seem to have decided whether the behaviour for hyperlinks is a bug or a feature (the way OO Calc has been designed)!

1 Like