[dev] branchwatch extension (automagic cws info)

2010-07-19 Thread Björn Michaelsen
Hi all,

I hacked together a proof-of-concept for a mercurial extension that
does automagically do all the annoying bookkeeping for cws handling.
From the description page on the wiki:

"The branchwatch extension is an extension for the Mercurial SCM that
collects data about all the feature branches (ChildWorkSpaces) in
OpenOffice.org development. It extracts all information only from the
repository itself. Once it is stable, it could make the annoying
administrative overhead of keeping data about branches up-to-date in
external tools like EIS superficial -- at least for the time of active
development (i.e. before 'Ready for QA')."
http://wiki.services.openoffice.org/wiki/User:B_Michaelsen/Mercurial/Branchwatch

The current state of the extension shows that all administrative data
can be extracted from the repository alone (so it fulfilled the
"proof" in "proof-of-concept").
Before exploring the idea further, I would like to hear some feedback:
Do other devs think it is worth the effort? Are there totally different
ideas? Anyone interested in helping out?

Best Regards,

Bjoern



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Results for the Community Council Elections (2010-06)

2010-07-19 Thread Cor Nouws

Hi everyone,

The results of the elections for the Product Development Representative, 
held in June/July are now available.


The results are:
Andreas Bartel27 Votes
Thorsten Behrens  11 Votes


The observers, Mechtilde Stehmann, Sophie Gautier and Drew Jensen have 
all approved and confirmed the results. My thanks to them and to Stefan 
Taxhet, who managed the voting apparatus and to Christoph, who took the 
main part in organising the elections.


Please join me in welcoming Andreas. I also wish to thank both Andreas 
and Thorsten for their willingness to serve on the council.


If you want to know more about the current elections, the underlying
process, or the Community Council - please have a look at:
http://wiki.services.openoffice.org/wiki/Community_Council/Elections/2010-06

Finally the request to the project leads, to forward this mail to the 
project members that might be interested. Thanks in advance!



Kindest regards,
Cor



--
 >> Your office 2010 software: the new OpenOffice.org <<

Cor Nouws
  - ideas/remarks for the community council?
  - http://wiki.services.openoffice.org/wiki/Community_Council


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Fwd: Save documents in ~/Documents by default

2010-07-19 Thread Ricardo Espírito Santo
Hello there,

I have been trying this weekend to start my contribution on openoffice. Can
anyone give me a push?

Thank you in advance

-- Forwarded message --
From: Oliver Braun 
Date: 2010/7/19
Subject: Re: Save documents in ~/Documents by default
To: Ricardo Espírito Santo 


Sorry, but I do no longer work on OpenOffice.org. Please ask on the dev or
d...@framework mailing lists for guidance ..

- Oliver


Ricardo Espírito Santo wrote:

> Hey,
>
> I would like to start my participation in open office.
> I saw this /todo/: "Save documents in ~/Documents by default" and thought
> it could be a good place to start. Could you help me out?
> So far I've read a few pages from the /wiki/. Created a /wiki/ account
> registered to a dev mailing list and downloaded the sources.
>
> Thanks in advance,
>  Ricardo Espírito Santo
>




-- 
Ricardo Espírito Santo


Re: [dev] Fwd: Save documents in ~/Documents by default

2010-07-19 Thread Caolán McNamara
On Mon, 2010-07-19 at 04:40 -0400, Ricardo Espírito Santo wrote:
> Hello there,
> 
> I have been trying this weekend to start my contribution on openoffice. Can
> anyone give me a push?

We already save in ~/Documents by default, no ? At least it definitely
seems to under GNOME, pretty sure the xdg dirs spec ended up getting
adopted for those settings at least.

C.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Lifetime of Java objects representing UNO_ENUM values ?

2010-07-19 Thread Stephan Bergmann

On 07/16/10 15:16, rony wrote:

On 16.07.2010 14:51, Stephan Bergmann wrote:

Can you present the exact failing code here?  What type is the
variable named "right," and how exactly does the (reflective, IIUC)
call to setPropertyValue look like?

Yes, but you need to fasten your seat-belt!
;-)


