[dev] Writing Code for OOo - Introduction

2005-04-28 Thread Merrell, Douglas Stuart
Hi,

I want to get involved (anti-M$) but I don't know where to start.  I am 
currently reading the Developer's Guide to get acquainted with the 
architecture.  I mainly want to write Java code but I also use to write C++.  I 
know XML completely and work with XML at a functional level professionally.  My 
B.S. is in Computer Science and I'm a Sun Certified Programmer... studying for 
the Developer Exam in my free time.

I was wondering if I could start out providing patches/fixes/enhancements to 
existing code first and build up a base level of knowledge about how the 
different modules interact?

Thanks,
Stuart

please send all responses to: [EMAIL PROTECTED]

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



[dev] Re: Java / SWT / OpenOffice / Ole Problem

2005-04-28 Thread Tobias Himstedt
Good morning,
Unfortunately I don't know anything about the SWT stuff. Is it providing
an OLE container that stores the embedded document? And what is the file
Unfortunatly I don't know anything about ole nor openoffice. But 
according to the (example) source code I first create a so called OleFrame:

oleFrame = new OleFrame(sShell, SWT.NONE);  
within that frame an oleClientSite object is created, which specifies 
the actual ole application

	oleClientSite = new OleClientSite(oleFrame, SWT.NONE, 
"opendocument.WriterDocument.1");

you mentioned? If this is the result from the "OleSave" call I'm not
The file is a java.io.File which you pass to
oleClientSite.save(file, oleYesOrNor)
whereas boolean oleYesOrNo specifies if you would like to include ole 
information.

astonished that you can't open it in OOo because this is a special
format only used for embedding it into an OLE client. If you have a
storage viewer you could try to have a look into it. You should be able
to find a stream that contains the usual OOo package file format.
Not really sure what you mean here. The file that is saved is a "sort 
of" an openoffice document. I unzipped it and it contains several xml 
documents, including a content.xml where I can find my bla bla editings. 
Then I compared it with a "normal saved" document and I found that it 
was missing some pieces, e.g., the thumbnails directory and the meta.xml 
file.


If you embed OOo via Java I really recommend to use the OOo API for
saving the content not some OLE stuff that only works on Windows.
Is this still possible when using ole stuff?
Thanks -- Tobias
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[dev] disabling Registration Dialog in OOo1.9

2005-04-28 Thread Manuel
Hello there

Is it possible to disable the initial registration dialog? If yes, how?

Regards

Manu 




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



Re: [dev] Thoughts on CVS?

2005-04-28 Thread David Fraser
Daniel Carrera wrote:
Ken Foskey wrote:
I want to write a proposal on implementing a replacement for CVS so I
have been spending some time learning about this stuff.

I asked at the Darcs mailing list (I didn't say I was "from OOo" or 
anything :) about its scalability. This is what they say:

a) Darcs scales very well for long history.
b) Darcs scales very BADLY for large source trees.
c) Darcs scales very BADLY for large patches.
I asked using the example of the Linux kernel (clever, eh?) and they 
said that some people have tried to import the Linux kernel into 
Darcs. And they've all failed miserably. Given that OOo's source code 
is twice as large... it looks like Darcs couldn't work for OOo.

Too bad, it's so cool. :-)
Maybe I'll talk to the Monotone people.
And maybe to the bazaar people. I saw a note from the developer saying 
that bazaar-ng seemed to handle the Linux kernel fine
Seeing this is all experimental research, that may be one worth looking 
at even though its still in early development

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


Re: [dev] Writing Code for OOo - Introduction

2005-04-28 Thread Ken Foskey
On Wed, 2005-04-27 at 16:48 -0400, Merrell, Douglas Stuart wrote:
> Hi,
> 
> I want to get involved (anti-M$) but I don't know where to start.  I
> am currently reading the Developer's Guide to get acquainted with the
> architecture.  I mainly want to write Java code but I also use to
> write C++.  I know XML completely and work with XML at a functional
> level professionally.  My B.S. is in Computer Science and I'm a Sun
> Certified Programmer... studying for the Developer Exam in my free
> time.
> 
> I was wondering if I could start out providing
> patches/fixes/enhancements to existing code first and build up a base
> level of knowledge about how the different modules interact?

