https://bugs.documentfoundation.org/show_bug.cgi?id=167117

--- Comment #5 from R. Diez <[email protected]> ---
Thanks for locating the relevant code.

The first thing I noticed is the call to CreateMessageDialog() without checking
whether we are in --headless mode. I do not know anything about LibreOffice's
internals. Is there not some global policy about this? Like I mentioned in this
bug report, such UI calls are bound to break in headless mode.

The code is complicated, and I could not find the reason why Calc considers
there is no header when the number of columns is <= 3. If there is a good
reason, it probably should be documented as well. Or perhaps you cannot
reproduce this behaviour, and then it is something that only happens on my
computer?

You have already confirmed the shortcoming that the parameters for
.uno:DataFilterAutoFilter are not documented. I wouldn't close this bug report
until the documentation is in place. Alternatively, you could create a bug just
for the missing documentation and reference it from this one. I am hoping that
passing the right arguments would prevent the prompting.

Do you know whether there is a way to unconditionally tell Calc that there is a
header?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to