Hello Juergen,

I'm following this:
http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/Content.html
 .
Is there any other revised source that I have to follow?


On Wed, Jun 12, 2013 at 12:10 PM, Rajath Shashidhara <
[email protected]> wrote:

> Hello Juergen,
>
> But the return datatype of Open Command is a dynamic result set. So, a
> result set service must be implemented right?
>
>
> On Wed, Jun 12, 2013 at 11:44 AM, Jürgen Schmidt <[email protected]>wrote:
>
>> On 6/12/13 6:55 AM, Rajath Shashidhara wrote:
>> > Hello,
>> > Just a small doubt.
>> > I was looking at the methods to be implemented in ResultSet.
>> > m_RowCount stores the current row being accessed.
>> > I have a doubt in the following methods.
>> > Methods:
>> > next(),previous(),beforeFirst(),afterLast() .
>> >
>> > Initially when the resultset is constructed, m_RowCount will be zero
>> > according to the api reference.
>> > If there are 'X' Rows.
>> > So, m_RowCount can take 0,1,......,X,X+1 values only or can it take any
>> > value?
>> >
>> > Because even X+2 is afterLast() and -1 is beforeFirst().
>> >
>>
>> I would not use ResultSet in this context, it was mainly designed and
>> used in the context of databases.
>>
>> Internally you can use whatever you want and the return via the API is
>> just a property sequence. Use whatever you want and ensure that it can
>> be fast converted in a sequence (in Java array) of properties.
>>
>> 2 open commands have to update the values anyway because in the time
>> between both commands the values could have changed anyway, e.g. a file
>> got written/updated from somewhere else.
>>
>> Juergen
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
> --
> Rajath S,
> M.Sc(Hons.) Physics,
> Birla Institute of Technology and Science - Pilani,
> Pilani
>



-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani

Reply via email to