[api-dev] Helper for XNameContainer implementation ?

2005-10-30 Thread cedric . bosdonnat . ooo
Hi all, I just wondered if there is a helper for the XNameContainer implementation. I wanted to use this interface, but I'll have many others to implement :( It would be good to use a helper configured with the type of the elements (when there is only one type). Thanks for your help, Cedric

Re: [api-dev] UNO/URE exercise for newcomers

2005-10-31 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, maybe you could break it a part and submit small pieces demonstrating things e.g. Bootstrapping, ... to our snippet collection which is found here: http://codesnippets.services.openoffice.org/ Tom [EMAIL PROTECTED] wrote: Hi all, I just

Re: [api-dev] UNO package setting keybindings

2005-10-31 Thread Jorge . Pelizzoni
How? Does anyone have an example that sets accelerators? Thanks anyway, Carsten! Jorge. Selon Carsten Driesner [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: Hi, all! Is it possible to have a UNO package assign to accelerator keys to some of its BASIC macros? I imagine this might go in

[api-dev] IsFieldDisplayed property

2005-10-31 Thread Fabricio Lemos
Hello! How can I access the value of the IsFieldDisplayed property of a com.sun.star.text.TextField? It would be very nice if the XTextField interface had the isFieldDisplayed method. thanks in advance, Fabrício Lemos - To

Re: [api-dev] Returnvalues from Macros

2005-10-31 Thread Rony G. Flatscher
would you have a Java rendering of that interesting code-snippets handy by any chance? ---rony Well, fulfilling my own request :) here's an example in Java of running a macro via the scripting framework: --- cut here -- class Test { public static void

Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-10-31 Thread Thomas Schindl
Hi, maybe I've missed something and but is ooRex a seperate scripting language and if yes should we add it to our snippet collection. Tom --- Ursprüngliche Nachricht --- Von: Rony G. Flatscher [EMAIL PROTECTED] An: dev@api.openoffice.org Betreff: Re: [api-dev] Returnvalues from Macros -

Re: [api-dev] IsFieldDisplayed property

2005-10-31 Thread Fabricio Lemos
I tried that. The only properties that appeared were: AnchorType AnchorTypes IsFixedLanguage IsShowFormula IsVisible NumberFormat TextWrap On 10/31/05, Stephan Wunderlich - Sun Germany - ham02 - Hamburg [EMAIL PROTECTED] wrote: Hi Fabricio, How can I access the value of the IsFieldDisplayed

Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-10-31 Thread Rony G. Flatscher
Hi Tom, maybe I've missed something and but is ooRex a seperate scripting language Yes! ooRexx is opensource and free and available pre-compiled for some Linuxes, Solaris and Windows; homepage: http://www.ooRexx.org. (It is set up to work with autotools, so building for additional

Re: [api-dev] IsFieldDisplayed property

2005-11-01 Thread Fabricio Lemos
Ok then. I just got lost because I saw the property at the api specification at [1], that doesn´t mention the 2.0.1 version; According to [2] , 2.0.1 will be released on November, 28th. I think I can wait :) Thank you a lot Stephan :) [1]

Re: [api-dev] IsFieldDisplayed property

2005-11-01 Thread Stephan Wunderlich - Sun Germany - ham02 - Hamburg
Hi Fabricio, Ok then. I just got lost because I saw the property at the api specification, that doesn´t mention the 2.0.1 version; seems the since-tag isn't evaluated when creating the documentation yet ... I wrote issue 57136 for that. Thank you a lot Stephan :) you are welcome :-)

Re: [api-dev] macro doesn't run

2005-11-01 Thread Stephan Wunderlich - Sun Germany - ham02 - Hamburg
Hi Douglas, I have a macro that calls a dialog. The dialog calls a 2nd macro. The 2nd macro doesn't run unless the macro editor is open. Is this the right place to seek guidance on this issue? If not, where should I look? works for me with OOo 2.0, well I changed your macro slightly, so

Re: [api-dev] macro doesn't run

2005-11-01 Thread Douglas Staas
It worked for me in OOo 2.0 for a short time as well. After closing and re-opening the file, that 2nd macro no longer gets called until I have opened the macro editor. If nobody else has ever had this problem, what can I do? I'm running Windows XP using VMware. The host operating system is Red

[api-dev] [EMAIL PROTECTED] REQUEST: unanswered questions

