Re: [dev] Specifications - summary suggestions ...

2006-11-13 Thread Michael Meeks
Hi Joerg, On Tue, 2006-11-07 at 12:40 +0100, Joerg Sievers wrote: + specifications are critical for (at a minimum): + file formats + complex / unfamiliar behaviours + behaviour changes affecting other's work (e.g. the automated gui testing is extremely dependent to the basics

Re: [dev] Unicode---Give us all of it!

2006-11-13 Thread Stephan Bergmann
Niklas Nebel wrote: Philipp Lohmann - Sun Germany wrote: Wouldn't that be more or less any occurence of sal_Unicode? There's hundreds of them in Calc alone. That depends probably on the details. If for example you are searching for ansi1252 code characters in a unicode string (e.g. '/' for

Re: [dev] Bad PRJNAMEs

2006-11-13 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Stephan, Attached are two quick and dirty scripts that worked for me (within Hamburg build environment on a Linux box) to find all the places where PRJNAME is probably set wrongly (see below). Feel free to fix those you feel responsible for. In case nobody already volunteered to fix

[dev] updating database form controls on events

2006-11-13 Thread tofergus
what i'm looking to do is pretty obvious stuff but really struggling to find a way. basically i have a database form that i want to insert a combobox into. that combobox will contain entries from a database field. those steps are easy via the oobase2 interface. next i want call out to a java

Re: [dev] Unicode---Give us all of it!

2006-11-13 Thread Niklas Nebel
Stephan Bergmann wrote: I doubt that it is that many places that need to be changed. (For example, what do you think needs to be done for text import/export?) The obvious changes for text import: - Separator characters are user-supplied, so they can no longer be handled as a sal_Unicode. -

Re: [dev] Bad PRJNAMEs

2006-11-13 Thread Stephan Bergmann
Frank Schönheit - Sun Microsystems Germany wrote: Hi Stephan, Attached are two quick and dirty scripts that worked for me (within Hamburg build environment on a Linux box) to find all the places where PRJNAME is probably set wrongly (see below). Feel free to fix those you feel responsible

Re: [dev] Unicode---Give us all of it!

2006-11-13 Thread Stephan Bergmann
Michael Meeks wrote: [...] Use sal_uInt32 to represent individual Unicode encoded characters and add any necessary base functionality to rtl::OUString (e.g., operating on the individual Unicode encoded characters represented by an instance of rtl::OUString). There's no chance then of

Re: [dev] Unicode---Give us all of it!

2006-11-13 Thread Stephan Bergmann
Niklas Nebel wrote: Stephan Bergmann wrote: I doubt that it is that many places that need to be changed. (For example, what do you think needs to be done for text import/export?) The obvious changes for text import: - Separator characters are user-supplied, so they can no longer be handled

[dev] Loading an unregistered CSV-database in OOo-Basic

2006-11-13 Thread Daniel Albuschat
Hello, my goal is to load an unregistered CSV-database in an OOo-Basic script, but so far I failed with my attempts. According to the AndrewBase.odt document, Listings 29 and 30, it should be easily possible to load a database without registering it first, if you use an URL. This works fine with

Re: [dev] Loading an unregistered CSV-database in OOo-Basic

2006-11-13 Thread Peter Eberlein
Hi Daniel, Daniel Albuschat schrieb: Hello, my goal is to load an unregistered CSV-database in an OOo-Basic script, but so far I failed with my attempts. According to the AndrewBase.odt document, Listings 29 and 30, it should be easily possible to load a database without registering it

Re: [dev] Loading an unregistered CSV-database in OOo-Basic

2006-11-13 Thread Daniel Albuschat
2006/11/13, Peter Eberlein [EMAIL PROTECTED]: Daniel Albuschat schrieb: my goal is to load an unregistered CSV-database in an OOo-Basic script, but so far I failed with my attempts. [snip] Service = createUnoService(com.sun.star.sdb.DatabaseContext) you have to use the

Re: [dev] Loading an unregistered CSV-database in OOo-Basic

2006-11-13 Thread Peter Eberlein
Peter Eberlein schrieb: Hi Daniel, Daniel Albuschat schrieb: Hello, Here's the script-snippet: Service = createUnoService(com.sun.star.sdb.DatabaseContext) you have to use the com.sun.star.sdbc.DriverManager for those purposes. In the Dev-Guide you will found how to connect with flat

Re: [dev] Loading an unregistered CSV-database in OOo-Basic

2006-11-13 Thread Daniel Albuschat
2006/11/13, Peter Eberlein [EMAIL PROTECTED]: Peter Eberlein schrieb: Daniel Albuschat schrieb: Here's the script-snippet: Service = createUnoService(com.sun.star.sdb.DatabaseContext) you have to use the com.sun.star.sdbc.DriverManager for those purposes. In the Dev-Guide you will

Re: [dev] Loading an unregistered CSV-database in OOo-Basic

2006-11-13 Thread Peter Eberlein
Daniel Albuschat schrieb: I'm very sorry I have to ask another -- this time more stupid -- question :-) A CSV-files has no tables, so how do I create an SQL-statement to select from? Or - what's the way to iterate thru the datasets, if not using createStatement/ executeQuery? Of course you

Re: [dev] Loading an unregistered CSV-database in OOo-Basic

2006-11-13 Thread Daniel Albuschat
2006/11/13, Peter Eberlein [EMAIL PROTECTED]: Daniel Albuschat schrieb: I'm very sorry I have to ask another -- this time more stupid -- question :-) A CSV-files has no tables, so how do I create an SQL-statement to select from? Or - what's the way to iterate thru the datasets, if not using

Re: [dev] OpenOffice Build Problem

2006-11-13 Thread Eike Rathke
Hi Indraveni, On Saturday, 2006-11-11 07:35:03 +, Indraveni wrote: So I tried to execute from the command prompt, but there are no commands like soffice or oowriter etc.., there is a command openoffice.org-2.0, the following are there error messages when i used this command..

Re: [dev] Calc, disable saving in Excel 5/95 format?

2006-11-13 Thread Andreas Schlüns
Mathias Bauer schrieb: Kirill S. Palagin wrote: Hello. How do I disallow saving in particular format (specifically Excel 5/95)? I need to do this because Calc produces damaged file (see http://www.openoffice.org/issues/show_bug.cgi?id=32785) and I can not rely on users avoiding this format.