[api-dev] C++ - Reference

2005-07-27 Thread Pierre-André
Hi, I have a question about UNO Reference in C++. What I would like to do is the following : I want to connect to a listening office, and then have an object which keeps a reference to the connection. That way, I can open a connection with the constructor or a function of the object, and call

[api-dev] Browsing the source code

2005-07-27 Thread Senthilkumar Mehalingam
Hi All, I want to see how the cut,paste,undo,redo functionalities are implemented in OO.org. If anybody could point me to the specific files and modules in which they are implemented I would highly appreciate that. I want to know if Design Patterns are used in implementing them or not. If

Re: [api-dev] C++ - Reference

2005-07-27 Thread Daniel Boelzle
Hello Pierre-André, using namespace com::sun::star::uno; side-note: using directives are bad in header files. Use fully qualified names. class MyClass { public: connect(); set_text(); private : // OK XInterface* rInstance2; //

Re: [api-dev] C++ - Reference

2005-07-27 Thread Pierre-André
Le Mercredi 27 Juillet 2005 15:22, Daniel Boelzle a écrit : Hello Pierre-André, Hi Daniel, using namespace com::sun::star::uno; side-note: using directives are bad in header files.  Use fully qualified names. :-) Thanks, I will correct that. class MyClass {   public:   

Re: [api-dev] Re: newbie drawing question

2005-07-27 Thread Andrew Douglas Pitonyak
My guess is that this fails because you are using a macro to create a draw page in a Draw document, but you are running the macro in a Write document. A write document contains only one draw page, not multiple draw pages. In other words, you can not create a new draw page in a Write document

Re: [api-dev] Browsing the source code

2005-07-27 Thread Andrew Douglas Pitonyak
I typically download the source code and then I use a text search on the whole thing. Of course, the whole thing is more than 1GB I think, so on my computer, this can take a long time. Especially since sometimes I search for the wrong thing :-( Senthilkumar Mehalingam wrote: Hi All, I want