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

2010-02-19 Thread Philippe Brun (perso)
provides *read* access to the frame wich contains the current component, but it's still unclear to me why it worked the first time. Anyway, happy ending Regards Le 28.01.2010 10:10, Philippe Brun (perso) a écrit : Hi all, So the bell didn't ring :-) I'll try to rephrase my question. I copy/paste

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

2010-01-28 Thread Philippe Brun (perso)
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

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

2010-01-28 Thread Philippe Brun (perso)
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

[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

Re: [api-dev] Copy/Paste a TextTable row using cpp api

2010-01-25 Thread Philippe Brun (perso)
Hi Steffen, Thank you for your help, which put me on the right track. Besides, I had missed the path XCell - XTextRange. Regards Le 22.01.2010 11:02, Steffen Boersig a écrit : Hi Philippe, I want to paste my selected row on a newly inserted row. But how can I move the ViewCursor at a given

[api-dev] Copy/Paste a TextTable row using cpp api

2010-01-21 Thread Philippe Brun (perso)
Hi, I need to duplicate a TextTable row with its content and formatting. I'm trying to adapt a post from phazzy http://www.oooforum.org/forum/viewtopic.phtml?t=86970 which did almost what I want to do except that he pasted outside of the table. I want to paste my selected row on a newly

Re: [api-dev] avoid printer discovery

2007-06-18 Thread Philippe Brun (perso)
Mathias Bauer a écrit : Printer discovery is done in a separate thread. So it shouldn't disturb you as long as you don't try to access any printer. The whole story started because I was tring to access a printer... Then I realized there where issues about printer discovery in the community

[api-dev] avoid printer discovery

2007-06-15 Thread Philippe Brun (perso)
Hi, I'm printing documents from a java program connected to an OO instance on a remote Linux server. I would like to avoid printer discovery. In my particular case, a lot of printers are defined on the Linux server. Printer discovery is expensive and tricky (see issue