Lines Matching refs:rItem

95 const SwFrmFmt *lcl_InsertBCText( SwWrtShell& rSh, const SwLabItem& rItem,  in lcl_InsertBCText()  argument
108 aSet.Put(SwFmtHoriOrient(rItem.lLeft + nCol * rItem.lHDist, in lcl_InsertBCText()
110 aSet.Put(SwFmtVertOrient(rItem.lUpper + nRow * rItem.lVDist, in lcl_InsertBCText()
113 if ( nCol == rItem.nCols -1 ) in lcl_InsertBCText()
125 if(!rItem.bSynchron || !(nCol|nRow)) in lcl_InsertBCText()
131 (*fnSetActGroup)( rItem.sGlossaryGroup ); in lcl_InsertBCText()
133 pGlosHdl->SetCurGroup(rItem.sGlossaryGroup, sal_True); in lcl_InsertBCText()
134 pGlosHdl->InsertGlossary( rItem.sGlossaryBlockName ); in lcl_InsertBCText()
140 const SwFrmFmt *lcl_InsertLabText( SwWrtShell& rSh, const SwLabItem& rItem, in lcl_InsertLabText() argument
153 aSet.Put(SwFmtHoriOrient(rItem.lLeft + nCol * rItem.lHDist, in lcl_InsertLabText()
155 aSet.Put(SwFmtVertOrient(rItem.lUpper + nRow * rItem.lVDist, in lcl_InsertLabText()
158 if ( nCol == rItem.nCols -1 ) in lcl_InsertLabText()
171 …if( (!rItem.bSynchron || !(nCol|nRow)) && (sDBName = InsertLabEnvText( rSh, rFldMgr, rItem.aWritin… in lcl_InsertLabText()
208 const SwLabItem& rItem = (const SwLabItem&) pDlg-> in InsertLab() local
210 aLabCfg.GetItem() = rItem; in InsertLab()
255 pSh->SetLabelDoc(rItem.bSynchron); in InsertLab()
267 aLRMargin.SetLeft ((sal_uInt16) rItem.lLeft ); in InsertLab()
268 aULMargin.SetUpper((sal_uInt16) rItem.lUpper); in InsertLab()
285rItem.lPaperWidth == 0 ? rItem.lLeft + rItem.nCols * rItem.lHDist + MINLAY : rItem.lPaperWidth, in InsertLab()
286rItem.bCont || rItem.lPaperHeight == 0 ? rItem.lUpper + rItem.nRows * rItem.lVDist + MINLAY : rIte… in InsertLab()
303 const int nResultWidth = rItem.lHDist * (rItem.nCols - 1) + rItem.lWidth + rItem.lLeft; in InsertLab()
304 const int nResultHeight = rItem.lVDist * (rItem.nRows - 1) + rItem.lHeight + rItem.lUpper; in InsertLab()
319 const long nMin = pPrt->GetPageOffset().X() - rItem.lLeft; in InsertLab()
333 rItem.lHDist - (rItem.lHDist-rItem.lWidth), in InsertLab()
334 rItem.lVDist - (rItem.lVDist-rItem.lHeight)); in InsertLab()
337 SvxLRSpaceItem aFrmLRSpace( 0, (sal_uInt16)(rItem.lHDist - rItem.lWidth), in InsertLab()
342 SvxULSpaceItem aFrmULSpace( 0, (sal_uInt16)(rItem.lVDist - rItem.lHeight), in InsertLab()
347 if ( rItem.bPage ) in InsertLab()
353 for ( sal_uInt16 i = 0; i < rItem.nRows; ++i ) in InsertLab()
355 for ( sal_uInt16 j = 0; j < rItem.nCols; ++j ) in InsertLab()
360 lcl_InsertLabText( *pSh, rItem, *pFmt, *pFldMgr, j, i, in InsertLab()
361 i == rItem.nRows - 1 && j == rItem.nCols - 1, in InsertLab()
363 lcl_InsertBCText(*pSh, rItem, *pFmt, j, i, sal_True); in InsertLab()
368 if (rItem.bSynchron) in InsertLab()
388 else if (rItem.bSynchron) in InsertLab()
404 if ( i + 1 != rItem.nRows ) in InsertLab()
411 lcl_InsertLabText( *pSh, rItem, *pFmt, *pFldMgr, in InsertLab()
412 static_cast< sal_uInt16 >(rItem.nCol - 1), in InsertLab()
413 static_cast< sal_uInt16 >(rItem.nRow - 1), sal_True, sal_False ) : in InsertLab()
414 lcl_InsertBCText(*pSh, rItem, *pFmt, in InsertLab()
415 static_cast< sal_uInt16 >(rItem.nCol - 1), in InsertLab()
416 static_cast< sal_uInt16 >(rItem.nRow - 1), sal_False); in InsertLab()
425 SwLabDlgUpdateFieldInformation(xModel, rItem); in InsertLab()
439 if( rItem.aWriting.indexOf( '<' ) >= 0 ) in InsertLab()
445 if( rItem.bSynchron ) in InsertLab()