diff -r 000000000000 -r bde4ae8d615e os/textandloc/textrendering/texthandling/inc/FLDINFO.H --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/textandloc/textrendering/texthandling/inc/FLDINFO.H Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,50 @@ +/* +* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + +#ifndef __FLDINFO_H__ +#define __FLDINFO_H__ + +#include + + + +class TFindFieldInfo +/** +information returned from a "Find the fields in this range" request +Gets information about the fields found in a range of characters by CPlainText::FindFields(). + +This information is the number of fields fully or partially within the range +and the start position and length of the first field found. +@publishedAll +@released +*/ + { +public: + IMPORT_C TBool operator==(const TFindFieldInfo& aInfo)const; + IMPORT_C TBool operator!=(const TFindFieldInfo& aInfo)const; +public: + /** The number of fields found in the specified range. */ + TInt iFieldCountInRange; // number of fields found in the specified range + /** The document position of the start of the first field in the range. */ + TInt iFirstFieldPos; // character position of the start of the first field in the range + /** The length of the first field in the range. */ + TInt iFirstFieldLen; // length of the first field in the range + }; + + +#endif