Re: [dev] warnings01: -Wnon-virtual-dtor

2005-11-03 Thread Malte Timmermann
Also +1 for switching this warning off from within idlc-generated
headers only

Malte.

Tino Rachui - Sun Germany - Development - Software Engineer wrote:
 Stephan Bergmann wrote:
 
 
Thus, we can either switch off -Wnon-virtual-dtor globally, or switch 
off *all* warnings from within idlc-generated headers (#pragma GCC 
system_header).  The second option is probably preferable, as 
-Wnon-virtual-dtor might point to real issues in other places of the 
code base, and it is unlikely that there would be other warnings from 
any idlc-generated header that we would thus suppress---the 
idlc-generated headers are pretty boiler-plate.
 
 
 +1 for switching this warning off from within idlc-generated headers only
 
 -Tino
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] warnings01: -Wnon-virtual-dtor

2005-11-03 Thread Jürgen Schmidt

Stephan Bergmann wrote:

Hi all,

http://www.openoffice.org/issues/show_bug.cgi?id=56995 shows the 
following problem:  On compilers later than the GCC 3.4.1 we use at 
Hamburg (e.g., GCC 4.0.2, but from looking at the documentation also GCC 
 3.4.4), -Wall implies a new -Wnon-virtual-dtor which warns about 
classes with virtual functions that do not have a virtual destructor.


On such compilers, this warning will occur for each idlc-generated UNO 
header (com/sun/star/uno/XInterface.hpp etc.).  For reasons of 
compatibility, it is not an option to change those idlc-generated 
headers and add a virtual destructor to them.


Thus, we can either switch off -Wnon-virtual-dtor globally, or switch 
off *all* warnings from within idlc-generated headers (#pragma GCC 
system_header).  The second option is probably preferable, as 
-Wnon-virtual-dtor might point to real issues in other places of the 
code base, and it is unlikely that there would be other warnings from 
any idlc-generated header that we would thus suppress---the 
idlc-generated headers are pretty boiler-plate.


+1 for switching off this warnings in the generated header

- Juergen



Opinions?

-Stephan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Manual available for OpenOffice.org 2.0

2005-11-03 Thread Mary Leete

Hello!

Congratulations to all who worked on OOo 2.0! It's fabulous!

If anyone is looking for a great manual, Free Software For Dummies, 
includes about 200 pages on OpenOffice.org 2.0. It's newly published and 
 received excellent reviews in the Chicago Tribune, LA Times and 
elsewhere. It has several chapters on all the major programs: Writer, 
Calc, Base, Draw, and Impress, plus it includes other free
software as well, such as The GIMP, Firefox, and more. And it only costs 
$14.95 on Amazon. Please spread the word!


Congratulations again on your success!

Mary Leete
Author of Free Software For Dummies


Louis Suarez-Potts wrote:


All,

OpenOffice.org 2.0 Is Here

20 October, 2005

OpenOffice.org 2.0 is the productivity suite that individuals,  
governments, and corporations around the world have been expecting  
for the last two years. Easy to use and fluidly interoperable with  
every major office suite, OpenOffice.org 2.0 realises the potential  
of open source.  Besides a powerful new database module and advanced  
XML capabilities, OpenOffice.org natively supports the  
internationally standardised OpenDocument format, which several  
countries, as well as the U.S. state of Massachusetts, have  
established as the default for office documents.  More than any other  
suite, OpenOffice.org 2.0 gives users around the globe the tools to  
be engaged and productive members of their society.


Available in 36 languages, with more on the way, and able to run  
natively on Windows, Linux, Solaris, Mac OS X (X11) and several other  
platforms, OpenOffice.org banishes software segregation and isolation  
and dramatically levels the playing field. And, with its support for  
the OASIS standard OpenDocument format, OpenOffice.org eliminates the  
fear of vendor lock in or format obsolescence. The OpenDocument  
format can be used by any office application, ensuring that documents  
can be viewed, edited and printed for generations to come.   
OpenOffice.org 2.0 is a breath of hope for small economies that can  
now have a local language office suite well adapted to their needs  
and to their economical possibilities, reducing their dependency on  
the interests of proprietary software vendors.


