Lines Matching refs:i
225 for (sal_uInt16 i = 0; i < 4; i++) in finished() local
227 if (pAllMarginProperty && !pMargins[i]) in finished()
229 pNewMargins[i].reset(new XMLPropertyState( in finished()
230 pAllMarginProperty->mnIndex + 1 + i, in finished()
233 if (pAllHeaderMarginProperty && !pHeaderMargins[i]) in finished()
235 pNewHeaderMargins[i].reset(new XMLPropertyState( in finished()
236 pAllHeaderMarginProperty->mnIndex + 1 + i, in finished()
239 if (pAllFooterMarginProperty && !pFooterMargins[i]) in finished()
241 pNewFooterMargins[i].reset(new XMLPropertyState( in finished()
242 pAllFooterMarginProperty->mnIndex + 1 + i, in finished()
245 if (pAllPaddingProperty && !pPadding[i]) in finished()
246 …pNewPadding[i] = new XMLPropertyState(pAllPaddingProperty->mnIndex + 1 + i, pAllPaddingProperty->m… in finished()
247 if (pAllBorderProperty && !pBorders[i]) in finished()
249 …pNewBorders[i] = new XMLPropertyState(pAllBorderProperty->mnIndex + 1 + i, pAllBorderProperty->maV… in finished()
250 pBorders[i] = pNewBorders[i]; in finished()
252 if( !pBorderWidths[i] ) in finished()
253 pBorderWidths[i] = pAllBorderWidthProperty; in finished()
255 pBorderWidths[i]->mnIndex = -1; in finished()
256 if( pBorders[i] ) in finished()
259 pBorders[i]->maValue >>= aBorderLine; in finished()
260 if( pBorderWidths[i] ) in finished()
263 pBorderWidths[i]->maValue >>= aBorderLineWidth; in finished()
267 pBorders[i]->maValue <<= aBorderLine; in finished()
270 if (pAllHeaderPaddingProperty && !pHeaderPadding[i]) in finished()
271 …pHeaderNewPadding[i] = new XMLPropertyState(pAllHeaderPaddingProperty->mnIndex + 1 + i, pAllHeader… in finished()
272 if (pAllHeaderBorderProperty && !pHeaderBorders[i]) in finished()
273 …pHeaderNewBorders[i] = new XMLPropertyState(pAllHeaderBorderProperty->mnIndex + 1 + i, pAllHeaderB… in finished()
274 if( !pHeaderBorderWidths[i] ) in finished()
275 pHeaderBorderWidths[i] = pAllHeaderBorderWidthProperty; in finished()
277 pHeaderBorderWidths[i]->mnIndex = -1; in finished()
278 if( pHeaderBorders[i] ) in finished()
281 pHeaderBorders[i]->maValue >>= aBorderLine; in finished()
282 if( pHeaderBorderWidths[i] ) in finished()
285 pHeaderBorderWidths[i]->maValue >>= aBorderLineWidth; in finished()
289 pHeaderBorders[i]->maValue <<= aBorderLine; in finished()
292 if (pAllFooterPaddingProperty && !pFooterPadding[i]) in finished()
293 …pFooterNewPadding[i] = new XMLPropertyState(pAllFooterPaddingProperty->mnIndex + 1 + i, pAllFooter… in finished()
294 if (pAllFooterBorderProperty && !pFooterBorders[i]) in finished()
295 …pFooterNewBorders[i] = new XMLPropertyState(pAllFooterBorderProperty->mnIndex + 1 + i, pAllFooterB… in finished()
296 if( !pFooterBorderWidths[i] ) in finished()
297 pFooterBorderWidths[i] = pAllFooterBorderWidthProperty; in finished()
299 pFooterBorderWidths[i]->mnIndex = -1; in finished()
300 if( pFooterBorders[i] ) in finished()
303 pFooterBorders[i]->maValue >>= aBorderLine; in finished()
304 if( pFooterBorderWidths[i] ) in finished()
307 pFooterBorderWidths[i]->maValue >>= aBorderLineWidth; in finished()
311 pFooterBorders[i]->maValue <<= aBorderLine; in finished()
344 for (sal_uInt16 i = 0; i < 4; i++) in finished() local
346 if (pNewMargins[i].get()) in finished()
348 rProperties.push_back(*pNewMargins[i]); in finished()
350 if (pNewHeaderMargins[i].get()) in finished()
352 rProperties.push_back(*pNewHeaderMargins[i]); in finished()
354 if (pNewFooterMargins[i].get()) in finished()
356 rProperties.push_back(*pNewFooterMargins[i]); in finished()
358 if (pNewPadding[i]) in finished()
360 rProperties.push_back(*pNewPadding[i]); in finished()
361 delete pNewPadding[i]; in finished()
363 if (pNewBorders[i]) in finished()
365 rProperties.push_back(*pNewBorders[i]); in finished()
366 delete pNewBorders[i]; in finished()
368 if (pHeaderNewPadding[i]) in finished()
370 rProperties.push_back(*pHeaderNewPadding[i]); in finished()
371 delete pHeaderNewPadding[i]; in finished()
373 if (pHeaderNewBorders[i]) in finished()
375 rProperties.push_back(*pHeaderNewBorders[i]); in finished()
376 delete pHeaderNewBorders[i]; in finished()
378 if (pFooterNewPadding[i]) in finished()
380 rProperties.push_back(*pFooterNewPadding[i]); in finished()
381 delete pFooterNewPadding[i]; in finished()
383 if (pFooterNewBorders[i]) in finished()
385 rProperties.push_back(*pFooterNewBorders[i]); in finished()
386 delete pFooterNewBorders[i]; in finished()