Re: [api-dev] NetBeans IDE plug-in: context for UI configuration

2007-09-28 Thread Juergen Schmidt

Frank Schönheit - Sun Microsystems Germany wrote:

Hi Ariel,

With the new OOo 2.3 release , the context for UI configuration has 
grown to 20 modules (css.frame.ModuleManager XNameAccess):

...
The Add-on wiz. on the NetBeans IDE plug-in offers a very little range 
of the 20 modules.
Will this be fixed? (for example the OfficeDatabaseDocument module is 
not even available, and it's one of the office's main modules!)


Didn't yet answer this in the thread where you originally brought up
this, so here it goes:
http://www.openoffice.org/issues/show_bug.cgi?id=81926.
as you know the existing issue already, yes it will be fixed. It was 
simply a communication/documentation problem.


In the meanwhile you can simply change/extend the xcu file by hand ;-)

Juergen

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



Re: [api-dev] Hyperlink in Table of content always throwing IllegalArgumentException, plz help

2007-09-28 Thread Juergen Schmidt

Sandeep Raghuvanshi wrote:

Yes I am able to export it to word and the document is valid in OO. I have
figured out what steps you have to take to make it working in MS
word(manually) -
Right click on TOC entry-Select Update Field
This work around will make the hyperlinks working in MS Word but is there
something which we can set programatically in order to avoid this manual
step?

I have also tried creation of TOC manually via UI and when we convert the
document to MS Word, we are required to follow the same manual step of
updating the TOC so the result both manually and programatically is same.


i have assumed that. So it is no API issue (at least no real API issue). 
I suggest that you create a example document and submit an issue for 
this problem to the writer component.


Juergen





On 9/24/07, Juergen Schmidt [EMAIL PROTECTED] wrote:

Sandeep Raghuvanshi wrote:

Thank you very much Bernard for the solution in the forum:
http://www.oooforum.org/forum/viewtopic.phtml?t=11415

The only change I discovered was that we have to use one set of square
bracket as TOC is Array of Array of PropertyValue

Now I have another problem(sorry guys but the solution has to work in MS
Word also)
When I convert this document to MS Word format, all of the hyperlinks

are

pointing to the first page of the document instead of the actual page
number.
Any idea about this strange behavior? Is this an issue with the

OpenOffice

and the document is valid when loading it in OO.org, right? If yes i
would assume that it is no problem with the API. Have you tried to
create a simple document with a TOC with links via the UI and have you
export it then?

Juergen



API?

Please guide,

thanks  regards,
Sandeep

On 9/21/07, Sandeep Raghuvanshi  [EMAIL PROTECTED] wrote:

Thanks Bernard,
May be by looking at the error message you get some idea:

*Error: [automation bridge] unexpected exception in
UnoConversionUtilitiesT::convertValueObject ! Message : [automation
bridge]UnoConversionUtilitiesT::createOleObjectWrapper
The variant does not contain an object type! *


Thanks for the help so far,

regards,
Sandeep

On 9/21/07, Bernard Marcelly [EMAIL PROTECTED] wrote:

Message de Sandeep Raghuvanshi  date 2007-09-21 09:07 :

Hi Bernard,
Thank you for your kind response. I have tried the logic suggested by
you but still there is an automation error getting generated when I
tried to update the TOC.

Here is my modified code and the error screen shot is attached:

The screenshot was discarded by the mailing list. You should have
described the error message.

I have no knowledge about ToC handling. Sorry I can't help more.

__
Bernard

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



Re: [api-dev] maven plugin to build OOo extensions

2007-09-28 Thread Cedric Bosdonnat
Hi Juergen, Laurent,

Juergen Schmidt a écrit :
 I discovered the power of maven a few days ago and was already wondering
 if there is a plugin to build OOo extensions using maven.

 After some discussions on the topic at the OOoCon in Barcelona, I found
 out that there doesn't seem to be such a plugin. Thus I decided to start
 one. For the moment, the code is on my machine and not complete. Where
 should I put it on the CVS ?
 can you tell us a little bit more about it. The idea, what it can, how
 it works, examples etc. Maybe you will start a wiki page documenting
 your on going work.

Here is the started wiki page :
http://wiki.services.openoffice.org/wiki/OpenOffice_Maven2_Integration

 And for the source we will find a place in the cvs of the api project.

api or extensions, it's as you want: I've no preferences ;)

-- 
Cédric Bosdonnat
OOo Eclipse Integration developer
http://bosdonnat.fr.eu.org

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



Re: [api-dev] maven plugin to build OOo extensions

2007-09-28 Thread Laurent Godard

Hi


After some discussions on the topic at the OOoCon in Barcelona, I found
out that there doesn't seem to be such a plugin. Thus I decided to start
one. For the moment, the code is on my machine and not complete. Where
should I put it on the CVS ?
can you tell us a little bit more about it. The idea, what it can, how 
it works, examples etc. Maybe you will start a wiki page documenting 
your on going work.

And for the source we will find a place in the cvs of the api project.


The extension project can also host it
(but it is a already an api subdirectory iirc)

Laurent

--
Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org - 
http://www.indesko.com
Nuxeo Enterprise Content Management  http://www.nuxeo.com - 
http://www.nuxeo.org

Livre Programmation OpenOffice.org, Eyrolles 2004-2006

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