[api-dev] Re: ReDim driving me crazy again…

2011-08-17 Thread Laurent Godard
HI from my poor experience if I want to use redim, i have to define the array as dynamic may be try this public NDice() as integer sub main redim NDice(1 to 6) end sub Laurent -- - To unsubscribe send email to dev-unsubscr...@

[api-dev] Re: using external libraries with Pyuno components

2011-03-17 Thread Laurent Godard
Hi paolo long time !!! i put my imported .py file inside the extension in a pythonpath directory the main .py files are at extension root i found this information long time ago and think it is a reserved directory name no declaration in manifest.xml HTH laurent -- ---

[api-dev] deactivate a top level menu

2010-07-02 Thread Laurent Godard
Hi all i create a top level menu using addon.xcu with a in some cases, i want that this menu not accessible so how can i deactivate it by code so it is greyed ? same question for a custom toolbar i know how to deactivate submenus pointing on some macros, but not this kind of element. than

Re: [api-dev] OOo Summer Internship Program - Improve (Python) scriptability

2010-05-27 Thread Laurent Godard
Hi Welcome on board and thanks focusing on python :) I personally can also think about some IDE integration of Python to simplify the creation, debugging, deployment of Python scripts. +100 Python binding probably needs improvement but IMHO, a better integration inside OOo with its own ID

Re: [api-dev] Sending email to multiple recipients

2010-04-21 Thread Laurent Godard
Hi just a thought if OOo Api can attach a file, create a plain-text file and write your body in it then send this file as attachment may work Laurent - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For addition

Re: [api-dev] Script in one library can't find function in another

2010-01-04 Thread Laurent Godard
Hi may be have a look at BasicLibraries.loadLibrary here is a rough example Laurent function loadMyLib(optional pwd) if isMissing(pwd) then pwd = false endif if not BasicLibraries.isLibraryPasswordVerified("My_Lib") and pwd then chkpwd

Re: [api-dev] using css.awt.AsyncCallback in OOoBasic

2009-12-18 Thread Laurent Godard
Hi peter If you comment out your "Print" in the main routine, than the "Print" in the callback function works as expected. Try to replace both print methods with Msgbox and it makes you wonder... The Msgbox in the callback function doesn't appear without any errors. thanks a lot i'll have a

Re: [api-dev] using css.awt.AsyncCallback in OOoBasic

