Re: [dev] Help Programming

2010-09-14 Thread Cédric Bosdonnat
Hi John,

On Mon, 2010-09-13 at 11:34 -0700, John Verber wrote:
 Hello I'd like to help with OpenOffice.   I don't really know where to
 start.  I'm still in college and as such my programming skills are not
 stellar.  But I know where to look for answers so if you have any
 kinda projects that would fit my bill, I'd love to work on them.  I'll
 also check the wiki and to-do lists.

You could also look for the bugs in an area that would interest you and
try to fix them. Don't hesitate to ask if you don't know if a bug would
be too hard to fix or not.

Regards,

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Where can I find Source code of OOo 1.0.0 and/or few others

2010-09-13 Thread Cédric Bosdonnat
Hi,

On Sun, 2010-09-12 at 07:57 -0700, Surafel Lemma wrote:
 Could you pls. indicate me where I can find the source code of OOo 1.0.0, 
 1.0.2 
 or 1.1.0?I have checked this URL: 
 http://ooo.mirror.garr.it/mirrors/openoffice-archive/stable/, but it doesnt 
 have 
 an entry for a version or the source code is not there.

Why do you want those really old versions? Those are on the CVS
repository.

Some links to help you getting it:
http://wiki.services.openoffice.org/wiki/CVS
http://cedric.bosdonnat.free.fr/wordpress/?p=78

Regards,

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Import of relative links from .doc files.

2010-09-12 Thread Cédric Bosdonnat
Hi Knut,

On Sat, 2010-09-11 at 23:54 +0200, Knut Olav Bøhmer wrote:
 My first guess is to look at the function
 bool WW8AttributeOutput::StartURL( const String rUrl, const String rTarget
 )
 in /sw/source/filter/ww8$ less wrtw8nds.cxx
 
 Or am I on the wrong track?

This is the code for the export. The import is in the same folder, but
you should have a look at the ww8par*.cxx files.

--
Cedric






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



Re: [dev] --== OpenOffice.org HackFest ==--

2010-09-06 Thread Cédric Bosdonnat
Dear hackfest organisers,

On Mon, 2010-09-06 at 15:48 +0200, Thorsten Behrens wrote:
 The OOo Hackfest will take place over a weekend (starting Friday night
 with some opportunity to socialize, and ending Sunday noon), and a
 tentative program could look like this:

Thanks for such an initiative!

 To give as many people as possible the opportunity to participate,
 we're offering two dates to select from. If you're interested, we ask
 you to log your preferred date(s) within one week here:
 
 http://www.doodle.com/6agr35kkqyxtnakd

Voted!

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



RE: [dev] empty MS Word text fields not empty in Writer

2010-07-09 Thread Cédric Bosdonnat
Hi Joerg,

Le vendredi 09 juillet 2010 à 09:52 +0200, Joerg Reschke a écrit :
 On 8. Juli 2010 10:16, Cédric Bosdonnat wrote:
  The support for these fields is evolving currently. A CWS has been 
  integrated to prepare this, 
  but there are still some incompatibilities to fix, mostly on the ODF front. 
 
 Thanks for the information. We found out, the problem occurs not in every 
 case. Now we try to 
 find out more about this (maybe the MS Word version is the problem).

Ok, good thing.

  I would be happy to see you join the effort ;)
 I can try to find the bug, do you have some more information about the ww8 
 filter?

I could help you to get introduced to the ww8 filter... but after my
vacations (in August)

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] empty MS Word text fields not empty in Writer

2010-07-08 Thread Cédric Bosdonnat
Hi Joerg,

Le mercredi 07 juillet 2010 à 11:48 +0200, Joerg Reschke a écrit :
 we have to migrate a lot of MS Word documents (.doc) to OOo and we have a 
 problem with the empty MS Word text fields. The Writer imports these text 
 fields, but the value is not empty: 
 - MS Word displays empty text fields as ° and prints these values as 
 space. 
 - The Writer displays imported empty text fields with @ and prints also 
 the value as @. 

The support for these fields is evolving currently. A CWS has been
integrated to prepare this, but there are still some incompatibilities
to fix, mostly on the ODF front. I would be happy to see you join the
effort ;)

Regards,

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] dependency problem

2010-07-02 Thread Cédric Bosdonnat
Hi Mohammed,

