Home
last modified time | relevance | path

Searched refs:nCodePage (Results 1 – 18 of 18) sorted by relevance

/trunk/main/oox/source/xls/
H A Dbiffhelper.cxx244 /*static*/ rtl_TextEncoding BiffHelper::calcTextEncodingFromCodePage( sal_uInt16 nCodePage ) in calcTextEncodingFromCodePage() argument
247 switch( nCodePage ) in calcTextEncodingFromCodePage()
254 rtl_TextEncoding eTextEnc = rtl_getTextEncodingFromWindowsCodePage( nCodePage ); in calcTextEncodingFromCodePage()
261 sal_uInt32 nCodePage = rtl_getWindowsCodePageFromTextEncoding( eTextEnc ); in calcCodePageFromTextEncoding() local
262 …OSL_ENSURE( (0 < nCodePage) && (nCodePage <= SAL_MAX_UINT16), "BiffHelper::calcCodePageFromTextEnc… in calcCodePageFromTextEncoding()
263 return static_cast< sal_uInt16 >( (nCodePage == 0) ? 1252 : nCodePage ); in calcCodePageFromTextEncoding()
H A Dworkbookhelper.cxx200 void setCodePage( sal_uInt16 nCodePage );
423 void WorkbookGlobals::setCodePage( sal_uInt16 nCodePage ) in setCodePage() argument
425 setTextEncoding( BiffHelper::calcTextEncodingFromCodePage( nCodePage ) ); in setCodePage()
887 void WorkbookHelper::setCodePage( sal_uInt16 nCodePage ) in setCodePage() argument
889 mrBookGlob.setCodePage( nCodePage ); in setCodePage()
/trunk/main/sfx2/source/doc/
H A Doleprops.cxx249 sal_uInt16 nCodePage = IsUnicode() ? CODEPAGE_UNICODE : in GetCodePage() local
251 return (nCodePage == CODEPAGE_UNKNOWN) ? CODEPAGE_UTF8 : nCodePage; in GetCodePage()
254 void SfxOleTextEncoding::SetCodePage( sal_uInt16 nCodePage ) in SetCodePage() argument
256 if( nCodePage == CODEPAGE_UNICODE ) in SetCodePage()
260 rtl_TextEncoding eTextEnc = rtl_getTextEncodingFromWindowsCodePage( nCodePage ); in SetCodePage()
407 sal_uInt16 nCodePage; in ImplLoad() local
408 rStrm >> nCodePage; in ImplLoad()
409 SetCodePage( nCodePage ); in ImplLoad()
H A Doleprops.hxx105 inline explicit SfxOleTextEncoding( sal_Int16 nCodePage ) : in SfxOleTextEncoding() argument
106 mxTextEnc( new rtl_TextEncoding ) { SetCodePage( nCodePage ); } in SfxOleTextEncoding()
121 void SetCodePage( sal_uInt16 nCodePage );
/trunk/main/sc/source/filter/excel/
H A Dxltools.cxx412 inline explicit XclCodePageEntry_CPPred( sal_uInt16 nCodePage ) : mnCodePage( nCodePage ) {} in XclCodePageEntry_CPPred()
426 rtl_TextEncoding XclTools::GetTextEncoding( sal_uInt16 nCodePage ) in GetTextEncoding() argument
428 …pEntry = ::std::find_if( pCodePageTable, pCodePageTableEnd, XclCodePageEntry_CPPred( nCodePage ) ); in GetTextEncoding()
431 … DBG_ERROR2( "XclTools::GetTextEncoding - unknown code page: 0x%04hX (%d)", nCodePage, nCodePage ); in GetTextEncoding()
H A Dxiroot.cxx94 void XclImpRoot::SetCodePage( sal_uInt16 nCodePage ) in SetCodePage() argument
96 SetTextEncoding( XclTools::GetTextEncoding( nCodePage ) ); in SetCodePage()
H A Dexcdoc.cxx206 …sal_uInt16 nCodePage = XclTools::GetXclCodePage( (GetBiff() <= EXC_BIFF5) ? RTL_TEXTENCODING_MS_12… in FillAsHeader() local
221 Add( new XclExpInterfaceHdr( nCodePage ) ); in FillAsHeader()
228 Add( new XclExpUInt16Record( EXC_ID_CODEPAGE, nCodePage ) ); in FillAsHeader()
/trunk/main/sd/source/filter/ppt/
H A Dpropread.cxx548 sal_uInt16 nCodePage; in Read() local
552 aPropItem >> nCodePage; in Read()
554 if ( nCodePage == 1200 ) in Read()
560 mnTextEnc = rtl_getTextEncodingFromWindowsCodePage( nCodePage ); in Read()
/trunk/main/sal/textenc/
H A Dtencinfo.c1006 rtl_getTextEncodingFromWindowsCodePage(sal_uInt32 nCodePage) in rtl_getTextEncodingFromWindowsCodePage() argument
1008 switch (nCodePage) in rtl_getTextEncodingFromWindowsCodePage()
/trunk/main/sal/inc/rtl/
H A Dtencinfo.h254 rtl_getTextEncodingFromWindowsCodePage(sal_uInt32 nCodePage);
/trunk/main/sc/source/filter/inc/
H A Dxiroot.hxx134 void SetCodePage( sal_uInt16 nCodePage );
H A Dxltools.hxx165 static rtl_TextEncoding GetTextEncoding( sal_uInt16 nCodePage );
H A Dxcl97rec.hxx496 explicit XclExpInterfaceHdr( sal_uInt16 nCodePage );
/trunk/main/oox/inc/oox/xls/
H A Dworkbookhelper.hxx269 void setCodePage( sal_uInt16 nCodePage );
H A Dbiffhelper.hxx613 static rtl_TextEncoding calcTextEncodingFromCodePage( sal_uInt16 nCodePage );
/trunk/main/sc/source/filter/xcl97/
H A Dxcl97rec.cxx1288 XclExpInterfaceHdr::XclExpInterfaceHdr( sal_uInt16 nCodePage ) : in XclExpInterfaceHdr() argument
1289 XclExpUInt16Record( EXC_ID_INTERFACEHDR, nCodePage ) in XclExpInterfaceHdr()
/trunk/main/oox/source/dump/
H A Doledumper.cxx467 sal_uInt16 nCodePage = dumpDec< sal_uInt16 >( "codepage", "CODEPAGES" ); in dumpCodePageProperty() local
468 rtl_TextEncoding eNewTextEnc = rtl_getTextEncodingFromWindowsCodePage( nCodePage ); in dumpCodePageProperty()
471 mbIsUnicode = nCodePage == CODEPAGE_UNICODE; in dumpCodePageProperty()
H A Dbiffdumper.cxx574 sal_uInt16 nCodePage = dumpDec< sal_uInt16 >( rName( "codepage" ), "CODEPAGES" ); in dumpCodePage() local
575 return BiffHelper::calcTextEncodingFromCodePage( nCodePage ); in dumpCodePage()

Completed in 237 milliseconds