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 figure out if there is a resource or an object I don't release properly, but I've seen nothing special there.

I'm not used to com.sun.star.frame.DispatchHelper and Reference< XDispatchHelper>. Something special to be aware of with these ?

TIA
Regards

Le 26.01.2010 16:17, Philippe Brun (perso) a écrit :
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 my program
again, it goes as far as step 3 above but the paste doesn't work anymore.
(At this point the cursor is at the right position and the data is
available : if I paste manually I get what I expected)

Does that ring a bell ?
(I can post source if needed)

PS : the first time, it works fine even if several tables in the document.

Thanks in advance
Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to