messagingappbase/smilengine/xhtml/src/xhtmlstack.cpp
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2007 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:   Provides class methods of classes that are stored to CXhtmlStack.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #include "xhtmlstack.h"
       
    21 
       
    22 // ---------------------------------------------------------
       
    23 // TXhtmlStyleInfo::TXhtmlStyleInfo
       
    24 // ---------------------------------------------------------
       
    25 //
       
    26 TXhtmlStyleInfo::TXhtmlStyleInfo(  TInt aStyleStart, CParaFormat::TAlignment aPrevAlign ):
       
    27     iStyleStart( aStyleStart ),
       
    28     iStyleChanged( EFalse ),
       
    29     iAlignmentChanged( EFalse ),
       
    30     iPrevAlign( aPrevAlign )
       
    31     {
       
    32 	}
       
    33 	
       
    34 // ---------------------------------------------------------
       
    35 // TXhtmlParaInfo::TXhtmlParaInfo
       
    36 // ---------------------------------------------------------
       
    37 //
       
    38 TXhtmlParaInfo::TXhtmlParaInfo( TInt aParaStart, CParaFormat::TAlignment aAlignment ):
       
    39     iParaStart( aParaStart ),
       
    40     iAlignment( aAlignment )
       
    41     {
       
    42 	}
       
    43 	
       
    44 // ---------------------------------------------------------
       
    45 // TXhtmlListInfo::TXhtmlListInfo
       
    46 // ---------------------------------------------------------
       
    47 //
       
    48 TXhtmlListInfo::TXhtmlListInfo( TInt aListContext ):
       
    49     iListIndex( 0 ),
       
    50     iListContext( aListContext )
       
    51     {
       
    52 	}