Le vendredi 02 juillet 2010 à 19:32 +0530, mohammed safeer a écrit :
 hi..
 when i do ./configure in OOO320_m19,
 i got the following error.what does it means??
 please help...

Could you please try to read and understand the message before asking?

 checking for freetype2 = 2.0 ... Package freetype2 was not found in the
 pkg-config search path. Perhaps you should add the directory containing
 `freetype2.pc' to the PKG_CONFIG_PATH environment variable No package
 'freetype2' found
 configure: error: Library requirements (freetype2 = 2.0 ) not met; consider
 adjusting the PKG_CONFIG_PATH environment variable if your libraries are in
 a nonstandard prefix so pkg-config can find them.

This explicitely tells you that the developement packag from freetype2
aren't installed on your machine!

Regards,

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] auto complete

2010-06-29 Thread Cédric Bosdonnat
Hi Mohammed,

Le mardi 29 juin 2010 à 15:03 +0530, mohammed safeer a écrit :
 can you send me where i can find the code related to automatic word
 completion??

By using the following tricks you could find it by yourself:
http://cedric.bosdonnat.free.fr/wordpress/?p=657

Regards,

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] resume build

2010-06-29 Thread Cédric Bosdonnat
Mohammed,

Le mardi 29 juin 2010 à 18:14 +0530, mohammed safeer a écrit :
 hi...
 
 when i build OOO320_m19  i got error and stoped.
 is there any way to resume the build?

How do you imagine we can help you if you always ask the question in two
lines without any detail / log or whatever?

I don't have any cristal ball here to guess what you're doing and I
suspect the other people here to be in the same case.

Regards,

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Rich Text Format Support in OpenOffice.org Writer

2010-06-17 Thread Cédric Bosdonnat
Hello Chris,

Le mercredi 16 juin 2010 à 13:02 -0700, Chris Carpenter a écrit :
 I would like to volunteer my services to help improve the RTF support for
 openoffice.org writer. However, I am a fairly new programmer and would
 require some guidance getting into the code base, and also some guidance on
 how to work with a large project such as this one.

Then you should join me and vmiklos on a Gsoc task. Miklos is currently
implementing a new export filter for RTF and I'm mentoring him. You
could get some help there. We're often hanging on the #go-oo IRC channel
on irc.freenode.net.

 The first question is probably: Why would I want to improve RTF support?
 Well, my college uses exclusively Microsoft Word for essentianally
 everything, and doesn't support anything else well. The only concession they
 will make is to allow submissions in, and send documents in, RTF format.
 Since RTF support isn't the best right now, i'd like to see if I can manage
 to improve it, even if only a little bit. I had a discussion about why I'd
 want to do this here:
 http://user.services.openoffice.org/en/forum/viewtopic.php?f=7t=31596.
 
 If anyone has the time to point me in the right direction, it would be
 appreciated.

You could start implementing an RTF tokenizer for the new writerfilter
import filter. This would help us create a brand new RTF import filter
sharing a lot of code with .docx import and a future .doc import filter
(those 3 formats are really similar). I could help you getting started
on that as well.

You can contact me privately or on IRC (my nick is cbosdonnat) to help
you actually start coding.

Regards,

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Rich Text Format Support in OpenOffice.org Writer

2010-06-17 Thread Cédric Bosdonnat
Hi Colin,

Le jeudi 17 juin 2010 à 21:16 +1000, Colin White a écrit :
 I was thinking that unittests need to be written beginning with the
 older RTF specifications in order that OOo can be checked for conformity
 to the part of the spec that is publicly released. I had a look at the
 QA project but the test specifications and scripts seem to be more
 written around fixing existing issues rather than checking conformity
 with existing format specifications. My thoughts are that the unittests
 should be capable of being run against both OOo and MS Word.
 
 How is the testing currently done?

There is currently no unit testing for RTF (as well as the other
formats). You should definately get in touch with Miklos Vajna as he's
started to write an RTF beautifier: this is a first step to comparing
RTF files.

This task can be pretty complex... but if you have an idea, don't
hesitate to implement it. We'll welcome any tool helping us to test and
avoid regressions.

 Unfortunately I cannot program in C++ at the moment but I can manage to
 program in Python and C (although the C is quite rusty as it has been a
 few years).

Then go for python ;)

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] UNO - JAVA

2010-06-07 Thread Cédric Bosdonnat
Hi Erik,

Le dimanche 06 juin 2010 à 06:03 -0400, Erik Minor a écrit :
 I tried to get Uno - Java working .. I encountered the most basic
 problem:  Could not get OpenOffice 2.0 and the corresponding SDK to run
 it in Eclipse.

Hum, OOo 2.0 is quite old and I'm not sure if it is still supported in
OOEclipse. You should have a try with some newer OOo / SDK version as
some important installation changes have occurred since then.

Don't hesitate to ping me if you find out some bug in the OOEclipse
plugins.

Regards,

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Docx and PDF

2010-05-03 Thread Cédric Bosdonnat
Hello Ricardo,

On Sun, 2010-05-02 at 14:24 +0200, Ricardo Ramos wrote:
 So, I thought about digging through the OOO source and, having a black box
 idea, trying to find the path since a docx is loaded until the pdf is saved.
 
 My question is: can you point me out into the OOO source I should take a
 look? And, if possible, can you also leave some feedback about the
 reasonability and time-spending of this approach (I'm a young developer,
 so I don't have much experience).

For the sources question, you'll find most of the docx import in the
writerfilter/source folder. There are two interesting folders inside
that one:
  * ooxml: contains the DOCX tokenizer
  * dmapper: maps the tokens to OOo UNO API

The Docx import also reuses some parts of the code in the oox module
(well that's how we called the root folders with CVS).

I don't know what you can invest here, but I'ld be very happy to see
some new contributor on the DOCX import. The Docx import is basically
working, but as you might have seen it there is still place for
improvements!

For your application, you should consider what is working ATM and what
is not. Your application may not use all the docx features.

Don't hesitate to ping me on IRC if you need some more infos (nick:
#cbosdonnat on irc.freenode.net, channel #dev.openoffice.org)

Regards,

--
Cedric




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



Re: [dev] Writer 3.3 - MS Textfield implementation

2010-04-12 Thread Cédric Bosdonnat
Hi Joerg,

I'm not sure about the target version: we need to adjust ODF and the
existing code in order to have it out. This is still ongoing...

Regards,
--
Cedric

On Mon, 2010-04-12 at 11:40 +0200, Joerg Reschke wrote:
 Hi, 
 
 I`ve found on page http://wiki.services.openoffice.org/wiki/Writer/Textfields 
 some informations about the MS Textfield implementation in the OOo Writer.
 In the current dev snapshot we have seen first functionality of this feature.
 
 Will OOo 3.3 come out with the complete implementation? If anybody knows 
 something about, please let me know.  
 
 Many thanks for help. 
 
 Kind regards,
 Joerg
 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org
 





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



