breakdeps/SVGDocumentImpl.cpp
changeset 50 c0380e36a50a
parent 48 90e0261ad33c
child 54 dcd1a22c2899
equal deleted inserted replaced
48:90e0261ad33c 50:c0380e36a50a
    59 #include "SVGRadialGradientElementImpl.h"
    59 #include "SVGRadialGradientElementImpl.h"
    60 #include "SvgStopElementImpl.h"
    60 #include "SvgStopElementImpl.h"
    61 #include "SVGDiscardElementImpl.h"
    61 #include "SVGDiscardElementImpl.h"
    62 #include "SVGScriptElementImpl.h"
    62 #include "SVGScriptElementImpl.h"
    63 
    63 
    64 #include "SVGAudioElementImpl.h"
    64 //#include "SVGAudioElementImpl.h"
    65 
    65 
    66 //#ifdef RD_SVGT_MEDIAANIMATION_SUPPORT
    66 //#ifdef RD_SVGT_MEDIAANIMATION_SUPPORT
    67 #include "SVGMediaAnimationElementImpl.h"
    67 #include "SVGMediaAnimationElementImpl.h"
    68 //#endif
    68 //#endif
    69 #include "SVGTextAreaElementImpl.h"
    69 #include "SVGTextAreaElementImpl.h"
   513 #ifdef SVG_FONTS_INCLUDE
   513 #ifdef SVG_FONTS_INCLUDE
   514             return ( MXmlElement * ) CSvgHkernElementImpl::NewL( (TUint8) position, this );
   514             return ( MXmlElement * ) CSvgHkernElementImpl::NewL( (TUint8) position, this );
   515 #else
   515 #else
   516             return ( MXmlElement * ) CSvgGElementImpl::NewL( _L( "g" )(TUint8) position, this );
   516             return ( MXmlElement * ) CSvgGElementImpl::NewL( _L( "g" )(TUint8) position, this );
   517 #endif
   517 #endif
   518 
   518 #if 0
   519         case KSvgAudioElement:
   519         case KSvgAudioElement:
   520             {
   520             {
   521             CSvgAudioElementImpl* lAudioElement = CSvgAudioElementImpl::NewL( (TUint8) position, this );
   521             CSvgAudioElementImpl* lAudioElement = CSvgAudioElementImpl::NewL( (TUint8) position, this );
   522             iSvgAnimations.Append(lAudioElement);
   522             iSvgAnimations.Append(lAudioElement);
   523             return ( MXmlElement * ) lAudioElement;
   523             return ( MXmlElement * ) lAudioElement;
   524             }
   524             }
       
   525 #endif
   525 //#ifdef RD_SVGT_MEDIAANIMATION_SUPPORT
   526 //#ifdef RD_SVGT_MEDIAANIMATION_SUPPORT
   526         case KSvgMediaAnimationElement:
   527         case KSvgMediaAnimationElement:
   527             {
   528             {
   528             CSvgMediaAnimationElementImpl* lMediaAnimationElement = CSvgMediaAnimationElementImpl::NewL( (TUint8) position, this );
   529             CSvgMediaAnimationElementImpl* lMediaAnimationElement = CSvgMediaAnimationElementImpl::NewL( (TUint8) position, this );
   529             iSvgAnimations.Append(lMediaAnimationElement);
   530             iSvgAnimations.Append(lMediaAnimationElement);
  1273 	    ParsePostOrderMediaElements( lNodePtr, aPostOrderList );
  1274 	    ParsePostOrderMediaElements( lNodePtr, aPostOrderList );
  1274         lNodePtr = (CSvgElementImpl* )(lNodePtr->NextSibling() );
  1275         lNodePtr = (CSvgElementImpl* )(lNodePtr->NextSibling() );
  1275 	    }
  1276 	    }
  1276 	
  1277 	
  1277 	// Add only media elements, currently animation and audio
  1278 	// Add only media elements, currently animation and audio
  1278 	if ( aRoot->ElemID() == KSvgMediaAnimationElement || 
  1279 	if ( aRoot->ElemID() == KSvgMediaAnimationElement )	
  1279 	    aRoot->ElemID() == KSvgAudioElement )	
       
  1280 	    {
  1280 	    {
  1281 	    aPostOrderList.Append( aRoot );	    
  1281 	    aPostOrderList.Append( aRoot );	    
  1282 	    }
  1282 	    }
  1283     }
  1283     }
  1284 
  1284