You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Rajath Shashidhara <ra...@gmail.com> on 2013/06/04 21:32:26 UTC
XPropertySetInfo implementation
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.
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
Re: XPropertySetInfo implementation
Posted by Jürgen Schmidt <jo...@gmail.com>.
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