Re: [dev] problem with compiling ooo-build

2010-03-29 Thread Cédric Bosdonnat
Hi Michal,

On Mon, 2010-03-29 at 10:03 +0200, Michal Spisiak wrote:
 Thanks guys. I just reinstalled my system and tried to download OO again,
 because there were lots of files missing and it just couldn't work. I
 installed Ubuntu Karmic but it's not working there either,
 ubuntu-sparc-hack.diff seems like missing second half of a file. I was
 hopeless so I commented it out in 'apply' with some other .diff with the
 same problem and now it's complaining about some package configuration.
 Trying to fix it, but...
 Don't you know whether there is some distro without serious problems with
 building? I'm quite willing to install it whatever it is.

I'm personally using OpenSuse 11.2 and it works nicely... Could you
please continue the discussion on ooo-build mailing-list as this is an
ooo-build specific problem?

Regards,

--
Cedric




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



Re: [dev] A Brand Refresh for OpenOffice.org (was Re: Changes to Site/Product Elements due to Oracle Acquisition)

2010-03-15 Thread Cédric Bosdonnat
Hi John,

There are a lot of ideas around Writer... but coding hands are needed to
implement them ;) my nickname on IRC is cbosdonnat.

Regards,
--
Cedric

On Mon, 2010-03-15 at 12:24 +0200, Ян Программист wrote:
 Well, man. Thanks for answering. At last someone from community stoped
 ignoring my mailing list posts. I wanted to ask to get into a
 discussion. Maybe threw IRC. But mailing list would be also OK. I have
 some ideas that can be develped threw Writer plug-in(s) John
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org
 





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



Re: [dev] A Brand Refresh for OpenOffice.org (was Re: Changes to Site/Product Elements due to Oracle Acquisition)

2010-03-14 Thread Cédric Bosdonnat
Hi John,

