Re: [api-dev] OO3 makes files unusable when you work(some changes, save/resave, close/reopen) on them directly from the samba share.

2010-02-25 Thread Mikhail Voytenko

Hi Aleksandar,

in the link you have posted
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/411248
it is mentioned that this is a Samba problem, that is solved by 
degrading the Samba version in Ubuntu.


OOo has this problem reported in the following issue
http://www.openoffice.org/issues/show_bug.cgi?id=104122
Till now there is no information there that the problem is caused by the 
OOo.


The corruption you describe happens usually when a file becomes smaller 
after storing and the truncation does not work. OOo truncates definitely 
the file before writing ( otherwise we had the problem everywhere ), so 
it looks like Samba implementation indeed has a problem. Anyway, it is 
solved ( workarounded ) in Ubuntu already.


Hope that helps.

Best regards,
Mikhail.

On 02/24/10 20:37, Aleksandar Petrinic wrote:

Hi to all.

I wrote this mail because I really need help. There is a company that used
openoffice for a long time. A week ago we implemented samba server to share
documents between people.
Long story short...

OpenOffice3(on windows) doesn't open file through network resources, but I
solved by mapping network drive with a unit. (anyway,this is an already know
bug).

The real bug that prevent us to use openoffice in the company(on windows) is
that quite often the opened file (from the share), after some changes (and a
save), become unusable.

The OO says nothing about that, but after a save, if anyone try to re-open
the file, it's unusable. I saw that OO adds some garbage at the end of
file...

I googled a lot, but it seems it's already a know problem; unfortunately I
don't find the solution/workaround (of course I can copy the file on local
pc, then work on it and then finally copy it to the shares, but this is not
a solution, I can't tell ~30 people to work in this way for every file they
need to change).

P.s. the problem not always shows up with the small files.
P.s.s. I found this
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/411248 it
seems to me it could be releated.

I really need to find a solution for this. Any advice is really apreciated.

Thanks.



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



[api-dev] Extensions

2010-02-25 Thread Pritha Multani
To whomever this may concern:

My name is Pritha Multani, and I am a student at Troy High School. I am
currently enrolled in a computer science class, and I am required to
complete an open source project. The only language I am familiar with is
Java, so I was wondering if it would be possible for me to help with
improving Writer's compare function as an extension. If not, I was also
wondering if you had any idea of what other tasks were available to me that
might be more within my reach. If you could please get back to me as soon as
possible, I would really appreciate it.

Thank you very much!

Pritha Multani


[api-dev] Help to create MACRO

2010-02-25 Thread Maris Ripa
Hi! I have one FIRST sheet, which is still updated through Link to 
External data every 20 minutes. I need MACRO, which:


1. Every 20 minutes create NEW Sheet 1(New Sheet 2, New Sheet 3 
etc...), and then copy data into NEW Sheet 1(2,3,4...) from FIRST sheet.


Thanks a lot!
Maris

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



Re: [api-dev] Help to create MACRO

2010-02-25 Thread Cor Nouws

Hi Maris,

Maris Ripa wrote (25-02-10 11:11)
Hi! I have one FIRST sheet, which is still updated through Link to 
External data every 20 minutes. I need MACRO, which:


1. Every 20 minutes create NEW Sheet 1(New Sheet 2, New Sheet 3 
etc...), and then copy data into NEW Sheet 1(2,3,4...) from FIRST 
sheet.


How far have you come already?
And if you have nothing at all yet, did you take a look at the resources 
on the wiki and such, and on the fora and snippets page where examples 
can be found?

  http://api.openoffice.org/
  http://wiki.services.openoffice.org/wiki/API
  http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide
  http://codesnippets.services.openoffice.org/index.xml
  http://user.services.openoffice.org/en/forum/

This idea of this list is, that when you somehow got stuck in your code 
of with the OpenOffice.org API, we can help you. It is in general not 
meant as a supplier for macro's on request ;-)



Thanks a lot!


You're welcome.
I've send a CC to you cause you're not subscribed to the list.
Pls write again if you need further help.

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...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org