Re: [api-dev] Copy/Paste a TextTable row using cpp api works only first time

2010-02-19 Thread Philippe Brun (perso)
Hi all, FWIW I solved my problem by getting the DispatchProvider from the frame of the currentController instead of the currentFrame of the desktop. Thanks Tobias for this post http://api.openoffice.org/servlets/ReadMsg?listName=devmsgNo=16741 I guess my problem was that getCurrentFrame

Re: [api-dev] Copy/Paste a TextTable row using cpp api works only first time

2010-01-28 Thread Philippe Brun (perso)
Hi all, So the bell didn't ring :-) I'll try to rephrase my question. I copy/paste a row in a TextTable using XDispatchHelper. It works multiple times in several tables of a single document. But if I rerun my program without restarting the office, pasting doen't work anymore. I've tried to

Re: [api-dev] Copy/Paste a TextTable row using cpp api works only first time

2010-01-28 Thread Fernand Vanrie
Philippe , have a look at this http://www.oooforum.org/forum/viewtopic.phtml?t=52661 forum discusion hope it helps Fernand Hi all, So the bell didn't ring :-) I'll try to rephrase my question. I copy/paste a row in a TextTable using XDispatchHelper. It works multiple times in several

Re: [api-dev] Copy/Paste a TextTable row using cpp api works only first time

2010-01-28 Thread Philippe Brun (perso)
Fernand, Thank you for the clue. Philippe Le 28.01.2010 09:32, Fernand Vanrie a écrit : Philippe , have a look at this http://www.oooforum.org/forum/viewtopic.phtml?t=52661 forum discusion hope it helps Fernand Hi all, So the bell didn't ring :-) I'll try to rephrase my question. I

[api-dev] Copy/Paste a TextTable row using cpp api works only first time

2010-01-26 Thread Philippe Brun (perso)
Hi all, I'm trying to copy/paste a row in a TextTable with the c++ api. It works the first time I connect to a newly started soffice : 1- load the document, 2- copy a row 3- insert a new row, 4- paste into the newly inserted row. But then if I close the doc (without exiting soffice) and try