Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | code missing for SwXTableColumns::getByIndex() | ||
---|---|---|---|
Product: | App Dev | Reporter: | con.hennessy |
Component: | api | Assignee: | chne |
Status: | CLOSED FIXED | QA Contact: | issues@api <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | buti, issues |
Version: | 3.3.0 or older (OOo) | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux, all | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
con.hennessy
2003-10-24 17:53:45 UTC
implementation issue The model for text tables is row orientated there is no such thing as a column. Especially if you consider the splitting and merging of cells there is no way for a proper column object to exist and be handled. Thus the implementation just returns sth that can not be used to do anything but mets the API requirements. Task set to invalid. Since currentTable.getColumns() only returns an XInterface what good is it ? I'm reopening this issue as something has to change : 1) the documentation fro the API needs to be updated; or 2) the API should be removed; or 3) the implementation should be added with an exception thrown for complex tables thomas lange said:
> The model for text tables is row orientated there is no such thing
> as a column.
then how can i set the width of a column (a cell if you prefer)?
the api docs say it's a property of TableColumn.
and: can't cells can be splitted an merged in both directions --
horizontal and vertical. a row oriented approach has the same
issues, then.
Because fo limited resources changes cannot be implemented for OOo2.0. I change the target to Office Later and assigne back to TL. The problem itself is that the internal table representation does not have columns! Thus the original implementation for the function only returned an object that did not support any interface. Since the fact that tables do not have caolumns cannot be changed I only changed the function to return an empty XInterface (which is matching the element type) instead of the object that can not do anything at all. Fixed in CWS tl14. Files changed: - unotbl.cxx new revision: 1.91.168.1 new target OO2.0.1 Reassigned for verification re-open issue and reassign to cn@openoffice.org reassign to cn@openoffice.org reset resolution to FIXED ok in tl14 ok in src680_m143 => zu |