Home
last modified time | relevance | path

Searched refs:eTextEnc (Results 1 – 25 of 39) sorted by relevance

12

/aoo4110/main/oox/source/helper/
H A Dtextinputstream.cxx124 …mponentContext >& rxContext, const Reference< XInputStream >& rxInStrm, rtl_TextEncoding eTextEnc ) in TextInputStream() argument
126 init( rxContext, rxInStrm, eTextEnc ); in TextInputStream()
129 … Reference< XComponentContext >& rxContext, BinaryInputStream& rInStrm, rtl_TextEncoding eTextEnc ) in TextInputStream() argument
131 init( rxContext, new UnoBinaryInputStream( rInStrm ), eTextEnc ); in TextInputStream()
194 …mponentContext >& rxContext, const Reference< XInputStream >& rxInStrm, rtl_TextEncoding eTextEnc ) in createXTextInputStream() argument
197 const char* pcCharset = rtl_getBestMimeCharsetFromTextEncoding( eTextEnc); in createXTextInputStream()
225 …mponentContext >& rxContext, const Reference< XInputStream >& rxInStrm, rtl_TextEncoding eTextEnc ) in init() argument
228 mxTextStrm = createXTextInputStream( rxContext, rxInStrm, eTextEnc ); in init()
H A Dbinaryinputstream.cxx63 OUString BinaryInputStream::readNulCharArrayUC( rtl_TextEncoding eTextEnc ) in readNulCharArrayUC() argument
65 return OStringToOUString( readNulCharArray(), eTextEnc ); in readNulCharArrayUC()
93 OUString BinaryInputStream::readCharArrayUC( sal_Int32 nChars, rtl_TextEncoding eTextEnc, bool bAll… in readCharArrayUC() argument
95 return OStringToOUString( readCharArray( nChars, bAllowNulChars ), eTextEnc ); in readCharArrayUC()
/aoo4110/main/sal/qa/rtl/textenc/
H A Drtl_tencinfo.cxx56 rtl_TextEncoding eTextEnc = rtl_getTextEncodingFromMimeCharset( pCharSet ); in check() local
57 if (_aCurrentEncode != eTextEnc && in check()
58 eTextEnc != RTL_TEXTENCODING_DONTKNOW) in check()
61 …ncodingFromMimeCharset() differ: %s %d -> %d\n\n", _pRTL_TEXTENCODING, _aCurrentEncode, eTextEnc ); in check()
645 rtl_TextEncoding eTextEnc = rtl_getTextEncodingFromUnixCharset( pCharSet ); in check() local
646 if (_aCurrentEncode != eTextEnc && in check()
647 eTextEnc != RTL_TEXTENCODING_DONTKNOW) in check()
650 …ncodingFromUnixCharset() differ: %s %d -> %d\n\n", _pRTL_TEXTENCODING, _aCurrentEncode, eTextEnc ); in check()
1224 rtl_TextEncoding eTextEnc = rtl_getTextEncodingFromWindowsCharset( nCharSet ); in check() local
1225 if (_aCurrentEncode != eTextEnc && in check()
[all …]
/aoo4110/main/oox/source/ole/
H A Dvbaproject.cxx285 rtl_TextEncoding eTextEnc = RTL_TEXTENCODING_MS_1252; in importVba() local
309 eTextEnc = eNewTextEnc; in importVba()
314 OUString aPrjName = aRecStrm.readCharArrayUC( nRecSize, eTextEnc ); in importVba()
327 OUString aName = aRecStrm.readCharArrayUC( nRecSize, eTextEnc ); in importVba()
331 … rxModule.reset( new VbaModule( mxContext, mxDocModel, aName, eTextEnc, bExecutable ) ); in importVba()
368 TextInputStream aPrjTextStrm( mxContext, aPrjStrm, eTextEnc ); in importVba()
412 rxModule.reset( new VbaModule( mxContext, mxDocModel, aIt->first, eTextEnc, bExecutable ) ); in importVba()
489 aForm.importForm( xDialogLib, *xSubStrg, aModuleName, eTextEnc ); in importVba()
H A Dvbamodule.cxx54 const OUString& rName, rtl_TextEncoding eTextEnc, bool bExecutable ) : in VbaModule() argument
58 meTextEnc( eTextEnc ), in VbaModule()
/aoo4110/main/sfx2/source/doc/
H A Doleprops.hxx103 inline explicit SfxOleTextEncoding( rtl_TextEncoding eTextEnc ) : in SfxOleTextEncoding() argument
104 mxTextEnc( new rtl_TextEncoding( eTextEnc ) ) {} in SfxOleTextEncoding()
111 inline void SetTextEncoding( rtl_TextEncoding eTextEnc ) { *mxTextEnc = eTextEnc; } in SetTextEncoding() argument
142 inline explicit SfxOleStringHelper( rtl_TextEncoding eTextEnc ) : in SfxOleStringHelper() argument
143 SfxOleTextEncoding( eTextEnc ) {} in SfxOleStringHelper()
H A Doleprops.cxx135 rtl_TextEncoding eTextEnc );
138 rtl_TextEncoding eTextEnc, const String& rValue );
260 rtl_TextEncoding eTextEnc = rtl_getTextEncodingFromWindowsCodePage( nCodePage ); in SetCodePage() local
261 if( eTextEnc != RTL_TEXTENCODING_DONTKNOW ) in SetCodePage()
262 *mxTextEnc = eTextEnc; in SetCodePage()
492 sal_Int32 nPropId, sal_Int32 nPropType, rtl_TextEncoding eTextEnc ) : in SfxOleStringPropertyBase() argument
494 SfxOleStringHelper( eTextEnc ) in SfxOleStringPropertyBase()
499 sal_Int32 nPropId, sal_Int32 nPropType, rtl_TextEncoding eTextEnc, const String& rValue ) : in SfxOleStringPropertyBase() argument
501 SfxOleStringHelper( eTextEnc ), in SfxOleStringPropertyBase()
/aoo4110/main/oox/source/xls/
H A Dbiffhelper.cxx254 rtl_TextEncoding eTextEnc = rtl_getTextEncodingFromWindowsCodePage( nCodePage ); in calcTextEncodingFromCodePage() local
255 …OSL_ENSURE( eTextEnc != RTL_TEXTENCODING_DONTKNOW, "BiffHelper::calcTextEncodingFromCodePage - unk… in calcTextEncodingFromCodePage()
256 return eTextEnc; in calcTextEncodingFromCodePage()
259 /*static*/ sal_uInt16 BiffHelper::calcCodePageFromTextEncoding( rtl_TextEncoding eTextEnc ) in calcCodePageFromTextEncoding() argument
261 sal_uInt32 nCodePage = rtl_getWindowsCodePageFromTextEncoding( eTextEnc ); in calcCodePageFromTextEncoding()
H A Drichstring.cxx421 …RichString::importCharArray( BiffInputStream& rStrm, sal_uInt16 nChars, rtl_TextEncoding eTextEnc ) in importCharArray() argument
423 createPortion()->setText( rStrm.readCharArrayUC( nChars, eTextEnc ) ); in importCharArray()
426 void RichString::importByteString( BiffInputStream& rStrm, rtl_TextEncoding eTextEnc, BiffStringFla… in importByteString() argument
438 createTextPortions( aBaseText, eTextEnc, aPortions ); in importByteString()
442 createPortion()->setText( OStringToOUString( aBaseText, eTextEnc ) ); in importByteString()
552 void RichString::createTextPortions( const OString& rText, rtl_TextEncoding eTextEnc, FontPortionMo… in createTextPortions() argument
572 rtl_TextEncoding eFontEnc = xFont.get() ? xFont->getFontEncoding() : eTextEnc; in createTextPortions()
H A Dworkbookhelper.cxx198 void setTextEncoding( rtl_TextEncoding eTextEnc );
417 void WorkbookGlobals::setTextEncoding( rtl_TextEncoding eTextEnc ) in setTextEncoding() argument
419 if( eTextEnc != RTL_TEXTENCODING_DONTKNOW ) in setTextEncoding()
420 meTextEnc = eTextEnc; in setTextEncoding()
882 void WorkbookHelper::setTextEncoding( rtl_TextEncoding eTextEnc ) in setTextEncoding() argument
884 mrBookGlob.setTextEncoding( eTextEnc ); in setTextEncoding()
H A Dsheetdatacontext.cxx856 rtl_TextEncoding eTextEnc = getTextEncoding(); in importLabel() local
858 eTextEnc = pFont->getFontEncoding(); in importLabel()
866 xString->importByteString( rStrm, eTextEnc, nFlags ); in importLabel()
873 OUString aText = rStrm.readByteStringUC( !bBiff2Xf, eTextEnc ); in importLabel()
/aoo4110/main/oox/inc/oox/helper/
H A Dtextinputstream.hxx48 rtl_TextEncoding eTextEnc );
53 rtl_TextEncoding eTextEnc );
102 rtl_TextEncoding eTextEnc );
109 rtl_TextEncoding eTextEnc );
H A Dbinaryinputstream.hxx171 ::rtl::OUString readNulCharArrayUC( rtl_TextEncoding eTextEnc );
200 …::rtl::OUString readCharArrayUC( sal_Int32 nChars, rtl_TextEncoding eTextEnc, bool bAllowNulCh…
/aoo4110/main/oox/source/dump/
H A Ddumperbase.cxx148 const char* pcCharset = rtl_getMimeCharsetFromTextEncoding( eTextEnc ); in openTextOutputStream()
2671 aString = OStringToOUString( OString( &aBuffer.front() ), eTextEnc ); in dumpCharArray()
2697 OUString aString = OStringToOUString( aBuffer.makeStringAndClear(), eTextEnc ); in dumpNullCharArray()
2860 constructTextStrmObj( eTextEnc ); in construct()
2864 const BinaryInputStreamRef& rxStrm, rtl_TextEncoding eTextEnc ) in construct() argument
2867 constructTextStrmObj( eTextEnc ); in construct()
2873 constructTextStrmObj( eTextEnc ); in construct()
2886 void TextStreamObjectBase::constructTextStrmObj( rtl_TextEncoding eTextEnc ) in constructTextStrmObj() argument
2897 TextStreamObjectBase::construct( rParent, rxStrm, eTextEnc, rSysFileName ); in TextLineStreamObject()
2901 const BinaryInputStreamRef& rxStrm, rtl_TextEncoding eTextEnc ) in TextLineStreamObject() argument
[all …]
H A Dbiffdumper.cxx222 void BiffSharedData::setTextEncoding( rtl_TextEncoding eTextEnc ) in setTextEncoding() argument
224 if( eTextEnc != RTL_TEXTENCODING_DONTKNOW ) in setTextEncoding()
225 meTextEnc = eTextEnc; in setTextEncoding()
460 …rtl_TextEncoding eTextEnc = mxBiffData->getFontEncoding( static_cast< sal_uInt16 >( aIt->mnFontId … in dumpByteString() local
461 if( eTextEnc == RTL_TEXTENCODING_DONTKNOW ) in dumpByteString()
462 eTextEnc = eDefaultTextEnc; in dumpByteString()
463 … aBuffer.append( OStringToOUString( aString.copy( aIt->mnPos, nPortionLen ), eTextEnc ) ); in dumpByteString()
2277 rtl_TextEncoding eTextEnc = getBiffData().getTextEncoding(); in implDumpRecordBody() local
2280 dumpChar( "accelerator", eTextEnc ); in implDumpRecordBody()
2301 writeStringItem( "name", rStrm.readCharArrayUC( nNameLen, eTextEnc, true ) ); in implDumpRecordBody()
[all …]
/aoo4110/main/sc/source/filter/excel/
H A Dxlroot.cxx84 SotStorageRef xRootStrg, ScDocument& rDoc, rtl_TextEncoding eTextEnc, bool bExport ) : in XclRootData() argument
91 meTextEnc( eTextEnc ), in XclRootData()
205 void XclRoot::SetTextEncoding( rtl_TextEncoding eTextEnc ) in SetTextEncoding() argument
207 if( eTextEnc != RTL_TEXTENCODING_DONTKNOW ) in SetTextEncoding()
208 mrData.meTextEnc = eTextEnc; in SetTextEncoding()
H A Dxestring.cxx172 const String& rString, rtl_TextEncoding eTextEnc, XclStrFlags nFlags, sal_uInt16 nMaxLen ) in AssignByte() argument
174 ByteString aByteStr( rString, eTextEnc ); // length may differ from length of rString in AssignByte()
209 void XclExpString::AppendByte( const String& rString, rtl_TextEncoding eTextEnc ) in AppendByte() argument
213 ByteString aByteStr( rString, eTextEnc ); // length may differ from length of rString in AppendByte()
218 void XclExpString::AppendByte( sal_Unicode cChar, rtl_TextEncoding eTextEnc ) in AppendByte() argument
227 ByteString aByteStr( &cChar, 1, eTextEnc ); // length may be >1 in AppendByte()
H A Dxltools.cxx419 …inline explicit XclCodePageEntry_TEPred( rtl_TextEncoding eTextEnc ) : meTextEnc( eTextEnc ) {} in XclCodePageEntry_TEPred()
437 sal_uInt16 XclTools::GetXclCodePage( rtl_TextEncoding eTextEnc ) in GetXclCodePage() argument
439 if( eTextEnc == RTL_TEXTENCODING_UNICODE ) in GetXclCodePage()
442 … pEntry = ::std::find_if( pCodePageTable, pCodePageTableEnd, XclCodePageEntry_TEPred( eTextEnc ) ); in GetXclCodePage()
445 DBG_ERROR1( "XclTools::GetXclCodePage - unsupported text encoding: %d", eTextEnc ); in GetXclCodePage()
H A Dxiroot.cxx48 SotStorageRef xRootStrg, ScDocument& rDoc, rtl_TextEncoding eTextEnc ) : in XclImpRootData() argument
49 XclRootData( eBiff, rMedium, xRootStrg, rDoc, eTextEnc, false ), in XclImpRootData()
H A Dxeroot.cxx58 SotStorageRef xRootStrg, ScDocument& rDoc, rtl_TextEncoding eTextEnc ) : in XclExpRootData() argument
59 XclRootData( eBiff, rMedium, xRootStrg, rDoc, eTextEnc, true ) in XclExpRootData()
/aoo4110/main/sc/source/filter/inc/
H A Dftools.hxx353 inline static String ReadCString( SvStream& rStrm, rtl_TextEncoding eTextEnc ) in ReadCString() argument
354 { return String( ReadCString( rStrm ), eTextEnc ); } in ReadCString()
359 …ine static String ReadCString( SvStream& rStrm, sal_Int32& rnBytesLeft, rtl_TextEncoding eTextEnc ) in ReadCString() argument
360 { return String( ReadCString( rStrm, rnBytesLeft ), eTextEnc ); } in ReadCString()
370 … static void AppendCString( SvStream& rStrm, String& rString, rtl_TextEncoding eTextEnc );
H A Dxestring.hxx145 rtl_TextEncoding eTextEnc,
173 void AppendByte( const String& rString, rtl_TextEncoding eTextEnc );
176 void AppendByte( sal_Unicode cChar, rtl_TextEncoding eTextEnc );
H A Dxlroot.hxx122 rtl_TextEncoding eTextEnc, bool bExport );
274 void SetTextEncoding( rtl_TextEncoding eTextEnc );
/aoo4110/main/oox/inc/oox/xls/
H A Drichstring.hxx248 … importCharArray( BiffInputStream& rStrm, sal_uInt16 nChars, rtl_TextEncoding eTextEnc );
250 …void importByteString( BiffInputStream& rStrm, rtl_TextEncoding eTextEnc, BiffStrin…
280 …void createTextPortions( const ::rtl::OString& rText, rtl_TextEncoding eTextEnc, Fo…
/aoo4110/main/oox/inc/oox/dump/
H A Ddumperbase.hxx137 rtl_TextEncoding eTextEnc );
143 rtl_TextEncoding eTextEnc );
1600 sal_Unicode dumpChar( const String& rName, rtl_TextEncoding eTextEnc );
1603 … dumpCharArray( const String& rName, sal_Int32 nLen, rtl_TextEncoding eTextEnc, bool bHideTraili…
1606 ::rtl::OUString dumpNullCharArray( const String& rName, rtl_TextEncoding eTextEnc );
1813 rtl_TextEncoding eTextEnc,
1818 rtl_TextEncoding eTextEnc );
1821 rtl_TextEncoding eTextEnc );
1829 void constructTextStrmObj( rtl_TextEncoding eTextEnc );
1843 rtl_TextEncoding eTextEnc,
[all …]

Completed in 144 milliseconds

12