Re: [dev] Spreadsheet Add-Ins and Java

2005-03-29 Thread Jürgen Schmidt
Hi, you should take a look into the DevGuide and the SDK examples. In the DevGuide you find a section where calc add-ins are explained in details and in the SDK you will find working examples. Juergen Ary Junior wrote: Hi, Im trying to create a add-in function with Java that gets the value of a

[dev] Gulls in SVG

2005-03-29 Thread Christian Zwahlen
Hi, Where can I find the normal gulls in svg, and OOo 2.0 icons in svg? Regards Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[dev] C++: Bad interdependencies between certain types and templates

2005-03-29 Thread Stephan Bergmann
Hi all, Caolan recently brought to our attention that GCC 4 will probably be quite picky about certain C++ constructs, more so than any other known compiler, and probably beyond practicability. The problem is that certain types (14.3.1/2: "A local type, a type with no linkage, an unnamed type o

Re: [dev] Spreadsheet Add-Ins and Java

2005-03-29 Thread Niklas Nebel
Ary Junior wrote: Hi, Im trying to create a add-in function with Java that gets the value of a cell in a Spreadsheet document, query values on my DB and sets the results in a cell range of this same document. My question is: How can I get the reference of a com.sun.star.sheet.XSpreadsheetDocumen

Re: [dev] Non-modal dialogs was Adding Menu command to "File" menu & Creating toolbar dropdowns.

2005-03-29 Thread Ian Laurenson
On Tue, 2005-03-29 at 19:12, Laurent Godard wrote: > Hi Ian > > I would really like to know how you created a non-modal dialog. Is it > > possible to see the code? > > It is tricky ... > > Basically > set the dialog visible property to true > set listeners > set a boolean global variable endDialo

Re: [dev] Adding Menu command to "File" menu & Creating toolbar dropdowns.

2005-03-29 Thread Carsten Driesner
Brian Raymond wrote: Mathias Bauer wrote: This requires the new menu configuration API of OOo2.0. I took some sample code from an earlier mailing list post that was pointed out to me on the forums (thanks DannyB) and modified it to add something to the file menu. I tried with both m79 and m87 and

Re: [dev] Adding Menu command to "File" menu & Creating toolbar dropdowns.

2005-03-29 Thread Brian Raymond
On 3/29/05 6:39 AM, "Carsten Driesner" <[EMAIL PROTECTED]> wrote: > Hi Brian, > > Yes, the code works exactly how you have changed it. Your code changes > the changed configuration again and again, that's why you can see more > than one file menu (see the two insertByIndex). > > The example you

Re: [dev] Install-Macros on OO2

2005-03-29 Thread Jürgen Schmidt
Hi Helmut, in the DevGuide you will find a chapter about UNO packages and how to deploy them (unopkg). The SDK comes with a lot of component examples, showing how to create UNO packages (C++/Java components, script library, BASIC library), and how these packages can be deployed. Once created su

[dev] Restricting portions of config to admins only?

2005-03-29 Thread Brian Raymond
I wanted to see if anyone had any input on this. I've seen some good data on how to make a custom schema for configuration data for my component but no way to restrict access to it. I'm implementing some custom configuration properties for my component that should only be changed by administrators

Re: [dev] C++: Bad interdependencies between certain types and templates

2005-03-29 Thread Thorsten Behrens
Stephan Bergmann <[EMAIL PROTECTED]> writes: > ), > > [...] > > The morale? Well, I am not sure. Stop using C++, as it is not a > language you want to mess around with; bite the bullet and avoid > unnamed and local enums; maybe it

Re: [dev] Gulls in SVG

2005-03-29 Thread Christian Zwahlen
Hi, You can find the gulls on http://www.openoffice.org/issues/show_bug.cgi?id=43862 Regards Christian Zwahlen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[dev] Does 'python macro' function depend on JRE?

2005-03-29 Thread Jeongkyu Kim
Hello, I wonder if there is dependency between python macro and JRE. Do we need JRE to run python macro? -Jeongkyu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [dev] Gulls in SVG

2005-03-29 Thread Daniel Carrera
Thanks Christian! Cheers, Daniel. On Tue, Mar 29, 2005 at 09:11:05PM +0200, Christian Zwahlen wrote: > Hi, > > You can find the gulls on > http://www.openoffice.org/issues/show_bug.cgi?id=43862 > > Regards > > Christian Zwahlen > > > -

Re: [dev] Does 'python macro' function depend on JRE?

2005-03-29 Thread Daniel Carrera
I'm pretty sure that you do not. Ask at dev@udk.openoffice.org Cheers, Daniel. On Tue, Mar 29, 2005 at 12:07:57PM -0800, Jeongkyu Kim wrote: > Hello, > > I wonder if there is dependency between python macro > and JRE. Do we need JRE to run python macro? > > -Jeongkyu > > --

[dev] Question regarding new Java wizards in OOo 2.0

2005-03-29 Thread Brian Raymond
I'm currently looking at designing a multi-pane wizard for my component because I need to allow the user to select a whole list of different options which could insert/strip text, etc. before saving a document. This allows me to explain to them what they are doing screen by screen and hopefully mak

Re: [dev] Does 'python macro' function depend on JRE?

2005-03-29 Thread Jeongkyu Kim
--- Daniel Carrera <[EMAIL PROTECTED]> wrote: > I'm pretty sure that you do not. Ask at > dev@udk.openoffice.org > > Cheers, > Daniel. > Daniel, Thanks for your information. I posted my question to udk list. -Jeongkyu - To

Re: [dev] Opening SYLK from Java code

2005-03-29 Thread Chris
Eike Rathke wrote: Hi Chris, On Wed, Mar 16, 2005 at 09:25:52 +1100, Chris wrote: If I set the convertor to be SYLK then the Java code, xstorable.storeAsURL(url, propertyvalue) throws an IOException. Is there some other trick involved? Does it work if you use the storeToURL() method inste

Re: [dev] Opening SYLK from Java code

2005-03-29 Thread Brian Raymond
On 3/29/05 5:25 PM, "Chris" <[EMAIL PROTECTED]> wrote: >>If I set the convertor to be SYLK then the Java code, >>xstorable.storeAsURL(url, propertyvalue) throws an IOException. Is there >>some other trick involved? >> >> Here are a couple of possibilities. If you are trying to overwrite an

Re: [dev] Question regarding unused code removal

2005-03-29 Thread Matt Prazak
I ended up writing a short Bourne shell script that does the best I know how to do when looking at just the binaries in the program/ directory. While there is no guarantee that the reported symbols are completely unused, they are clearly canidates for the *_DLLPRIVATE macros. Once made private,

Re: [dev] Question regarding new Java wizards in OOo 2.0

2005-03-29 Thread Jürgen Schmidt
Hi Brian, if the Java look and feel for your dialog would be ok, you can simply use swing or awt and can use it directly from your component. If you prefer the same look and feel as the office then it is definitely more work. You can either combine Basic (Basic dialogs + some macros) and your J