Lines Matching refs:nId

137 void lcl_SetDfltBoxAttr( SwFrmFmt& rFmt, sal_uInt8 nId )  in lcl_SetDfltBoxAttr()  argument
140 switch ( nId ) in lcl_SetDfltBoxAttr()
169 void lcl_SetDfltBoxAttr( SwTableBox& rBox, SvPtrarr &rBoxFmtArr, sal_uInt8 nId, in lcl_SetDfltBoxAttr() argument
172 SvPtrarr* pArr = (SvPtrarr*)rBoxFmtArr[ nId ]; in lcl_SetDfltBoxAttr()
176 rBoxFmtArr.Replace( pArr, nId ); in lcl_SetDfltBoxAttr()
196 pAutoFmt->UpdateToSet( nId, (SfxItemSet&)pNewBoxFmt->GetAttrSet(), in lcl_SetDfltBoxAttr()
200 ::lcl_SetDfltBoxAttr( *pNewBoxFmt, nId ); in lcl_SetDfltBoxAttr()
211 sal_uInt16 nCols, sal_uInt8 nId ) in lcl_CreateDfltBoxFmt() argument
213 if ( !rBoxFmtArr[nId] ) in lcl_CreateDfltBoxFmt()
219 ::lcl_SetDfltBoxAttr( *pBoxFmt, nId ); in lcl_CreateDfltBoxFmt()
220 rBoxFmtArr.Replace( pBoxFmt, nId ); in lcl_CreateDfltBoxFmt()
222 return (SwTableBoxFmt*)rBoxFmtArr[nId]; in lcl_CreateDfltBoxFmt()
227 sal_uInt16 nCols, sal_uInt8 nId ) in lcl_CreateAFmtBoxFmt() argument
229 if( !rBoxFmtArr[nId] ) in lcl_CreateAFmtBoxFmt()
232 rAutoFmt.UpdateToSet( nId, (SfxItemSet&)pBoxFmt->GetAttrSet(), in lcl_CreateAFmtBoxFmt()
238 rBoxFmtArr.Replace( pBoxFmt, nId ); in lcl_CreateAFmtBoxFmt()
240 return (SwTableBoxFmt*)rBoxFmtArr[nId]; in lcl_CreateAFmtBoxFmt()
527 sal_uInt8 nId = static_cast<sal_uInt8>(!n ? 0 : (( n+1 == nRows ) in InsertTable() local
529 nId = nId + static_cast<sal_uInt8>( !i ? 0 : in InsertTable()
532 nCols, nId ); in InsertTable()
538 pTAFmt->UpdateToSet( nId, aCharSet, in InsertTable()
819 sal_uInt8 nId = static_cast<sal_uInt8>(!n ? 0 : (( n+1 == nRows ) in TextToTable() local
821 nId = nId + static_cast<sal_uInt8>(!i ? 0 : in TextToTable()
824 ::lcl_SetDfltBoxAttr( *pBox, aBoxFmtArr, nId, pTAFmt ); in TextToTable()
827 bChgSz = 0 == aBoxFmtArr[ nId ]; in TextToTable()
829 *pTAFmt, USHRT_MAX, nId ); in TextToTable()
836 pTAFmt->UpdateToSet( nId, aCharSet, in TextToTable()
861 sal_uInt8 nId = (i < nCols - 1 ? 0 : 1) + (n ? 2 : 0 ); in TextToTable() local
863 ::lcl_SetDfltBoxAttr( *pBox, aBoxFmtArr, nId ); in TextToTable()
866 bChgSz = 0 == aBoxFmtArr[ nId ]; in TextToTable()
868 USHRT_MAX, nId ); in TextToTable()