Re: [dev] Extension not working with open office separately

2008-03-06 Thread Robert Vojta
On Wed, Mar 5, 2008 at 7:51 AM, Dinesh Chothe <[EMAIL PROTECTED]> wrote:

> I have created one oo extension project using Netbeans.
> When  I build and run this extension through Netbeans
> it works fine

Does this mean that you click on Deploy and Run Extension in OpenOffice.org?

> but after creating its   .oxt   file  through
> Netbeans  and  building  it through tools-->Extension Manager in open 
> office(2.3)
> not working.

How did you create your extension (.oxt file)? Create OXT in project
context menu?

These steps are equivalent (in extension create & install view) ...

a) Create OXT and manual installation ( Tools - Extension Manager )
b) Deploy OpenOffice.org Extension
c) Deploy and Run Extension in OpenOffice.org

... if not, it is probably a bug and should be reported.

-- 
Robert Vojta

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



Re: [dev] word2pdf conversion-using open office org

2008-03-06 Thread Juergen Schmidt

Hi Charles,

you ask for jar so i assume that you want to use Java. If you want use 
the simple bootstrap mechanism you need the SDK to build your 
application. Later on you will always need an office installation to do 
the real conversion.


Juergen

charles chandran wrote:

Hi

   May I know how can I use Openoffice.org api to convert a word
document to pdf.

I am confronting with an ambiguity that is this api a jar file or i wan to
use the sdk. So, Kindly requested to revert back with a solution as soon as
possible.

Thanking you
Charles v c




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



[dev] word2pdf conversion-using open office org

2008-03-06 Thread charles chandran
Hi

   May I know how can I use Openoffice.org api to convert a word
document to pdf.

I am confronting with an ambiguity that is this api a jar file or i wan to
use the sdk. So, Kindly requested to revert back with a solution as soon as
possible.

Thanking you
Charles v c


Re: [dev] Thank you for voting Beijing

2008-03-06 Thread Graham Lauder
On Thursday 06 March 2008 18:16:55 Peter Junge wrote:
> Dear OpenOffice.org community,
>
> on the behalf of the proposing team, I would to like to thank you all
> for putting your trust in Beijing to host the 2008 OpenOffice.org Annual
> Conference.
>
> Having the OOoCon for the first time in Beijing means, that there will
> be a lot of attendees, who couldn't make it to Europe in the years
> before. We have big neighbor communities in Korea and Japan, that will
> be able to reach the OOoCon easily this. 

Heh, not to mention Australia and New Zealand.  My thanks to the Chinese OOo 
community who put together such a good bid to bring the conference a bit 
closer to us, maybe not the same hemisphere but at least a bit closer.  It 
will give some of us the chance to attend for the first time. 


> I hope to see you all of you at the OOoCon 2008 to celebrate both the
> community and the product. We will enter China trough the front door and
> make a lot of noise, so everybody can hear OpenOffice.org has arrived at
> a new shore.

It will be good to be there. I look forward with eager anticipation. :)

>
> Best regards,
> Peter

cheers
GL

-- 
Graham Lauder,
OpenOffice.org MarCon (Marketing Contact) NZ
http://marketing.openoffice.org/contacts.html

INGOTs Moderator New Zealand
www.theingots.org.nz

GET DRESSED : GET OOOGEAR
Gear for the well dressed OOo Advocate
www.ooogear.co.nz

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



[dev] Thank you for voting Beijing

2008-03-06 Thread Peter Junge

Dear OpenOffice.org community,

on the behalf of the proposing team, I would to like to thank you all 
for putting your trust in Beijing to host the 2008 OpenOffice.org Annual 
Conference.


Having the OOoCon for the first time in Beijing means, that there will 
be a lot of attendees, who couldn't make it to Europe in the years 
before. We have big neighbor communities in Korea and Japan, that will 
be able to reach the OOoCon easily this. We also heard some great 
success stories over the last couple of weeks, especially from Vietnam 
and Cambodia, and I deeply hope, they will be told in-depth by the 
people who did it, in Beijing. Of course, this all means too, that now 
the original European community will now face the same issue of 
traveling to a remote location. Please be assured, that we will do 
everything we can to enable a very large number of people to come to 
Beijing.


