openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <ariel.constenla.ha...@gmail.com>
Subject Re: CMIS UCP
Date Sun, 02 Jun 2013 20:40:27 GMT
On Sun, Jun 02, 2013 at 11:06:40PM +0530, Rajath Shashidhara wrote:
> Hello Ariel,
> 
> function:
> compareContentIds
> Description:
> 0 is returned, if the identifiers are equal. A value less than 0 indiactes,
> that the Id1 is less than Id2. A value greater than 0 is returned, if Id1
> is greater than Id2.
> 
> What is less than?
> Is it below in the file hierarchy? Are alphabetic?

How to compare, depends on the implementation. For example,
ExpandContentProviderImpl::compareContentIds() first expands posible
macros in the content ids, and them compares the two strings. For now,
you can simple compare the strings lexically.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Mime
View raw message