[dev] open OOo 3.0 issues

2008-05-20 Thread Martin Hollmichel

Hi,

there are just 6 weeks left until code freeze for the OOo 3.0 release, 
in the moment we have more than 1200 issues open for that release.


We will not be able to get all of these issues fixed in time, so please:

Developers:

* please fix your issues as soon as possible, this will avoid the usual 
accumulation before code freeze and you also avoid not getting QA 
resources short before code freeze, please speak with your QA 
representative for timely coordination.

* review your issues if there are really relevant for 3.0 release

QA::

* please identify the important issues for your project, please use the 
dev mailing lists of the projects to ensure that those bugs ge treated 
accordingly.

* also identify those issue which can be deferred to a later release
* be sure that the keywords (regression, crash, etc) are set accordingly

in behalf of the release status meeting team,
Martin



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



Re: [dev] Interest in developing a native barcode generator based on BWIPP

2008-05-20 Thread Thorsten Behrens
On Mon, May 19, 2008 at 09:43:44PM +0100, Terry Burton wrote:
> Lacking support for EPS seems quite a surprising limitation - bother :-/
> 
> Do you know whether support for this on the horizon?
> 
Hi Terry,

there've been plans to have some ghostscript integration for a
longer time - but I don't believe this has had higher priority
(though your offer might actually change this). The issue with
ghostscript is the license - OOo can only make use of it
out-of-process, with gs being GPL.

> BWIPP is neatly split into a large set of encoder procedures (one for
> each barcode symbology) and a few renderer procedures. The
> corresponding encoders for each symbology accept the data to encode
> and any other parameters and then generate a data structure (a PS
> dictionary) that wholly and succinctly describes the barcode image.
> This can then be passed to the relevant render, "renlinear" in the
> case of one-dimensional barcodes, for image generation. Alternatively,
> the barcode structure can be dumped as plain text over some IPC
> channel to a non-PostScript frontend for parsing and internal
> rendering using whatever graphics system is available.
> 
Ah, interesting! This would make batch-processing the barcode
out-of-process pretty straight-forward. IANAL, but shipping a gs
executable alongside OOo (for e.g. Windows) should be ok.

Cheers,

-- Thorsten

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



Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-20 Thread Mathias Bauer
Kohei Yoshida wrote:

> On Fri, 2008-05-09 at 20:01 +0200, Mathias Bauer wrote:
>> Another interesting discovery was that removing ctors can be dangerous
>> at times because some compilers automatically create default or copy
>> ctors for classes even if they aren't used.
> 
> One technique to work around this is to put the default and copy ctors
> in the private section of the class declaration, and leave their
> definitions out.  That should prevent the compiler from automatically
> generating those ctors, and if any code constructs that class via
> default or copy constructor, then the link should fail.

Yes, this is always a good practice.

In the current situation the problem didn't happen in the class where
the ctor was removed but in some derived classes. These classes formerly
had a ctor (and so it wasn't necessary to declare a default ctor, be it
private or not) that was removed in the patch and now some compiler
thought it might be a good idea to create a default ctor (and didn't
find one in the base class that still had another ctor but no default ctor).

A good example for your approach to have a look before applying the
patch. :-)
And perhaps a hint that always adding a (private) default ctor and copy
ctor is something to think about.

I found removing the whole class better than playing with declared (but
not implemented) default ctors. At the end a class whose ctor is never
called can't be much useful. :-)

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] Re: Can OOo objects be used in-process?

2008-05-20 Thread Mathias Bauer
rick cameron wrote:

> Hi, Ariel
> 
> Thanks again for the examples. I'll try them once I get the basics in place.
> 
> Can you tell me whether it's possible for a C++ client app to create OOo 
> objects (such as a spreadsheet) in the same process as the calling code?

That isn't possible ATM, but you can do it the other way around: create
your own code as an OOo extension that is loaded by OOo on startup.

Just out of curiosity: why do you want to do it in-process? Do you have
some performance critical calls with a high call frequency?

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] How to set the GUI language when building?