I hope to see you all of you at the OOoCon 2008 to celebrate both the 
community and the product. We will enter China trough the front door and 
make a lot of noise, so everybody can hear OpenOffice.org has arrived at 
a new shore.


Best regards,
Peter

--
Peter Junge
Open Source Strategy Director

北京红旗中文贰仟软件技术有限公司
Beijing Redflag Chinese 2000 Software Co., Ltd.
Building No.2, Block A, Huilongsen, 18 Xihuan Nanlu
Beijing Economic-Technological Development Area
Beijing - P.R.China

Tel:+86-10-51570010 ext.6183
http://www.redflag2000.cn
http://www.redflag2000.cn/english/index.htm


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



Re: [dev] RFC: java 1.5

2008-03-06 Thread Charles-H. Schulz

Hi,

well, I was wondering where we were standing on this issue..

Best,
Charles.

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



Re: [dev] RFC: java 1.5

2008-03-06 Thread Malte Timmermann
My point of view:

Most people agree that OOo mustn't loose (meta) data when Java is not
available, but plug ins for working with meta data can rely on Java.

Changing OOo's Java base line from 1.4 to 1.5 is fine for most people then.

Malte.

Charles-H. Schulz wrote, On 03/06/08 18:02:
> Hi,
> 
> well, I was wondering where we were standing on this issue..
> 
> Best,
> Charles.
> 
> -
> 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] RFC: java 1.5

2008-03-06 Thread Charles-H. Schulz

Hi,
Le 6 mars 08 à 18:09, Malte Timmermann a écrit :


My point of view:

Most people agree that OOo mustn't loose (meta) data when Java is not
available, but plug ins for working with meta data can rely on Java.

Changing OOo's Java base line from 1.4 to 1.5 is fine for most  
people then.


+1

Charles.



Malte.

Charles-H. Schulz wrote, On 03/06/08 18:02:

Hi,

well, I was wondering where we were standing on this issue..

Best,
Charles.

-
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] New License and Contributor Agreement

2008-03-06 Thread Louis Suarez-Potts

All,

Some interesting news.

Summary


* The license for code is changing from the early LGPL v 2.1 to 3.0  
effective the Beta of OpenOffice.org 3.0. (The actual date of this  
beta has not been finalized.)


* The Joint Copyright Assignment form (JCA) is being replaced by the  
Sun Microsystems Inc. Contributor Agreement (SCA). This change is  
effective immediately with this announcement.


Background
==

Late last year, there was a discussion about the implications of the  
ratification of GPLv3 or LGPLv3 for OpenOffice.org among the  
OpenOffice.org project leads. The leads were generally in favour of  
adopting the updated licenses. The outcome of this and other  
discussions is that Sun is changing the license for the OpenOffice.org  
codebase to the more flexible and protective LGPL v3 [0], effective  
with the beta of OpenOffice.org 3.0 which is due later this year. This  
change is supported by the OpenOffice.org Community Council.


This move forward is the natural evolutionary step to take for a  
codebase using a license from the FSF license family. The drafting  
process for the license involved substantial FOSS community input and  
we will benefit from this work. In particular, the new license  
includes additional protections for the community against software  
patents.


OpenOffice.org will continue using the LGPL so as to minimize the  
disruption to our community and expanding ecosystem, which evolved  
around the LGPL codebase. The LGPL grants flexibility to a broad range  
of users and developers, while still ensuring that modifications to  
the code are contributed back to the community.


The new license is a major reason to exchange the Joint Copyright  
Assignment(JCA) with the Sun Contributor Agreement(SCA) [1]. For  
OpenOffice.org there will be an addendum, which accommodates  
developers of the core OOo codebase and of non-core extensions through  
different contribution models. It does not change the fact that  
contributions to the product packaged as OpenOffice.org require an SCA.


The addendum enables OpenOffice.org to more easily host the source  
code of extensions, and thus promotes collaboration with other  
interested parties on the respective extension in a familiar  
environment. There is similar flexibility for documentation. The  
creation of the related contribution guidelines is in progress.


A large number of GPL/LGPL projects have already moved to v3 [2]. For  
OpenOffice.org the next major release is the right time to change.  
Preparations will start immediately, so that we can publish  
OpenOffice.org 3.0 Beta under LGPLv3.


