textrendering/texthandling/sfields/FLDARRAY.CPP
changeset 0 1fb32624e06b
equal deleted inserted replaced
-1:000000000000 0:1fb32624e06b
       
     1 /*
       
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "FLDDEF.H"
       
    20 #include "FLDARRAY.H"
       
    21 #include "FLDSTD.H"
       
    22 
       
    23 ///////////////////////////////////////
       
    24 // TTextFieldHeader
       
    25 ///////////////////////////////////////
       
    26 
       
    27 TTextFieldHeader::TTextFieldHeader()
       
    28 	:iField(NULL),
       
    29 	iFieldType(KNullUid)
       
    30 	{}
       
    31 
       
    32 
       
    33 EXPORT_C void TTextFieldHeader::ExternalizeL(RWriteStream& aStream)const
       
    34 // Persists this object
       
    35 // Does not take responsibility for storing the picture
       
    36 //
       
    37 	{
       
    38 	aStream<< iFieldType;
       
    39 	aStream<< iField;
       
    40 	}
       
    41 
       
    42 
       
    43 EXPORT_C void TTextFieldHeader::InternalizeL(RReadStream& aStream)
       
    44 // Restores this object from the specified stream
       
    45 // Does not take responsibility for restoring the picture
       
    46 //
       
    47 	{
       
    48 	aStream>> iFieldType;
       
    49 	aStream>> iField;
       
    50 	}
       
    51