2008-05-20 Thread Zhang Xiaofei

Hi Ma,

Maybe your error message file is filtered out by the mailing list 
server, try including the error message in the mail body.


Regards,
Felix.

Ma Zhenyu 

Hi,
 
While building Ooo with --with-lang="zh-CN", I got some error message 
like attach file showing,
and I open it and try to edit it by VS.Net, but I failed, somebody 
here encounter this problem?

And My source code is for 2.3.1, hope for your help, please!
 
Regards,

Mynfred


 
2008/5/12, Ma Zhenyu <[EMAIL PROTECTED] 
>:


Hi,
 
Maybe I found it, the reason is that I not write the lang list

with space character,
But I encounter one problem is that can not get license of rtf,
I am trying it again to build it again all. Blessing...
 
Regards,
Mynfred 

 
2008/5/12, Ma Zhenyu <[EMAIL PROTECTED]

>:

hi, Christian
 
Thank you for your kind, I try "dmake ooolanguagepack" but found

"/usr/bin/bash: zh-CN: command not found", could you tell why
and how to
solve it?
 
Regards,

Mynfred

 
2008/5/10, Christian Lohmaier <[EMAIL PROTECTED]

>:

Hi *,
On Fri, May 09, 2008 at 04:40:15PM +0800, Ma Zhenyu wrote:
> I builded the code from web, and got the installation of
english version?
>
> So I want to ask one question is:
> how to build Ooo of other language version, such as
japanese or chinese
> language,
> need I download other code? Or just change some setting?

You need to run configure with the --with-lang="list of
language-codes"
options. See configure --help for samples.

if you want to create languagepacks, you can run "dmake
ooolanguagepack"
in instsetoo_native/util after you built the whole thing.

ciao
Christian


-
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]


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

[dev] 3103 uncallable methods in DEV300_m13

2008-05-20 Thread Caolan McNamara
See http://people.redhat.com/caolanm/callcatcher/DEV300_m13/ for full
list. Top three offenders are unchanged, but what might be of interest
is that callcatcher now can parse and use linker map files, so the scan
is extended to include some modules that export headers and symbols for
use by other modules but have linker maps which can be used to show what
symbols are not-exported from the library and are also not used within
the library, i.e. unusable outside the .so and unused inside the .so.

The nice win is that it shows that configmgr has 142 unused methods and
that even sal has a tiny amount. FWIW I think I've submitted patch for
most of the new entries on the list.


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



Re: [dev] How to set the GUI language when building?

2008-05-20 Thread Ma Zhenyu
Hi, Zhang,

see following

..\..\..\wntmsci10.pro\inc\AutoControls.hrc<233> : error C2001: newline in
constant
..\..\..\wntmsci10.pro\inc\AutoControls.hrc<328> : error C2001: newline in
constant
..\..\..\wntmsci10.pro\inc\AutoControls.hrc<521> : error C2001: newline in
constant
..\..\..\wntmsci10.pro\inc\AutoControls.hrc<562> : error C2018: unknown
character '0x80'

..\..\..\wntmsci10.pro\inc\AutoControls.hrc<1179> : error C2018: unknown
character '0x80'

Regards,
Mynfred



