openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J├╝rgen Schmidt <jogischm...@gmail.com>
Subject Re: XPropertySetInfo implementation
Date Wed, 05 Jun 2013 07:21:26 GMT
On 6/4/13 9:32 PM, Rajath Shashidhara wrote:
> Hello everyone,
> 
> I was implementing XPropertySetInfo interface to return an object for it
> when "getPropertySetInfo" command is executed.
> 
> I had a doubt about setting the attribute of Property as READONLY.
> 
> I have set Some properties like
> "DateCreated","Size","IsFolder","IsDocument","ContentType","DateModified" to
> READONLY.
> 

-> completeness, the first reply went to Rajath only

You can find a description under
http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/FileContent.html

Most properties are read_only, only Size and Title not read-only

Sorry for the late reply

Juergen

> Is it right?
> 
> Please provide feedback about code, so that I can revert back at this
> point only if I have to. I'm coding "setPropertyValue" command also. If
> READONLY type is requested for change, I'll have to add a
> IllegalAccessException to Any[] that I return. So, that code also
> depends on this.
> -- 
> Rajath S,
> M.Sc(Hons.) Physics,
> Birla Institute of Technology and Science - Pilani,
> Pilani


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message