I have a problem with beanshell that I need help with:

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

Regarding the rest, mainly what things interest you most apart from
languages.  There are a lot of tings that need to be done it is better
to direct you to a project that interests you.  Possibly you offer help
in the http://xml.openoffice.org project.

-- 
Ken Foskey
OpenOffice.org developer



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



Re: [dev] Thoughts on CVS?

2005-04-28 Thread Daniel Carrera
David Fraser wrote:
Maybe I'll talk to the Monotone people.
And maybe to the bazaar people. I saw a note from the developer saying 
that bazaar-ng seemed to handle the Linux kernel fine
Seeing this is all experimental research, that may be one worth looking 
at even though its still in early development
That's a good idea. Like you said, this is experimental research, so 
it's perfectly fine to look at alternatives that aren't mature yet.

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


[dev] More than one interface inside a .idl file

2005-04-28 Thread Ary Junior
Hi, im trying to registry two interfaces inside the same .idl file... 
these interfaces are implemented with Java to be used as add-in 
functions with Calc... My problem is with the manifest file inside the 
.jar... How can i define my two class (one for each interface)? If i 
define the manifest likes this:

RegistrationClassName: root.mymodule.NewInterface
RegistrationClassName: root.mymodule.MyInterface
Only the methods of the last interface appear in the insert function 
wizard of Calc...

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


[dev] [Fwd: OO programmer needed]

2005-04-28 Thread Nick Richards
Hi All,
I was sent this email due to my past involvement with the OOo project. 
However it seemed more likely that a likely independent developer would 
be hanging out here.

Nick
 Original Message 
Subject:OO programmer needed
Date:   Wed, 27 Apr 2005 11:25:02 -0600
From:   Jon Bushey <[EMAIL PROTECTED]>
To: nick

Hi from the USA.
We are looking for a programmer to help us create an add-in to
OpenOffice. I saw on your site that you are involved (or was) in the OO
project. Can you or do you know anyone that can help write a small
add-in for OpenOffice?
Regards,
Jon B. Bushey
2225 E 4800 S, Suite 109
Salt Lake City, UT 84117-5385
(801) 272-7090

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


Re: [dev] More than one interface inside a .idl file

2005-04-28 Thread Nikolai Pretzell
Hi Ary,

Hi, im trying to registry two interfaces inside the same .idl file... 
I can't give you a workaround (others probably can), but AFAIK, the 
creators of UNO IDL did explicitely intend, there should only be one IDL 
type in one IDL file. This is a feature, not a bug. ;-)

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


Re: [dev] Re: Java / SWT / OpenOffice / Ole Problem

2005-04-28 Thread Mathias Bauer
Tobias Himstedt wrote:
> Good morning,
> 
>> Unfortunately I don't know anything about the SWT stuff. Is it providing
>> an OLE container that stores the embedded document? And what is the file
> 
> Unfortunatly I don't know anything about ole nor openoffice. But 
> according to the (example) source code I first create a so called OleFrame:
> 
>   oleFrame = new OleFrame(sShell, SWT.NONE);  
> 
> within that frame an oleClientSite object is created, which specifies 
> the actual ole application
> 
>   oleClientSite = new OleClientSite(oleFrame, SWT.NONE, 
> "opendocument.WriterDocument.1");

That pretty much looks like OLE stuff.

> whereas boolean oleYesOrNo specifies if you would like to include ole 
> information.

I assume you yes "no", so you directly get the file stream and not the
OLE storage.

> Not really sure what you mean here. The file that is saved is a "sort 
> of" an openoffice document. I unzipped it and it contains several xml 
> documents, including a content.xml where I can find my bla bla editings. 
> Then I compared it with a "normal saved" document and I found that it 
> was missing some pieces, e.g., the thumbnails directory and the meta.xml 
> file.