2009-12-18 Thread Laurent Godard
Hi again thanks a lot it works, at least i can define a callback :) i did dome tests and i encounter a strange behaviour my call chain is, i added a print statement at the end of each subroutine sub listener_moussereleased --> sub 1 --> sub 2 i define the callback in sub2 and put (for the

Re: [api-dev] using css.awt.AsyncCallback in OOoBasic

2009-12-18 Thread Laurent Godard
Hi Franck thanks a lot it works, at least i can define a callback :) btw, seems to me that i can not depend in the callback on a public variable change public myDummy Sub Main oASync = CreateUnoService("com.sun.star.awt.AsyncCallback") oCallback = CreateUnoListener("Callback_", "com.sun.star.

[api-dev] using css.awt.AsyncCallback in OOoBasic

2009-12-18 Thread Laurent Godard
Hi all my problem is that a mouse listener on a calc document is called and i need to close the calc document in this call it works but exiting the listerner callback _mousepressed, OOo crashes Mikhail pointed me on AsyncCallback using OOoBasic asyncCallback = createUnoService( "com.sun.star.

Re: [api-dev] base api : Tables.createDataDescriptor do not show appendByDescriptor method

2009-12-08 Thread Laurent Godard
Hi Fernand As i told, plain example worked The problem is that even if i can define a good TableDescriptor, the tables.columns do not show any .appendByDescriptor method, even if the connection is not read only as i can do update and insert requests As i do some odd manipulations with moving

[api-dev] base api : Tables.createDataDescriptor do not show appendByDescriptor method

2009-12-07 Thread Laurent Godard
Hi all I'm facing a problem for 3 days i cannot solve using database and OOoBasic My goal is to dynamically create a table It used to work in some light tests based on Andrew's document (thanks to him) but now, going in my whole stuff, i encounter the following problem I create my DataDescri

Re: [api-dev] How to copy all properties from a style

2009-10-21 Thread Laurent Godard
Hi bernard newStyle.ParentStyle = oldStyle.Name oStyles.insertByName("myNewStyle", newStyle) does it work with different spreadsheets ? i'm not sure, i'll test when time but really not sure actually, i loop on all properties. that is the quickest way i explored Laurent --

Re: [api-dev] Detecting which button was pressed with a Basic Macro

2009-08-30 Thread Laurent Godard
Hi This helped indeed. It was wrong, but it helped… There is no oEvt.Source.Name, but now that I know this is possible I used Xray and found oEvt.Source.getModel().Name. yes you're right i wrote too fast happy that it helped Laurent ---

Re: [api-dev] Detecting which button was pressed with a Basic Macro

2009-08-30 Thread Laurent Godard
Hi Johnny the event of a button in a dialog throws an event object to the called macro. This Event object has a Source property that contains the caller object design your button, plugg it to the MySub macro then sub mySub (oeVt) print oEvt.Source.name end sub HTH Laurent

[api-dev] Manipulating menus at runtime

2008-10-07 Thread Laurent Godard
Hi all I wrote an extension and now wants to enable/disable menu entries dynamically at runtime both for my extension and legacy menu entries Is there a way and could someone point me in the right direction Any codesnippet in any language or some keywords and basic steps are welcommed Thank

Re: [api-dev] Manipulating menus at runtime

2008-10-07 Thread Laurent Godard
s(0).Value = target aSettings = aConfigProvider.createInstanceWithArguments(service, aParams() ) getConfigSetting = aSettings end function -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >&

[api-dev] Manipulating menus at runtime

2008-10-07 Thread Laurent Godard
in advance Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffice.org&quo

Re: [api-dev] Non modal dialog staying in front ?

2008-08-28 Thread Laurent Godard
-- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffice.org", Eyrolles 2004-2006 --

[api-dev] Non modal dialog staying in front ?

2008-08-22 Thread Laurent Godard
t whatever document is active. any idea how to achieve that ? any link is welcommed feel free to ask for more details Thanks in advance Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http:/

Re: [api-dev] Repository for helper classes

2007-12-18 Thread Laurent Godard
be of course a good place for it. By the way the Eclispe plugin source code is hosted there as well ;-) The extensions project and the wiki may help If helper classes can be extensions, it would be perfect to distribute Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie Ope

Re: [api-dev] Frustrations with Eclipse Plugin for Java Component Dev.

2007-11-30 Thread Laurent Godard
HI these files are created with the javamaker utility. There does no source code exist. It is not free ? Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://w

Re: [api-dev] .uno:InsertDoc API equivalent ?

2007-11-09 Thread Laurent Godard
or. Yes;, for me too ;) Btw, thanks Oliver for targetting it Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation Ope

Re: [api-dev] .uno:InsertDoc API equivalent ?

2007-11-08 Thread Laurent Godard
Hi Olivier Please file an issue about that and assign it to me (os). done http://extensions.openoffice.org/issues/show_bug.cgi?id=83449 thanks Oliver Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Mana

Re: [api-dev] .uno:InsertDoc API equivalent ?

2007-11-08 Thread Laurent Godard
aURL, [in] sequence< com::sun::star::beans::PropertyValue > aOptions) Pass a URL and an empty sequence of PropertyValue structs. However, load properties could be used as described in com.sun.star.document.MediaDescriptor. -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenO

Re: [api-dev] .uno:InsertDoc API equivalent ?

2007-11-08 Thread Laurent Godard
? Thanks again Oliver Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffice.org&quo

[api-dev] .uno:InsertDoc API equivalent ?

2007-11-08 Thread Laurent Godard
Hi all Using writer is there an alternative to .uno:InsertDoc dispatcher command using full api my goal is to import html file (ideally using inputstream) Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Mana

Re: [api-dev] Code-Highlighting in Basic IDE

2007-10-30 Thread Laurent Godard
save time. very interresting feature would it be possible to adapt to other languages (java, c++, python (i have already one for thsi) What about packaging as an extension ? Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Co

Re: [api-dev] XPackageManagerManager.removePackage changes

2007-10-23 Thread Laurent Godard
anager or unopkg directly? the use case would be an intelligent extension that updates itself using XPackageManagerManager a consequent use, a monitoring extension that monitors new versions of all installed ones Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOf

Re: [api-dev] Getting OOo Version via API

2007-10-22 Thread Laurent Godard
} catch (Exception exception){ throw new OpenOfficeException("Error retreiving property", exception); } return property; } -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >

Re: [api-dev] Getting OOo Version via API

2007-10-22 Thread Laurent Godard
Hi is it possible to retrieve the OpenOffice version via API? sure, reading the config registry Setup in what language do yo need it ? I have it OOoBasic and Java Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise C

Re: [api-dev] XPaketManager.removePackage changes

2007-10-22 Thread Laurent Godard
satisfying but that is the situation today. Is it planned to make it public one day ? Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre &q

Re: [api-dev] maven plugin to build OOo extensions

2007-09-28 Thread Laurent Godard
. The idea, what it can, how it works, examples etc. Maybe you will start a wiki page documenting your on going work. And for the source we will find a place in the cvs of the api project. The extension project can also host it (but it is a already an api subdirectory iirc) Laurent -- La

[api-dev] Hidden document & Page style

2007-09-24 Thread Laurent Godard
Hi all using OOoBasic if i modify the Standard pageStyle, the changes are taken into account only if the documebt has not been created in Hidden=true mode (eg. changing marges & orientation) do you confirm ? Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.o

[api-dev] Extending BasicIDE

2007-09-23 Thread Laurent Godard
Hi all Is it possible to access com.sun.star.comp.basic.BasicIDE text area as a text object (or other type) My goal would be to play with text frames in it Any idea ? Thanks in advance Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indes

Re: [api-dev] Insert image in textframe & visibility

2007-09-21 Thread Laurent Godard
Hi unfortunatelly this solve the problem for one single insert in a loop, only the first image is visible please forgive me a stupid bug in a translation calculation and i set the image position outside the screen (hey, it works) Laurent -- Laurent Godard <[EMAIL PROTEC

Re: [api-dev] Insert image in textframe & visibility

2007-09-21 Thread Laurent Godard
you know how to deal with multiple objects to heaven ? and why a simple Zorder do no work ? Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Liv

Re: [api-dev] Insert image in textframe & visibility

2007-09-21 Thread Laurent Godard
is shown :) Problem solved Thanks lgodard you're welcome lgodard @other: sorry for the noise Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livr

Re: [api-dev] Insert image in textframe & visibility

2007-09-21 Thread Laurent Godard
" Quite poetic isn't it ? But how can i set these layers in writer Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Program

[api-dev] Insert image in textframe & visibility

2007-09-21 Thread Laurent Godard
foreground). If i run without any pause, the image does not go to front Any way to tell an image i insert in a TextFrame to be visible by default ? (i would prefer get rid of the dispatcher call) Thanks Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indes

Re: [api-dev] AWT TREE: OOoBasic version of the ScriptSelector example

2007-09-20 Thread Laurent Godard
Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffice.org&quo

Re: [api-dev] AWT TREE: OOoBasic version of the ScriptSelector example

2007-09-07 Thread Laurent Godard
Hi In this situation, the common user with no programming knowledge at all gets disappointed when he/she can draw a control on the Basic IDE, but it has no functionality at all (not even a sample tree drawn in the control, as in the NetBeans IDE). and what about using Xray ? i'll have a look

Re: [api-dev] Moving CoceSnippets into the Wiki?

2007-08-28 Thread Laurent Godard
yers, but tools has to be correctly setup to allow the management Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffi

Re: [api-dev] Moving CoceSnippets into the Wiki?

2007-08-27 Thread Laurent Godard
Hi Juergen one other point is that our wiki is not suitable for translation and it is very important to lower the entry barrier that is true but it is true for everything else in the wiki sure ! and more needed than for snippets, I agree Laurent -- Laurent Godard <[EMAIL PROTEC

Re: [api-dev] Moving CoceSnippets into the Wiki?

2007-08-27 Thread Laurent Godard
g snippets ... sounds good to me may be make a call for volunteers ? A wiki is only one solution but quite cheap to realize ;-) I agree :) but still lack correct internationalisation features for really doc. mangement with the native-lang projects Laurent -- Laurent Godard <[EMAIL PROTECTED]&

Re: [api-dev] Moving CoceSnippets into the Wiki?

2007-08-25 Thread Laurent Godard
://wiki.services.openoffice.org/wiki/API/Samples/StarBasic/Office/SpellChecker May be one should write a small guidelines on how edit/create a new snippet and teh basic copy/past information Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Ente

Re: [api-dev] Moving CoceSnippets into the Wiki?

