+OptionalExtents Replacement::IsExtents(const TreeNode& node) const
+{
+ OptionalExtents extents;
+ if(OptionalString replace = HasFullReplacement(node))
+ {
+ Property::Value value = GetFullReplacement(*replace);
+ if(Property::EXTENTS == value.GetType())
+ {
+ extents = value.Get<Extents>();
+ }
+ }
+ else
+ {
+ extents = ::IsExtents(node);
+ }
+ return extents;
+}