I'm personally developing Writer (not for a long time)... but for Writer
specific questions, you should post on d...@sw.openoffice.org mailing
list.

Regards,

--
Cedric

Le samedi 13 mars 2010 à 17:40 +0200, Ян Программист a écrit :
 Can you tell me what people are developing Writer? I am interested in
 those who are developed the most part of Writer. The oldest from the
 community of those who develops. How many of those people were
 developing Writer only plug-ins? John
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
 For additional commands, e-mail: dev-h...@openoffice.org
 

-- 
Cédric Bosdonnat
Go-oo hacker
http://go-oo.org
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Writer Bug

2010-02-19 Thread Cédric Bosdonnat
Hi Jake,

On Thu, 2010-02-18 at 13:56 -0500, Jake wrote:
 there is an irremovable tab [tab key] after  Roman III.
 there is an irremovable tab [tab key] after roman  vii.

These aren't bugs but features. You can remove this tab in the position
tab of the same dialog: this tab is used to properly align the text
after the numbering.

Regards,

--
Cedric




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



Re: [dev] Re: where is the openoffice binary located

2010-02-08 Thread Cédric Bosdonnat
Hi Wei,

Did you see by chance that swriter is only a script file calling
soffice.bin?

Regards,

--
Cedric

On Mon, 2010-02-08 at 07:55 -0600, Wei Zhang wrote:
 Hi Michael,
 
 Thank you very much! I have got the binary as you suggested. I can start the
 swriter binary without problems. However when I ran objdump on it to get a
 disassemble, it said the swriter binary is not recognized format. I am
 wondering why is that.
 
 Thanks,
 
 Wei
 
 On Mon, Feb 8, 2010 at 4:52 AM, Michael Stahl michael.st...@sun.com wrote:
 
  On 08/02/2010 05:23, Wei Zhang wrote:
   However, I don't know where is the openoffice binaries located(such like
   swriter, etc). I am wondering where is that located ? Or, do I need to
  take
   some other procedures after dmake?
 
  please look at this mail for the answer:
  http://www.openoffice.org/servlets/ReadMsg?list=devmsgNo=26512
 
  --
  For every complex problem, there is a solution that is simple, neat,
   and wrong. -- H. L. Mencken
 
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
  For additional commands, e-mail: dev-h...@openoffice.org
 
 





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



[dev] Adding and removing HIDs

2009-11-23 Thread Cédric Bosdonnat
Hi all,

For the CWS cbosdo01, I'm adding some HIDs and removing one. What is the
best way to proceed with those numbers?

In one case, I only need to add a few HIDs. For the moment, I have added
them at the end of the block containing the other HID of the dialog: is
it correct?

In another case, I will need to remove an autocorrection HID (the one
for the tiny info-dialog) and add another one. Those aren't defined with
the other HIDs: there is only a start and end there and some offset in
the code. Should I leave an empty HID (HID_AUTOCORR_HELP_START + 20) and
add the other one at the end (HID_AUTOCORR_HELP_START + 22)? or should I
reuse the removed number?

-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Adding and removing HIDs

2009-11-23 Thread Cédric Bosdonnat
Hi Frank,

Le lundi 23 novembre 2009 à 15:00 +0100, Frank Schoenheit, Sun
Microsystems Germany a écrit :
 Yes. Don't forget to also add them to module/util/hidother.src,
 otherwise our automation QA won't like your changes.

Hum, I have certainly forgotten that one...

  In another case, I will need to remove an autocorrection HID (the one
  for the tiny info-dialog) and add another one. Those aren't defined with
  the other HIDs: there is only a start and end there and some offset in
  the code. Should I leave an empty HID (HID_AUTOCORR_HELP_START + 20) and
  add the other one at the end (HID_AUTOCORR_HELP_START + 22)? or should I
  reuse the removed number?
 
 You can reuse it. There's a certain chance that for a while, the control
 carrying the new/old ID will direct help requests to the old topic, but
 that's only until the help content has been adjusted (which ideally can
 happen in your CWS, too).

Ok. I may add a comment in EIS to keep a track of the replacement...
that can so easily be forgotten.

-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Adding and removing HIDs

2009-11-23 Thread Cédric Bosdonnat
Hi Uwe,

