LibreOffice Module dtrans (master)  1
Macros | Functions
ImplHelper.hxx File Reference
#include <sal/types.h>
#include <rtl/ustring.hxx>
#include <windows.h>
#include <objidl.h>
Include dependency graph for ImplHelper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WIN32_LEAN_AND_MEAN
 

Functions

void DeleteTargetDevice (DVTARGETDEVICE *ptd)
 
bool CopyFormatEtc (LPFORMATETC petcDest, LPFORMATETC petcSrc)
 
sal_Int32 CompareFormatEtc (const FORMATETC *pFetcLeft, const FORMATETC *pFetcRight)
 
bool CompareTargetDevice (DVTARGETDEVICE *ptdLeft, DVTARGETDEVICE const *ptdRight)
 
DVTARGETDEVICE * CopyTargetDevice (DVTARGETDEVICE *ptdSrc)
 
sal_uInt32 getWinCPFromMimeCharset (const OUString &charset)
 
OUString getWinCPFromLocaleId (LCID lcid, LCTYPE lctype)
 
OUString getMimeCharsetFromWinCP (sal_uInt32 cp, const OUString &aPrefix)
 
OUString getMimeCharsetFromLocaleId (LCID lcid, LCTYPE lctype, const OUString &aPrefix)
 
bool IsOEMCP (sal_uInt32 codepage)
 
OUString cptostr (sal_uInt32 codepage)
 

Macro Definition Documentation

#define WIN32_LEAN_AND_MEAN

Definition at line 27 of file ImplHelper.hxx.

Function Documentation

sal_Int32 CompareFormatEtc ( const FORMATETC *  pFetcLeft,
const FORMATETC *  pFetcRight 
)
bool CompareTargetDevice ( DVTARGETDEVICE *  ptdLeft,
DVTARGETDEVICE const *  ptdRight 
)

Definition at line 323 of file ImplHelper.cxx.

Referenced by CompareFormatEtc().

bool CopyFormatEtc ( LPFORMATETC  petcDest,
LPFORMATETC  petcSrc 
)
DVTARGETDEVICE* CopyTargetDevice ( DVTARGETDEVICE *  ptdSrc)
OUString cptostr ( sal_uInt32  codepage)

Definition at line 151 of file ImplHelper.cxx.

Referenced by getMimeCharsetFromWinCP().

void DeleteTargetDevice ( DVTARGETDEVICE *  ptd)
OUString getMimeCharsetFromLocaleId ( LCID  lcid,
LCTYPE  lctype,
const OUString &  aPrefix 
)

Definition at line 125 of file ImplHelper.cxx.

References getWinCPFromLocaleId().

Referenced by CDataFormatTranslator::getTextCharsetFromLCID().

OUString getMimeCharsetFromWinCP ( sal_uInt32  cp,
const OUString &  aPrefix 
)

Definition at line 116 of file ImplHelper.cxx.

References cptostr().

Referenced by CFormatRegistrar::getCharsetFromDataFlavor().

OUString getWinCPFromLocaleId ( LCID  lcid,
LCTYPE  lctype 
)
sal_uInt32 getWinCPFromMimeCharset ( const OUString &  charset)

Definition at line 41 of file ImplHelper.cxx.

Referenced by CFormatRegistrar::RegisterFormats().

bool IsOEMCP ( sal_uInt32  codepage)

Definition at line 133 of file ImplHelper.cxx.

References i, and SAL_N_ELEMENTS.

Referenced by CFormatRegistrar::RegisterFormats().