2007-08-20 Thread Laurent Godard
for newcommers so that they can check the official documentation one other point is that our wiki is not suitable for translation and it is very important to lower the entry barrier Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com

Re: [api-dev] Moving CoceSnippets into the Wiki?

2007-08-17 Thread Laurent Godard
Hi tend to agree how would you organize this by sections ? don't understand what do you mean, can try to explain it again actually, snippets are classified by Tom by languages, by product (writer, calc ...) i think we should keep this classification laurent -- Laurent Godard &l

Re: [api-dev] Moving CoceSnippets into the Wiki?

2007-08-17 Thread Laurent Godard
be, a lightened version af teh snippet creator taht would create the Wiki-form of the snippet would be usefull ? Not mandatory for people wanting to contribute, but still usefull for newcommers ? any opinion ? Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.

Re: [api-dev] Draw imported graphic size

2007-07-18 Thread Laurent Godard
irect api to be used Thanks again, i let you know Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffice.or

[api-dev] Draw imported graphic size

2007-07-12 Thread Laurent Godard
ze currentSize = finalShape.getSize(); // width & height = 100 -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com -

Re: [api-dev] Is there an example for packaging macros as an extension somewhere ?

2007-07-10 Thread Laurent Godard
t Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffi

Re: [api-dev] Getting the TextFields directly of a table (Writer)

2007-06-13 Thread Laurent Godard
Hi Micheal But how can I access the content of the TextField in the cell?! Look at the anchors and compare their relative position with for example compareRegionEnds method Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Ente

Re: [api-dev] Introductionary information on scripting various OOo modules (meant for "OOo newbies") ...

2007-05-21 Thread Laurent Godard
HI you may perharps add a page in the extensions project http://wiki.services.openoffice.org/wiki/Extensions_development there are some entries for starting guides thanks for sharing this with us Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org -

Re: [api-dev] Specify the user installation while connection to OO from Java

2007-04-19 Thread Laurent Godard
ser 2 and so on. Any ideas how to manage that? make each user listen on a different port in the common.xcu ? see http://svn.nuxeo.org/trac/nuxeo/browser/org.nuxeo.ecm.platform.transform/trunk/plugins/ooo_autoListen for an example to setup this using an extension Laurent -- Laurent G

Re: [api-dev] external application getting OOo version number

2007-03-22 Thread Laurent Godard
the third number (build) Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffi

Re: [api-dev] external application getting OOo version number

2007-03-22 Thread Laurent Godard
ider" ) aParams2(0).Name = "nodepath" aParams2(0).Value = "/org.openoffice.Setup/Product" aSettings = aConfigProvider.createInstanceWithArguments( "com.sun.star.configuration.ConfigurationAccess", aParams2() ) RecupereVersionOOO=aSettings.getbyname("ooS

Re: [api-dev] about online dictionary

2007-02-13 Thread Laurent Godard
wnloadFile/attachedFile/OOoWikipedia-2.3.zip Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre &q

Re: [api-dev] [code snippet] Improve sorting capabilities

2007-02-09 Thread Laurent Godard
may have a loook at X-Ray from Bernard Marcelly http://wiki.services.openoffice.org/wiki/Extensions_development_basic#X-Ray_tool Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo

Re: [api-dev] [code snippet] Improve sorting capabilities

2007-02-09 Thread Laurent Godard
Hi stefan For me translating in english makes sens, at least, as proposed, the comment lines. I did that now, hopefully in understandable english, and sent an updated snip-File to the list. Thansk a lot !!! Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffi

Re: [api-dev] [code snippet] Improve sorting capabilities

2007-02-08 Thread Laurent Godard
if someone volunteers to translate to an other language, it can do it (an for example put it in the extension xiki ?) Anyway, thanks again for your snippet Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Mana

Re: [api-dev] [code snippet] Improve sorting capabilities

2007-02-06 Thread Laurent Godard
? any volunteer for translating ? (unfortunatelly, my german is far too old) Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmati

Re: [api-dev] Status bar API ?

2006-12-29 Thread Laurent Godard
ponse Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffice.or

Re: [api-dev] Status bar API ?

2006-12-28 Thread Laurent Godard
usbar") ac = real.accessiblecontext for i= 0 to ac.AccessibleChildCount-1 xray ac.getAccessibleChild(i) next i the question now is: can I add a nezw zone ? lets dig ... Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo En

