Lines Matching refs:pNewTOX
301 SwTOXBase * pNewTOX = NULL; in UpdateOrInsertTOX() local
304 pNewTOX = new SwTOXBase(*pTOX); in UpdateOrInsertTOX()
318 … pNewTOX = new SwTOXBase(pType, aForm, nsSwTOXElement::TOX_MARK, pType->GetTypeName()); in UpdateOrInsertTOX()
320 pNewTOX->SetOptions(rDesc.GetIndexOptions()); in UpdateOrInsertTOX()
321 pNewTOX->SetMainEntryCharStyle(rDesc.GetMainEntryCharStyle()); in UpdateOrInsertTOX()
332 pNewTOX = new SwTOXBase(pType, aForm, rDesc.GetContentOptions(), pType->GetTypeName()); in UpdateOrInsertTOX()
334 pNewTOX->SetCreate(rDesc.GetContentOptions()); in UpdateOrInsertTOX()
335 pNewTOX->SetLevel(rDesc.GetLevel()); in UpdateOrInsertTOX()
354 pNewTOX = new SwTOXBase(pType, aForm, rDesc.GetContentOptions(), pType->GetTypeName()); in UpdateOrInsertTOX()
361 pNewTOX->SetLevelFromChapter(rDesc.IsLevelFromChapter()); in UpdateOrInsertTOX()
396 pNewTOX = new SwTOXBase( in UpdateOrInsertTOX()
404 pNewTOX = (SwTOXBase*)pCurTOX; in UpdateOrInsertTOX()
407 pNewTOX->SetFromObjectNames(rDesc.IsCreateFromObjectNames()); in UpdateOrInsertTOX()
408 pNewTOX->SetOLEOptions(rDesc.GetOLEOptions()); in UpdateOrInsertTOX()
414 DBG_ASSERT(pNewTOX, "no TOXBase created!" ); in UpdateOrInsertTOX()
415 if(!pNewTOX) in UpdateOrInsertTOX()
418 pNewTOX->SetFromChapter(rDesc.IsFromChapter()); in UpdateOrInsertTOX()
419 pNewTOX->SetSequenceName(rDesc.GetSequenceName()); in UpdateOrInsertTOX()
420 pNewTOX->SetCaptionDisplay(rDesc.GetCaptionDisplay()); in UpdateOrInsertTOX()
421 pNewTOX->SetProtected(rDesc.IsReadonly()); in UpdateOrInsertTOX()
424 pNewTOX->SetStyleNames(rDesc.GetStyleNames(nLevel), nLevel); in UpdateOrInsertTOX()
427 pNewTOX->SetTitle(*rDesc.GetTitle()); in UpdateOrInsertTOX()
429 pNewTOX->SetTOXForm(*rDesc.GetForm()); in UpdateOrInsertTOX()
430 pNewTOX->SetLanguage(rDesc.GetLanguage()); in UpdateOrInsertTOX()
431 pNewTOX->SetSortAlgorithm(rDesc.GetSortAlgorithm()); in UpdateOrInsertTOX()
438 (*ppBase) = pNewTOX; in UpdateOrInsertTOX()
441 pSh->InsertTableOf(*pNewTOX, pSet); in UpdateOrInsertTOX()
442 delete pNewTOX; in UpdateOrInsertTOX()
451 if (pNewTOX != NULL) in UpdateOrInsertTOX()
459 if (pNewTOX != NULL) // => pTOX != NULL in UpdateOrInsertTOX()
460 pDoc->ChgTOX(*pTOX, *pNewTOX); in UpdateOrInsertTOX()
470 if (pNewTOX == NULL) in UpdateOrInsertTOX()