equal
deleted
inserted
replaced
35 #include "SVGGradientElementImpl.h" |
35 #include "SVGGradientElementImpl.h" |
36 #include "SVGDiscardElementImpl.h" |
36 #include "SVGDiscardElementImpl.h" |
37 #include "SVGMediaElementBase.h" |
37 #include "SVGMediaElementBase.h" |
38 #include "SVGMediaAnimationElementImpl.h" |
38 #include "SVGMediaAnimationElementImpl.h" |
39 #include "SVGTimedEntityInterface.h" |
39 #include "SVGTimedEntityInterface.h" |
40 //#include "SVGAudioElementImpl.h" |
40 #include "SVGAudioElementImpl.h" |
41 |
41 |
42 #include "SVGDocumentImpl.h" |
42 #include "SVGDocumentImpl.h" |
43 #include "SVGEngineImpl.h" |
43 #include "SVGEngineImpl.h" |
44 #include "SVGMemoryManager.h" |
44 #include "SVGMemoryManager.h" |
45 |
45 |
608 ) |
608 ) |
609 { |
609 { |
610 |
610 |
611 return DecodeAttributeDesL(aName); |
611 return DecodeAttributeDesL(aName); |
612 } |
612 } |
613 #if 0 |
|
614 else if (aName== KAtrVolume) |
613 else if (aName== KAtrVolume) |
615 { |
614 { |
616 if (iIsFixPt) |
615 if (iIsFixPt) |
617 { |
616 { |
618 TFloatFixPt lTemp; |
617 TFloatFixPt lTemp; |
657 //lTemp2.AppendNum(lTemp); |
656 //lTemp2.AppendNum(lTemp); |
658 ((CSvgAudioElementImpl *)iCurrentElement)->SetAttributeL (_L("audio-level"),lTemp2); |
657 ((CSvgAudioElementImpl *)iCurrentElement)->SetAttributeL (_L("audio-level"),lTemp2); |
659 } |
658 } |
660 return ETrue; |
659 return ETrue; |
661 } |
660 } |
662 #endif |
661 |
663 switch( aName ) |
662 switch( aName ) |
664 { |
663 { |
665 case KAtrType: |
664 case KAtrType: |
666 { |
665 { |
667 if(iCurrentElement->ElemID()== KSvgAnimateTransformElement) |
666 if(iCurrentElement->ElemID()== KSvgAnimateTransformElement) |
679 ((CSvgAnimationBase*)iCurrentElement)->SetAttributeType(lType); |
678 ((CSvgAnimationBase*)iCurrentElement)->SetAttributeType(lType); |
680 iStream >> lSize; |
679 iStream >> lSize; |
681 ((CSvgAnimateTransformElementImpl*)iCurrentElement)->SetMatrixDataSize(lSize); |
680 ((CSvgAnimateTransformElementImpl*)iCurrentElement)->SetMatrixDataSize(lSize); |
682 return ETrue; |
681 return ETrue; |
683 } |
682 } |
684 #if 0 |
|
685 else if(iCurrentElement->ElemID()== KSvgAudioElement) |
683 else if(iCurrentElement->ElemID()== KSvgAudioElement) |
686 { |
684 { |
687 TPtrC lPtr(DecodeTDesCLC()); |
685 TPtrC lPtr(DecodeTDesCLC()); |
688 ((CSvgAudioElementImpl*)iCurrentElement)->SetAttributeL(_L("type"),lPtr); |
686 ((CSvgAudioElementImpl*)iCurrentElement)->SetAttributeL(_L("type"),lPtr); |
689 CleanupStack::PopAndDestroy( 1 ); |
687 CleanupStack::PopAndDestroy( 1 ); |
690 return ETrue; |
688 return ETrue; |
691 } |
689 } |
692 #endif |
|
693 else |
690 else |
694 { |
691 { |
695 return DecodeAttributeDesL(aName); |
692 return DecodeAttributeDesL(aName); |
696 } |
693 } |
697 } |
694 } |