[api-dev] problem with jar file

2005-02-23 Thread Ines Pfauch
Hi,
At first I am sorry, because I think my problem does not belong very 
good to this mailing list.

For the last 20 weeks I was creating an java add-on for OOo. Now three 
days are left and my installer does not what it should. Therefore I 
hope, someone can help me:

I have created a self-executing jar file with some class files, which 
contains the GUI and the execution of pkgchk. It also contains the zip 
file, which I want to deploy with pkgchk.

But when I try to copy the zip to some directory I get 
filenotfoundexception. Is there an other way to extract a file from 
within the self-executing jar (without using a jar command) to any 
directory...?

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


Re: [api-dev] problem with jar file

2005-02-23 Thread Ines Pfauch
On 23.02.2005, at 13:24, Simon Mieth wrote:
Hi Ines,
Hi Simon,
if I understand you correct and you want to copy the embeded zip-file.
Yes, thats exactly what I want.
(code)
Thank your for your fast answer. And: THANK YOU so much for the code. 
With some simple changes it did exactly what I want. :)


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


[api-dev] [reminder]TextTable and row duplication

2005-02-23 Thread Laurent Godard
Hi all
in case of someone has an idea, i remind the question
any hint or way to look at would be usefull
feel free to ask if i'm not clear enough
Thanks in advance
Laurent
'-
Hi all
i have to duplicate rows of a TextTable in WRITER (OOo 1.1.4 - pyUNO)
I found 2 ways to achieve this :
  - use dispatch and UNO slots to copy/paste
  - loop over each textPortion of each cell to build the new content
The second is quite time consumming to develop and IMHO too error prone
The first is rather straightforward
Nevertheless, this script will be executed in a parallel environnement 
(multple access at the same time) and i wonder if using the clipboard 
will not show random problem mixing the contents

i can not use the getDataArray as the TextTable may also contain 
TextContent and i want to keep the original formatting

I've spent some time on this and there seems missing something like 
copyRange like in Calc

Is there an other way to achieve this ?
Any hint in whatever language would be ok !
Thansk a lot in advance
laurent

'-
--
Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org
Indesko  http://www.indesko.com
Nuxeo CPS  http://www.nuxeo.com - http://www.cps-project.org
Livre Programmation OpenOffice.org, Eyrolles 2004
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [api-dev] [reminder]TextTable and row duplication

2005-02-23 Thread Michael Hoennig
Hi Laurent,

 i have to duplicate rows of a TextTable in WRITER (OOo 1.1.4 - pyUNO)
 I found 2 ways to achieve this :
- use dispatch and UNO slots to copy/paste
- loop over each textPortion of each cell to build the new content
 
 The second is quite time consumming to develop and IMHO too error prone
 The first is rather straightforward
 
 Nevertheless, this script will be executed in a parallel environnement 
 (multple access at the same time) and i wonder if using the clipboard 
 will not show random problem mixing the contents
 
 i can not use the getDataArray as the TextTable may also contain 
 TextContent and i want to keep the original formatting
 
 I've spent some time on this and there seems missing something like 
 copyRange like in Calc
 
 Is there an other way to achieve this ?

There is an issue for this topic, as far as I know. The issue actually is
about getting data objects from selection, similar to how the clipboard
works.  But I dont't know the issue id.  I am not even 100% sure that
there is a issue id, but it's a very important feature which was already
once on the requirements list.

Michael

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