23#include <com/sun/star/script/ScriptEventDescriptor.hpp>
53 throw NoSuchElementException();
55 sal_Int32 iHashResult = (*aIt).second;
68 bool bRet = ( aIt !=
mHashMap.end() );
76 const Type& aAnyType = aElement.getValueType();
77 if(
mType != aAnyType )
78 throw IllegalArgumentException();
83 throw NoSuchElementException();
85 sal_Int32 iHashResult = (*aIt).second;
87 mValues[ iHashResult ] = aElement;
93 aEvent.ReplacedElement = aOldElement;
102 const Type& aAnyType = aElement.getValueType();
103 if(
mType != aAnyType )
104 throw IllegalArgumentException();
109 throw ElementExistException();
122 aEvent.Element = aElement;
129 NameContainerNameMap::iterator aIt =
mHashMap.find(
Name );
132 throw NoSuchElementException();
135 sal_Int32 iHashResult = (*aIt).second;
141 aEvent.Element = aOldElement;
146 sal_Int32 iLast =
mNames.getLength() - 1;
147 if( iLast != iHashResult )
149 OUString* pNames =
mNames.getArray();
150 pNames[ iHashResult ] = pNames[ iLast ];
152 mHashMap[ pNames[ iHashResult ] ] = iHashResult;
172 maContainerListeners( *this )
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)