Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66BD0108CE for ; Wed, 5 Jun 2013 07:21:57 +0000 (UTC) Received: (qmail 16048 invoked by uid 500); 5 Jun 2013 07:21:56 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 15796 invoked by uid 500); 5 Jun 2013 07:21:56 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 15788 invoked by uid 99); 5 Jun 2013 07:21:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2013 07:21:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jogischmidt@gmail.com designates 209.85.214.46 as permitted sender) Received: from [209.85.214.46] (HELO mail-bk0-f46.google.com) (209.85.214.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jun 2013 07:21:48 +0000 Received: by mail-bk0-f46.google.com with SMTP id na10so633521bkb.5 for ; Wed, 05 Jun 2013 00:21:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=LE4VK+i7HkbLPfsVUHJHW7J6KO6NSCR5aJmHKPPLdUo=; b=bnQ8BtuZD6uMphUSHI3NG/WRIpfQuXbThrjlLUlQVyoMCRNqqlh0cM2jDX+gusRDJ7 uWVYNkJuu2rDffnqTKeZck1ZgVrHTdAWVQ4u9TClGkeYjexLJVbuy7WCYcVEaLU/c+D5 IFeFjHw+YHQKD86oALyd4hrsw0UvmYmVr5vP/CO61fVCtJnDYIbfqGiWR4XyvcD5YCiO PooiWt3NwiimyUoUuVZSmJVy6m/m7qRRBQXHJ7BzakF4DBrnYghcMfFXQ0QDjo6qQdly Sed12Cy8+MVF1fh6Y4CIRJUdHQErtUyO8eKbVpzcppPt8xKPxlxNPs4UR+2MH62iOLb+ 6jEw== X-Received: by 10.205.43.4 with SMTP id ua4mr8984086bkb.161.1370416887968; Wed, 05 Jun 2013 00:21:27 -0700 (PDT) Received: from [9.155.131.29] (deibp9eh1--blueice1n2.emea.ibm.com. [195.212.29.164]) by mx.google.com with ESMTPSA id rj5sm23924176bkb.1.2013.06.05.00.21.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Jun 2013 00:21:27 -0700 (PDT) Message-ID: <51AEE6F6.2030308@gmail.com> Date: Wed, 05 Jun 2013 09:21:26 +0200 From: =?ISO-8859-1?Q?J=FCrgen_Schmidt?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Rajath Shashidhara CC: dev Subject: Re: XPropertySetInfo implementation References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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