Lines Matching refs:child
135 void Access::markChildAsModified(rtl::Reference< ChildAccess > const & child) { in markChildAsModified() argument
136 OSL_ASSERT(child.is() && child->getParentAccess() == this); in markChildAsModified()
137 modifiedChildren_[child->getNameInternal()] = ModifiedChild(child, true); in markChildAsModified()
220 rtl::Reference< ChildAccess > child(getModifiedChild(i)); in initDisposeBroadcaster() local
221 if (child.is()) { in initDisposeBroadcaster()
222 child->initDisposeBroadcaster(broadcaster); in initDisposeBroadcaster()
237 rtl::Reference< ChildAccess > child(getModifiedChild(i)); in clearListeners() local
238 if (child.is()) { in clearListeners()
239 child->clearListeners(); in clearListeners()
340 rtl::Reference< ChildAccess > child(getModifiedChild(i)); in getAllChildren() local
341 if (child.is()) { in getAllChildren()
342 vec.push_back(child); in getAllChildren()
394 rtl::Reference< ChildAccess > child( in insertLocalizedValueChild() local
398 markChildAsModified(child); in insertLocalizedValueChild()
399 localModifications->add(child->getRelativePath()); in insertLocalizedValueChild()
409 rtl::Reference< ChildAccess > child(getModifiedChild(i)); in reportChildChanges() local
410 if (child.is()) { in reportChildChanges()
411 child->reportChildChanges(changes); in reportChildChanges()
427 rtl::Reference< ChildAccess > child(getModifiedChild(i)); in commitChildChanges() local
428 if (child.is()) { in commitChildChanges()
429 childValid = childValid && !child->isFinalized(); in commitChildChanges()
430 child->commitChanges(childValid, globalModifications); in commitChildChanges()
439 if (child.is()) { in commitChildChanges()
445 child->getNode()->setMandatory(j->second->getMandatory()); in commitChildChanges()
449 members[i->first] = child->getNode(); in commitChildChanges()
466 i->second.child->committed(); in commitChildChanges()
482 rtl::Reference< ChildAccess > child(getChild(i->first)); in initBroadcasterAndChanges() local
483 if (child.is()) { in initBroadcasterAndChanges()
484 switch (child->getNode()->kind()) { in initBroadcasterAndChanges()
488 child->initBroadcasterAndChanges( in initBroadcasterAndChanges()
544 child->getRelativePathRepresentation()), in initBroadcasterAndChanges()
570 css::uno::makeAny(i->first), child->asValue(), in initBroadcasterAndChanges()
578 child->getRelativePathRepresentation()), in initBroadcasterAndChanges()
579 child->asValue(), css::uno::Any())); in initBroadcasterAndChanges()
594 css::uno::makeAny(i->first), child->asValue(), in initBroadcasterAndChanges()
632 child->getRelativePathRepresentation()), in initBroadcasterAndChanges()
633 child->asValue(), css::uno::Any())); in initBroadcasterAndChanges()
648 if (child->getNode()->getTemplateName().getLength() != 0) { in initBroadcasterAndChanges()
660 child->asValue(), css::uno::Any())); in initBroadcasterAndChanges()
666 child->getRelativePathRepresentation()), in initBroadcasterAndChanges()
674 child->initBroadcasterAndChanges( in initBroadcasterAndChanges()
842 child(theChild), directlyModified(theDirectlyModified) in ModifiedChild()
1090 rtl::Reference< ChildAccess > child(getChild(aName)); in getByName() local
1091 if (!child.is()) { in getByName()
1095 return child->asValue(); in getByName()
1130 rtl::Reference< ChildAccess > child(getSubChild(aName)); in getByHierarchicalName() local
1131 if (!child.is()) { in getByHierarchicalName()
1135 return child->asValue(); in getByHierarchicalName()
1214 rtl::Reference< ChildAccess > child(getChild(aName)); in getPropertyByName() local
1215 if (!child.is()) { in getPropertyByName()
1219 return child->asProperty(); in getPropertyByName()
1398 rtl::Reference< ChildAccess > child(getChild(PropertyName)); in getPropertyValue() local
1399 if (!child.is()) { in getPropertyValue()
1403 return child->asValue(); in getPropertyValue()
1561 rtl::Reference< ChildAccess > child(getChild(aPropertyNames[i])); in getPropertyValues() local
1562 if (!child.is()) { in getPropertyValues()
1570 vals[i] = child->asValue(); in getPropertyValues()
1658 rtl::Reference< ChildAccess > child( in setHierarchicalPropertyValue() local
1660 if (!child.is()) { in setHierarchicalPropertyValue()
1665 child->checkFinalized(); in setHierarchicalPropertyValue()
1667 child->setProperty(aValue, &localMods); in setHierarchicalPropertyValue()
1682 rtl::Reference< ChildAccess > child(getSubChild(aHierarchicalPropertyName)); in getHierarchicalPropertyValue() local
1683 if (!child.is()) { in getHierarchicalPropertyValue()
1688 return child->asValue(); in getHierarchicalPropertyValue()
1720 rtl::Reference< ChildAccess > child( in setHierarchicalPropertyValues() local
1722 if (!child.is()) { in setHierarchicalPropertyValues()
1730 child->checkFinalized(); in setHierarchicalPropertyValues()
1731 child->setProperty(Values[i], &localMods); in setHierarchicalPropertyValues()
1749 rtl::Reference< ChildAccess > child( in getHierarchicalPropertyValues() local
1751 if (!child.is()) { in getHierarchicalPropertyValues()
1759 vals[i] = child->asValue(); in getHierarchicalPropertyValues()
1770 rtl::Reference< ChildAccess > child(getSubChild(aHierarchicalName)); in getPropertyByHierarchicalName() local
1771 if (!child.is()) { in getPropertyByHierarchicalName()
1775 return child->asProperty(); in getPropertyByHierarchicalName()
1799 rtl::Reference< ChildAccess > child(getChild(aName)); in replaceByName() local
1800 if (!child.is()) { in replaceByName()
1804 child->checkFinalized(); in replaceByName()
1809 child->setProperty(aElement, &localMods); in replaceByName()
1816 localMods.add(child->getRelativePath()); in replaceByName()
1817 child->unbind(); // must not throw in replaceByName()
1856 rtl::Reference< ChildAccess > child( in insertByName() local
1861 markChildAsModified(child); in insertByName()
1862 localMods.add(child->getRelativePath()); in insertByName()
1893 rtl::Reference< ChildAccess > child(getChild(aName)); in removeByName() local
1894 if (!child.is() || child->isFinalized() || in removeByName()
1895 child->getNode()->getMandatory() != Data::NO_LAYER) in removeByName()
1901 rtl::Reference< Node > p(child->getNode()); in removeByName()
1910 localMods.add(child->getRelativePath()); in removeByName()
1913 markChildAsModified(child); //TODO: must not throw in removeByName()
1914 child->unbind(); in removeByName()
1959 return (childIterator->second.child->getParentAccess() == this && in getModifiedChild()
1960 (childIterator->second.child->getNameInternal() == in getModifiedChild()
1962 ? childIterator->second.child : rtl::Reference< ChildAccess >(); in getModifiedChild()
1975 rtl::Reference< ChildAccess > child; in getUnmodifiedChild() local
1977 child.set(i->second); // must not throw in getUnmodifiedChild()
1980 if (child.is()) { in getUnmodifiedChild()
1981 child->setNode(node); in getUnmodifiedChild()
1982 return child; in getUnmodifiedChild()
1985 rtl::Reference< ChildAccess > child( in getUnmodifiedChild() local
1987 cachedChildren_[name] = child.get(); in getUnmodifiedChild()
1988 return child; in getUnmodifiedChild()
2032 rtl::Reference< ChildAccess > child(parent->getChild(name)); in getSubChild() local
2033 if (!child.is()) { in getSubChild()
2060 if (child->isValue()) { in getSubChild()
2062 ? child : rtl::Reference< ChildAccess >(); in getSubChild()
2064 return child; in getSubChild()
2067 parent = child.get(); in getSubChild()
2076 rtl::Reference< ChildAccess > child(getChild(name)); in setChildProperty() local
2077 if (!child.is()) { in setChildProperty()
2080 child->checkFinalized(); in setChildProperty()
2081 child->setProperty(value, localModifications); in setChildProperty()
2154 rtl::Reference< ChildAccess > child(getChild(descriptor)); in checkKnownProperty() local
2155 if (child.is()) { in checkKnownProperty()
2156 switch (child->getNode()->kind()) { in checkKnownProperty()