2008/5/20, Zhang Xiaofei <[EMAIL PROTECTED]>:
>
> Hi Ma,
>
> Maybe your error message file is filtered out by the mailing list server,
> try including the error message in the mail body.
>
> Regards,
> Felix.
>
> Ma Zhenyu
>
>> Hi,
>>  While building Ooo with --with-lang="zh-CN", I got some error message
>> like attach file showing,
>> and I open it and try to edit it by VS.Net, but I failed, somebody here
>> encounter this problem?
>> And My source code is for 2.3.1, hope for your help, please!
>>  Regards,
>> Mynfred
>>
>>
>>  2008/5/12, Ma Zhenyu <[EMAIL PROTECTED] > [EMAIL PROTECTED]>>:
>>
>>Hi,
>>Maybe I found it, the reason is that I not write the lang list
>>with space character,
>>But I encounter one problem is that can not get license of rtf,
>>I am trying it again to build it again all. Blessing...
>>Regards,
>>Mynfred
>>2008/5/12, Ma Zhenyu <[EMAIL PROTECTED]
>>>:
>>
>>hi, Christian
>>Thank you for your kind, I try "dmake ooolanguagepack" but
>> found
>>"/usr/bin/bash: zh-CN: command not found", could you tell why
>>and how to
>>solve it?
>>Regards,
>>Mynfred
>>
>>2008/5/10, Christian Lohmaier <[EMAIL PROTECTED]
>>>:
>>
>>Hi *,
>>On Fri, May 09, 2008 at 04:40:15PM +0800, Ma Zhenyu wrote:
>>> I builded the code from web, and got the installation of
>>english version?
>>>
>>> So I want to ask one question is:
>>> how to build Ooo of other language version, such as
>>japanese or chinese
>>> language,
>>> need I download other code? Or just change some setting?
>>
>>You need to run configure with the --with-lang="list of
>>language-codes"
>>options. See configure --help for samples.
>>
>>if you want to create languagepacks, you can run "dmake
>>ooolanguagepack"
>>in instsetoo_native/util after you built the whole thing.
>>
>>ciao
>>Christian
>>
>>
>>  -
>>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]
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


[dev] webdav+openOffice

2008-05-20 Thread iñaki alonso
I use the 2.4 versión of openOffice on windows, I like to modify a document
wich I have allocated in my webdav server.
I can open this document but only in read only mode. I like to do this with
macros. I include my code.
*

**Sub Main*
*dim docServidor as object*
*dim Dummy()*
*dim oDesktop as object*

*oDesktop = createUnoService("com.sun.star.frame.Desktop")*
*docServidor =  oDesktop.loadComponentFromURL("vnd.sun.star.webdav://
127.0.0.1/uploads/usuario1.ods", "_blank", 0, Dummy)*

*docServidor.store()*
*End Sub


*
Thanks and best regards.


[dev] Re: OOo crash for documents with heavy formatting

2008-05-20 Thread Andriy Rysin

Andrew Douglas Pitonyak wrote:
Thanks for checking on this for me... I must admit that I do have 
another question. Why do you have so many styles? Are these internal 
styles, or are these specifically created styles? I am curious as to the 
mechanism used to create these styles?


Using OOo 3.0 beta, I created a small text document. I then chose three 
random words and made them bold.


OOo created a single internal style named T1 (see below).


 
   style:font-weight-asian="bold" style:font-weight-complex="bold"/>

 


The same internal style was used for all three words.

I find it difficult to fathom how there can be so many different 
combinations of styles if you create and use them yourself unless the 
styles are created automatically. If these styles are created 
automatically, is there a possibility to programatically combine styles 
with the same attributes?




I am working on a dictionary (actually about a dozen of them) and I have 
only 4 main styles, e.g. MyBold, MyItalic, MyAux and MyNormal. What I 
have a lot is uses of those styles: let's say I have 2 positions in 
one dictionary and each position may contain several words in each 
style. That'll make at least 80K of style instances, which breaks OOo.



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



Re: [dev] 3103 uncallable methods in DEV300_m13

2008-05-20 Thread Kohei Yoshida

On Tue, 2008-05-20 at 08:55 +0100, Caolan McNamara wrote:
..
> callcatcher now can parse and use linker map files, so the scan
> is extended to include some modules that export headers and symbols for
> use by other modules but have linker maps which can be used to show what
> symbols are not-exported from the library and are also not used within
> the library, i.e. unusable outside the .so and unused inside the .so.

This is very cool. :-)  Can I download the newer version of callcatcher
from somewhere?  I have 1.0.8 on my machine which seems to be still the
latest version available on the callcatcher page.

Kohei

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


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



[dev] How to set a user name via Java?

2008-05-20 Thread SeanYoung
Hi,

I could set User Name via menu "Tools->Options->OpenOffice.org->User 
Data->First/Last name/Initilas"  in OpenOffice.
How to set User Name via Java code?

