Lines Matching refs:nKey
100 void SetUsed( sal_uInt32 nKey );
101 sal_Bool IsUsed( sal_uInt32 nKey ) const;
102 sal_Bool IsWasUsed( sal_uInt32 nKey ) const;
105 sal_Bool GetFirstUsed(sal_uInt32& nKey);
106 sal_Bool GetNextUsed(sal_uInt32& nKey);
147 void SvXMLNumUsedList_Impl::SetUsed( sal_uInt32 nKey ) in SetUsed() argument
149 if ( !IsWasUsed(nKey) ) in SetUsed()
151 std::pair<SvXMLuInt32Set::iterator, bool> aPair = aUsed.insert( nKey ); in SetUsed()
157 sal_Bool SvXMLNumUsedList_Impl::IsUsed( sal_uInt32 nKey ) const in IsUsed()
159 SvXMLuInt32Set::const_iterator aItr = aUsed.find(nKey); in IsUsed()
163 sal_Bool SvXMLNumUsedList_Impl::IsWasUsed( sal_uInt32 nKey ) const in IsWasUsed()
165 SvXMLuInt32Set::const_iterator aItr = aWasUsed.find(nKey); in IsWasUsed()
183 sal_Bool SvXMLNumUsedList_Impl::GetFirstUsed(sal_uInt32& nKey) in GetFirstUsed() argument
190 nKey = *aCurrentUsedPos; in GetFirstUsed()
196 sal_Bool SvXMLNumUsedList_Impl::GetNextUsed(sal_uInt32& nKey) in GetNextUsed() argument
204 nKey = *aCurrentUsedPos; in GetNextUsed()
329 OUString lcl_CreateStyleName( sal_Int32 nKey, sal_Int32 nPart, sal_Bool bDefPart, const rtl::OUStri… in lcl_CreateStyleName() argument
333 aFmtName.append( nKey ); in lcl_CreateStyleName()
733 sal_Int32 nKey, sal_Int32 nPart ) in WriteMapElement_Impl() argument
762 rExport.EncodeStyleName( lcl_CreateStyleName( nKey, nPart, sal_False, in WriteMapElement_Impl()
963 void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt32 nKey, in ExportPart_Impl() argument
972 NfIndexTableOffset eBuiltIn = pFormatter->GetIndexTableOffset( nKey ); in ExportPart_Impl()
1038 lcl_CreateStyleName( nKey, nPart, bDefPart, sPrefix ) ); in ExportPart_Impl()
1614 WriteMapElement_Impl( eOp1, fLimit1, nKey, 0 ); in ExportPart_Impl()
1615 WriteMapElement_Impl( eOp2, fLimit2, nKey, 1 ); in ExportPart_Impl()
1646 WriteMapElement_Impl( eOp3, fLimit3, nKey, 2 ); in ExportPart_Impl()
1657 void SvXMLNumFmtExport::ExportFormat_Impl( const SvNumberformat& rFormat, sal_uInt32 nKey ) in ExportFormat_Impl() argument
1681 ExportPart_Impl( rFormat, nKey, nPart, bDefault ); in ExportFormat_Impl()
1696 sal_uInt32 nKey; in Export() local
1698 sal_Bool bNext(pUsedList->GetFirstUsed(nKey)); in Export()
1701 pFormat = pFormatter->GetEntry(nKey); in Export()
1703 ExportFormat_Impl( *pFormat, nKey ); in Export()
1704 bNext = pUsedList->GetNextUsed(nKey); in Export()
1721 nKey = rTable.GetCurKey(); in Export()
1722 if (!pUsedList->IsUsed(nKey)) in Export()
1726 ExportFormat_Impl( *pFormat, nKey ); in Export()
1728 pUsedList->SetUsed(nKey); in Export()
1738 OUString SvXMLNumFmtExport::GetStyleName( sal_uInt32 nKey ) in GetStyleName() argument
1740 if(pUsedList->IsUsed(nKey) || pUsedList->IsWasUsed(nKey)) in GetStyleName()
1741 return lcl_CreateStyleName( nKey, 0, sal_True, sPrefix ); in GetStyleName()
1749 void SvXMLNumFmtExport::SetUsed( sal_uInt32 nKey ) in SetUsed() argument
1755 if (pFormatter->GetEntry(nKey)) in SetUsed()
1756 pUsedList->SetUsed( nKey ); in SetUsed()
1777 sal_uInt32 nKey ) in lcl_GetFormat() argument
1779 return ( pFormatter != NULL ) ? pFormatter->GetEntry( nKey ) : NULL; in lcl_GetFormat()
1782 sal_uInt32 SvXMLNumFmtExport::ForceSystemLanguage( sal_uInt32 nKey ) in ForceSystemLanguage() argument
1784 sal_uInt32 nRet = nKey; in ForceSystemLanguage()
1786 const SvNumberformat* pFormat = lcl_GetFormat( pFormatter, nKey ); in ForceSystemLanguage()
1795 nKey, LANGUAGE_SYSTEM ); in ForceSystemLanguage()
1797 if( nNewKey != nKey ) in ForceSystemLanguage()