Issue 80255 - XTextTable.getColumns().getCount() return wrong column count
Summary: XTextTable.getColumns().getCount() return wrong column count
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 12:39 UTC by benzman1981
Modified: 2013-02-24 21:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description benzman1981 2007-08-01 12:39:04 UTC
Hello,
the method call XTextTable.getColumns().getCount() return wrong column count
if the first row merges all columns. In this case I always get the number 1 
returned. This might be correct for the first row, because it is merged to one, 
but the rows below have more columns. Since this is a call on the whole text 
table the method should do something to evaluate the maximum number of columns 
that occur within the table.

Regards,

Markus
Comment 1 jsc 2007-08-01 12:52:29 UTC
jsc -> tl: writer API
Comment 2 thomas.lange 2007-08-01 12:57:12 UTC
.
Comment 3 Martin Hollmichel 2007-11-09 17:28:43 UTC
set target from 2.x to 3.x according to
http://wiki.services.openoffice.org/wiki/Target_3x