On Wednesday 09 May 2007, Siegfried Wolkenstein wrote:
> Hello,
>
> Columns.Count does give the right result..
>
> Just for one specific document it doesn't...
> How can that be?
>
> Thanks!
>
> On Wednesday 09 May 2007 19:53:20 Siegfried Wolkenstein wrote:
> > Hello,
> >
> > this chunk of code should be correct, but it doesn't work as expected.
> >
> > [code]
> > oTables = myDocument.getTextTables()
> > oTable = oTables(0)
> > tableHeight = oTable.Rows.Count-1
> > tableWidth = oTable.Columns.Count
> > [/code]
> >
> > tableHeight equals 50, but
> > tableWidth equals 0 (there are actually 9 columns...).
> >
> > OpenOffice.org version: 2.1.14
> >
> > What can I do to solve this problem?

Is it possible that you have merged columns ?


-- 
CPH : openoffice.org contributor

Maybe your question has been answered already?
                                http://user-faq.openoffice.org/#FAQ

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to