2005-11-01 Thread Michael Hoennig
Dear OpenOffice.org community, We really would like to see all questions answered, but we need your help to keep track of your questions and their answer status. Thus, if you still have a question unanswered for more than two days, feel free to place a reminder on the list. But maybe you should

Re: [api-dev] Re: [webmasters] Account is closed - dead link in SDK doc.

2005-11-02 Thread Jürgen Schmidt
Hi, you probably use an old SDK, the latest version of the SDK link to existing pages. I don't want to maintain necessary external binaries on api.openoffice.org and i don't want to inlcude them in the SDK because of any potential license issues, so links to sources where this tools can be

Re: [api-dev] IsFieldDisplayed property

2005-11-02 Thread Jürgen Schmidt
Stephan Wunderlich - Sun Germany - ham02 - Hamburg wrote: Hi Fabricio, Ok then. I just got lost because I saw the property at the api specification, that doesn´t mention the 2.0.1 version; seems the since-tag isn't evaluated when creating the documentation yet ... I wrote issue 57136 for

Re: [api-dev] updated Java and C++ UNO runtime reference

2005-11-02 Thread Jürgen Schmidt
Hi, the same is true for the IDL reference. The Developer's Guide has similar problems, it looks quite well in the SDK but online it is not really usable. I hope i find a solution soon Juergen Jürgen Schmidt wrote: Hi, i have updated the Java and C++ UNO runtime reference documentation on

Re: [api-dev] IsFieldDisplayed property

2005-11-02 Thread Jürgen Schmidt
Stephan Bergmann wrote: Fabricio Lemos wrote: Ok then. I just got lost because I saw the property at the api specification at [1], that doesn´t mention the 2.0.1 version; According to [2] , 2.0.1 will be released on November, 28th. I think I can wait :) Thank you a lot Stephan :) [1]