Thanks a lot! 

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-20 Thread Kohei Yoshida
Hi Mathias,

On Tue, 2008-05-20 at 08:43 +0200, Mathias Bauer wrote:

> In the current situation the problem didn't happen in the class where
> the ctor was removed but in some derived classes. These classes formerly
> had a ctor (and so it wasn't necessary to declare a default ctor, be it
> private or not) that was removed in the patch and now some compiler
> thought it might be a good idea to create a default ctor (and didn't
> find one in the base class that still had another ctor but no default ctor).

Ok.  Yeah, this can be very hard to backtrack when it causes a problem
later on.

> A good example for your approach to have a look before applying the
> patch. :-)
> And perhaps a hint that always adding a (private) default ctor and copy
> ctor is something to think about.

Good point.

> I found removing the whole class better than playing with declared (but
> not implemented) default ctors. At the end a class whose ctor is never
> called can't be much useful. :-)

Yes.  I've also removed a couple of classes instead of just removing the
ctor(s) for the reason you already mentioned.  So, I definitely agree
with you there.  As you said, the default ctor not being called is often
an indication that the class as a whole is not used at all.

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] webdav+openOffice

2008-05-20 Thread Juergen Schmidt

Hi,

we have WebDAV support in OpenOffice.org and you can use 
loadComponentFromURL directly with a http URL to your file.
You don't need something special. If your WebDAV server requires 
authentication then you have to use an appropriate interaction handler. 
Don't ask me which interaction handler, i know that we have one that is 
perfect for typical use cases but i always forget the name. But of 
course you can implement your own interaction handler.


HTTPS is supported since OO.or 2.4

Juergen


iñaki alonso wrote:

I use the 2.4 versión of openOffice on windows, I like to modify a document
wich I have allocated in my webdav server.
I can open this document but only in read only mode. I like to do this with
macros. I include my code.
*

**Sub Main*
*dim docServidor as object*
*dim Dummy()*
*dim oDesktop as object*

