williamr@4: /* williamr@4: * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@4: * All rights reserved. williamr@4: * This component and the accompanying materials are made available williamr@4: * under the terms of "Eclipse Public License v1.0" williamr@4: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@4: * williamr@4: * Initial Contributors: williamr@4: * Nokia Corporation - initial contribution. williamr@4: * williamr@4: * Contributors: williamr@4: * williamr@4: * Description: williamr@4: * williamr@4: */ williamr@4: 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