Lines Matching refs:pRep
258 SwTableRep* pRep = new SwTableRep( aTabCols, rSh.IsTblComplex()); in lcl_TableParamToItemSet() local
259 pRep->SetSpace(aCols.GetRightMax()); in lcl_TableParamToItemSet()
265 nWidth = pRep->GetSpace() * nPercent / 100; in lcl_TableParamToItemSet()
267 pRep->SetAlign(nAlign); in lcl_TableParamToItemSet()
271 SwTwips nDiff = pRep->GetSpace() - nRight - nLeft - nWidth; in lcl_TableParamToItemSet()
274 SwTwips nLR = pRep->GetSpace() - nWidth; in lcl_TableParamToItemSet()
288 nWidth = pRep->GetSpace() - nLeft - nRight; in lcl_TableParamToItemSet()
292 pRep->SetLeftSpace(nLeft); in lcl_TableParamToItemSet()
293 pRep->SetRightSpace(nRight); in lcl_TableParamToItemSet()
295 pRep->SetWidth(nWidth); in lcl_TableParamToItemSet()
296 pRep->SetWidthPercent(nPercent); in lcl_TableParamToItemSet()
298 pRep->SetLineSelected(bTableSel && ! rSh.HasWholeTabSelection()); in lcl_TableParamToItemSet()
299 rSet.Put(SwPtrItem(FN_TABLE_REP, pRep)); in lcl_TableParamToItemSet()
300 return pRep; in lcl_TableParamToItemSet()
396 SwTableRep* pRep = 0; in ItemSetToTableParam() local
401 pRep = (SwTableRep*)((const SwPtrItem*)pItem)->GetValue(); in ItemSetToTableParam()
403 const SwTwips nWidth = pRep->GetWidth(); in ItemSetToTableParam()
404 if ( text::HoriOrientation::FULL == pRep->GetAlign() ) in ItemSetToTableParam()
413 if(pRep->GetWidthPercent()) in ItemSetToTableParam()
415 aSz.SetWidthPercent( (sal_uInt8)pRep->GetWidthPercent() ); in ItemSetToTableParam()
421 aLRSpace.SetLeft(pRep->GetLeftSpace()); in ItemSetToTableParam()
422 aLRSpace.SetRight(pRep->GetRightSpace()); in ItemSetToTableParam()
425 sal_Int16 eOrient = pRep->GetAlign(); in ItemSetToTableParam()
434 if(pRep->HasColsChanged()) in ItemSetToTableParam()
475 bSingleLine = pRep->FillTabCols( aTabCols ); in ItemSetToTableParam()