Re: [dev] QuickLauncher: how to configure

2007-11-20 Thread Mathias Bauer
Peter Eberlein wrote:

> Hi Mathias,
> 
> Mathias Bauer schrieb:
>> Peter Eberlein wrote:
> 
>>>
>>> Or can it be started without appearing in the Systray?
>> 
>> What is the point in having the QuickLauncher running but not being
>> visible? You can achieve the same result (faster start of the first
>> Office instance called by the user) by inserting "soffice -nologo
>> -nodefault" instead of "soffice -quickstart" into your autostart folder.
>> Perhaps that helps?
>> 
>> The drawback of not having a visible quicklauncher running is that OOo
>> will be removed from memory if all documents are closed. But if you
>> don't wait hours for the next document it will start fast again.
>> 
> Yes, the goal is the fast loading of documents, even if all documents 
> have been closed.

If that shall be efficient even if meanwhile all OOo code has been
swapped out of the disk cashe then you indeed need a running
quicklauncher. We won't keep OOo in memory without any means to
terminate it.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

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



Re: [dev] Security: how to avoid to pop up the Basic IDE?

2007-11-20 Thread Mathias Bauer
Peter Eberlein wrote:

> Hi Mathias,
> 
> Mathias Bauer schrieb:
>> Peter Eberlein wrote:
>> 
> 
>> Macro security is about macro execution, not about availability of the
>> BasicIDE. 
> 
> And that's the point. You cannot forbid the execution of internal 
> non-document-bound macros with the security settings.

Yes, that's true. But this also is not related to the availability of
the BasicIDE in general. Even if we found an easy way to disable the IDE
you still could execute macros from share/basic and user/basic.

While we are at it: currently we are thinking about a special
configuration setting in OOo that prevents the execution of macros if
they are not signed, even if they are not document-bound. I assume that
this is what you are talking about. The tricky part of this feature is
that then all macros OOo's needs for internal purposes must be signed
(that makes our build process much more complicated) and we must provide
a tool for admins to sign macros they want to deploy in their
installation. The setting and its handling are easy to implement.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

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



Re: [dev] Code for the zip-reader

2007-11-20 Thread Kohei Yoshida
Hi Cracker,

On Wed, 2007-11-21 at 00:08 +, Cracker wrote:
> But where is it exactly?

I recommend you take a look at the code used for Tools > XML Filter
Settings > Save as Package, which creates an XML filter package as a jar
file, and jar is just another zip-based package format.  The code for
that is located in filter/source/xsltdialog/xmlfilterjar.cxx.

I wouldn't recommend taking a look at ODF's packaging code as it is
quite convoluted, but it uses an internal UNO API for zip packaging, and
its code is located in package/source/zippackage/*.  This API appears to
be modeled after Java's java.util.zip API from the look of it.

HTH.

Kohei

-- 
Kohei Yoshida - OpenOffice.org Engineer - Novell, Inc.
<[EMAIL PROTECTED]>

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



Re: [dev] Code for the zip-reader

2007-11-20 Thread Caio Tiago Oliveira

Cracker, 21-11-2007 03:26:

Hello,Thanks for your answer, but I'm looking for OpenOffice's
implementation of the zip file format and the zip I/O. As far as I
know, Zlib is an implementation of the deflate algorithm, and it
can't read/write zip (or any archive format) in itself.



Err... OOo uses zlib.

http://lxr.go-oo.org/source/external/zlib/


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



Re: [dev] Code for the zip-reader

2007-11-20 Thread Cracker
Hello,Thanks for your answer, but I'm looking for OpenOffice's 
implementation of the zip file format and the zip I/O. As far as I know, Zlib 
is an implementation of the deflate algorithm, and it can't read/write zip (or 
any archive format) in itself.Caio Tiago Oliveira wrote:  zlib.  
http://www.zlib.net/ http://www.gzip.org/zlib/zlib_faq.html

--Hirdetés-

Síszállások, pályainformációk, térképes kereső, útvonaltervezés
www.c-travel.hu/sieles


Re: [dev] Code for the zip-reader

2007-11-20 Thread Caio Tiago Oliveira

Cracker, 21-11-2007 00:08:

Hello!First, I'm sorry if it's the wrong place to ask. In my
application, I want to load data files from zip archives, but the
only useful library for this was the ZZiplib library, which is not
working with my compiler for some reason...But I noticed that
OpenOffice's .ODF format is using zip as it's container format, so I
thought I can use the code from OpenOffice in my program to read data
from zip files. But where is it exactly? I've looked at the CVS, but
I can't find it...Best regards,


zlib.

http://www.zlib.net/
http://www.gzip.org/zlib/zlib_faq.html

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



[dev] Code for the zip-reader

2007-11-20 Thread Cracker
Hello!First, I'm sorry if it's the wrong place to ask. In my 
application, I want to load data files from zip archives, but the only useful 
library for this was the ZZiplib library, which is not working with my compiler 
for some reason...But I noticed that OpenOffice's .ODF format is using zip as 
it's container format, so I thought I can use the code from OpenOffice in my 
program to read data from zip files. But where is it exactly? I've looked at 
the CVS, but I can't find it...Best regards,

--Hirdetés-

Síszállások, pályainformációk, térképes kereső, útvonaltervezés
www.c-travel.hu/sieles