Lines Matching refs:nEnc

56 sal_uInt16 SvxTextEncodingBox::EncodingToPos_Impl( rtl_TextEncoding nEnc ) const  in EncodingToPos_Impl()
61 if ( nEnc == rtl_TextEncoding( (sal_uIntPtr)GetEntryData(i) ) ) in EncodingToPos_Impl()
79 rtl_TextEncoding nEnc = rtl_TextEncoding( m_pEncTable->GetValue( j ) ); in FillFromTextEncodingTable() local
82 if ( !rtl_getTextEncodingInfo( nEnc, &aInfo ) ) in FillFromTextEncodingTable()
89 ((nEnc == RTL_TEXTENCODING_UCS2) || in FillFromTextEncodingTable()
90 nEnc == RTL_TEXTENCODING_UCS4) ) in FillFromTextEncodingTable()
101 switch ( nEnc ) in FillFromTextEncodingTable()
112 InsertTextEncoding( nEnc, m_pEncTable->GetString( j ) ); in FillFromTextEncodingTable()
131 rtl_TextEncoding nEnc = rtl_TextEncoding( aEncs[j] ); in FillFromDbTextEncodingMap() local
134 if ( !rtl_getTextEncodingInfo( nEnc, &aInfo ) ) in FillFromDbTextEncodingMap()
141 ((nEnc == RTL_TEXTENCODING_UCS2) || in FillFromDbTextEncodingMap()
142 nEnc == RTL_TEXTENCODING_UCS4) ) in FillFromDbTextEncodingMap()
153 switch ( nEnc ) in FillFromDbTextEncodingMap()
166 if ( bInsert && nEnc != RTL_TEXTENCODING_DONTKNOW ) in FillFromDbTextEncodingMap()
167 InsertTextEncoding( nEnc ); in FillFromDbTextEncodingMap()
177 rtl_TextEncoding nEnc = SvtSysLocale::GetBestMimeEncoding(); in FillWithMimeAndSelectBest() local
178 SelectTextEncoding( nEnc ); in FillWithMimeAndSelectBest()
183 void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc, in InsertTextEncoding() argument
187 SetEntryData( nAt, (void*)(sal_uIntPtr)nEnc ); in InsertTextEncoding()
192 void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc, sal_uInt16 nPos ) in InsertTextEncoding() argument
194 const String& rEntry = m_pEncTable->GetTextString( nEnc ); in InsertTextEncoding()
196 InsertTextEncoding( nEnc, rEntry, nPos ); in InsertTextEncoding()
201 aMsg += ByteString::CreateFromInt32( nEnc ); in InsertTextEncoding()
209 void SvxTextEncodingBox::RemoveTextEncoding( const rtl_TextEncoding nEnc ) in RemoveTextEncoding() argument
211 sal_uInt16 nAt = EncodingToPos_Impl( nEnc ); in RemoveTextEncoding()
231 void SvxTextEncodingBox::SelectTextEncoding( const rtl_TextEncoding nEnc, sal_Bool bSelect ) in SelectTextEncoding() argument
233 sal_uInt16 nAt = EncodingToPos_Impl( nEnc ); in SelectTextEncoding()
241 sal_Bool SvxTextEncodingBox::IsTextEncodingSelected( const rtl_TextEncoding nEnc ) const in IsTextEncodingSelected()
243 sal_uInt16 nAt = EncodingToPos_Impl( nEnc ); in IsTextEncodingSelected()