2509 // -------------------------------------------------------------------------- |
2509 // -------------------------------------------------------------------------- |
2510 // TBool CSvgDecoder::DecodeIdAndXmlAttributeL(const TUint16 aName) |
2510 // TBool CSvgDecoder::DecodeIdAndXmlAttributeL(const TUint16 aName) |
2511 // --------------------------------------------------------------------------- |
2511 // --------------------------------------------------------------------------- |
2512 TBool CSvgDecoder::DecodeIdAndXmlAttributeL(const TUint16 aName) |
2512 TBool CSvgDecoder::DecodeIdAndXmlAttributeL(const TUint16 aName) |
2513 { |
2513 { |
2514 |
2514 TBool rVal = EFalse; |
2515 if (aName== KAtrId) |
2515 if (aName== KAtrId) |
2516 { |
2516 { |
2517 iCurrentElement->SetIdandXmlbaseL( _L("id"), DecodeTDesCLC()); |
2517 rVal = iCurrentElement->SetIdandXmlbaseL( _L("id"), DecodeTDesCLC()); |
2518 CleanupStack::PopAndDestroy( 1 ); |
2518 CleanupStack::PopAndDestroy( 1 ); |
2519 return ETrue; |
2519 } |
2520 } |
2520 else if (aName== KAtrXmlBase) |
2521 |
2521 { |
2522 if (aName== KAtrXmlBase) |
2522 rVal = iCurrentElement->SetIdandXmlbaseL( _L("xml:base"), DecodeTDesCLC()); |
2523 { |
2523 CleanupStack::PopAndDestroy( 1 ); |
2524 iCurrentElement->SetIdandXmlbaseL( _L("xml:base"), DecodeTDesCLC()); |
2524 } |
2525 CleanupStack::PopAndDestroy( 1 ); |
2525 return rVal; |
2526 return ETrue; |
|
2527 } |
|
2528 |
|
2529 else |
|
2530 { |
|
2531 return EFalse; |
|
2532 } |
|
2533 } |
2526 } |
2534 |
|
2535 |
|
2536 |
|
2537 |
2527 |
2538 // -------------------------------------------------------------------------- |
2528 // -------------------------------------------------------------------------- |
2539 // TBool CSvgDecoder::DecodeUriRefAttributeL(const TUint16 aName) |
2529 // TBool CSvgDecoder::DecodeUriRefAttributeL(const TUint16 aName) |
2540 // --------------------------------------------------------------------------- |
2530 // --------------------------------------------------------------------------- |
2541 TBool CSvgDecoder::DecodeUriRefAttributeL(const TUint16 aName) |
2531 TBool CSvgDecoder::DecodeUriRefAttributeL(const TUint16 aName) |