Lines Matching refs:io_rLevel
373 sal_Int16 & io_rLevel) in ClampLevel() argument
378 if ( io_rLevel >= nLevelCount ) { in ClampLevel()
379 io_rLevel = sal::static_int_cast< sal_Int16 >(nLevelCount-1); in ClampLevel()
388 sal_Int16 & io_rLevel, const ::rtl::OUString i_StyleName) in EnsureNumberedParagraph() argument
391 OSL_ENSURE(io_rLevel >= 0, "inavlid Level"); in EnsureNumberedParagraph()
394 if ( rNPList.empty() && (0 != io_rLevel)) { in EnsureNumberedParagraph()
402 if ((0 == io_rLevel) || rNPList.empty() || i_StyleName.getLength()) { in EnsureNumberedParagraph()
405 const size_t parent( std::min(static_cast<size_t>(io_rLevel), in EnsureNumberedParagraph()
408 io_rLevel > 0 ? rNPList[parent].second : 0, in EnsureNumberedParagraph()
409 io_rLevel > 0 ? rNPList[parent].first : none, in EnsureNumberedParagraph()
410 i_StyleName, io_rLevel); in EnsureNumberedParagraph()
413 ClampLevel(rNPList.back().second, io_rLevel); in EnsureNumberedParagraph()
415 if (static_cast<sal_uInt16>(io_rLevel) + 1U > rNPList.size()) { in EnsureNumberedParagraph()
418 i < static_cast<size_t>(io_rLevel); ++i) { in EnsureNumberedParagraph()
427 rNPList[io_rLevel] = std::make_pair(i_StyleName, xNumRules); in EnsureNumberedParagraph()
429 if (static_cast<sal_uInt16>(io_rLevel) + 1U < rNPList.size()) { in EnsureNumberedParagraph()
430 rNPList.erase(rNPList.begin() + io_rLevel + 1, rNPList.end()); in EnsureNumberedParagraph()
434 if (mLastNumberedParagraphs.size() <= static_cast<size_t>(io_rLevel)) { in EnsureNumberedParagraph()
435 mLastNumberedParagraphs.resize(io_rLevel+1); in EnsureNumberedParagraph()
437 mLastNumberedParagraphs[io_rLevel] = std::make_pair(i_StyleName, i_ListId); in EnsureNumberedParagraph()
448 sal_Int16 & io_rLevel, in MakeNumRule() argument
525 ClampLevel(xNumRules, io_rLevel); in MakeNumRule()
531 SvxXMLListStyleContext::SetDefaultStyle( xNumRules, io_rLevel, in MakeNumRule()