[api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Tom Schindl
Hi, keep me up to date about when ooRex-LanguageBinding is released offically. We should more generally discuss what languages should be avaible on the snippet-page. At the moment the following ones are available on the snippet-page: - OOBasic - C++ - Java - Python - XSL Others I'm aware of

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Jürgen Schmidt
Hi Tom, Tom Schindl wrote: Hi, keep me up to date about when ooRex-LanguageBinding is released offically. We should more generally discuss what languages should be avaible on the snippet-page. At the moment the following ones are available on the snippet-page: - OOBasic - C++ - Java -

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Laurent Godard
Hi jurgen, Hi tom I think we should concentrate on the most popular and offical languages supported in OO.org. But let us see how many snippets will be contributed for other currrently not supported languages. We can extend the page later as well. +1 And of course having the snippets

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Tom Schindl
Jürgen Schmidt wrote: Hi Tom, Tom Schindl wrote: Hi, keep me up to date about when ooRex-LanguageBinding is released offically. We should more generally discuss what languages should be avaible on the snippet-page. At the moment the following ones are available on the

Re: [api-dev] macro doesn't run

2005-11-02 Thread Douglas Staas
1: One other tidbit just came to mind. I'm not sure if this is relevant, but the 'record macro' off of the menus is always greyed out on my fresh install of OOo2.0 so I'm assuming this is a future feature. Is that an accurate assumption? 2: Anyway, as things stand right now, I remain unable to

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Rony G. Flatscher
Hi, keep me up to date about when ooRex-LanguageBinding is released offically. Will do. We should more generally discuss what languages should be avaible on the snippet-page. At the moment the following ones are available on the snippet-page: - OOBasic - C++ - Java - Python - XSL Others

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-02 Thread Rony G. Flatscher
Hi Jürgen, ... cut ... Which languages should we support? Which languages should not be supported? Should we maybe restructure our snippet-page not seperating our pages into programming languages but rather task. Jürgen already said that he'd like to have every snippet in every language. I

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-03 Thread Jürgen Schmidt
Rony G. Flatscher wrote: Hi Jürgen, ... cut ... Which languages should we support? Which languages should not be supported? Should we maybe restructure our snippet-page not seperating our pages into programming languages but rather task. Jürgen already said that he'd like to have every

Re: [api-dev] OO-Snippet-Page restructuring: was Re: [api-dev] Returnvalues from Macros - ooRexx example

2005-11-03 Thread Tom Schindl
Jürgen Schmidt wrote: Tom Schindl wrote: Jürgen Schmidt wrote: Hi Tom, [...] I like the idea with the tabs for the different languages and think that that would be realy cool to navigate. -Juergen I'll take a look how at it on the weekend. tom signature.asc Description: OpenPGP

[api-dev] Add menu to XTopWindow

2005-11-03 Thread Paolo Lacatena
Hi, I want add a menu to a window. In Developer's Guide 2.0 I read that XTopWindow interface has a method setMenuBar() but this is not usable at this time because XMenuBar interface is deprecated. However, on IDL reference XMenuBar is not signed as deprecated. Can I use it? What is the

Re: [api-dev] Returnvalues from Macros

2005-11-03 Thread G. Jasper
Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will help me. Greetings

[api-dev] SDK 2.0

2005-11-03 Thread Jorge . Pelizzoni
Hi, all! I am new to OOo 2.0 and would like to know if there is a specific SDK for this version or we should keep using SDK 1.1. In any case, are there undocumented new features? Where one could learn about those? Thanks in advance. Cheers, Jorge.

Re: [api-dev] macro doesn't run

2005-11-03 Thread Mathias Bauer
Douglas Staas wrote: 1: One other tidbit just came to mind. I'm not sure if this is relevant, but the 'record macro' off of the menus is always greyed out on my fresh install of OOo2.0 so I'm assuming this is a future feature. Is that an accurate assumption? Recording only works in Calc and

[api-dev] crash and PyUNO

2005-11-03 Thread Jorge . Pelizzoni
Hi, all! I am developing some python components to help iterating and updating text respecting its original format transparently. They abstract away where each piece of text comes from (TextTables, Footnotes, regular Paragraphs) its font properties (i.e., allow treating sequences of TextPortions

Re: [api-dev] crash and PyUNO

2005-11-03 Thread Jorge . Pelizzoni
By the way, I do something in my python package that I am not very sure about. It works and just doing differently wouldn't be of much use because I don't know how to controlledly reproduce the crash. 1 - I provide a service that creates text iterators. The text iterators are not themselves

[api-dev] New document type information

2005-11-04 Thread Paolo Lacatena
Hi All, We are going to develop an open source application to design and run business workflow and we are going to use OpenOffice.org suite as document editor. We belive that maybe interesting to develop our application as an extension of OOo suite; so we could create a new document type to do

[api-dev] CSV file opens a write document

2005-11-04 Thread Andrew Douglas Pitonyak
I am writing an extensive database and macro document here: http://www.pitonyak.org/database/OOoBaseBinaryFields.odt I have a macro that demonstrates how to connect to flat files using macros. My macro generates the data, loads the data into a Calc document using the scalc: Text - txt - csv

Re: [api-dev] SDK 2.0

2005-11-04 Thread Jürgen Schmidt
[EMAIL PROTECTED] wrote: Thanks, Jürgen! The best I could get is http://download.openoffice.org/680/sdk.html, but by means of the search mechanism only ;o) There seems to be no link from the main page. i hope this sides will be updated soon. The whole navigation to the SDK is bad. I will

Re: [api-dev] New document type information

2005-11-04 Thread Mathias Bauer
Paolo Lacatena wrote: Hi All, We are going to develop an open source application to design and run business workflow and we are going to use OpenOffice.org suite as document editor. We belive that maybe interesting to develop our application as an extension of OOo suite; so we could create

Re: [api-dev] SDK 2.0

2005-11-04 Thread Mathias Bauer
[EMAIL PROTECTED] wrote: Thanks, Jürgen! The best I could get is http://download.openoffice.org/680/sdk.html, but by means of the search mechanism only ;o) There seems to be no link from the main page. Anyway, the ftp sites don't provide a version for Windows (yet). Or are we supposed to

Re: [api-dev] Returnvalues from Macros

2005-11-05 Thread Alexander Peters
G. Jasper wrote: Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will

Re: [api-dev] Returnvalues from Macros

2005-11-05 Thread Alexander Peters
G. Jasper wrote: Alexander Peters wrote: Hello! I use OLE to connect to OpenOffice.org Writer and want to get Returncodes from Macros which i execute with a dispatcher. How can i make this? Or is there an other way to execute macros to get a returnvalue? Any Codesnip in any language will

Re: [api-dev] CSV file opens a write document

2005-11-05 Thread Paolo Mantovani
Hi Andrew, Alle 14:12, venerdì 4 novembre 2005, Andrew Douglas Pitonyak ha scritto: I am writing an extensive database and macro document here: http://www.pitonyak.org/database/OOoBaseBinaryFields.odt Wow! the ooBase bible! Great work! I have a macro that demonstrates how to connect to flat

Re: [api-dev] Port SDK to Mac OS X

2005-11-07 Thread Tom Schindl
This will be not enough in the future with the support of nativ einstaller for the SDK. When the cws sdkinstaller is integrated you have to build instsetoo_native as well. Move into the directory instsetoo_native/util and run dmake sdkoo. This target builds a native installer for the SDK

[api-dev] State of OOo Multi Threading

2005-11-08 Thread Kay Ramme - Sun Germany - Hamburg
Hi guys, some of you might be interested in OOo multi threading. We prepared a first document, mainly listing what we think the issues are. You can find it here: http://udk.openoffice.org/files/documents/23/3029/OOo_multi_threading__status_0_3.odt Agreeing on these issues is just the first

Re: [api-dev] macro doesn't run

2005-11-08 Thread Douglas Staas
What do you mean by provide for disposal when the document is closed? Where could I find this in the documentation? Le vendredi 04 novembre 2005 à 20:00 +, Douglas Staas a écrit : Hi, I have a Draw file open. Then I open the Draw file that has my macros. The resulting dialog

Re: [api-dev] SDK 2.0

2005-11-08 Thread Cristian Fonti
I think there isn't (yet) a version for Windows.. For Windows there is only the URE... Mathias Bauer ha scritto: [EMAIL PROTECTED] wrote: Thanks, Jürgen! The best I could get is http://download.openoffice.org/680/sdk.html, but by means of the search mechanism only ;o) There seems to be

Re: [api-dev] Incomplete stack trace

2005-11-08 Thread Stephan Bergmann
Fabricio Lemos wrote: Why doesn´t the stack trace of exceptions thrown by the api indicate which line of code that called the api method that threw the exception? That has been fixed for OOo 2.0. I assume you are using an older version. -Stephan For example: I have a code that threw a

Re: [api-dev] macro doesn't run

2005-11-08 Thread Douglas Staas
Wow. I sent this yesterday morning. It took 24 hours to get out? What do you mean by provide for disposal when the document is closed? Where could I find this in the documentation? Le vendredi 04 novembre 2005 à 20:00 +, Douglas Staas a écrit : Hi, I have a Draw file

Re: [api-dev] OpenOffice 1.1.4 (end prior) in OfficeBean exits when using help

2005-11-08 Thread Kay Ramme - Sun Germany - Hamburg
Hi Juergen, could you give some more details? E.g. - platform - desktop - exact version Independent of that, does vanishing mean that the process terminates? Or is it just closing all windows? If it terminates, which seems to be unexpected, could you attach a debugger to see what's going

Re: [api-dev] Incomplete stack trace

2005-11-08 Thread Fabricio Lemos
Yes I was. Just changed to 2.0.0 and it´s ok now. Thank you, Stephan. On 11/8/05, Stephan Bergmann [EMAIL PROTECTED] wrote: Fabricio Lemos wrote: Why doesn´t the stack trace of exceptions thrown by the api indicate which line of code that called the api method that threw the exception?

Re: [api-dev] SDK 2.0

2005-11-08 Thread Mathias Bauer
Cristian Fonti wrote: I think there isn't (yet) a version for Windows.. For Windows there is only the URE... Correct. I already sent a complaint to the responsible people. It was promised to change it ASAP. Whatever this means. :-) Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application

Re: [api-dev] Port SDK to Mac OS X

2005-11-09 Thread Aurelien Chanudet
Hi Christian Jürgen, And thanks for these explanations. I have OO 1.9m121 installed (thanks to Fink). Should I look for any particular version of the SDK matching the version of OO I have (and if so, where do I retrieve the source from) ? What version of OO / OO SDK are you guys using ? Thanks,

[api-dev] Re: [udk-dev] State of OOo Multi Threading

2005-11-09 Thread Kay Ramme - Sun Germany - Hamburg
Hi, I updated the document to v0.4. http://udk.openoffice.org/files/documents/23/3029/OOo_multi_threading__status_0_4.odt Changes: - Added multi threaded office crasher example. - Changed some wording. - Added list of open tasks to finalize the document. Kay Kay Ramme - Sun Germany -

Re: [api-dev] SDK 2.0

2005-11-09 Thread Christian Junker
Hi Christian, on Stardiv it's http://ftp.stardiv.de/pub/OpenOffice.org/contrib/rc/2.0.0rc2/OOo_2.0.0rc2_051005_Win32Intel_sdk.zip 2005/11/9, Cristian Fonti [EMAIL PROTECTED]: I look to the stardiv.de but i don't find a Window OOo2.0 SDK... Someone have the correct link?? Thanks -- Best

[api-dev] Java: drag and drop with integrated OpenOffice.org on linux

2005-11-10 Thread Andreas Bröker
Hello, we have integrated OpenOffice.org into the eclipse platform. Everything works great - but on linux (gtk) the drag and drop (normal text transfer) does not work. If we try to move a text section within OpenOffice.org the systems waits a few seconds - and nothing more happens. Any idea

Re: [api-dev] macro doesn't run

2005-11-10 Thread Mathias Bauer
Douglas Staas wrote: My questions keep piling up. If this isn't the right place to ask them, where should I seek answers/useful documentation? If this is the right place to ask them, what do I need to do to engage in a dialog about these issues? It's the right place here, but maybe nobody

Re: [api-dev] macro doesn't run

2005-11-10 Thread Mathias Bauer
Douglas Staas wrote: I'm still not sure if I understood you correctly. Here are the steps to recreate this situation. Let me know if something isn't clear. 1: open some other OO doc 2: open my binder covers template OO doc 3: the macro that runs on the open event (PromptForValues)

[api-dev] Seeking code-snippets or hints for ...

2005-11-11 Thread Rony G. Flatscher
Hi there, maybe with a little luck there may be people on this list who have created already code (or know which corners to use) that I would be seeking and are kind enough to make it available or point to it. Any language is fine! This is what I would be interested in to achieve

Re: [api-dev] Seeking code-snippets or hints for ...

2005-11-11 Thread Daniel Boelzle
Hello Rony G., This is what I would be interested in to achieve programmatical (using ultimately Java): 1. Register a package programmatically (programmatic counterpart of: Tools - Package Manager, querying and adding a package to My Packages), Use the UNO deployment API,

Re: [api-dev] Seeking code-snippets or hints for ...

2005-11-11 Thread Jürgen Schmidt
Rony G. Flatscher wrote: Hi Daniel, first of all: thank you *very* much for your kind and quick answer, which I think will help me a lot! 2. adding a Java Classpath entry to OOo (programmatic counterpart of: Tools - Options - Java - Class Path), A clean extension would refer

Re: [api-dev] Seeking code-snippets or hints for ...

2005-11-11 Thread Carsten Driesner
Hi Rony, A shutdown ought not be necessary, at least not for components, Basic scripts, type libraries etc. UI configuration may be problematic, because not all instances inside a running OOo process react on configuration changes. A restart is not necessary for user interface changes

[api-dev] Info about Mail modules

2005-11-11 Thread Alexandro Colorado
I want to learn more about the mail interface for openoffice.org, I found some information bit is a bit narrow, where can I find more information like developers working on it, dependencies and how can I call them from a programming enviroment. The current info is here:

Re: [api-dev] Add menu to XTopWindow

2005-11-11 Thread Carsten Driesner
Paolo Lacatena wrote: Hi, I want add a menu to a window. In Developer's Guide 2.0 I read that XTopWindow interface has a method setMenuBar() but this is not usable at this time because XMenuBar interface is deprecated. However, on IDL reference XMenuBar is not signed as deprecated. Can I use

Re: [api-dev] Info about Mail modules

2005-11-11 Thread Alexandro Colorado
On Fri, 11 Nov 2005 16:44:48 -, Mathias Bauer [EMAIL PROTECTED] wrote: Alexandro Colorado wrote: I want to learn more about the mail interface for openoffice.org, I found some information bit is a bit narrow, where can I find more information like developers working on it, dependencies

Re: [api-dev] New document type information

2005-11-11 Thread Paolo Lacatena
Mathias Bauer wrote: Paolo Lacatena wrote: Hi All, We are going to develop an open source application to design and run business workflow and we are going to use OpenOffice.org suite as document editor. We belive that maybe interesting to develop our application as an extension of OOo

Re: [api-dev] macro doesn't run

2005-11-11 Thread Douglas Staas
How did you prove that the macro didn't run? Because nothing happened. The macro is supposed to change text in the Draw file and display a graphic. Also, the print 'hallo' line doesn't run. The macro is not called. This is a case where running the same code with the same input results in

Re: [api-dev] macro doesn't run

2005-11-11 Thread Douglas Staas
Thanks to Paolo and everyone else who's offered ideas. Paolo's fix worked. 11.3.3 appears to be very general. I don't see how it applies to this specific scenario. Then again, perhaps understanding the difference between an OK button and a Default type button would help. If so, where could I

Re: [api-dev] macro doesn't run

2005-11-11 Thread Douglas Staas
Ok, so due to the rescheduling of threads, sometimes an OK button's events get fired as expected and sometimes the dialog is closed before those events get run? Does this mean that binding code to OK button events is generally a bad idea with Open Office? I'm just trying to understand. This

Re: [api-dev] macro doesn't run

2005-11-11 Thread Andrew Douglas Pitonyak
In my opinion, yes. If you want the default behavior, then do not attache anything else to it, otherwise, do it all in your own code. Douglas Staas wrote: Ok, so due to the rescheduling of threads, sometimes an OK button's events get fired as expected and sometimes the dialog is closed

Re: [api-dev] Info about Mail modules

2005-11-11 Thread Mathias Bauer
Alexandro Colorado wrote: On Fri, 11 Nov 2005 16:44:48 -, Mathias Bauer [EMAIL PROTECTED] wrote: Alexandro Colorado wrote: I want to learn more about the mail interface for openoffice.org, I found some information bit is a bit narrow, where can I find more information like

Re: [api-dev] Info about Mail modules

2005-11-12 Thread Marc Santhoff
Am Samstag, den 12.11.2005, 08:46 +0100 schrieb Mathias Bauer: Alexandro Colorado wrote: [...] XSmtpService(http://api.openoffice.org/docs/common/ref/com/sun/star/mail/XSmtpService.html) Represents a SMTP service abstraction. At least for the Send document as mail we don't use this

Re: [api-dev] Info about Mail modules

2005-11-12 Thread Alexandro Colorado
On Sat, 12 Nov 2005 08:09:51 -, Marc Santhoff [EMAIL PROTECTED] wrote: Am Samstag, den 12.11.2005, 08:46 +0100 schrieb Mathias Bauer: Alexandro Colorado wrote: [...] XSmtpService(http://api.openoffice.org/docs/common/ref/com/sun/star/mail/XSmtpService.html) Represents a SMTP

[api-dev] Probleme with Ole2shape

2005-11-13 Thread Didier Dorange-Pattoret
Hello everibody, I get an error with : Sub Essai28 oDocument =Thiscomponent oVecteur = oDocument.createInstance(com.sun.star.drawing.OLE2Shape) End Sub under OOo2.0 et non under 1.1.x What is wrong ? Is it a bug ? -- Didier Dorange-Pattoret http://www.dmaths.org http://sesamath.net

Re: [api-dev] New document type information

2005-11-14 Thread Mathias Bauer
Paolo Lacatena wrote: We saw com.sun.star.document.OfficeDocument and com.sun.star.frame.Controller in the Developer's Guide and IDL Reference. We haven't got problem about com.sun.star.document.OfficeDocument. About com.sun.star.frame.Controller we have some questions: how the user

Re: [api-dev] how to select an object?

2005-11-14 Thread Niklas Nebel
Douglas Staas wrote: Or more to the point, how can I determine a graphic's original aspect ratio? Get the Graphic from the GraphicObjectShape (property Graphic). Depending on its type (pixel or vector), it has the content's size in pixels or 1/100 mm (see service

Re: [api-dev] UNO package setting keybindings

2005-11-14 Thread Carsten Driesner
[EMAIL PROTECTED] wrote: How? Does anyone have an example that sets accelerators? Hi Jorge, here is a little Basic example on how to set accelerators. REM * BASIC * REM *** Example to set a keyboard shortcut with the new ui configuration API Sub Main REM *** Initialize

Re: [api-dev] Problem adding a keyboard shortcut by API's

2005-11-14 Thread Paolo Mantovani
Alle 13:44, lunedì 14 novembre 2005, Paolo Mantovani ha scritto: Hi all, As from subject, I cannot manage to add a keyboard shortcut (in Writer) via StarBasic code. Below my testing code What am I missing? OPZ... :-) looking to Carsten Driesner's example (on the thread [api-dev] UNO package

[api-dev] codesnippets site error

2005-11-14 Thread Laurent Godard
hi all, hi thomas i encountered an error on the code snippet databasde Office OOoBasic p s of form-elements http://codesnippets.services.openoffice.org/Office/Office.FormsControlSize.snip does not work , but is listed p s : what does it mean ? HTH Laurent -- Laurent Godard [EMAIL

Re: [api-dev] codesnippets site error

2005-11-14 Thread Paolo Mantovani
Hi Laurent, Alle 15:11, lunedì 14 novembre 2005, Laurent Godard ha scritto: hi all, hi thomas i encountered an error on the code snippet databasde Office OOoBasic p s of form-elements http://codesnippets.services.openoffice.org/Office/Office.FormsControlSize. snip does not work , but is

[api-dev] Two little suggestions ad http://codesnippets.services.openoffice.org/snippet.dtd

2005-11-15 Thread Rony G. Flatscher
Hi there, two short remarks on http://codesnippets.services.openoffice.org/snippet.dtd. ATTLIST for ELEMENT "snippet": Starting with OOo 2.0 there are two officially supported scripting languages missing from the valid values for the "language" attribute: "BeanShell" and

[api-dev] Documentation URL

2005-11-15 Thread Paolo Lacatena
Hi all, I find in some documents downloaded from the framework project links like spec://framework.openoffice.org/framework/Dispatches or spec://framework.openoffice.org/framework/FrameTargeting Where can I find it? Thanks Paolo Lacatena

Re: [api-dev] Two little suggestions ad http://codesnippe ts.services.openoffice.org/snippet.dtd

2005-11-15 Thread Thomas Schindl
two short remarks on http://codesnippets.services.openoffice.org/snippet.dtd. * ATTLIST for ELEMENT snippet: o Starting with OOo 2.0 there are two officially supported scripting languages missing from the valid values for the language attribute:

[api-dev] macro graphics handling is wonky

2005-11-15 Thread Douglas Staas
Attached is my newest binder cover Draw file. It prompts the user for a client logo and it displays the image in 4 locations. Sometimes all 4 locations are updated, sometimes 1, sometimes 2, 3 or ever zero. When less then 4 locations are updated, you can save the file, close it, reopen it and

Re: [api-dev] macro graphics handling is wonky

2005-11-15 Thread Douglas Staas
When I put a breakpoint at the line that resets the graphic's URL, step over it and switch back to Draw (from the macro editor), the code runs fine. Perhaps I need some sort of a refresh in my code? Hopefully this tidbit/hunch shines a brighter light on this. Any insights? thanks doug

[api-dev] vim.rex already in vim! (Re: [api-dev] Two little suggestions ad http://codesnippets.services.openoffice.org/snippet.dtd

2005-11-15 Thread Rony G. Flatscher
Hi Tom, 3. Adding new languages Only adding them to the snippet-DTD is not enough we also have to provide Syntax-Highlighting for those languages which means creating VIM-Highlight-File which knows how to highlihgt syntax Where can one find examples for

Re: [api-dev] macro graphics handling is wonky

2005-11-15 Thread Andrew Douglas Pitonyak
Douglas Staas wrote: Attached is my newest binder cover Draw file. It prompts the user for a client logo and it displays the image in 4 locations. Sometimes all 4 locations are updated, sometimes 1, sometimes 2, 3 or ever zero. When less then 4 locations are updated, you can save the file,

Re: [api-dev] disposing of macros

2005-11-15 Thread Andrew Douglas Pitonyak
Douglas Staas wrote: i'm reposting this question: What is meant by provide for disposal when the document is closed? Where could I find this in the documentation? Well, where did you read this? It is not possible to answer without context. No wait, I just ran a GOOGLE search on the

Re: [api-dev] disposing of macros

2005-11-15 Thread Andrew Douglas Pitonyak
I was able to extract one attachement from this email, so I took a look at it. I noticed a few unusual things. Consider the OK button. The OK Button is listed as type OK button, NOT as a default button. Because of this, when you click on the button, an event is automatically fired, that will

[api-dev] HTML and Spreadsheet

2005-11-16 Thread Rudolf Huber
Hello, I am trying to get the following routine with the functions HTTP and Spreadsheet to run under OOo 1.1.4. Neither the HTML- nor the CSV-filter-options function. When I look at the spreadsheet I see no link; however, when I check the menue Edit-Sheet-Select the sheet names show the LINK for

Re: [api-dev] HTML and Spreadsheet

2005-11-16 Thread Rudolf Huber
Hello Niklas, Thank you for the prompt answer. I changed NONE to NORMAL and I set the parameter LINK to spaces. The routine seems to make an effort to get the sheet; however, after a short time to system asks me to send an error report to SUN. This I did not do yet. Maybe you have another idea.

Re: [api-dev] HTML and Spreadsheet

2005-11-16 Thread Mathias Bauer
Rudolf Huber wrote: Hello Niklas, Thank you for the prompt answer. I changed NONE to NORMAL and I set the parameter LINK to spaces. The routine seems to make an effort to get the sheet; however, after a short time to system asks me to send an error report to SUN. This I did not do yet.

Re: [api-dev] disposing of macros

2005-11-16 Thread Andrew Douglas Pitonyak
Douglas Staas wrote: The button also has some events tied to things such as key press and mouse click. I have since changed this. I removed the event bindings and simply call the code like so: If oDialog.Execute() = 1 Then SetAllText() End If Also, you hit the nail on the

Re: [api-dev] macro graphics handling is wonky

2005-11-16 Thread Andrew Douglas Pitonyak
I appreciate being able to see some code :-) Still did not get enough sleep. I sent a birth anouncement by email to family and friends before going to bed and then I started to receive telephone call after telephone call until late into the night. So, my mind is a bit clouded. I sometimes read

Re: [api-dev] OOo as a Linux service

2005-11-17 Thread Alexandro Colorado
On Thu, 17 Nov 2005 18:51:50 -, André Limaverde [EMAIL PROTECTED] wrote: I want to run soffice.bin as a Linux service so I can use the API. For now I run soffice.bin -invisible in a terminal, but I want to run this during the boot. I've tried to put this in /etc/inittab, rc.local etc.

Re: [api-dev] OOo as a Linux service

2005-11-17 Thread Christoph Neumann
Hi Andre, the office needs an X. That is the problem. You can use Xfvb as X-Server. Hope that helps, Christoph André Limaverde schrieb: I want to run soffice.bin as a Linux service so I can use the API. For now I run soffice.bin -invisible in a terminal, but I want to run this during the

Re: [api-dev] OOo as a Linux service

2005-11-17 Thread Alexandro Colorado
Can you run it as the Xsession starts? You can configure your startup to run it everytime you login. On Thu, 17 Nov 2005 19:06:53 -, Christoph Neumann [EMAIL PROTECTED] wrote: Hi Andre, the office needs an X. That is the problem. You can use Xfvb as X-Server. Hope that helps,

Re: [api-dev] OOo as a Linux service

2005-11-17 Thread Sven Zenker
Hi, to run OOo in server mode (without an actual X server running on your screen), you have to take a few more steps since OOo needs an X server even when in headless/invisible mode, at least this used to be the case up to the 1.9.x versions. Don't know about 2.0. So what you need to do (this

Re: [api-dev] OOo as a Linux service

2005-11-17 Thread André Limaverde
I've tried to run it in /etc/inittab with runlevel 5. But this didn't work. I just want to get this working after the X starts and before the login. It is possible? 2005/11/17, Alexandro Colorado [EMAIL PROTECTED]: Can you run it as the Xsession starts? You can configure your startup to run

Re: [api-dev] OOo as a Linux service

2005-11-17 Thread Laurent Godard
HI andré, Yes. In fact the command line that I use is: soffice.bin -invisible -accept=socket,host=localhost,port=8100;urp; add the -headless switch perharps also -norestore if needed and redirect it on the right display Laurent -- Laurent Godard [EMAIL PROTECTED] - Ingénierie

[api-dev] [EMAIL PROTECTED] GUIDE: important things to know about this mailing list

2005-11-17 Thread Michael Hoennig
Dear OpenOffice.org community, This is the monthly reminder of important things to know about the dev@api.openoffice.org mailing list. We, the project leads of the OOo API project, would like to give you some general information to help you with your questions. ***

[api-dev] [EMAIL PROTECTED] REQUEST: unanswered questions

2005-11-19 Thread Michael Hoennig
Dear OpenOffice.org community, We really would like to see all questions answered, but we need your help to keep track of your questions and their answer status. Thus, if you still have a question unanswered for more than two days, feel free to place a reminder on the list. But maybe you should

[api-dev] Little update: a rexx.vim that supports the ooRexx extensions... (Re: [api-dev] Two little suggestions ad http://codesnippets.services.openoffice.org/snippet.dtd

2005-11-20 Thread Rony G. Flatscher
Hi Tom, If you are running Linux you could search for: *.vim-Files on my debian it's in: /usr/share/vim/vim64/syntax The OOBasic(altough not perfect because derived from basic.om) file is in the cvs and can be found here in cvs where the snippet page resides:

<    5   6   7   8   9   10   11   12   13   14   >