animationbasenode.cxx (dbf9d0c3) animationbasenode.cxx (c47da6ea)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 112 unchanged lines hidden (view full) ---

121 xShape = aTarget.Shape;
122
123 ENSURE_OR_THROW( xShape.is(), "invalid shape in ParagraphTarget" );
124
125 mpShape = lookupAttributableShape( getContext().mpSubsettableShapeManager,
126 xShape );
127
128 // NOTE: For shapes with ParagraphTarget, we ignore
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 112 unchanged lines hidden (view full) ---

121 xShape = aTarget.Shape;
122
123 ENSURE_OR_THROW( xShape.is(), "invalid shape in ParagraphTarget" );
124
125 mpShape = lookupAttributableShape( getContext().mpSubsettableShapeManager,
126 xShape );
127
128 // NOTE: For shapes with ParagraphTarget, we ignore
129 // the SubItem property. We implicitely assume that it
129 // the SubItem property. We implicitly assume that it
130 // is set to ONLY_TEXT.
131 OSL_ENSURE(
132 mxAnimateNode->getSubItem() ==
133 presentation::ShapeAnimationSubType::ONLY_TEXT ||
134 mxAnimateNode->getSubItem() ==
135 presentation::ShapeAnimationSubType::AS_WHOLE,
136 "ParagraphTarget given, but subitem not AS_TEXT or AS_WHOLE? "
137 "Make up your mind, I'll ignore the subitem." );

--- 376 unchanged lines hidden ---
130 // is set to ONLY_TEXT.
131 OSL_ENSURE(
132 mxAnimateNode->getSubItem() ==
133 presentation::ShapeAnimationSubType::ONLY_TEXT ||
134 mxAnimateNode->getSubItem() ==
135 presentation::ShapeAnimationSubType::AS_WHOLE,
136 "ParagraphTarget given, but subitem not AS_TEXT or AS_WHOLE? "
137 "Make up your mind, I'll ignore the subitem." );

--- 376 unchanged lines hidden ---