*oDesktop = createUnoService("com.sun.star.frame.Desktop")*
*docServidor =  oDesktop.loadComponentFromURL("vnd.sun.star.webdav://
127.0.0.1/uploads/usuario1.ods", "_blank", 0, Dummy)*

*docServidor.store()*
*End Sub


*
Thanks and best regards.




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



Re: [dev] webdav+openOffice

2008-05-20 Thread Ariel Constenla-Haile

Hi Iñaki, Jürgen,

Juergen Schmidt escribió:

Hi,

we have WebDAV support in OpenOffice.org and you can use 
loadComponentFromURL directly with a http URL to your file.
You don't need something special. If your WebDAV server requires 
authentication then you have to use an appropriate interaction handler. 
Don't ask me which interaction handler, i know that we have one that is 
perfect for typical use cases but i always forget the name. But of 
course you can implement your own interaction handler.


As he is working in OOo Basic, can an interaction handler be implemented 
in OOo Basic? I'd think no...


He can instantiate (createUnoService) the css.task.InteractionHandler 
and pass it in the MediaDescriptor:


Sub Web_Dav_Test
Dim sURL as String
	sURL = "http://..."; 'according to the API ref. one can use simply the 
http schema


Dim oInteractionHandler as Object
	oInteractionHandler = 
createUnoService("com.sun.star.task.InteractionHandler")


Dim aMediaDescriptor(0) as New com.sun.star.beans.PropertyValue
aMediaDescriptor(0).Name = "InteractionHandler"
aMediaDescriptor(0).Value = oInteractionHandler

Dim oDoc as Object
	oDoc = StarDesktop.loadComponentFromURL(sURL, "_default", 0, 
aMediaDescriptor)

End Sub

I didn't test if this works, so Iñaki do your test.
I *guess* that to store this, if your server requires authentification 
you'll need also to provide the user-password to store it.


Another option may be to assemble the URL with the 
com.sun.star.util.URLTransformer, including user and pasword in it, I've 
seen it in Paolo's BasicAddonBuilder.



Regards
Ariel.



HTTPS is supported since OO.or 2.4

Juergen


iñaki alonso wrote:
I use the 2.4 versión of openOffice on windows, I like to modify a 
document

wich I have allocated in my webdav server.
I can open this document but only in read only mode. I like to do this 
with

macros. I include my code.
*

**Sub Main*
*dim docServidor as object*
*dim Dummy()*
*dim oDesktop as object*

*oDesktop = createUnoService("com.sun.star.frame.Desktop")*
*docServidor =  oDesktop.loadComponentFromURL("vnd.sun.star.webdav://
127.0.0.1/uploads/usuario1.ods", "_blank", 0, Dummy)*

*docServidor.store()*
*End Sub


*
Thanks and best regards.




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





--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.ArielConstenlaHaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
- Was mich nicht umbringt,
macht mich härter."
Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.

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



Re: [dev] How to set a user name via Java?

2008-05-20 Thread Cor Nouws

Hi SeanYoung,

SeanYoung wrote (20-5-2008 17:13)

I could set User Name via menu "Tools->Options->OpenOffice.org->User
Data->First/Last name/Initilas"  in OpenOffice. How to set User Name
via Java code?


I don't know exactly myself, but this link will help you:
http://api.openoffice.org/docs/common/ref/com/sun/star/configuration/ConfigurationProvider.html

Further questions are best posted to [EMAIL PROTECTED] (first : 
[EMAIL PROTECTED])


Regards,
Cor

PS: when mailing, pls start with a new mail, not with a reply to an 
existing thread.



--

"The Year of 3" -2008- "Het jaar van 3"

Cor Nouws
Arnhem - Netherlands - nl.OpenOffice.org - marketing contact


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



Re: [dev] How to set a user name via Java?

2008-05-20 Thread Cor Nouws

Cor Nouws wrote (20-5-2008 20:58)

Further questions are best posted to [EMAIL PROTECTED] (first : 
[EMAIL PROTECTED])


Better use [EMAIL PROTECTED] to subscribe to the list ;-)


--

"The Year of 3" -2008- "Het jaar van 3"

Cor Nouws
Arnhem - Netherlands - nl.OpenOffice.org - marketing contact


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



Re: [dev] Re: OOo crash for documents with heavy formatting

2008-05-20 Thread Andrew Douglas Pitonyak


Andriy Rysin wrote:
I am working on a dictionary (actually about a dozen of them) and I 
have only 4 main styles, e.g. MyBold, MyItalic, MyAux and MyNormal. 
What I have a lot is uses of those styles: let's say I have 2 
positions in one dictionary and each position may contain several 
words in each style. That'll make at least 80K of style instances, 
which breaks OOo.
I think that I just got it. The problem is not too many styles, but 
rather, too many INSTANCES of a style.


--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html


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



[dev] Re: affix file syntax

2008-05-20 Thread Russell Butler

Girard Aquino wrote:
I'm trying to learn how to create an affix file. I have a couple of 
questions about the different fields. I hope somebody could elaborate on 
them.

Hi Girard

I presume you have seen http://lingucomponent.openoffice.org/

I think you will have the best prospect of a knowledgeable reply from 
the mailing list there  [EMAIL PROTECTED]


Regards

Russell


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



Re: [dev] Re: OOo crash for documents with heavy formatting

2008-05-20 Thread Frank Meies

Hi Andrew,

On 05/21/08 07:09, Andrew Douglas Pitonyak wrote:


Andriy Rysin wrote:
I am working on a dictionary (actually about a dozen of them) and I 
have only 4 main styles, e.g. MyBold, MyItalic, MyAux and MyNormal. 
What I have a lot is uses of those styles: let's say I have 2 
positions in one dictionary and each position may contain several 
words in each style. That'll make at least 80K of style instances, 
which breaks OOo.
I think that I just got it. The problem is not too many styles, but 
rather, too many INSTANCES of a style.


this only holds for character styles. Please read my evaluation of this 
issue:


http://www.openoffice.org/issues/show_bug.cgi?id=84159

Best regards,

Frank

--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS

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