Re: [dev] Document Compatibility OOo 3.0.1 - 3.2

2010-09-10 Thread Samphan Raruenrom
 We have a corporate user complain about incidences of conversion error 
when between Impress 3.2.1 and 3.0.1 (in the machines not yet upgraded).
There're serious problems happen in Calc because of the fake-html-in-xls 
files generated from serveral apps, esp Oracle's.
They're used to be opened in Calc 3.0.1 beautifully. Now in 3.2.1 they 
have to be renamed them to .ods to be opened properly.
Furthermore, the fake-html-in-xls still encounter serious formatting 
lost in Calc 3.2.1 like cell merging, which 3.0.1 used to handle correctly.
After all, we found that OOo 3.3 beta solve that problem magically. So 
we have to provide interim solutions for users until OOo 3.3 finally 
released.


On 9/10/2010 1:56 PM, Andor E wrote:

Hi,
we are currently considering a switch from OOo 3.0.1 to OOo 3.2.1. Since not
all our users can make the switch at the same time, they have asked for
reassurance, that documents created in both versions are interchangeable. So
I have wondered if there is a list of changes or known problems in the
document formats between versions.
I also would be very grateful for any experiences you have made with
exchanging documents between these versions of OOo.

Kind regards

eymux




--
_/|\_ /Samphan Raruenrom./  Osdev - Open Source Development Co., Ltd.
/ ??./  ? - ?? ?? ?
tel: +66 2 269 9889  web: osdev.co.th 
twitter: @osdev   facebook: facebook.com/osdev 



[dev] Removing menu buttons from an opened document in a JFrame

2010-09-10 Thread Giovani Guizzo
Hello. My name is Giovani.
I'm mailing because I have a big trouble in my Java application.

I want to open an OpenOffice document into a JFrame and remove some menu
buttons (temporarily) like "Save", "Save as", "Close" and etc.
I've tried everything but couldn't remove the buttons I want.
I used the following class:
http://codesnippets.services.openoffice.org/Office/Office.RemoveIterativeAndTransientMenubarItems.snip

With this class I could remove, but it was in a document opened at an
OpenOffice window, not the one in my JFrame.

I really need to remove those menu buttons in a opened document at my
JFrame.

Additional information: I'm using this class for opening the document:
http://www.koders.com/java/fid7F29FB71410D35446E58B9BC06707FED5B929597.aspx
I've already tried opening it in a SWT window, but there was too much bugs.

Regards, Giovani.


Re: [dev] Build broken on Fedora 13

2010-09-10 Thread Christian Lohmaier
Hi *,

On Thu, Sep 9, 2010 at 10:28 PM, Santiago Bosio
 wrote:
>  I've switched my build box from Ubuntu to Fedora 13.
>
> When trying to build OOO330_m7, build breaks on av_media with the following
> error:
>
> .../solver/330/unxlngi6.pro/lib/libfreebl3.so: version 'NSSRAWHASH_3.12.3'
> not found (required by /lib/libcrypto.so.1)
>
> Further investigating I've found issue 105566
> (http://qa.openoffice.org/issues/show_bug.cgi?id=105566), wich seems FIXED.
>
> This library (libfreebl3.so) is provided by the "moz" module. I'm not
> building it, but using prebuilt binaries from

It should only come from moz when you disable building of the nss module.

> But, if you see the dates involved, the prebuilt binaries were uploaded on
> 2009/11/17, and the fix for the issue was provided on 2009/11/20, so I'm
> suspecting that these binaries don't have this correction.

The patch to the issue fixes nss module, not moz, so patch to moz
probably just was forgotten and compiling moz from source won't help.

Regarding building mozilla from scratch: See
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux#create_prebuilt_mozilla
on how to create prebuilt ones yourself.

ciao
Christian

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



Re: [dev] What happens during save?

2010-09-10 Thread Knut Olav Bøhmer
On 10 September 2010 09:43, Mathias Bauer  wrote:

> On 09/02/2010 10:33 PM, Knut Olav Břhmer wrote:
>
>>  


> To fix this I need to know how OpenOffice.org saves the file. Does it
>> create
>> a temporary file, deletes the original file and then moves the temp file
>> to
>> the original file.
>>
>
> OOo creates a temporary file, saves to it, truncates the original file and
> then streams the temporary file over it. This is the only way to preserve
> file access rights in every case.
>
>
>  Or maybe someone has any idea on why the activeX component fails (probably
>> difficult with so little information).
>>
>
> Maybe the component recognizes the truncation but can't deal with the fact
> that OOo is still writing to the file.
>
> In general your attempt is very fragile. You should write an OOo extension
> that reacts on document events.
>

Thank you for answering.

This issue was "fixed" by removing all the "fancy" functionality from the
activeX component.
Luckily someone had access to the source code of the activeX component, and
fixed it. An OpenOffice.org extension would be the best solution in
stability and functionality, but these things are third party programs. So I
hope they ask me to write an OOo-ext.

Best regards
-- 
Knut Olav Bøhmer


Re: [dev] What happens during save?

2010-09-10 Thread Mathias Bauer

On 09/02/2010 10:33 PM, Knut Olav Bøhmer wrote:

Hi,

I'm working with an activeX component that does not work when used with
larges files in OpenOfice.org. When it takes more then two seconds to save
the file, it does not work. When it is less then two seconds to save the
file, it works most of the time.

The activeX component enables a user of a website to edit a document on the
website through other applications like OpenOffice.org.
The activeX component downloads the file to a temporary directory, and
starts the application used to edit the component. Then it polls every 2
seconds to see if the file file is changed and if the application is still
running.

When OpenOffice.org saves the file, the activeX component dies, and the
result file is not saved back to the webserver.

To fix this I need to know how OpenOffice.org saves the file. Does it create
a temporary file, deletes the original file and then moves the temp file to
the original file.


OOo creates a temporary file, saves to it, truncates the original file 
and then streams the temporary file over it. This is the only way to 
preserve file access rights in every case.



Or maybe someone has any idea on why the activeX component fails (probably
difficult with so little information).


Maybe the component recognizes the truncation but can't deal with the 
fact that OOo is still writing to the file.


In general your attempt is very fragile. You should write an OOo 
extension that reacts on document events.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "nospamfor...@gmx.de".
I use it for the OOo lists and only rarely read other mails sent to it.

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



Re: [dev] Build broken on Fedora 13

2010-09-10 Thread Caolán McNamara
On Thu, 2010-09-09 at 17:28 -0300, Santiago Bosio wrote:
> But, if you see the dates involved, the prebuilt binaries were uploaded 
> on 2009/11/17, and the fix for the issue was provided on 2009/11/20, so 
> I'm suspecting that these binaries don't have this correction.

Yeah, its as simple as that alright. The binaries don't have the fix in
them.

> Are there more recent prebuilt binaries, that include this fix, or 
> should I compile the "moz" module from source using --enable-build-mozilla?

I don't think there are any refreshed builds of those binaries, so
easiest fix is to just build moz from source.

C.



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



[dev] Document Compatibility OOo 3.0.1 - 3.2

2010-09-10 Thread Andor E
Hi,
we are currently considering a switch from OOo 3.0.1 to OOo 3.2.1. Since not
all our users can make the switch at the same time, they have asked for
reassurance, that documents created in both versions are interchangeable. So
I have wondered if there is a list of changes or known problems in the
document formats between versions.
I also would be very grateful for any experiences you have made with
exchanging documents between these versions of OOo.

Kind regards

eymux