Le lundi 23 novembre 2009 à 16:30 +0100, Uwe Fischer a écrit :
 On 11/23/09 15:55, Cédric Bosdonnat wrote:
 please have a look at 
 http://www.openoffice.org/issues/show_bug.cgi?id=107086 where I removed 
 the obsolete slot from the list of Help IDs that trigger the Help Agent.
 May be I have to undo that change?

Do you mind if we reuse that number for
HID_AUTOCORR_HELP_CHGNONBRKSPACE? that would avoid having a gap in the
numbers.

-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Adding and removing HIDs

2009-11-23 Thread Cédric Bosdonnat
Le lundi 23 novembre 2009 à 15:00 +0100, Frank Schoenheit, Sun
Microsystems Germany a écrit :
 Hi Cédric,
 
  For the CWS cbosdo01, I'm adding some HIDs and removing one. What is the
  best way to proceed with those numbers?
  
  In one case, I only need to add a few HIDs. For the moment, I have added
  them at the end of the block containing the other HID of the dialog: is
  it correct?
 
 Yes. Don't forget to also add them to module/util/hidother.src,
 otherwise our automation QA won't like your changes.

Hum... I have found out that some HID are defined in svx/inc/helpid.hrc
and svx/source/src/app.hrc. What's the difference between those two?
Should I add the new HIDs in both files as well?

-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] convert Netbeans OOo project to eclipse project

2009-09-30 Thread Cédric Bosdonnat
Hi Karl,

Le mardi 29 septembre 2009 à 23:33 +0200, Karl Weber a écrit :
 This is not quite true. I have started to develop such a plugin, but did not 
 manage to finish it. Unfortunately, I will not have time in the near future 
 to so. In order to not have done my work in vain, I could sponsor it for 
 integration into the ooo-eclipse plugin. If you are interested, I could send 
 you a zip-file of my eclipse plugin project. 

This is a good news, many thanks for your work. You can send your work
to me: I'll try to integrate it ASAP.

 Someone would have to add the finishing touch, but I already managed to 
 automatically create a client app with it.

Cool.

Many thanks again for your contribution.

-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] openoffice eclipse plugin

2009-09-22 Thread Cédric Bosdonnat
Hi Georges,

Le lundi 21 septembre 2009 à 16:00 -0500, George Foster a écrit :
 When I create a new project and attempt to point the sdk path to the correct
 directory I get an error saying: SDK version has to be at least 2.0.4.  Is
 this a bug with the plugin?  if not should I create one and if so is it
 planning on getting resolved.

This is normally resolved in the dev update site, as I still haven't
published a new release with the changes. Could you precise which update
site you are using?

-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Debug questions in writerfilter

2009-09-04 Thread Cédric Bosdonnat
Hi,

Q1:

I have no idea how it works on windows precisely, but you can define an
environment variable TAGLOGGERTMP to precise where to export the
writerfilter.D*.xml files.

You'll get a complete list of the debug options on that wiki page:
http://wiki.services.openoffice.org/wiki/WriterFilter#Use_TagLogger.


Q2:

On Linux it goes to the standard (or error) output, I guess this is
pretty much the same on Windows ;)

If you have some patches for the writerfilter, I'll be glad to review
them ;)

Regards,


Le vendredi 04 septembre 2009 à 22:05 +0800, Woods Yan a écrit :
 Hi,
 
 I debug writerfilter in MS Visual Studio 2005.
 Q1: I enable DEBUG_DOMAINMAPPER, How does dmapper_logger work or where does
 it write log?
 Q2: I enable the debug code printf(...), where does it print or how can I
 get the print results in Visual Studio 2005?
 
 Thanks!
 
 -
 Woods Yan
 Learning programming in OOo!
-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] Consult on OOXML filter code contribution

2009-07-31 Thread Cédric Bosdonnat
Hello,

Le vendredi 31 juillet 2009 à 09:55 +0200, Daniel Rentz a écrit :
 He Feng Su schrieb:
 
 This is He Feng Su from IBM Lotus Symphony.We are working at the OOXML
  support enablement and enhancement (such as the shape in Word, Excel and
  PPT)
  and planning to make code contribution.
 Here are some questions:
  1. In OO3.2, what other OOXML filter new support work will be included?
  Where can I find the worklist for OOXML filter support?

I have been improving the docx import filter for a few months. You can
find the code in the writerfilter32bugfixes01 CWS. Even thought I
haven't upstreamed all my code yet, you can find the complete patche on
go-oo git repo:

