Lines Matching refs:nProp
200 for(int nProp = 0; nProp < aNames.getLength(); nProp++) in SwEnvCfgItem() local
202 if(pValues[nProp].hasValue()) in SwEnvCfgItem()
204 switch(nProp) in SwEnvCfgItem()
206 case 0: pValues[nProp] >>= aEnvItem.aAddrText; break;// "Inscription/Addressee", in SwEnvCfgItem()
207 case 1: pValues[nProp] >>= aEnvItem.aSendText; break;// "Inscription/Sender", in SwEnvCfgItem()
208 … case 2: aEnvItem.bSend = *(sal_Bool*)pValues[nProp].getValue(); break;// "Inscription/UseSender", in SwEnvCfgItem()
210 pValues[nProp] >>= aEnvItem.lAddrFromLeft;// "Format/AddresseeFromLeft", in SwEnvCfgItem()
214 pValues[nProp] >>= aEnvItem.lAddrFromTop; // "Format/AddresseeFromTop", in SwEnvCfgItem()
218 pValues[nProp] >>= aEnvItem.lSendFromLeft; // "Format/SenderFromLeft", in SwEnvCfgItem()
222 pValues[nProp] >>= aEnvItem.lSendFromTop;// "Format/SenderFromTop", in SwEnvCfgItem()
226 pValues[nProp] >>= aEnvItem.lWidth; // "Format/Width", in SwEnvCfgItem()
230 pValues[nProp] >>= aEnvItem.lHeight; // "Format/Height", in SwEnvCfgItem()
236 pValues[nProp] >>= nTemp; aEnvItem.eAlign = (SwEnvAlign)nTemp; break;// "Print/Alignment", in SwEnvCfgItem()
238 …case 10: aEnvItem.bPrintFromAbove = *(sal_Bool*)pValues[nProp].getValue(); break;// "Print/FromAbo… in SwEnvCfgItem()
240 pValues[nProp] >>= aEnvItem.lShiftRight; in SwEnvCfgItem()
244 pValues[nProp] >>= aEnvItem.lShiftDown; in SwEnvCfgItem()
268 for(int nProp = 0; nProp < aNames.getLength(); nProp++) in Commit() local
270 switch(nProp) in Commit()
272 case 0: pValues[nProp] <<= aEnvItem.aAddrText; break;// "Inscription/Addressee", in Commit()
273 case 1: pValues[nProp] <<= aEnvItem.aSendText; break;// "Inscription/Sender", in Commit()
274 case 2: pValues[nProp].setValue(&aEnvItem.bSend, rType);break;// "Inscription/UseSender", in Commit()
275 …case 3: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lAddrFromLeft)) ; break… in Commit()
276 …case 4: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lAddrFromTop)) ; break… in Commit()
277 …case 5: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lSendFromLeft)) ; break… in Commit()
278 …case 6: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lSendFromTop)) ; break… in Commit()
279 …case 7: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lWidth)) ; break;// "F… in Commit()
280 …case 8: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lHeight)) ; break;// "F… in Commit()
281 case 9: pValues[nProp] <<= sal_Int32(aEnvItem.eAlign); break;// "Print/Alignment", in Commit()
282 case 10: pValues[nProp].setValue(&aEnvItem.bPrintFromAbove, rType); break;// "Print/FromAbove", in Commit()
283 …case 11: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lShiftRight));break; //… in Commit()
284 …case 12: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lShiftDown)); break;// … in Commit()