[api-dev] Status bar API ?

2006-12-28 Thread Laurent Godard
Hi all is there any API for playing with the status bar and adding a text and/or an icon ? i do not speak about the progressbar but somewhere to put a an information about the document that is always visible Thanks in advance Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingé

Re: [api-dev] getCellAddress() returns garbage

2006-12-22 Thread Laurent Godard
Hi Andrew Yes, FC6 AMD64, standard distro, which means that it also includes the Novell stuff. may be the problem is related to this http://www.openoffice.org/issues/show_bug.cgi?id=71815 I relayed to Caolan Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffi

Re: [api-dev] getCellAddress() returns garbage

2006-12-22 Thread Laurent Godard
platform ? Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffice.org&quo

Re: [api-dev] [Announcement] Xray 5.2

2006-12-11 Thread Laurent Godard
t it as it is a wiki i won't have time today to correct this Thanks again Bernard Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre &q

Re: [api-dev] [Announcement] Xray 5.2

2006-12-11 Thread Laurent Godard
http://wiki.services.openoffice.org/wiki/Extensions_development_basic#X-Ray_tool Bernard, what do you think having an a-own page for Xray starting guide in the extensions wiki ? Thanks again Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesk

Re: [api-dev] Tutorials about framework user interface features

2006-12-07 Thread Laurent Godard
urent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffice.or

Re: [api-dev] Array - max elements number

2006-11-28 Thread Laurent Godard
nt #1, myArray(i) next i close #1 HTH Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffice.or

Re: [api-dev] Array - max elements number

2006-11-28 Thread Laurent Godard
i as Long Dim MaxIndex as Long is ok (the limit is then 2.147.483.647) Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmati

Re: [api-dev] Array - max elements number

2006-11-28 Thread Laurent Godard
erformances) sub readFile redim myArray(13) counter = 0 open "/home/lgodard/bigfile.txt" for input as #1 while not eof(1) line input #1, aLine counter = counter + 1 myArray(counter) = aLine wend close #1 pr

Re: [api-dev] Newbie inserting text where the cursor is (java)

2006-11-13 Thread Laurent Godard
ook for it? instead of playing with a Cursor, play with the ViewCursor object http://api.openoffice.org/docs/common/ref/com/sun/star/text/XTextViewCursorSupplier.html#getViewCursor Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo En

Re: [api-dev] possibility to make readonly/locked objects

2006-10-26 Thread Laurent Godard
Hi knut Is it possible to make single objects read-only, for example tables, bookmarks and paragraphs? you can embed them in sections that can be made read-only Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise C

Re: [api-dev] status of XGalleryThemeProvider

2006-10-20 Thread Laurent Godard
of say 1-2 weeks will have been passed, I'll finally publish the API for the next OOo minor-release/milestone. i'll relay this call as some french user may have some questions and requirements :) thanks a lot Kai Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénie

Re: [api-dev] iterating over text

2006-10-19 Thread Laurent Godard
up working with the old API. I second you in this request :) Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org Livre "Programmation OpenOffi

Re: [api-dev] status of XGalleryThemeProvider

2006-10-19 Thread Laurent Godard
this question ? a snippet is being created on a french user work basis discovering this api and using it but i do not want to advertize API that are not published and can be removed/modified without any warning so my question Thanks Laurent -- Laurent Godard <[EMAIL PROTECTED]> -

Re: [api-dev] UNO Command URLS

2006-10-16 Thread Laurent Godard
Hi Is the slots.sxc up to date? I tried serveral Command Urls out of this document which didn't seem to work (e.g. InsertRegion). you may have a look here http://www.openoffice.org/files/documents/25/2570/commandsReference.html Laurent -- Laurent Godard <[EMAIL PROTECTED]> -

[api-dev] status of XGalleryThemeProvider

2006-10-16 Thread Laurent Godard
Hi http://api.openoffice.org/docs/common/ref/com/sun/star/gallery/XGalleryThemeProvider.html is marked as unpublished are there any plan on this ? how long does something stay unbpublished ? thanks in advance Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org -

Re: [api-dev] Tweaking the api for performance

2006-10-13 Thread Laurent Godard
Hi kent did you have a oook at lockControllers and unlockControllers ? http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XModel.html#lockControllers Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise C

Re: [api-dev] How to assign keyboard shortcut to add-on menu