Sorry, even with your in-depth explanation, I remain clueless of what 
causes your problem.  As you say you have a workaround, maybe we should 
leave this mystery unfathomed...


-Stephan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Fwd: Save documents in ~/Documents by default

2010-07-19 Thread Ricardo Espírito Santo
It looks that under Xfce it stores them in $HOME.

It's marked as a *todo* on the todo list, seemed pretty simple so I decided
to start there but any other place is good.

Can you point me in the right direction such as do I need a openoffice
account? Shall I pick another *todo* randomly? Shall I contact anyone in
particular for a startup plan?

Thank you again.

On 19 July 2010 05:11, Caolán McNamara  wrote:

> On Mon, 2010-07-19 at 04:40 -0400, Ricardo Espírito Santo wrote:
> > Hello there,
> >
> > I have been trying this weekend to start my contribution on openoffice.
> Can
> > anyone give me a push?
>
> We already save in ~/Documents by default, no ? At least it definitely
> seems to under GNOME, pretty sure the xdg dirs spec ended up getting
> adopted for those settings at least.
>
> C.
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
> For additional commands, e-mail: dev-h...@openoffice.org
>
>


-- 
Ricardo Espírito Santo


[dev] [Writer c# api]how can I insert the comments and author to document

2010-07-19 Thread xiexiaoxin
Hi,



How to insert the Comments as the description of document by OpenOfice.org
API?

what my code is like below . but it only can insert the "DocumentTitle" to
documents, but can't insert the "Comment" and “Author” , I don't know why.



// get storable interface

XStorable xStorable = (XStorable)xDoc;



// set properties

unoidl.com.sun.star.beans.PropertyValue[] propValsStore = new
unoidl.com.sun.star.beans.PropertyValue[4];

propValsStore[0] = new unoidl.com.sun.star.beans.PropertyValue();

propValsStore[0].Name = "Overwrite";

propValsStore[0].Value = new uno.Any(true);

propValsStore[1] = new unoidl.com.sun.star.beans.PropertyValue();

propValsStore[1].Name = "DocumentTitle";

propValsStore[1].Value = new uno.Any("MyDocumentTitle"

propValsStore[2] = new unoidl.com.sun.star.beans.PropertyValue();

propValsStore[2].Name = "Comment";

propValsStore[2].Value = new uno.Any("MyComment");

propValsStore[3] = new unoidl.com.sun.star.beans.PropertyValue();

propValsStore[3].Name = "Author";

propValsStore[3].Value = new uno.Any("MyAuthorName");





// save document

xStorable.storeToURL(strSaveToURL, propValsStore);



Best Regards!

★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★
北京天達楽惠軟件有限公司
ソフトウエア部
謝暁繒



北京市海淀区中関村軟件園孵化器3B座1220
〒:100094
TEL: 86-10-82825235-602  FAX: 86-10-82826735
E-MAIL: xiexiao...@bjtenda.cn
★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★



[dev] I want to help develop OpenOffice using Java

2010-07-19 Thread Liran 1
Hello
I am  interested in helping develop Open Office, using Java language. I am a
Computer Science first degree student at a University. I am
interesting in *actually
writing a code* that will be used in Open Office, i.e. writing needed
classes.
Maybe you can give me specific directions on how to begin ?
I have read the TO-DO list...

thanks
Liran


[dev] Re: [Writer c# api]how can I insert the comments and author to document

2010-07-19 Thread Michael Stahl
On 17/07/2010 08:49, xiexiaoxin wrote:
> Hi,
> 
> 
> 
> How to insert the Comments as the description of document by OpenOfice.org
> API?
> 
> what my code is like below . but it only can insert the "DocumentTitle" to
> documents, but can't insert the "Comment" and “Author” , I don't know why.

you can set all of these via the DocumentProperties service that is
available from the Model of the document:
http://api.openoffice.org/docs/common/ref/com/sun/star/document/XDocumentProperties.html
http://api.openoffice.org/docs/common/ref/com/sun/star/document/XDocumentPropertiesSupplier.html

XDocumentPropertiesSupplier is implemented by the Model of Writer, Calc,
Draw and Impress documents.

regards,
 michael

-- 
"We've long needed a filesystem named after a vegetable."
 -- Andrew Morton


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org