Programming Guide


Data Types for Sample Utilities

 

This section contains OpenDoc data types that are used for the sample utilities.  


ODScriptCode

A 16-bit value that specifies the code page. This data type is used to identify the code page with which IText was created.

Format
typedef short ODScriptCode;

Fields

theScriptCode  (ODScriptCode) 

The script code is OpenDoc's internal representation of the code page.
 

ODTradITextDataHeader

Format
typedef struct _ODTradITextDataHeader {
  ODScriptCode       theScriptCode;
  ODLangCode         theLangCode;
  }ODTradITextDataHeader;

Fields

theScriptCode  (ODScriptCode) 

The script code is OpenDocs's internal representation of the code page.

theLangCode  (ODLangCode) 

The language code. Not used on the OS/2, Windows, or AIX platforms.
 

ODTradITextData

Format
typedef struct _ODTradITextData {
  ODScriptCode   theScriptCode;
  char           theLangCode;
  char           theText[1];
}ODTradITextData;

Fields

theScriptCode  (ODScriptCode) 

The script code. The internal representation of the code page.

theLangCode  (ODLangCode) 

The language code. Not used on the OS/2, Windows, or AIX platforms.

theText[1]  (char) 

An array of characters.


[ Top | Previous | Next | Contents | Index | Documentation Homepage ]