pgTxr.h File Reference

#include "PAIGE.H"

Include dependency graph for pgTxr.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pg_translator
struct  style_table_entry
struct  style_table
struct  pg_import_rec

Defines

#define MINIMUM_RTF_VERSION   0x00010015
#define TRANSFER_NOT_TEXT   0x00000001
#define TRANSFER_PAR_END   0x00000002
#define TRANSFER_WAS_DIRECT   0x00000004
#define IMPORT_TEXT_FLAG   0x00000001
#define IMPORT_TEXT_FORMATS_FLAG   0x00000002
#define IMPORT_PAR_FORMATS_FLAG   0x00000004
#define IMPORT_PAGE_INFO_FLAG   0x00000008
#define IMPORT_CONTAINERS_FLAG   0x00000010
#define IMPORT_HEADERS_FLAG   0x00000020
#define IMPORT_FOOTERS_FLAG   0x00000040
#define IMPORT_FOOTNOTES_FLAG   0x00000080
#define IMPORT_EMBEDDED_OBJECTS_FLAG   0x00000100
#define IMPORT_PAGE_GRAPHICS_FLAG   0x00000200
#define IMPORT_STYLESHEETS_FLAG   0x00000400
#define APPLY_PAGE_DIMENSIONS   0x02000000
#define IMPORT_CACHE_FLAG   0x04000000
#define IMPORT_EVERYTHING_FLAG   0x00FFFFFF
#define IMPORT_TEXT_FEATURE   0x00000001
#define IMPORT_TEXT_FORMATS_FEATURE   0x00000002
#define IMPORT_PAR_FORMATS_FEATURE   0x00000004
#define IMPORT_PAGE_INFO_FEATURE   0x00000008
#define IMPORT_CONTAINERS_FEATURE   0x00000010
#define IMPORT_HEADERS_FEATURE   0x00000020
#define IMPORT_FOOTERS_FEATURE   0x00000040
#define IMPORT_FOOTNOTES_FEATURE   0x00000080
#define IMPORT_EMBEDDED_OBJECTS_FEATURE   0x00000100
#define IMPORT_PAGE_GRAPHICS_FEATURE   0x00000200
#define IMPORT_SERIAL_SETUP   0x01000000
#define IMPORT_CACHE_CAPABILITY   0x40000000
#define EXPORT_TEXT_FLAG   0x00000001
#define EXPORT_TEXT_FORMATS_FLAG   0x00000002
#define EXPORT_PAR_FORMATS_FLAG   0x00000004
#define EXPORT_PAGE_INFO_FLAG   0x00000008
#define EXPORT_CONTAINERS_FLAG   0x00000010
#define EXPORT_HEADERS_FLAG   0x00000020
#define EXPORT_FOOTERS_FLAG   0x00000040
#define EXPORT_FOOTNOTES_FLAG   0x00000080
#define EXPORT_EMBEDDED_OBJECTS_FLAG   0x00000100
#define EXPORT_PAGE_GRAPHICS_FLAG   0x00000200
#define EXPORT_STYLESHEETS_FLAG   0x00000400
#define INCLUDE_LF_WITH_CR   0x02000000
#define EXPORT_CACHE_FLAG   0x04000000
#define EXPORT_UNICODE_FLAG   0x08000000
#define EXPORT_EVERYTHING_FLAG   0x00FFFFFF
#define EXPORT_TEXT_FEATURE   0x00000001
#define EXPORT_TEXT_FORMATS_FEATURE   0x00000002
#define EXPORT_PAR_FORMATS_FEATURE   0x00000004
#define EXPORT_PAGE_INFO_FEATURE   0x00000008
#define EXPORT_CONTAINERS_FEATURE   0x00000010
#define EXPORT_HEADERS_FEATURE   0x00000020
#define EXPORT_FOOTERS_FEATURE   0x00000040
#define EXPORT_FOOTNOTES_FEATURE   0x00000080
#define EXPORT_EMBEDDED_OBJECTS_FEATURE   0x00000100
#define EXPORT_PAGE_GRAPHICS_FEATURE   0x00000200
#define EXPORT_CACHE_FEATURE   0x00100000
#define EXPORT_UNICODE_FEATURE   0x00200000
#define EXPORT_SERIAL_SETUP   0x01000000
#define MAX_TEXT_BUFFER   4096
#define TRANSLATOR_BUFFER_SIZE   4096
#define UNKNOWN_POSITION   -1
#define PICT_APPEND_SIZE   512
#define HIGH_CHARS_BASE   128
#define HIGH_CHARS_QTY   128
#define N_A   0x00
#define MSWORD_TOPBOTTOM_MARGIN   72
#define MSWORD_LEFTRIGHT_MARGIN   90
#define KIND_STR_SIZE   4
#define RTF_COMMAND_CHAR   0x5C
#define RTF_GROUPBEGIN_CHAR   0x7B
#define RTF_GROUPEND_CHAR   0x7D
#define RTF_HEX_CHAR   0x27
#define RTF_STAR_CHAR   0x2A
#define RTF_COLON   0x3A
#define TABLE_TERMINATOR   0x3B
#define MAX_COMMAND_BYTES   32
#define NON_BREAKING_SPACE_CHAR   '~'
#define NON_REQUIRED_HYPHEN_CHAR   '-'
#define NON_BREAKING_HYPHEN   '_'
#define NEGATIVE_SIGN_CHAR   '-'
#define TABLE_TERMINATOR_CHAR   0x7C

