[api-dev] how to change a Graphic ContourPolyPolygon

2011-01-05 Thread Fernand Vanrie
Hallo, I Trie to preserve the Graphicobject ContourPolyPolygon after i changed the Graphic behind this object. The original Contour is still there but with the size , position off the old Graphic. How can i using BASIC, change this ContourPolyPolygon also named " ::com::sun::star::drawing::P

Re: [api-dev] How to make MenuBar chnages Persistent par Document.

2011-01-05 Thread Fernand Vanrie
OCarsten, Thanks, works like a charm now :-) Fernand - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org

Re: [api-dev] How to make MenuBar chnages Persistent par Document.

2011-01-05 Thread Carsten Driesner
On 05.01.2011 11:45, Fernand Vanrie wrote: Hallo, I can make disappear some Buttons from a Menubar in a document). But After saving an reopening the doc, the buttons are "again" in place. my code uses oMenuBar.Persistent = true In the ODK help i can find: If the property Persistent is *true* c

Re: [api-dev] Enhancing StarBasic then ? (Re: [api-dev] use of css.container.EnumerableMap

2011-01-05 Thread Frank Schönheit
Hi Andreas, > >> Il 21/12/2010 10:25, Frank Schönheit ha scritto: > >>> as I was the one who wrote this service (out of a particular need): > >>> Sorry, I wasn't aware that Type is such a ... difficult thing in Basic. > >>> I'll keep that in mind for the next API I design :-\ > > This is the

Re: [api-dev] use of css.container.EnumerableMap

2011-01-05 Thread Frank Schönheit
Hi Andreas, > So also the following will be supported: > > aLongType = CreateUnoValue( "type", "long" ) > > or as in our case with fixed target type "type": > > aMap = com.sun.star.container.EnumerableMap.create( "long", "string" ) That would be really useful - great idea! Ciao Fran

Re: [api-dev] Enhancing StarBasic then ? (Re: [api-dev] use of css.container.EnumerableMap

2011-01-05 Thread Andreas Bregas
Hi, >> Il 21/12/2010 10:25, Frank Schönheit ha scritto: >>> as I was the one who wrote this service (out of a particular need): >>> Sorry, I wasn't aware that Type is such a ... difficult thing in Basic. >>> I'll keep that in mind for the next API I design :-\ This is the wrong way, I think. Ha

Re: [api-dev] use of css.container.EnumerableMap

2011-01-05 Thread Andreas Bregas
Hi Ariel, after returning from Christmas holiday I've had a look at the problem in the meantime. Thanks for your helpful test macros. > css.container.EnumerableMap is a new-style service, with constructors, and > AFAIK, new-style service constructors are now (I don't recall since when) > supp

Re: [api-dev] Are there changes to the resourceURL 's ?

2011-01-05 Thread Carsten Driesner
On 22.12.2010 10:25, Fernand Vanrie wrote: Ariel , Thanks for this extended explaination, now i now where to look and go. But no the namings are correct, and the relevant to the xml files in the places you told. the code start with making a emnumration for the resourceURL's par module: For Ea

Re: [api-dev] Working with embedded OLE files/packages

2011-01-05 Thread Mathias Bauer
Hi David, On 07.12.2010 12:24, David Roe wrote: I have some Excel spreadsheets that contain files embedded as OLE packages (Insert->Object-> From file). I want to retrieve the data for those files. I've managed to use the API to retrieve the Shape object and get at the OLE data but I don't fancy

[api-dev] How to make MenuBar chnages Persistent par Document.

2011-01-05 Thread Fernand Vanrie
Hallo, I can make disappear some Buttons from a Menubar in a document). But After saving an reopening the doc, the buttons are "again" in place. my code uses oMenuBar.Persistent = true In the ODK help i can find: If the property Persistent is *true* changes on the structure of the user inte