OpenOffice.org is on a path toward being the most popular office  
suite the world has ever seen and is providing users with safety,  
choice, and an opportunity to participate in one of the broadest  
community efforts the Internet has ever seen. As a member of that  
community, I'd like to offer my heartiest congratulations. -  
Jonathan Schwartz - President and CEO of Sun Microsystems.


Built by a community including Sun Microsystems, its primary sponsor  
and contributor, Novell, Red Hat, Debian, Propylon, Intel, as well as  
independent programmers, translators, writers, and marketers;  
OpenOffice.org 2.0 demonstrates the success, dedication and  
proficiency of the open source software community.


That community now includes the City of Vienna, which recently  
started deploying OpenOffice.org throughout. We are very happy about  
the functionality and quality of the OpenOffice.org software. We are  
confident that OpenOffice.org will be made available to all of our  
18,000 workstation users. - Brigitte Lutz, City of Vienna.


Louis Suárez-Potts, OpenOffice.org Community Manager, commented that  
OpenOffice.org 2.0 is the culmination of a collaborative process  
involving thousands working in dozens of languages everywhere in the  
world. It shows that open source can produce software of the highest  
quality and assure the robustness, usability and security that users  
expect in their office suite.


In addition to the OpenDocument format, the redesigned user interface  
and a new database module, OpenOffice.org 2.0 also adds improved PDF  
support, a superior spreadsheet module, enhanced desktop integration  
and several other features that take advantage of its advanced XML  
capabilities, such as the ability to easily create, edit and use XForms.


For more detailed information regarding OpenOffice.org 2.0, please  
refer to the Press Kit at http://www.openoffice.org/press/2.0/ 
index.html .


Congratulations All,

The OpenOffice.org Community



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Please make an installer for OOo 2.0

2005-11-03 Thread Feve Feve
Please make an installer for OOo 2.0
The linux rpm:s or Solaris pkg:s will not do.
At my office i'm allowed to install on our application server but i'm not 
allowd to have root access.
The consequence... i cannot install OOo 2.0

BR
/F


-- 
___
Play 100s of games for FREE! http://games.mail.com/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Please make an installer for OOo 2.0

2005-11-03 Thread Laurent Godard

Hi Feve


Please make an installer for OOo 2.0
The linux rpm:s or Solaris pkg:s will not do.
At my office i'm allowed to install on our application server but i'm not 
allowd to have root access.
The consequence... i cannot install OOo 2.0


For linux, you may have a look at these hacks
blogs.nuxeo.com/sections/blogs/laurent_godard/archive/2005/08


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 OpenOffice.org, Eyrolles 2004

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] warnings01: -Wnon-virtual-dtor

2005-11-03 Thread Thorsten Behrens
Stephan Bergmann [EMAIL PROTECTED] writes:

 On such compilers, this warning will occur for each idlc-generated UNO
 header (com/sun/star/uno/XInterface.hpp etc.).  For reasons of
 compatibility, it is not an option to change those idlc-generated
 headers and add a virtual destructor to them.

Is there really no feasible way to close that hole? I'm perfectly fine
with the pragma solution, but still think it would be a good idea to
forbid calling base class destructors (what about declaring a
protected non-virtual destructor in XInterface?).

Cheers,

-- 

Thorsten

If you're not failing some of the time, you're not trying hard enough.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Please make an installer for OOo 2.0

2005-11-03 Thread Gantenapalli Srinivasa Rao

Hi,
Same case with me  :'(

/,
Srini

Feve Feve wrote:


Please make an installer for OOo 2.0
The linux rpm:s or Solaris pkg:s will not do.
At my office i'm allowed to install on our application server but i'm not 
allowd to have root access.
The consequence... i cannot install OOo 2.0

BR
/F


 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Please make an installer for OOo 2.0

2005-11-03 Thread Brian Raymond
The hack to extract all RPMs should be able to work for you but I wanted to
point this out because it's saved me a few times I really needed root.

Do you have sudo access?
If so try sudo -s, if that's blocked try sudo /bin/bash (or whatever your
shell is) if that is also blocked you can always drop your own shell in your
home dir and run it. If sudo access is really locked down it might not work
on the boxes you mention but it's useful to know for those times it will.

- Brian