The appearance of the filter dialog (as mentioned in your first mail)
seems to tell us that the file misses a proper MediaType. Is there a
manifest.xml with the correct type added?

To my knowledge the file stream OO stores into the OLE storage is a
complete OOo document, so it's a miracle to me how something can get
lost. Maybe SWT manipulates the file?!

Sorry, but I don't know the SWT stuff and how it communicates with OOo.
I'm afraid without further information about the internal processes in
SWT I can't be of help.

Best regards,
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] Writing Code for OOo - Introduction

2005-04-28 Thread Arindam Mukherjee
Hi,

I have some experience with UNO and XML and would like to contribute
to  http://xml.openoffice.org or any other suitable project.
How/where do I start??

Regards

Arindam Ray Mukherjee


-Original Message-
From: Ken Foskey [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 28, 2005 5:34 PM
To: dev@openoffice.org
Subject: Re: [dev] Writing Code for OOo - Introduction


On Wed, 2005-04-27 at 16:48 -0400, Merrell, Douglas Stuart wrote:
> Hi,
> 
> I want to get involved (anti-M$) but I don't know where to start.  I
> am currently reading the Developer's Guide to get acquainted with the
> architecture.  I mainly want to write Java code but I also use to
> write C++.  I know XML completely and work with XML at a functional
> level professionally.  My B.S. is in Computer Science and I'm a Sun
> Certified Programmer... studying for the Developer Exam in my free
> time.
> 
> I was wondering if I could start out providing
> patches/fixes/enhancements to existing code first and build up a base
> level of knowledge about how the different modules interact?

I have a problem with beanshell that I need help with:

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

Regarding the rest, mainly what things interest you most apart from
languages.  There are a lot of tings that need to be done it is better
to direct you to a project that interests you.  Possibly you offer help
in the http://xml.openoffice.org project.

-- 
Ken Foskey
OpenOffice.org developer



-
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] error on head

2005-04-28 Thread Ken Foskey

Has anyone seen this error and have anything to fix it?

... languages ENUS ... 

**
ERROR: ERROR: Missing files
in function: remove_Files_Without_Sourcedirectory
**

**
ERROR: Saved
logfile: 
/data/office/instsetoo_native/unxlngi6.pro/OpenOffice/logging/ENUS/log_SRC680__ENUS.log
**
... analyzing files ...
ERROR: The following files could not be found: 
ERROR: File not found: shared_ENUS.zip
ERROR: File not found: sdatabase_ENUS.zip
ERROR: File not found: sbasic_ENUS.zip
ERROR: File not found: schart_ENUS.zip
ERROR: File not found: autotextshare_ENUS.zip
ERROR: File not found: palettes_ENUS.zip
ERROR: File not found: tpllayoutimpr_ENUS.zip
ERROR: File not found: tplpresntimpr_ENUS.zip
ERROR: File not found: tplwizdesktop_ENUS.zip
ERROR: File not found: tplwizfax_ENUS.zip
ERROR: File not found: tplwizagenda_ENUS.zip
ERROR: File not found: tplwizmemo_ENUS.zip
ERROR: File not found: tplwizreport_ENUS.zip
ERROR: File not found: tplwizstyles_ENUS.zip
ERROR: File not found: wordbook_ENUS.zip
ERROR: File not found: swriter_ENUS.zip
ERROR: File not found: scalc_ENUS.zip
ERROR: File not found: sdraw_ENUS.zip
ERROR: File not found: simpress_ENUS.zip
ERROR: File not found: smath_ENUS.zip
... cleaning the output tree ...
Fri Apr 29 09:18:55 2005 (00:03 min.)
dmake:  Error code 255, while making 'openoffice_ENUS'
'---* tg_merge.mk *---'

ERROR: next directories could not be built:
/data/office/instsetoo_native/util

ERROR: please check these directories and build the corresponding
module(s) anew!!


-- 
Ken Foskey
OpenOffice.org developer



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