Lines Matching refs:nIndex

1649 	sal_uInt32 nIndex = NUMBERFORMAT_ENTRY_NOT_FOUND;  in CreateAndInsert()  local
1681 nIndex = pFormatter->GetStandardIndex( nFormatLang ); in CreateAndInsert()
1689 nIndex = pFormatter->GetFormatIndex( NF_NUMBER_SYSTEM, nFormatLang ); in CreateAndInsert()
1695 nIndex = pFormatter->GetFormatIndex( NF_BOOLEAN, nFormatLang ); in CreateAndInsert()
1710 nIndex = pFormatter->GetFormatIndex( eFormat, nFormatLang ); in CreateAndInsert()
1714 if ( nIndex == NUMBERFORMAT_ENTRY_NOT_FOUND && sFormat.getLength() ) in CreateAndInsert()
1719 nIndex = pFormatter->GetEntryKey( aFormatStr, nFormatLang ); in CreateAndInsert()
1720 if ( nIndex == NUMBERFORMAT_ENTRY_NOT_FOUND ) in CreateAndInsert()
1724 sal_Bool bOk = pFormatter->PutEntry( aFormatStr, nErrPos, l_nType, nIndex, nFormatLang ); in CreateAndInsert()
1729 nIndex = pFormatter->GetEntryKey( aFormatStr, nFormatLang ); in CreateAndInsert()
1730 if ( nIndex != NUMBERFORMAT_ENTRY_NOT_FOUND ) in CreateAndInsert()
1734 nIndex = NUMBERFORMAT_ENTRY_NOT_FOUND; in CreateAndInsert()
1740 if ( nIndex != NUMBERFORMAT_ENTRY_NOT_FOUND && !bFromSystem ) in CreateAndInsert()
1745 sal_uInt32 nNewIndex = nIndex; in CreateAndInsert()
1747 NfIndexTableOffset eOffset = pFormatter->GetIndexTableOffset( nIndex ); in CreateAndInsert()
1778 if ( nNewIndex != nIndex ) in CreateAndInsert()
1785 nIndex = nNewIndex; in CreateAndInsert()
1790 if ( nIndex != NUMBERFORMAT_ENTRY_NOT_FOUND && !bAutoOrder ) in CreateAndInsert()
1795 NfIndexTableOffset eOffset = pFormatter->GetIndexTableOffset( nIndex ); in CreateAndInsert()
1799 const SvNumberformat* pOldEntry = pFormatter->GetEntry( nIndex ); in CreateAndInsert()
1802 nIndex = nNewIndex; in CreateAndInsert()
1807 const SvNumberformat* pOldEntry = pFormatter->GetEntry( nIndex ); in CreateAndInsert()
1810 nIndex = nNewIndex; in CreateAndInsert()
1814 if ((nIndex != NUMBERFORMAT_ENTRY_NOT_FOUND) && sFormatTitle.getLength()) in CreateAndInsert()
1816 SvNumberformat* pFormat = const_cast<SvNumberformat*>(pFormatter->GetEntry( nIndex )); in CreateAndInsert()
1824 if ( nIndex == NUMBERFORMAT_ENTRY_NOT_FOUND ) in CreateAndInsert()
1827 nIndex = pFormatter->GetStandardIndex( nFormatLang ); in CreateAndInsert()
1830 pData->AddKey( nIndex, GetName(), bRemoveAfterUse ); in CreateAndInsert()
1831 nKey = nIndex; in CreateAndInsert()
1846 aByte.Append(ByteString::CreateFromInt32( nIndex )); in CreateAndInsert()
2080 void SvXMLNumFormatContext::AddNfKeyword( sal_uInt16 nIndex ) in AddNfKeyword() argument
2086 if ( nIndex == NF_KEY_G || nIndex == NF_KEY_GG || nIndex == NF_KEY_GGG ) in AddNfKeyword()
2089 if ( nIndex == NF_KEY_NNNN ) in AddNfKeyword()
2091 nIndex = NF_KEY_NNN; in AddNfKeyword()
2095 String sKeyword = pFormatter->GetKeyword( nFormatLang, nIndex ); in AddNfKeyword()
2097 if ( nIndex == NF_KEY_H || nIndex == NF_KEY_HH || in AddNfKeyword()
2098 nIndex == NF_KEY_MI || nIndex == NF_KEY_MMI || in AddNfKeyword()
2099 nIndex == NF_KEY_S || nIndex == NF_KEY_SS ) in AddNfKeyword()
2114 switch ( nIndex ) in AddNfKeyword()
2179 void SvXMLNumFormatContext::AddCondition( const sal_Int32 nIndex ) in AddCondition() argument
2181 rtl::OUString rApplyName = aMyConditions[nIndex].sMapName; in AddCondition()
2182 rtl::OUString rCondition = aMyConditions[nIndex].sCondition; in AddCondition()
2203 if ( nType == XML_TOK_STYLES_TEXT_STYLE && nIndex == 2 ) in AddCondition()
2232 void SvXMLNumFormatContext::AddCondition( const sal_Int32 nIndex, const rtl::OUString& rFormat, con… in AddCondition() argument
2234 rtl::OUString rCondition = aMyConditions[nIndex].sCondition; in AddCondition()
2252 if ( nType == XML_TOK_STYLES_TEXT_STYLE && nIndex == 2 ) in AddCondition()