On 11/3/05 4:56 AM, Feve Feve [EMAIL PROTECTED] wrote:

 Please make an installer for OOo 2.0
 The linux rpm:s or Solaris pkg:s will not do.
 At my office i'm allowed to install on our application server but i'm not
 allowd to have root access.
 The consequence... i cannot install OOo 2.0
 
 BR
 /F
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] warnings01: -Wnon-virtual-dtor

2005-11-03 Thread Stephan Bergmann

Thorsten Behrens wrote:

Stephan Bergmann [EMAIL PROTECTED] writes:



On such compilers, this warning will occur for each idlc-generated UNO
header (com/sun/star/uno/XInterface.hpp etc.).  For reasons of
compatibility, it is not an option to change those idlc-generated
headers and add a virtual destructor to them.



Is there really no feasible way to close that hole? I'm perfectly fine
with the pragma solution, but still think it would be a good idea to
forbid calling base class destructors (what about declaring a
protected non-virtual destructor in XInterface?).


Good idea, thanks.  Adding protected non-virtual dtor to all the 
interface classes generated by codemaker.


-Stephan


Cheers,


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Please make an installer for OOo 2.0

2005-11-03 Thread Pavel Janík
   From: Feve Feve [EMAIL PROTECTED]
   Date: Thu, 03 Nov 2005 09:56:39 +0100

The linux rpm:s or Solaris pkg:s will not do.
At my office i'm allowed to install on our application server but i'm not 
allowd to have root access.
The consequence... i cannot install OOo 2.0

No. This is wrong logic. Also non-root users can use RPM packages. You even
can have your own RPM database.

Please do not distribute such false information. Just ask first if your
presumption is valid.
-- 
Pavel Janík

Wow, you are crazy like hell. Of course it fixed the problem ;)
  -- Hubert Mantel in private e-mail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Helper of the Day: call for papers

2005-11-03 Thread Mathias Bauer
Frank Schönheit - Sun Microsystems Germany wrote:
 Hi Mathias,
 
Good examples: MediaDescriptor and EmbeddedObjectContainer in comphelper.
Are you volunteering to introduce those two helper? :)
 
 No.
 
 What a pity.
 
 Meanwhile I think we should better have some UNO services replacing
 the helper classes. Wrapper classes for UNO interfaces or services
 mostly indicate that the API is too cumbersome and a more user friendly
 one is needed.
 
 You seem to implicitly assume that the helpers are mostly to workaround
 combersome UNO APIs. 

No. I *know* that the two helpers we were talking about definitely *are*
helpers to workaround cumbersome UNO APIs. :-)

You asked wether I volunteered to move them to the SDK and my statement
was only an answer to this. I know that there are other helpers.

Ciao,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Buggy insertDocumentFromURL

2005-11-03 Thread Mathias Bauer
Christoph Lutz wrote:
 Hi Mathias,
 
 I currently have no idea why you don't get the error message from Java.
 OTOH I think that the error message in an API call is a bug, so the
 behavior in Java is correct, why ever. A message box shouldn't be shown
 if no InteractionHandler set set.
 
 thats right, but OTOH a unresolved URL should not cause OOo to freeze...

As I already wrote: if this was reproducable it surely would be a bug -
but only if it's not the file system that freezes. This has to be verified.

 The idl-ref says:
 
 void insertDocumentFromURL(   [in] string  aURL,
   [in] sequence ::com::sun::star::beans::PropertyValue   
 aOptions )
 raises(   ::com::sun::star::lang::IllegalArgumentException,
 ::com::sun::star::io::IOException );
 
 I think that's all I need!? The problem is that the IOException is never 
 thrown.

You are right, I must have been dreaming. :-)
Then of course there's something wrong in the implementation of this
interface that can be fixed without a change in the API.

Ciao,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] OOo Performance Activities

2005-11-03 Thread Malte Timmermann
Hi,

as some of you might know, we are currently doing a lot of things for
OOo performance.

Automatic performance tests on each CWS here in Hamburg will prevent
further performance regressions.

I plan to provide these automatic performance tests somewhere on OOo soon.

But avoiding performance regressions is one thing, an other thing is
becoming faster...

Most urgent areas for performance improvements are startup and
loading/saving OpenDocument files, but we have identified more
areas where performance improvements might possible.

I have talked with a lot of people in the last weeks and compiled a list
of things that will or might be done.

This list can be found here:

http://tools.openoffice.org/performance/performance-activities-overview.html

If I missed something, please let me know and I will update the document.

I will provide (commented) results when more of the STARTED tasks are
finished.

If somebody would like to work on one of the things on the list, please
write me an email so he can provide more details and/or can point you to
people who are the experts in that specific area.

Please consider working on tasks with status PLANNED or LATER,
because STARTED tasks might be finished soon.

Or perhaps someone identifies something that's not on the list, where he
would like to work on?

Best regards,
Malte.



Malte Timmermann [EMAIL PROTECTED]   Sun Microsystems GmbH
Technical Architect Software Engineering  Sachsenfeld 4
StarOffice / OpenOffice.org  20097 Hamburg, Germany

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] [Fwd: Registration/Survey Bug]

2005-11-03 Thread Mathias Bauer
Cristian Driga wrote:
 Hi,
 
 Am forwarding this email to this list because it seems that many people
 have this problem.
 
 best,
 Cristian
 
  Original Message 
 Subject: Registration/Survey Bug
 Date: Mon, 31 Oct 2005 23:46:00 +0100 (CET)
 From: Nicholas A. Donato [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 
 
 I installed OpenOffice 2.0 the other day and every time I boot up my
 system I am forced to either register or ask to register later.  If I
 cancel the registration the Quickstarter does not run and if I choose
 any other option, I am forced to go through the whole thing again next
 time I start my system.  Please tell me what the fix is for this.  BTW,
 I have been a registered user for years, and I filled out the survey
 again just to try and get this thing to stop pestering me.

There's no cancel registration. What they cancel is the installation.
But it seems that at least some of them try to use don't register. If
OOo still asks for registration next time it obviously failed to write
the correct status to its configuration files. Very often this is caused
by a corrupt installation.

I'm afraid the only way to solve this problem is creating an issue and
describe exactly how the installation was done (which platform, any
prior versions, have they been deinstalled, etc).

Ciao,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Saving the state of a component with a document

2005-11-03 Thread Kohei Yoshida
On 11/3/05, Mathias Bauer [EMAIL PROTECTED] wrote:
 Kohei Yoshida wrote:

  1) Put the values into some type of a XML structure, and inject it
  into the zipped file structure (if that's even possible).

 You can add a subfolder to the documents' package and (important!) add a
 MediaType to it (details can follow if you like this way). Then you can
 put any content you like into this subfolder (text or binary streams,
 other subfolders etc.). OOo then will preserve the complete subfolder on
 every saving of the document.

I want to try it this way because this is precisely what I had in
mind.  So, can I get the details please? :-)

Kohei


--
Kohei Yoshida
OpenOffice.org Calc contributor
http://kohei.us/ooo/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Helper of the Day: call for papers

2005-11-03 Thread Frank Schönheit

Hi Mathias,


You seem to implicitly assume that the helpers are mostly to workaround
combersome UNO APIs. 


No. I *know* that the two helpers we were talking about definitely *are*
helpers to workaround cumbersome UNO APIs. :-)


:)
Okay, then I understood your statement to be more general than it 
actually was ...



You asked wether I volunteered to move them to the SDK


No. I asked whether you volunteer to *introduce* them. remember that 
this was what I originally suggested: That we teach each other what we 
know about those 100+ helpers in all those projects.


Ciao
Frank

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] enabling System.out

2005-11-03 Thread S Sridhar

Hi,
i am just trying to  develop an add-on component. how can i enable the 
system.out or system.err messages


please help
thanks
Sridhar



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] selected text from the textdocument

2005-11-03 Thread S Sridhar

Hi,
How to get the selected text from the TextDocument.

Is there any way to get the selected text from all the components of the 
TextDocuments like TextTables Drawings and others?  also how to identify 
where the selected component is ? like is the selected text is in the 
texttable and drawing?


thanks
Sridhar



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev]Access Database

2005-11-03 Thread 王彬
Hi,all
I want to access a database,but I meet with some problems.

For example:
The SQL string is:SELECT * FROM test
When I executeQuery this SQL,a SQLException will happen -- Table not found 
in statement [SELECT * FROM test]
But the table test does exist.

Then I check another SQL: INSERT INTO test VALUES(...,...,...)
And this time,it works.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]