Issue 2694 - insertByIndex not working for connected cells in a writer document
Summary: insertByIndex not working for connected cells in a writer document
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows 2000
: P3 Trivial
Target Milestone: ---
Assignee: Oliver Specht
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-04 14:16 UTC by martho
Modified: 2017-05-20 09:32 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 martho 2002-01-04 14:16:34 UTC
Win2K and SO6.0Beta

I want to insert some rows into the second table of a writer-document. 

I use (StarBasic)
oDesktop = createUnoService( "com.sun.star.frame.Desktop" )
oDocument = oDesktop.loadComponentFromURL("file:///G:/Test.sxw", "
_blank", 0, mArgs)
oTextTables = oDocument.getTextTables()
oTable = oTextTables(1)
oRows = oTable.getRows()			
oRows.insertByIndex(1, 2)

This works fine with a table with 2 rows and 2 cols for example, but it 
doesn't work with my table which looks like:

*******************
*  *  *  *  *  *  *
*******************
*  *  *  *  *  *  *
*******************
*  *  *  *  *  *  *
*******************
*  *  *  *  *  *  *
*******************
*  *  *  *  *  *  *
*******************
*              *  *
*              ****
*              *  *
*******************
*              *  *
*******************

It seems to depend on the connected cells of the table. 

Since some other users of SO6.0Beta can reproduce this behavior, we think it's a bug.
Comment 1 ooo 2002-01-04 15:08:27 UTC
implmentation issue
Comment 2 Oliver Specht 2002-01-21 09:08:07 UTC
The text table interface doesn't fit well for the implementation of
the writer's tables.
To solve this problem we need either interfaces that are more
implementation dependend or a different writer table implementation.