The SCA, including the OpenOffice.org addendum, will be published on  
the OpenOffice.org site together with a FAQ and a pointer to the Sun  
SCA FAQ [3]. It comes into effect with this announcement. See also our  
FAQ on licensing. [4].


A copy of this announcement can be found at http://www.openoffice.org/licenses/newlicense2008.html 
 .


Regards,

Louis Suarez-Potts
Community Manager
OpenOffice.org
Sun Microsystems, Inc.


[0] http://www.fsf.org/licensing/licenses/lgpl.html
[1] http://www.openoffice.org/licenses/sca.pdf
[2] http://gpl3.palamida.com:8080/index.jsp
[3] http://www.sun.com/software/opensource/contributor_agreement.jsp
[4] http://www.openoffice.org/FAQs/faq-licensing.html

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



[dev] GoOOoCon2008 / Prague ...

2008-03-06 Thread Michael Meeks
Hi guys,

The Novell team thought that, what with the next OOoCon being in
Beijing and the cost of travel there (etc.) and of course the broad
focus of that conference; that it would be good to have a very
hacker-focused event in Europe. So, we're inviting all hyper-technical
people (with or without long hair) to join the Novell go-oo team for
part of their annual team face-to-face in Prague.

To re-iterate, this is not an attempt to undermine OOoCon - if you can
only afford to go to one conference (money, time, spousal -patience /
whatever); go to OOoCon.

Having said that, it should be a fun time to sit and chew over the
latest developments, problems, and opportunities - while getting to know
other people.

Conference site:
+ http://wiki.services.openoffice.org/wiki/GoOOCon_2008
The place:
+ Prague, beautiful city, home to SUSE labs, an
  inexpensive place to stay & eat
The time:
+ April 11th / 12th
The (preliminary) plan:
+ April 11th, ad-hoc presentations, hacking, evening
  drinks / meal.
+ April 12th, am: more of the same
  pm: fun ropes course / team building
+ check the wiki as time passes for more details.
Getting there:
+ unfortunately, we can't pay expenses, which is sad.
+ on the other hand, cheap flights & cheap hotels
  shouldn't bust the bank.

We're trying to keep the event small & friendly, focusing on
hard-core coding, and vcl/source/inc/hardcore.hxx type topics. There
is no need to speak, but if you have something you want to talk about,
please do show up with some slides, and drop Kendy a line with some idea
of what you'd like to say.

* There will also be a moratorium on overt politics *

Inevitably, this being the .cz republic, unless you are
careful, there will be a certain amount of walking through forests,
and with the ropes course it's worth bringing some good footwear.

Please poke Kendy [ NB. not the mailing list ;-> ] if you can
come.

Thanks for reading,

   Michael, JP & team.

-- 
 [EMAIL PROTECTED]  <><, Pseudo Engineer, itinerant idiot




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



Re: [dev] GoOOoCon2008 / Prague ...

2008-03-06 Thread Charles-H. Schulz

Michael,

I am sorry but given the way you describe this event, it seems that:

- it will be 'hackers' only
- nobody will be able to speak politics (ah, those darned politics and  
politicians, always pointing out awkward things about your employer!  
Why do they even exist?) which in essence means, that discussions will  
be managed
- you seem to be ignoring the existence of "RegiCons", or regional  
conferences that work very well.


In short, you advertise for a Novell event.
Notice that I think a Novell event could be an interesting idea, but,  
as I wrote above, the way it is being pictured looks problematic to me.


Best,
Charles.

Le 6 mars 08 à 19:24, Michael Meeks a écrit :


Hi guys,

The Novell team thought that, what with the next OOoCon being in
Beijing and the cost of travel there (etc.) and of course the broad
focus of that conference; that it would be good to have a very
hacker-focused event in Europe. So, we're inviting all hyper-technical
people (with or without long hair) to join the Novell go-oo team for
part of their annual team face-to-face in Prague.

	To re-iterate, this is not an attempt to undermine OOoCon - if you  
can

only afford to go to one conference (money, time, spousal -patience /
whatever); go to OOoCon.

Having said that, it should be a fun time to sit and chew over the
latest developments, problems, and opportunities - while getting to  
know

