incubator-ooo-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <arie...@apache.org>
Subject Re: OOoBean Spreadsheet ReadOnly
Date Mon, 15 Oct 2012 15:53:11 GMT
Hi Raymond,

On Mon, Oct 15, 2012 at 03:27:24PM +0000, Steele, Raymond wrote:
> 
> I am running OpenOffice 3.3 on Solaris 10 x86. I am writing a Java
> program that uses OOoBean to load a spreadsheet into a Java Frame via
> URL.  Here is  a snippet of my code.
> 
> OOoBean bean = new OOobean(); PropertyValue[] prop = new
> PropertyValue[2]; prop[0] = new PropertyValue(); prop[0].Name
> = "ReadOnly"; prop[0].Value = Boolean.FALSE; prop[1] = new
> PropertyValue(); prop[1].Name = "Preview"; prop[1].Value
> = Boolean.FALSE;
> bean.loadfromURL(file:///tmp/file.ods<file:///\\tmp\file.ods>, prop);
> 
> The document loads into one of my panels,  but the spreadsheet does
> not seem to be responding to keyboard events (i.e. I cannot type in
> the cells.) However, I can edit the form using the mouse and toolbars.
> Can someone tell me what I am missing here?
> 

This kind of questions are better asked in the dedicated mailing list:
ooo-api@incubator.apache.org


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Mime
View raw message