1.1 --- a/epoc32/include/txtetext.inl Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/txtetext.inl Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,53 @@
1.4 -txtetext.inl
1.5 +// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// 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
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +
1.20 +
1.21 +
1.22 +TBool CEditableText::HasChanged()const
1.23 +/** Tests whether the editable text object has been changed by an operation on
1.24 +it, as set by SetHasChanged().
1.25 +
1.26 +@return ETrue if a change has occurred to the text object. EFalse if there
1.27 +has been no change. */
1.28 + {return iHasChanged;}
1.29 +
1.30 +
1.31 +TBool CPlainText::FieldSetPresent()const
1.32 + {return (iFieldSet.IsPtr() && iFieldSet.AsPtr()!=NULL);}
1.33 +
1.34 +
1.35 +
1.36 +
1.37 +const MTextFieldFactory* CPlainText::FieldFactory()const
1.38 +/** Gets a pointer to the field factory used by the text object. The field factory
1.39 +may be set up using SetFieldFactory(), or may be specified in the NewL().
1.40 +
1.41 +@return The field factory. NULL if no field factory has been set up. */
1.42 + {return (FieldSetPresent()) ? iFieldSet->FieldFactory() : NULL;}
1.43 +
1.44 +
1.45 +void CPlainText::ConsumeAdornmentL(RReadStream& aStream)
1.46 + {
1.47 + TStreamId id;
1.48 + aStream>> id;
1.49 + }
1.50 +
1.51 +
1.52 +TUid CPlainText::UidFromStreamL(RReadStream& aStream)
1.53 + {
1.54 + TUid uid;
1.55 + aStream>> uid;
1.56 + return uid;
1.57 + }