OpenPetra
Free Administration Software for Non-Profits
Ict.Common.IO.TTextFileEncoding Class Reference

A class to handle the various character encoding supported by Open Petra More...

Inheritance diagram for Ict.Common.IO.TTextFileEncoding:

Public Member Functions

 TTextFileEncoding ()
 Main constructor More...
 

Static Public Member Functions

static bool IsWindowsANSICodePage (int ACodePage)
 Returns true if the code page is not a supported Unicode page so is assumed to be one of our supported Windows ANSI code pages More...
 
static bool IsUnicodeCodePage (int ACodePage)
 Returns true if the code page is one of our supported Unicode pages More...
 

Static Public Attributes

const string ALLOW_MBCS_TEXT_ENCODING = "Allow_MBCS_Text_Encoding"
 User Preference Key name for allowing MBCS Code pages such as Chinese, Japanese and Korean. (Applies to Petra imports) More...
 

Properties

static string ColumnCodeDbName [get]
 Gets the column name for the Code More...
 
static string ColumnDescriptionDbName [get]
 Gets the column name for the Description More...
 
static string ColumnClassDbName [get]
 Gets the column name for the Class More...
 
int ColumnCodeId [get]
 Gets the column ordinal for the Code in an instance of TTextfileEncoding More...
 
int ColumnDescriptionId [get]
 Gets the column ordinal for the Description in an instance of TTextfileEncoding More...
 
int ColumnClassId [get]
 Gets the column ordinal for the Class in an instance of TTextfileEncoding More...
 

Detailed Description

A class to handle the various character encoding supported by Open Petra

Constructor & Destructor Documentation

◆ TTextFileEncoding()

Ict.Common.IO.TTextFileEncoding.TTextFileEncoding ( )
inline

Main constructor

Member Function Documentation

◆ IsUnicodeCodePage()

static bool Ict.Common.IO.TTextFileEncoding.IsUnicodeCodePage ( int  ACodePage)
inlinestatic

Returns true if the code page is one of our supported Unicode pages

◆ IsWindowsANSICodePage()

static bool Ict.Common.IO.TTextFileEncoding.IsWindowsANSICodePage ( int  ACodePage)
inlinestatic

Returns true if the code page is not a supported Unicode page so is assumed to be one of our supported Windows ANSI code pages

Member Data Documentation

◆ ALLOW_MBCS_TEXT_ENCODING

const string Ict.Common.IO.TTextFileEncoding.ALLOW_MBCS_TEXT_ENCODING = "Allow_MBCS_Text_Encoding"
static

User Preference Key name for allowing MBCS Code pages such as Chinese, Japanese and Korean. (Applies to Petra imports)

Property Documentation

◆ ColumnClassDbName

string Ict.Common.IO.TTextFileEncoding.ColumnClassDbName
staticget

Gets the column name for the Class

◆ ColumnClassId

int Ict.Common.IO.TTextFileEncoding.ColumnClassId
get

Gets the column ordinal for the Class in an instance of TTextfileEncoding

◆ ColumnCodeDbName

string Ict.Common.IO.TTextFileEncoding.ColumnCodeDbName
staticget

Gets the column name for the Code

◆ ColumnCodeId

int Ict.Common.IO.TTextFileEncoding.ColumnCodeId
get

Gets the column ordinal for the Code in an instance of TTextfileEncoding

◆ ColumnDescriptionDbName

string Ict.Common.IO.TTextFileEncoding.ColumnDescriptionDbName
staticget

Gets the column name for the Description

◆ ColumnDescriptionId

int Ict.Common.IO.TTextFileEncoding.ColumnDescriptionId
get

Gets the column ordinal for the Description in an instance of TTextfileEncoding


The documentation for this class was generated from the following file: