Re: [api-dev] Re: pasteUnformatted fromOpera

2007-11-27 Thread Mathias Bauer
GregChi wrote: > On Tue, 20 Nov 2007 08:25:31 +0100, Mathias Bauer wrote: > >>GregChi wrote: >> >>> I want to do this without the need to confirm the format every time. >>> >>> When I try to paste to a calc file in OO.o 2.3, a window pops up >>> asking if I want "Text Import" as "unicode". I nee

Re: [api-dev] null XComponent

2007-11-27 Thread Sascha Jensen
Hi, this is documented in the API documentation. If you look at the service TextEmbeddedObject you can see that the properties Model and Component are defined as maybevoid. This is due to the fact that not all embedded objects have a model/component. AFAIK a Formula is only represented by a pr

[api-dev] null XComponent

2007-11-27 Thread Makaray
Hi, i have problem with embedded object. I'm using XTextEmbeddedObjectsSupplier in writter document, to get access to this object. This object give me a list of all embedded elements in document. Property "Model" should give me a XComponent object, but sometimes it's null value. Does anybody kno

Re: [api-dev] Re: Cursor Position during D&D operation

2007-11-27 Thread Sascha Jensen
Hi, sorry it took me so long to respond. I was (am) looking for an alternative way to set the ViewCursor to the position where the DropCursor has been. If I could somehow get the coordinates or position of the DropCursor an apply that to the ViewCursor ... But I guess the DropTargetDropEvents

Re: Re: [api-dev] null XComponent

2007-11-27 Thread Makaray
I created this document in MsOffice, and embedded object are created in MsOffice too... Sascha Jensen napisał(a): > Hi again > > first: you did not reply to the list. > > how do you get your document? Is it an existing MSOffice Document you > opened in OOo? > > Sascha > > Makaray schrieb: >

Re: Re: [api-dev] null XComponent

2007-11-27 Thread Makaray
Hi, Yes, OLE object...For example xls or ppt document embedded in doc document... Makaray Sascha Jensen napisał(a): > Hi > > Makaray schrieb: > > I created this document in MsOffice, and embedded object are created in > MsOffice too... > > I dont know that OOo does with those embedded obeject fr

Re: [api-dev] null XComponent

2007-11-27 Thread Sascha Jensen
Hi Makaray schrieb: I created this document in MsOffice, and embedded object are created in MsOffice too... I dont know that OOo does with those embedded obeject from MSOffice. I opened a Word Document with 2 pictures inside and checked the CLSIDs. Those are definitely not zero. What kind

Re: [api-dev] null XComponent

2007-11-27 Thread Sascha Jensen
hi, I have two horizontal lines in my Word Document. In OOo they become embedded objects (OLE) because they are drawings in Word. In OOoBasic I can get the Component for these objects. But my CLSID is not 0. Maybe the zero CLSID indicates that there is no OLE2 available for those objects. Sor

[api-dev] Running a document-stored macro from globalscope

2007-11-27 Thread Fernand Vanrie
Hallo, I try to copie t dialoglibrary from the globalscope.dialoglibraries to the dialoglibraries in a Document. When the macro is run from in the Document then i have acces to globalscope.dialoglibraries and the libraries stored in the document named dialogllibraries and can do the copy W

[api-dev] xba <-> plain text

2007-11-27 Thread Maurice
Hi, how do I convert these xba/xml macro files to plain text files and back? I would like to use another editor to edit the files in ~/.openoffice.org2/user/basic/... Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: [api-dev] xba <-> plain text

2007-11-27 Thread Cor Nouws
Hi Maurice, Maurice wrote (27-11-2007 20:25) \> how do I convert these xba/xml macro files to plain text files and back? [...] Unless the lib is password protected, I can open it right away in e.g. textpad ... Should work for you also? Kindest regards, Cor -- Cor Nouws Arnhem - Netherland

[api-dev] Re: xba <-> plain text

2007-11-27 Thread Maurice
Hi, Cor Nouws wrote: > Maurice wrote (27-11-2007 20:25) > \> how do I convert these xba/xml macro files to plain text files > > and back? > >[...] > > Unless the lib is password protected, I can open it right away in e.g. > textpad ... > Should work for you also? but they are in XML. I don't w

Re: [api-dev] xba <-> plain text

2007-11-27 Thread Bernard Marcelly
Message de Maurice date 2007-11-27 20:25 : Hi, how do I convert these xba/xml macro files to plain text files and back? I would like to use another editor to edit the files in ~/.openoffice.org2/user/basic/... Hi, Don't try to edit an xba file. It is utf-8 coded and some characters are esca

Re: [api-dev] Re: xba <-> plain text

2007-11-27 Thread Cor Nouws
Maurice wrote (27-11-2007 21:33) Cor Nouws wrote: Maurice wrote (27-11-2007 20:25) how do I convert these xba/xml macro files to plain text files and back? [...] Unless the lib is password protected, I can open it right away in e.g. textpad ... Should work for you also? but they are in XML.