Re: UNO Writer: Merging cells results in wrong column count from XTextTable

2014-09-08 Thread Miklos Vajna
On Fri, Aug 29, 2014 at 11:54:24AM +0200, Jan-Marek Glogowski wrote: > | | | > -- > | | | > > Hmm - from my POV you would have 3 columns in this example. > > Probably we should mark SwXTableColumns::getCount() as deprecated and > drop it in the next major update? Then I would

Re: UNO Writer: Merging cells results in wrong column count from XTextTable

2014-08-29 Thread Jan-Marek Glogowski
Am 29.08.2014 10:06, schrieb Miklos Vajna: > On Thu, Aug 28, 2014 at 03:35:08PM -0400, Grover Blue > wrote: >> So, really, I want to grab all rows and find the max columns count among >> them. > > Correct. In an idea world there would be no SwXTableColumns::getCount() > at all IMHO. :) > |

Re: UNO Writer: Merging cells results in wrong column count from XTextTable

2014-08-29 Thread Miklos Vajna
On Thu, Aug 28, 2014 at 03:35:08PM -0400, Grover Blue wrote: > So, really, I want to grab all rows and find the max columns count among > them. Correct. In an idea world there would be no SwXTableColumns::getCount() at all IMHO. :) signature.asc Description: Digital signature _

Re: UNO Writer: Merging cells results in wrong column count from XTextTable

2014-08-28 Thread Grover Blue
So, really, I want to grab all rows and find the max columns count among them. On Thu, Aug 28, 2014 at 2:56 PM, Michael Stahl wrote: > On 28/08/14 20:43, Grover Blue wrote: > > I have a Writer document with a table that has two rows and 5 columns. > > When XTextTable is first created, xTextTabl

Re: UNO Writer: Merging cells results in wrong column count from XTextTable

2014-08-28 Thread Michael Stahl
On 28/08/14 20:43, Grover Blue wrote: > I have a Writer document with a table that has two rows and 5 columns. > When XTextTable is first created, xTextTable.getColumns().getCount() > returns the correct count of 5. When I merge 4 columns in the first row, > xTextTable.getColumns().getCount() then