Typedefs

typedef void PG_FAR * c_import_filter
typedef void PG_FAR * c_export_filter
typedef pg_translator pg_translator
typedef pg_translator PG_FAR * pg_translator_ptr
typedef style_table_entry style_table_entry
typedef style_table_entry
PG_FAR * 
style_entry_ptr
typedef style_table style_table
typedef style_table PG_FAR * style_table_ptr
typedef pg_import_rec pg_import_rec
typedef pg_import_rec PG_FAR * pg_import_ptr

Enumerations

enum  { pg_unknown_type, pg_text_type, pg_rtf_type, pg_paige_type }
enum  { export_text_type, export_embed_type }
enum  { ascii_char_out, delimiter_char_out, command_char_out }

Functions

 PG_PASCAL (void) pgInitTranslatorRec(pg_globals_ptr globals
 PG_PASCAL (pg_filetype) pgDetermineFileType(pg_file_unit fileref
 PG_PASCAL (pg_boolean) pgVerifyRTF(pg_file_unit fileref
 PG_PASCAL (pg_error) pgImportFileFromC(pg_ref pg

Variables

pg_translator_ptr translator_ptr
file_io_proc io_proc
file_io_proc long starting_position
file_io_proc io_proc
file_io_proc long starting_position
short pointvalue
short value
pg_filetype filetype
pg_filetype long feature_flags
pg_filetype long long file_begin
pg_filetype long long pg_file_unit f_ref
pg_filetype filetype
pg_filetype long feature_flags
pg_filetype long long file_begin
pg_filetype long long select_pair_ptr output_range
pg_filetype long long select_pair_ptr
pg_boolean 
use_selection
pg_filetype long long select_pair_ptr
pg_boolean pg_file_unit 
f_ref
pg_char_ptr chars
pg_char_ptr long num_chars
pg_char_ptr long pg_char_ptr character_table
pg_char_ptr table_font


Define Documentation

#define APPLY_PAGE_DIMENSIONS   0x02000000
 

Definition at line 114 of file pgTxr.h.

#define EXPORT_CACHE_FEATURE   0x00100000
 

Definition at line 164 of file pgTxr.h.

#define EXPORT_CACHE_FLAG   0x04000000
 

Definition at line 147 of file pgTxr.h.

#define EXPORT_CONTAINERS_FEATURE   0x00000010
 

Definition at line 158 of file pgTxr.h.

#define EXPORT_CONTAINERS_FLAG   0x00000010
 

Definition at line 139 of file pgTxr.h.

#define EXPORT_EMBEDDED_OBJECTS_FEATURE   0x00000100
 

Definition at line 162 of file pgTxr.h.

#define EXPORT_EMBEDDED_OBJECTS_FLAG   0x00000100
 

Definition at line 143 of file pgTxr.h.

#define EXPORT_EVERYTHING_FLAG   0x00FFFFFF
 

Definition at line 150 of file pgTxr.h.

#define EXPORT_FOOTERS_FEATURE   0x00000040
 

Definition at line 160 of file pgTxr.h.

#define EXPORT_FOOTERS_FLAG   0x00000040
 

Definition at line 141 of file pgTxr.h.

#define EXPORT_FOOTNOTES_FEATURE   0x00000080
 

Definition at line 161 of file pgTxr.h.

#define EXPORT_FOOTNOTES_FLAG   0x00000080
 

Definition at line 142 of file pgTxr.h.

#define EXPORT_HEADERS_FEATURE   0x00000020
 

Definition at line 159 of file pgTxr.h.

#define EXPORT_HEADERS_FLAG   0x00000020
 

Definition at line 140 of file pgTxr.h.

#define EXPORT_PAGE_GRAPHICS_FEATURE   0x00000200
 

Definition at line 163 of file pgTxr.h.

#define EXPORT_PAGE_GRAPHICS_FLAG   0x00000200
 

Definition at line 144 of file pgTxr.h.

#define EXPORT_PAGE_INFO_FEATURE   0x00000008
 

Definition at line 157 of file pgTxr.h.

#define EXPORT_PAGE_INFO_FLAG   0x00000008
 

Definition at line 138 of file pgTxr.h.

#define EXPORT_PAR_FORMATS_FEATURE   0x00000004
 

Definition at line 156 of file pgTxr.h.

#define EXPORT_PAR_FORMATS_FLAG   0x00000004
 

Definition at line 137 of file pgTxr.h.

#define EXPORT_SERIAL_SETUP   0x01000000
 

Definition at line 167 of file pgTxr.h.

#define EXPORT_STYLESHEETS_FLAG   0x00000400
 

Definition at line 145 of file pgTxr.h.

#define EXPORT_TEXT_FEATURE   0x00000001
 

Definition at line 154 of file pgTxr.h.

#define EXPORT_TEXT_FLAG   0x00000001
 

Definition at line 135 of file pgTxr.h.

#define EXPORT_TEXT_FORMATS_FEATURE   0x00000002
 

Definition at line 155 of file pgTxr.h.

#define EXPORT_TEXT_FORMATS_FLAG   0x00000002
 

Definition at line 136 of file pgTxr.h.

#define EXPORT_UNICODE_FEATURE   0x00200000
 

Definition at line 165 of file pgTxr.h.

#define EXPORT_UNICODE_FLAG   0x08000000
 

Definition at line 148 of file pgTxr.h.

#define HIGH_CHARS_BASE   128
 

Definition at line 175 of file pgTxr.h.

#define HIGH_CHARS_QTY   128
 

Definition at line 176 of file pgTxr.h.

#define IMPORT_CACHE_CAPABILITY   0x40000000
 

Definition at line 131 of file pgTxr.h.

#define IMPORT_CACHE_FLAG   0x04000000
 

Definition at line 115 of file pgTxr.h.

#define IMPORT_CONTAINERS_FEATURE   0x00000010
 

Definition at line 124 of file pgTxr.h.

#define IMPORT_CONTAINERS_FLAG   0x00000010
 

Definition at line 107 of file pgTxr.h.

#define IMPORT_EMBEDDED_OBJECTS_FEATURE   0x00000100
 

Definition at line 128 of file pgTxr.h.

#define IMPORT_EMBEDDED_OBJECTS_FLAG   0x00000100
 

Definition at line 111 of file pgTxr.h.

#define IMPORT_EVERYTHING_FLAG   0x00FFFFFF
 

Definition at line 116 of file pgTxr.h.

#define IMPORT_FOOTERS_FEATURE   0x00000040
 

Definition at line 126 of file pgTxr.h.

#define IMPORT_FOOTERS_FLAG   0x00000040
 

Definition at line 109 of file pgTxr.h.

#define IMPORT_FOOTNOTES_FEATURE   0x00000080
 

Definition at line 127 of file pgTxr.h.

#define IMPORT_FOOTNOTES_FLAG   0x00000080
 

Definition at line 110 of file pgTxr.h.

#define IMPORT_HEADERS_FEATURE   0x00000020
 

Definition at line 125 of file pgTxr.h.

#define IMPORT_HEADERS_FLAG   0x00000020
 

Definition at line 108 of file pgTxr.h.

#define IMPORT_PAGE_GRAPHICS_FEATURE   0x00000200
 

Definition at line 129 of file pgTxr.h.

#define IMPORT_PAGE_GRAPHICS_FLAG   0x00000200
 

Definition at line 112 of file pgTxr.h.

#define IMPORT_PAGE_INFO_FEATURE   0x00000008
 

Definition at line 123 of file pgTxr.h.

#define IMPORT_PAGE_INFO_FLAG   0x00000008
 

Definition at line 106 of file pgTxr.h.

#define IMPORT_PAR_FORMATS_FEATURE   0x00000004
 

Definition at line 122 of file pgTxr.h.

#define IMPORT_PAR_FORMATS_FLAG   0x00000004
 

Definition at line 105 of file pgTxr.h.

#define IMPORT_SERIAL_SETUP   0x01000000
 

Definition at line 130 of file pgTxr.h.

#define IMPORT_STYLESHEETS_FLAG   0x00000400
 

Definition at line 113 of file pgTxr.h.

#define IMPORT_TEXT_FEATURE   0x00000001
 

Definition at line 120 of file pgTxr.h.

#define IMPORT_TEXT_FLAG   0x00000001
 

Definition at line 103 of file pgTxr.h.

#define IMPORT_TEXT_FORMATS_FEATURE   0x00000002
 

Definition at line 121 of file pgTxr.h.

#define IMPORT_TEXT_FORMATS_FLAG   0x00000002
 

Definition at line 104 of file pgTxr.h.

#define INCLUDE_LF_WITH_CR   0x02000000
 

Definition at line 146 of file pgTxr.h.

#define KIND_STR_SIZE   4
 

Definition at line 180 of file pgTxr.h.

#define MAX_COMMAND_BYTES   32
 

Definition at line 192 of file pgTxr.h.

#define MAX_TEXT_BUFFER   4096
 

Definition at line 171 of file pgTxr.h.

#define MINIMUM_RTF_VERSION   0x00010015
 

Definition at line 14 of file pgTxr.h.

#define MSWORD_LEFTRIGHT_MARGIN   90
 

Definition at line 179 of file pgTxr.h.

#define MSWORD_TOPBOTTOM_MARGIN   72
 

Definition at line 178 of file pgTxr.h.

#define N_A   0x00
 

Definition at line 177 of file pgTxr.h.

#define NEGATIVE_SIGN_CHAR   '-'
 

Definition at line 199 of file pgTxr.h.

#define NON_BREAKING_HYPHEN   '_'
 

Definition at line 198 of file pgTxr.h.

#define NON_BREAKING_SPACE_CHAR   '~'
 

Definition at line 196 of file pgTxr.h.

#define NON_REQUIRED_HYPHEN_CHAR   '-'
 

Definition at line 197 of file pgTxr.h.

#define PICT_APPEND_SIZE   512
 

Definition at line 174 of file pgTxr.h.

#define RTF_COLON   0x3A
 

Definition at line 189 of file pgTxr.h.

#define RTF_COMMAND_CHAR   0x5C
 

Definition at line 184 of file pgTxr.h.

#define RTF_GROUPBEGIN_CHAR   0x7B
 

Definition at line 185 of file pgTxr.h.

#define RTF_GROUPEND_CHAR   0x7D
 

Definition at line 186 of file pgTxr.h.

#define RTF_HEX_CHAR   0x27
 

Definition at line 187 of file pgTxr.h.

#define RTF_STAR_CHAR   0x2A
 

Definition at line 188 of file pgTxr.h.

#define TABLE_TERMINATOR   0x3B
 

Definition at line 191 of file pgTxr.h.

#define TABLE_TERMINATOR_CHAR   0x7C
 

Definition at line 203 of file pgTxr.h.

#define TRANSFER_NOT_TEXT   0x00000001
 

Definition at line 96 of file pgTxr.h.

#define TRANSFER_PAR_END   0x00000002
 

Definition at line 97 of file pgTxr.h.

#define TRANSFER_WAS_DIRECT   0x00000004
 

Definition at line 98 of file pgTxr.h.

#define TRANSLATOR_BUFFER_SIZE   4096
 

Definition at line 172 of file pgTxr.h.

#define UNKNOWN_POSITION   -1
 

Definition at line 173 of file pgTxr.h.


Typedef Documentation

typedef void PG_FAR* c_export_filter
 

Definition at line 26 of file pgTxr.h.

typedef void PG_FAR* c_import_filter
 

Definition at line 25 of file pgTxr.h.

typedef pg_import_rec PG_FAR* pg_import_ptr
 

Definition at line 220 of file pgTxr.h.

typedef struct pg_import_rec pg_import_rec
 

Definition at line 219 of file pgTxr.h.

typedef struct pg_translator pg_translator
 

Definition at line 66 of file pgTxr.h.

typedef pg_translator PG_FAR* pg_translator_ptr
 

Definition at line 67 of file pgTxr.h.

typedef style_table_entry PG_FAR* style_entry_ptr
 

Definition at line 83 of file pgTxr.h.

typedef struct style_table style_table
 

Definition at line 91 of file pgTxr.h.

typedef struct style_table_entry style_table_entry
 

Definition at line 82 of file pgTxr.h.

typedef style_table PG_FAR* style_table_ptr
 

Definition at line 92 of file pgTxr.h.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
pg_unknown_type 
pg_text_type 
pg_rtf_type 
pg_paige_type 

Definition at line 18 of file pgTxr.h.

anonymous enum
 

Enumerator:
export_text_type 
export_embed_type 

Definition at line 53 of file pgTxr.h.

anonymous enum
 

Enumerator:
ascii_char_out 
delimiter_char_out 
command_char_out 

Definition at line 60 of file pgTxr.h.


Function Documentation

PG_PASCAL pg_error   ) 
 

PG_PASCAL pg_boolean   ) 
 

PG_PASCAL pg_filetype   ) 
 

PG_PASCAL void   ) 
 