http://cgit.freedesktop.org/ooo-build/ooo-build/tree/patches/dev300/docx-import-fixes.diff.

My plan is to integrate the CWS in OOo 3.2, the differences between the
patch and the CWS may be upstreamed later.

I have blogged on some of the improvements here: 
http://cedric.bosdonnat.free.fr/wordpress/?tag=ooxml

And you can have a look at my bug list (Closed and opened bugs) on
novell bugzilla:
http://tinyurl.com/cbosdo-novell-ooxml-bugs 

I hope this can help you.

Regards,

-- 
Cédric Bosdonnat
Go-OO Novell hacker
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr




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



Re: [dev] word to pdf

2009-05-07 Thread Cédric Bosdonnat
Hi,

Le jeudi 07 mai 2009 à 11:32 +0530, sandee...@cognizant.com a écrit :
 
  I have one requirement  conversion of word document to pdf
 in java. So using openoffice APIs is it possible.

You should have a look at this small piece of code: it is doing exactely
what you want.

http://artofsolving.com/opensource/jodconverter

Regards,

-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr



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



Re: [dev] using the api

2009-04-10 Thread Cédric Bosdonnat
Hi Aaron,

Le jeudi 09 avril 2009 à 13:36 -0400, Aaron Ehrensberger a écrit :
 Can anybody help me use the API?
 
 There is a service called com.sun.star.text.TextField.PageCount -
 http://api.openoffice.org/docs/common/ref/com/sun/star/text/textfield/Pa
 geCount.html - that says it should show me the page count of the
 document.  
 
 However, I can't figure out how to get the value of the page count.  I
 believe it's a short, but how do I cast it, retrieve it, etc...?
 
 I've tried this, to no avail...
 
 Object pageCount =
 xDocMSF.createInstance(com.sun.star.text.TextField.PageCount );
  
 XPropertySet pageCountPS = (XPropertySet) UnoRuntime.queryInterface(
 XPropertySet.class, pageCount );

As you were already been told, this is not the right mailing list for
API related questions, but here is an answer.

The service you are talking about is the service for the PageCount field
that you can insert in the document. Inserting a field to get the page
count of the document isn't the easiest way. Here is a small snippet
showing how to do it:

XModel xModel = (XModel)UnoRuntime.queryInterface( 
XModel.class, xDocMSF );
XPropertySet xViewProps = (XPropertySet)UnoRuntime.queryInterface( 
XPropertySet.class, xModel.getCurrentController( ) );
Object oCount = xViewProps.getPropertyValue( PageCount );
long nNbPages = AnyConverter.toLong( oCount );

Hope that helps,

-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr



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



Re: [dev] idlc warnings - why ?

2008-12-13 Thread Cédric Bosdonnat
Hi Oliver,

You should try to remove the inheritance to XInterface: it is automatic
when no inheritance class is given.


Le vendredi 12 décembre 2008 à 18:34 +0100, Oliver Brinzing a écrit :
 Hi,
 
 can one give me a hint, why i get warnings for the following *.idl files ??
 
 D:\Programme\OO_SDK_30\windows\bin\idlc: compile
 'E:\Java\tvs-projects\tvs-structedit-tool-dev\idl\bw\stv\tvs\structedit\tool\Service.idl'
  ...
 D:\Programme\OO_SDK_30\windows\bin\idlc: detected 1 warnings compiling file
 'E:\Java\tvs-projects\tvs-structedit-tool-dev\idl\bw\stv\tvs\structedit\tool\Service.idl'
 D:\Programme\OO_SDK_30\windows\bin\idlc: compile
 'E:\Java\tvs-projects\tvs-structedit-tool-dev\idl\bw\stv\tvs\structedit\tool\XGetSomething.idl'
  ...
 D:\Programme\OO_SDK_30\windows\bin\idlc: detected 1 warnings compiling file
 'E:\Java\tvs-projects\tvs-structedit-tool-dev\idl\bw\stv\tvs\structedit\tool\XGetSomething.idl'
 D:\Programme\OO_SDK_30\windows\bin\idlc: returned successful
 
 #ifndef __bw_stv_tvs_structedit_tool_XGetSomething_idl__
 #define __bw_stv_tvs_structedit_tool_XGetSomething_idl__
 
 #include com/sun/star/uno/XInterface.idl
 
 module bw {
   module stv {
   module tvs {
   module structedit {
   module tool {
   interface XGetSomething : 
 com::sun::star::uno:: XInterface {
   string saySomething([in] string 
 _something);
   };
   };
   };
   };
   };
 };
 
 #endif
 
 #ifndef __bw_stv_tvs_structedit_tool_Service_idl__
 #define __bw_stv_tvs_structedit_tool_Service_idl__
 
 #include XGetSomething.idl
 
 module bw {
   module stv {
   module tvs {
   module structedit {
   module tool {
   service Service {
   interface 
 bw::stv::tvs::structedit::tool::XGetSomething;
   };
   };
   };
   };
   };
 };
 
 #endif
 
 Oliver
 