other people.

   Conference site:
   + http://wiki.services.openoffice.org/wiki/GoOOCon_2008
   The place:
   + Prague, beautiful city, home to SUSE labs, an
 inexpensive place to stay & eat
   The time:
   + April 11th / 12th
   The (preliminary) plan:
   + April 11th, ad-hoc presentations, hacking, evening
 drinks / meal.
   + April 12th, am: more of the same
 pm: fun ropes course / team building
+ check the wiki as time passes for more details.
   Getting there:
   + unfortunately, we can't pay expenses, which is sad.
   + on the other hand, cheap flights & cheap hotels
 shouldn't bust the bank.

   We're trying to keep the event small & friendly, focusing on
hard-core coding, and vcl/source/inc/hardcore.hxx type topics. There
is no need to speak, but if you have something you want to talk about,
please do show up with some slides, and drop Kendy a line with some  
idea

of what you'd like to say.

* There will also be a moratorium on overt politics *

   Inevitably, this being the .cz republic, unless you are
careful, there will be a certain amount of walking through forests,
and with the ropes course it's worth bringing some good footwear.

   Please poke Kendy [ NB. not the mailing list ;-> ] if you can
come.

   Thanks for reading,

  Michael, JP & team.

--
[EMAIL PROTECTED]  <><, Pseudo Engineer, itinerant idiot




-
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] how to use ClassLoader.getSystemResource(file) inside an extension ?

2008-03-06 Thread Oliver Brinzing


Hi,

i try to load some *.xsd files for schema validation out of a jar file.

As long as i start the jar file outside the office an connect via remote
everything works fine. The *.xsd files are located inside the jar,
for example: "my/package/resources/schema.xsd"

But if i create an extension, the following code fails, cause
the *.xsd files are not found :-( ...

public InputStream getInputStreamFromFile(final String file) {

final URL url = ClassLoader.getSystemResource(file);
if (url != null)
try {
return url.openStream();
} catch (final IOException e) {
e.printStackTrace();
}
return null;
}

any hint's ?

Oliver

--

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45



signature.asc
Description: OpenPGP digital signature


Re: [dev] how to use ClassLoader.getSystemResource(file) inside an extension ?

2008-03-06 Thread Robert Vojta
On Thu, Mar 6, 2008 at 8:07 PM, Oliver Brinzing <[EMAIL PROTECTED]> wrote:

Hi,

>  i try to load some *.xsd files for schema validation out of a jar file.

.xsd is in the same .jar file as your extension? If yes,
getClass().getResource( "/path/in/my/jar/something.xsd" ) should work.

-- 
Robert Vojta

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



Re: [dev] GoOOoCon2008 / Prague ...

2008-03-06 Thread Cor Nouws

Charles-H. Schulz wrote (6-3-2008 19:39)

Le 6 mars 08 à 19:24, Michael Meeks a écrit :



The Novell team thought that, what with the next OOoCon being in
Beijing and the cost of travel there (etc.) and of course the broad
focus of that conference; that it would be good to have a very
hacker-focused event in Europe. So, we're inviting all hyper-technical
people (with or without long hair) to join the Novell go-oo team for
part of their annual team face-to-face in Prague.

To re-iterate, this is not an attempt to undermine OOoCon 


Great to read this. I didn't expect anything else of course...

- if you can only afford to go to one conference (money, time, 
spousal -patience / whatever); go to OOoCon.


.. but here I would have expected: "choose the great multi-international 
event in Beijing, whenever possible. And if money is a problem, look at 
the special offers. If you have more time and interests, don't miss Prague."



Having said that, it should be a fun time to sit and chew over the
latest developments, problems, and opportunities - while getting to know
other people.

   Conference site:
   + http://wiki.services.openoffice.org/wiki/GoOOCon_2008
[...]



I am sorry but given the way you describe this event, it seems that:
[...]

In short, you advertise for a Novell event.
Notice that I think a Novell event could be an interesting idea, but, as 
I wrote above, the way it is being pictured looks problematic to me.


I'm not aware (my fault) of guide lines for RegiCons. But I expect it to 
be rather low level to set up. So why not try to do some extra's and 
make a RegiCon of the Go-OOo event?
IMO it's great if the Novell OOo team organizes an event and others feel 
free to join and enjoy. I wouldn't understand why there should be X- of 
Y-only events :-)


Best,
Cor


--

