Source tree location hint for writer table issue?

Cedric Bosdonnat cbosdonnat at suse.com
Fri Mar 30 01:15:27 PDT 2012


Hi David,

On Thu, 2012-03-29 at 17:49 -0400, David Bolen wrote:
> I was wondering if someone more familiar with the source tree layout
> than I am might be able to offer a hint as to where I should be
> looking for something?
> 
> I'm trying to investigate an issue with tables (in Writer) that showed
> up when I auto-generated a table, where selecting the table as a whole
> shows "read-only" in the status bar and you can't do anything with it
> (and about the only way to get rid of it is to select a single cell
> and then use Table -> Delete -> Table from the menu).  Nothing about
> the table or any of its cells were actually protected in any way
> during generation.  I don't think it's an open issue though it's tough
> to search for given all the cell and row/column protection related
> discussions, but very little for the table as a whole.

For the Read-only problem, you should have a look at
SwPaM::HasReadonlySel(): this checks if the selection is read-only or
not.

> Anyway, I've been feeling a bit like was back playing Adventure ("You
> are in a maze of twisty little passages, all alike") attempting to
> deduce where the table status might be getting determined (and even
> back-tracking the "read-only" status bar string), and was wondering if
> anyone with past experience with the table code might be able to give
> me a nudge in a general direction in terms of the source tree?

Hopefuly, there are ways to cheat to get out of the maze... and you
found one :)

--
Cedric



More information about the LibreOffice mailing list