Lines 276-284
Link Here
|
276 |
// FALLTHROUGH intended |
276 |
// FALLTHROUGH intended |
277 |
case animations::AnimationNodeType::AUDIO: |
277 |
case animations::AnimationNodeType::AUDIO: |
278 |
// FALLTHROUGH intended |
278 |
// FALLTHROUGH intended |
279 |
default: |
279 |
/*default: |
280 |
// ignore this node, no valuable content for now. |
280 |
// ignore this node, no valuable content for now. |
281 |
break; |
281 |
break;*/ |
282 |
|
282 |
|
283 |
case animations::AnimationNodeType::SET: |
283 |
case animations::AnimationNodeType::SET: |
284 |
{ |
284 |
{ |
Lines 343-351
Link Here
|
343 |
// initially. This is currently the only place |
343 |
// initially. This is currently the only place |
344 |
// where a shape effect influences shape |
344 |
// where a shape effect influences shape |
345 |
// attributes outside it's effective duration. |
345 |
// attributes outside it's effective duration. |
|
|
346 |
sal_Bool bVisible( sal_False ); |
346 |
if( xAnimateNode->getAttributeName().equalsIgnoreAsciiCaseAscii("visibility") ) |
347 |
if( xAnimateNode->getAttributeName().equalsIgnoreAsciiCaseAscii("visibility") ) |
347 |
{ |
348 |
{ |
348 |
sal_Bool bVisible( sal_False ); |
|
|
349 |
|
349 |
|
350 |
uno::Any aAny( xAnimateNode->getTo() ); |
350 |
uno::Any aAny( xAnimateNode->getTo() ); |
351 |
|
351 |
|
Lines 371-392
Link Here
|
371 |
} |
371 |
} |
372 |
} |
372 |
} |
373 |
|
373 |
|
374 |
if( bVisible ) |
374 |
/*if( bVisible ) |
375 |
{ |
375 |
{ |
376 |
// target is set to 'visible' at the |
376 |
// target is set to 'visible' at the |
377 |
// first relevant effect. Thus, target |
377 |
// first relevant effect. Thus, target |
378 |
// must be initially _hidden_, for the |
378 |
// must be initially _hidden_, for the |
379 |
// effect to have visible impact. |
379 |
// effect to have visible impact. |
380 |
mrShapeHash.insert( |
380 |
*/ |
|
|
381 |
} |
382 |
// target is set the 'visible' value, |
383 |
// so we should record the opposite value |
384 |
mrShapeHash.insert( |
381 |
XShapeHash::value_type( |
385 |
XShapeHash::value_type( |
382 |
aTarget, |
386 |
aTarget, |
383 |
VectorOfNamedValues( |
387 |
VectorOfNamedValues( |
384 |
1, |
388 |
1, |
385 |
beans::NamedValue( |
389 |
beans::NamedValue( |
386 |
xAnimateNode->getAttributeName(), |
390 |
//xAnimateNode->getAttributeName(), |
387 |
uno::makeAny( sal_False ) ) ) ) ); |
391 |
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("visibility")), |
388 |
} |
392 |
uno::makeAny( !bVisible ) ) ) ) ); |
389 |
} |
393 |
//} |
|
|
394 |
//} |
390 |
} |
395 |
} |
391 |
break; |
396 |
break; |
392 |
} |
397 |
} |