MultiPropertySetHandler.hxx (86e1cf34) | MultiPropertySetHandler.hxx (32698fcc) |
---|---|
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 --- 124 unchanged lines hidden (view full) --- 133 object. 134 @param xObject A reference to any of the object's interfaces. 135 not necessarily XPropertySet or XMultiPropertySet. It 136 is casted later to one of the two of them. 137 */ 138 MultiPropertySetHandler (::com::sun::star::uno::Reference< 139 ::com::sun::star::uno::XInterface> xObject); 140 ~MultiPropertySetHandler (void); | 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 --- 124 unchanged lines hidden (view full) --- 133 object. 134 @param xObject A reference to any of the object's interfaces. 135 not necessarily XPropertySet or XMultiPropertySet. It 136 is casted later to one of the two of them. 137 */ 138 MultiPropertySetHandler (::com::sun::star::uno::Reference< 139 ::com::sun::star::uno::XInterface> xObject); 140 ~MultiPropertySetHandler (void); |
141 /** @descr Add a property to handle. The type given implicitely by the | 141 /** @descr Add a property to handle. The type given implicitly by the |
142 reference to a variable is used to create an instance of 143 the PropertyWrapper template class. 144 @param sName Name of the property. 145 @param rValue Reference to a variable whose value is set by the 146 call to GetProperties to the property's value. 147 */ 148 template<class T> void Add (const ::rtl::OUString & sName, T& rValue) 149 { --- 141 unchanged lines hidden --- | 142 reference to a variable is used to create an instance of 143 the PropertyWrapper template class. 144 @param sName Name of the property. 145 @param rValue Reference to a variable whose value is set by the 146 call to GetProperties to the property's value. 147 */ 148 template<class T> void Add (const ::rtl::OUString & sName, T& rValue) 149 { --- 141 unchanged lines hidden --- |