williamr@2: // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // williamr@2: williamr@2: #ifndef __FLDINFO_H__ williamr@2: #define __FLDINFO_H__ williamr@2: williamr@2: #include williamr@2: williamr@2: williamr@2: williamr@2: class TFindFieldInfo williamr@2: /** williamr@2: information returned from a "Find the fields in this range" request williamr@2: Gets information about the fields found in a range of characters by CPlainText::FindFields(). williamr@2: williamr@2: This information is the number of fields fully or partially within the range williamr@2: and the start position and length of the first field found. williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: { williamr@2: public: williamr@2: IMPORT_C TBool operator==(const TFindFieldInfo& aInfo)const; williamr@2: IMPORT_C TBool operator!=(const TFindFieldInfo& aInfo)const; williamr@2: public: williamr@2: /** The number of fields found in the specified range. */ williamr@2: TInt iFieldCountInRange; // number of fields found in the specified range williamr@2: /** The document position of the start of the first field in the range. */ williamr@2: TInt iFirstFieldPos; // character position of the start of the first field in the range williamr@2: /** The length of the first field in the range. */ williamr@2: TInt iFirstFieldLen; // length of the first field in the range williamr@2: }; williamr@2: williamr@2: williamr@2: #endif