-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://cedric.bosdonnat.free.fr



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



Re: [dev] OpenOffice Bootstrap Error

2008-12-11 Thread Cédric Bosdonnat
Hi,

Le mercredi 10 décembre 2008 à 20:35 -0800, [EMAIL PROTECTED] a écrit :
 Hello again ...
 Cédric  , you mean that i cant  use the openoffice libraries to do what
 explained i want to do???:-/

I only says that you will need to have some of the OpenOffice.org
libraries on your client side in order to use OOo API. What I was
thinking about in my first mail is bootstrapping OOo which isn't what
you wanted. For a simple connection to an already listening OOo you
don't need to have the full OOo installation, but only some of the
libraries (juh.jar, jurt.jar, unoil.jar, and maybe one or two others).

You should definitely have a look at the JODConverter code: it opens a
connection to OOo and make it convert a document remotely (see my
previous email for the link).

Regards,

-- 
Cedric



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



Re: [dev] OpenOffice Bootstrap Error

2008-12-10 Thread Cédric Bosdonnat
Hi,

Le mercredi 10 décembre 2008 à 02:37 -0800, [EMAIL PROTECTED] a écrit :
 My first and basic question is:Can i get a report from a client that no
 OpenOffice Installation Exists?And the only that exists is a server which
 has the openOffice Installed? . As far as i have read till now that can be
 done by connection through
 uno:socket,host=serverip,port=ServerPort;urp;StarOffice.ComponentContext
 Am i right till now?

This way you will be able to check whether there is an OpenOffice.org
installation on that server and you will check that it is running.
Having no answer doesn't necessarily means that OpenOffice.org isn't
installed on the server: it could simply be down or started without
listening on the right port.

 My other problem is that in the bootstrap method 
 
 /
  String sOffice = System.getProperty(os.name).startsWith(Windows)?
 soffice.exe: soffice;
   String jardir = C://Program Files//OpenOffice.org 3//URE//java;
 
   URL[] jarList = new URL[] {new File(oooExecFolder +
 /).toURI().toURL(),new File(jardir + /juh.jar).toURI().toURL()}; 
   
 URLClassLoader loader = new URLClassLoader(jarList);
 File fOffice = NativeLibraryLoader.getResource(loader, sOffice);

 //
 the fOffice variable is always null:-(
 
 What is wrong with my code

I have recently written some code for the Eclipse integration
bootstrapping OOo correctly but I still need to clean it up before
presenting it.

You can check how I am bootstrapping OOo in my extensions Unit test
system described here (that code isn't as clean as I would have
wanted): 

http://cedric.bosdonnat.free.fr/wordpress/?p=108lang_view=en 

I hope that helps

-- 


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



Re: [dev] OpenOffice Bootstrap Error

2008-12-10 Thread Cédric Bosdonnat
Le mercredi 10 décembre 2008 à 07:42 -0800, [EMAIL PROTECTED] a écrit :
 As far as it concerns my first question..I guess that i can have a web
 application on a web server where i have installed an openoffice and from
 each browser i can have access to THAT openoffice and request for an
 openoffice request without having nothing installed on the client...Am i
 right?

Hum... in that case, you will at least need to have some of the
OpenOffice.org libraries... You should have a look at that project:

http://artofsolving.com/opensource/jodconverter

 thank you very much also for the hint but I have a question...
 if i pass as an argument in the bootstrap the path of the server
 installation
  c://program files//openoffice org3//program 
 how the client will connect..It does not have c://program files//openoffice
 org3//program on the client..
  
 I think maybe i am missing something but i cannot figure it out..

Oops, you're right, my case was to bootstrap OOo... yours is simply to
connect to it. You should definately have a look at the jodconverter
code...

-- 
Cedric Bosdonnat


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