Variable Documentation

pg_char_ptr long pg_char_ptr character_table
 

Definition at line 239 of file pgTxr.h.

pg_char_ptr chars
 

Definition at line 239 of file pgTxr.h.

pg_filetype long long select_pair_ptr pg_boolean pg_file_unit f_ref
 

Definition at line 237 of file pgTxr.h.

pg_filetype long long pg_file_unit f_ref
 

Definition at line 235 of file pgTxr.h.

pg_filetype long feature_flags
 

Definition at line 237 of file pgTxr.h.

pg_filetype long feature_flags
 

Definition at line 235 of file pgTxr.h.

pg_filetype long long file_begin
 

Definition at line 237 of file pgTxr.h.

pg_filetype long long file_begin
 

Definition at line 235 of file pgTxr.h.

pg_filetype filetype
 

Definition at line 237 of file pgTxr.h.

pg_filetype filetype
 

Definition at line 235 of file pgTxr.h.

Referenced by copyonefile(), gettypelistvalue(), shellnormalsaveas(), and shellopenfile().

file_io_proc io_proc
 

Definition at line 231 of file pgTxr.h.

file_io_proc io_proc
 

Definition at line 229 of file pgTxr.h.

pg_char_ptr long num_chars
 

Definition at line 239 of file pgTxr.h.

pg_filetype long long select_pair_ptr output_range
 

Definition at line 237 of file pgTxr.h.

short pointvalue
 

Definition at line 233 of file pgTxr.h.

file_io_proc long starting_position
 

Definition at line 231 of file pgTxr.h.

file_io_proc long starting_position
 

Definition at line 229 of file pgTxr.h.

pg_char_ptr table_font
 

Definition at line 241 of file pgTxr.h.

pg_translator_ptr translator_ptr
 

Definition at line 227 of file pgTxr.h.

pg_filetype long long select_pair_ptr pg_boolean use_selection
 

Definition at line 237 of file pgTxr.h.

short value
 

Definition at line 234 of file pgTxr.h.


Generated on Fri Jun 9 22:24:37 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6