2006-10-13 Thread Laurent Godard
XAcceleratorConfiguration.setKeyEvent) and not by a XCU file ? Thank you if you can confirm this (in which case I feel a bit disapointed...). did you try to add a ~ in your string defining the menu ? Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com

Re: [api-dev] Calc: Switch DesignMode On/Off

2006-10-10 Thread Laurent Godard
Hi how to switch Design Mode on/off via macro in Calc? did you try thisComponent.ApplyFormDesignMode = true|false Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo

[api-dev] physical directory of an extension

2006-10-02 Thread Laurent Godard
work :( so i want to use ScriptProvider API (if it is more a udk question, feel free to tell it) thanks in advance Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps

Re: [api-dev] throw exception from OOo Basic

2006-09-29 Thread Laurent Godard
e if I can find some time. thanks :) Post it here, may be someone will find time doing it for you Thanks again Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps

Re: [api-dev] Obscure documentation (Was: [api-dev] insertnewbookmark)

2006-09-27 Thread Laurent Godard
27;ll be patient, so ... and perharps recall in 6 months, as usual ;) i stop any polemic thread here Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.o

Re: [api-dev] How use OpenOffice API from java without start up OO?

2006-09-27 Thread Laurent Godard
ffice frame. I thing this could be changed by alterating com.sun.star.comp.helper.Bootstrap.bootstrap(), that is, changing the way that xbootstrap is obtained or initialized. Can someone help me? did you try sunig Xvfb ? Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.

Re: [api-dev] Obscure documentation (Was: [api-dev] insertnewbookmark)

2006-09-26 Thread Laurent Godard
- translation - give examples in other programming language Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org Livre "Programmation OpenOff

Re: [api-dev] Announcement of the new Object Inspector

2006-09-22 Thread Laurent Godard
y few months ago in the IDE moreover, you can plug on IDL reference Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org Livre "Programmation Op

Re: [api-dev] Announcement of the new Object Inspector

2006-09-22 Thread Laurent Godard
nard could even do better if having proper objects as treviews available ;-) Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.or

[api-dev] DataArray magic

2006-09-20 Thread Laurent Godard
ach row then each row contains an array for each cell so a1:c1 has only one row --> ubound 0 try a ubound(oData(0)) you'll have 2 (a,b, and c) Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >>

Re: [api-dev] Calc : merge a cell range

2006-09-20 Thread Laurent Godard
there were an UNO slot fordispatcher, i would guess there are some solution already in the code so an api thanks for the response :( Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com

[api-dev] Calc : merge a cell range

2006-09-20 Thread Laurent Godard
B3 content in merged A3) thanks Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org Livre "Programmati

[api-dev] OOoCon meeting on Extensions Project

2006-09-07 Thread Laurent Godard
ed to involved project (Framework, installer, l10n ...) Feel free to add any point or comment on this schedule Thanks and see you on monday Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nux

Re: [api-dev] Unpublished UNO API

2006-08-18 Thread Laurent Godard
Hi stephan (Promoting this model does have the drawback that it will lead to extensions that work with some version of OOo but not with later ones, Huh this abslutely has to be avoided Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko &

Re: [api-dev] Unpublished UNO API

2006-08-17 Thread Laurent Godard
Hi again some precision anything that can be done there by exploring the source code and checks against the deprecated/unpublished status ? --> playing with the idl reference in the SDK Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesk

Re: [api-dev] Unpublished UNO API

2006-08-17 Thread Laurent Godard
Extensions designer if valuable (still do not know), dicussions may occur at here or better at [EMAIL PROTECTED] mailing list thanks again Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.co

Re: [api-dev] Gap analysis for OpenOffice.org awt toolkit API

2006-07-14 Thread Laurent Godard
possible) binding to datasource (a request) - windows that could be dockable like the stylist or the navigator - some auto-positioning (align to grid ?) of controls more if i think to something btw, i'll relay your call on french lists thanks again Laurent -- Laurent Godard <[EMAIL P

Re: [api-dev] SOLVED: Show a message box with the UNO based toolkit

2006-07-02 Thread Laurent Godard
about defining your example as class but may be it is useless (one can also think to enhacements like positionning) thanks for sharing this... in python :-) Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http

Re: [api-dev] Mapping of the UNO type "hyper" in StarBasic

2006-06-23 Thread Laurent Godard
y are compliant though Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org Livre "Progra

  1   2   3   >