epoc32/include/txtetext.inl
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 /*
     2 // All rights reserved.
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 // This component and the accompanying materials are made available
     3 * All rights reserved.
     4 // 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
     4 * This component and the accompanying materials are made available
     5 // which accompanies this distribution, and is available
     5 * under the terms of "Eclipse Public License v1.0"
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     6 * which accompanies this distribution, and is available
     7 //
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 // Initial Contributors:
     8 *
     9 // Nokia Corporation - initial contribution.
     9 * Initial Contributors:
    10 //
    10 * Nokia Corporation - initial contribution.
    11 // Contributors:
    11 *
    12 //
    12 * Contributors:
    13 // Description:
    13 *
    14 //
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
    15 
    18 
    16 
    19 
    17  
    20  
    18 TBool CEditableText::HasChanged()const
    21 TBool CEditableText::HasChanged()const
    19 /** Tests whether the editable text object has been changed by an operation on 
    22 /** Tests whether the editable text object has been changed by an operation on 
    26 
    29 
    27 TBool CPlainText::FieldSetPresent()const
    30 TBool CPlainText::FieldSetPresent()const
    28 	{return (iFieldSet.IsPtr() && iFieldSet.AsPtr()!=NULL);}
    31 	{return (iFieldSet.IsPtr() && iFieldSet.AsPtr()!=NULL);}
    29 
    32 
    30 
    33 
    31  
       
    32 
       
    33 const MTextFieldFactory* CPlainText::FieldFactory()const
       
    34 /** Gets a pointer to the field factory used by the text object. The field factory 
       
    35 may be set up using SetFieldFactory(), or may be specified in the NewL().
       
    36 
       
    37 @return The field factory. NULL if no field factory has been set up. */
       
    38 	{return (FieldSetPresent()) ? iFieldSet->FieldFactory() : NULL;}
       
    39 
       
    40 
       
    41 void CPlainText::ConsumeAdornmentL(RReadStream& aStream)
    34 void CPlainText::ConsumeAdornmentL(RReadStream& aStream)
    42 	{
    35 	{
    43 	TStreamId id;
    36 	TStreamId id;
    44 	aStream>> id;
    37 	aStream>> id;
    45 	}
    38 	}