Lines Matching refs:pImpl
146 pImpl(new SvtJavaOptions_Impl) in SvtJavaOptions()
150 Sequence< Any > aValues = GetProperties(pImpl->aPropertyNames); in SvtJavaOptions()
151 Sequence< sal_Bool > aROStates = GetReadOnlyStates(pImpl->aPropertyNames); in SvtJavaOptions()
154 …if ( aValues.getLength() == pImpl->aPropertyNames.getLength() && aROStates.getLength() == pImpl->a… in SvtJavaOptions()
156 for ( int nProp = 0; nProp < pImpl->aPropertyNames.getLength(); nProp++ ) in SvtJavaOptions()
162 case 0: pImpl->bEnabled = *(sal_Bool*)pValues[nProp].getValue(); break; in SvtJavaOptions()
163 case 1: pImpl->bSecurity = *(sal_Bool*)pValues[nProp].getValue();break; in SvtJavaOptions()
164 case 2: pValues[nProp] >>= pImpl->nNetAccess; break; in SvtJavaOptions()
165 case 3: pValues[nProp] >>= pImpl->sUserClassPath; break; in SvtJavaOptions()
169 pImpl->bROEnabled = pROStates[0]; in SvtJavaOptions()
170 pImpl->bROSecurity = pROStates[1]; in SvtJavaOptions()
171 pImpl->bRONetAccess = pROStates[2]; in SvtJavaOptions()
172 pImpl->bROUserClassPath = pROStates[3]; in SvtJavaOptions()
180 delete pImpl; in ~SvtJavaOptions()
187 pImpl->aExecItem.Commit(); in Commit()
189 sal_Int32 nOrgCount = pImpl->aPropertyNames.getLength(); in Commit()
201 if (!pImpl->bROEnabled) in Commit()
203 aValues[nRealCount].setValue(&pImpl->bEnabled, rType); in Commit()
204 aNames[nRealCount] = pImpl->aPropertyNames[nProp]; in Commit()
211 if (!pImpl->bROSecurity) in Commit()
213 aValues[nRealCount].setValue(&pImpl->bSecurity, rType); in Commit()
214 aNames[nRealCount] = pImpl->aPropertyNames[nProp]; in Commit()
221 if (!pImpl->bRONetAccess) in Commit()
223 aValues[nRealCount] <<= pImpl->nNetAccess; in Commit()
224 aNames[nRealCount] = pImpl->aPropertyNames[nProp]; in Commit()
231 if (!pImpl->bROUserClassPath) in Commit()
233 aValues[nRealCount] <<= pImpl->sUserClassPath; in Commit()
234 aNames[nRealCount] = pImpl->aPropertyNames[nProp]; in Commit()
250 return pImpl->bEnabled; in IsEnabled()
257 return pImpl->bSecurity; in IsSecurity()
264 return pImpl->nNetAccess; in GetNetAccess()
271 return pImpl->sUserClassPath; in GetUserClassPath()
278 …OSL_ENSURE(!pImpl->bROEnabled, "SvtJavaOptions::SetEnabled()\nYou tried to write on a readonly val… in SetEnabled()
279 if(!pImpl->bROEnabled && pImpl->bEnabled != bSet) in SetEnabled()
281 pImpl->bEnabled = bSet; in SetEnabled()
290 …OSL_ENSURE(!pImpl->bROSecurity, "SvtJavaOptions::SetSecurity()\nYou tried to write on a readonly v… in SetSecurity()
291 if(!pImpl->bROSecurity && pImpl->bSecurity != bSet) in SetSecurity()
293 pImpl->bSecurity = bSet; in SetSecurity()
302 …OSL_ENSURE(!pImpl->bRONetAccess, "SvtJavaOptions::SetNetAccess()\nYou tried to write on a readonly… in SetNetAccess()
303 if(!pImpl->bRONetAccess && pImpl->nNetAccess != nSet) in SetNetAccess()
305 pImpl->nNetAccess = nSet; in SetNetAccess()
314 …OSL_ENSURE(!pImpl->bROUserClassPath, "SvtJavaOptions::SetUserClassPath()\nYou tried to write on a … in SetUserClassPath()
315 if(!pImpl->bROUserClassPath && pImpl->sUserClassPath != rSet) in SetUserClassPath()
317 pImpl->sUserClassPath = rSet; in SetUserClassPath()
327 return pImpl->aExecItem.IsExecuteApplets(); in IsExecuteApplets()
334 if(!pImpl->aExecItem.IsReadOnly() && pImpl->aExecItem.IsExecuteApplets() != bSet) in SetExecuteApplets()
336 pImpl->aExecItem.SetExecuteApplets(bSet); in SetExecuteApplets()
349 bRO = pImpl->bROEnabled; in IsReadOnly()
352 bRO = pImpl->bROSecurity; in IsReadOnly()
355 bRO = pImpl->bRONetAccess; in IsReadOnly()
358 bRO = pImpl->bROUserClassPath; in IsReadOnly()
361 bRO = pImpl->aExecItem.IsReadOnly(); in IsReadOnly()