textrendering/texthandling/inc/FLDINFO.H
changeset 0 1fb32624e06b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/textrendering/texthandling/inc/FLDINFO.H	Tue Feb 02 02:02:46 2010 +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 <e32std.h>
+
+
+
+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