"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 use ClassLoader.getSystemResource(file) inside an extension ?

2008-03-06 Thread Oliver Brinzing

Hi Robert,


.xsd is in the same .jar file as your extension? If yes,


yes it's inside the extension ...


getClass().getResource( "/path/in/my/jar/something.xsd" ) should work.

i just found:

InputStream is = this.getClass().getClassLoader().getResourceAsStream(file);

anyway, i still do not understand why ClassLoader.getSystemResource(file);
does not work inside an extension ...

thanks

Oliver

--

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45



signature.asc
Description: OpenPGP digital signature


[dev] Re: word2pdf conversion-using open office org

2008-03-06 Thread Andrew Ziem

charles chandran wrote:

Hi

   May I know how can I use Openoffice.org api to convert a word
document to pdf.

I am confronting with an ambiguity that is this api a jar file or i wan to
use the sdk. So, Kindly requested to revert back with a solution as soon as
possible.



Try this
http://www.artofsolving.com/opensource/jodconverter

Andrew


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



[dev] soffice.bin crash when start up and return value is 78

2008-03-06 Thread Zongyun Lai

Hi all,
I am new to OpenOffice development. I grabed the "vanilla" source codes 
from development build (build OOH680_m8) today. And I happily compiled 
them with the help of ccache and distcc. Some, compiling is not a great 
pain. However, when I want to launch the application, I do the following 
operations, and it crashes,

$ . LinuxX86Env.Set.sh
$ cd solver/680/unxlngi6.pro/bin/
$ ./soffice.bin -impress
(.. a quick splash screen, then crash, can't even see what it is...)
$ echo $?
78

However, when I install the packages, the installed program runs perfectly.
$ cd instsetoo_native/unxlngi6.pro/OpenOffice/deb/install/en-US/DEBS/
$ sudo dpkg -i *.deb
$ /opt/openoffice.org2.4/program/soffice.bin -impress
( runs normally )

So, could anyone give me some hints for this weird situation? Why can't 
I just launch applications in solver/680/unxlngi6.pro/bin/ directdory? I 
have googled the problem, some article suggest setting 
OOO_FORCE_DESKTOP=none, but it is of no use. So, if I have to install 
those packages after each modifications, it is very inconvenient for 
testing and debugging.


Some system information,
Debian GNU/Linux lenny/testing
2.6.22-3-686
gcc (GCC) 4.2.3 (Debian 4.2.3-1)
g++ (GCC) 4.2.3 (Debian 4.2.3-1)

Sorry for the long post, any help will be appreciated.

Zach



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



Re: [dev] Extension not working with open office separately

2008-03-06 Thread Dinesh Chothe
On Thu, Mar 6, 2008 at 4:05 PM, Robert Vojta <[EMAIL PROTECTED]> wrote:

> On Wed, Mar 5, 2008 at 7:51 AM, Dinesh Chothe <[EMAIL PROTECTED]>
> wrote:
>
> > I have created one oo extension project using Netbeans.
> > When  I build and run this extension through Netbeans
> > it works fine
>
> Does this mean that you click on Deploy and Run Extension in
> OpenOffice.org?

-->Yes. This has done through netbeans progect-->right click-->deploy and
run application
 in open office.

>
>
> > but after creating its   .oxt   file  through
> > Netbeans  and  building  it through tools-->Extension Manager in open
> office(2.3)
> > not working.
>
> How did you create your extension (.oxt file)? Create OXT in project
> context menu?
>
> These steps are equivalent (in extension create & install view) ...
>
> a) Create OXT and manual installation ( Tools - Extension Manager )
> b) Deploy OpenOffice.org Extension
> c) Deploy and Run Extension in OpenOffice.org
>
> ... if not, it is probably a bug and should be reported.


 --> Yes I have tried all bove mentioned possible ways.

Also my extension uses some java classes in which some functions are
 related with jdk1.6 library.  For  this  I  also  set  the  jre1.6
in  open office.
By  this I am getting an error while clicking on new menu item that ...
Open office requires java run time enviornment. Selected jre is
defective.
 Please select another jre...
 For this also I checked jre,  it is selected properly under
tools->optione->
  java-->jre1.6  .
 How do I solve this problem?

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


-- 
Dinesh P. Chothe
INDICTRANS