!XTEXT.DEF [113] - XTEXT definitions !-------------------.-------------------.-------------------.-------------------. !EDIT HISTORY ! VEDIT=113 ! Note: history reformatted 9-Feb-17 ! [113] 21-Dec-16 / jdm / Add TXF_SILENT ! [112] 16-Dec-13 / jdm / Add TXFF_DOCX ! [111] 05-Feb-13 / jdm / Fix backwards TXF8_ESC_xxx symbols ! [110] 14-Jun-12 / jdm / Add a few new TXF? symbols ! [109] 24-May-11 / jdm / Add TXFF_RAWBUF, TXFF_XFER ! [108] 24-Feb-11 / jdm / Add more flags ! [107] 22-May-09 / jdm / Remove TXF8_PRTPREVIEW, add TXOPF_PREVIEW ! [106] 22-May-09 / jdm / Added TXF8_PRTPREVIEW ! [105] 15-May-09 / jdm / Added TXOPF_PRINT, TXF8_xxx, DMPAPER_xxx, ! DMORIENT_xxx ! [104] 08-Sep-08 / jdm / Added VERSYS ! [103] 17-May-08 / jdm / New TXF#_xxx flags added (for TXC'FLAGS1 thru ! TXC'FLAGS8) ! [102] 08-May-08 / jdm / New TXHF1_xxx flags added. ! [101] 07-May-08 / jdm / New TXMF#_xxx flags added. TXTB_SHOWHIDE added. ! TXFF_HTML added. ! [100] 07-May-08 / jdm / Created. Existing flags moved from ASHELL.DEF !-------------------.-------------------.-------------------.-------------------. ![104] This is only map statement here - needs to be a map so ![104] it is included in the run (to be displayed with VERSYS.LIT) map1 VERSYS_XTEXT_DEF,s,40,">>@VERSYS(1)->>xtext.def[113]" !*** XTEXT flags define TXF_FKEY = &h00000001 ! Allow F1-F16 (exitcodes -1 thru -16) define TXF_LEFT = &h00000002 ! Left arrow (exitcode -40) define TXF_RIGHT = &h00000004 ! Right arrow (exitcode -41) define TXF_UP = &h00000008 ! Up arrow or Shift TAB (exitcode -42) define TXF_TAB = &h00000020 ! TAB (exitcode -44) define TXF_HOME = &h00000040 ! HOME (exitcode -45) define TXF_END = &h00000080 ! END (exitcode -46) define TXF_ENTESC = &h00000100 ! ENTER exits define TXF_MODELESS = &h00000200 ! Modeless (leave on screen after exit) define TXF_EOT = &h00000400 ! Start cursor at end of text define TXF_DEFERSAVE = &h00000800 ! Defer update (with modeless) define TXF_HSCROLL = &h00002000 ! horizontal scroll bar define TXF_VSCROLL = &h00004000 ! vertical scroll bar define TXF_RULER = &h00008000 ! show ruler define TXF_STATUS = &h00010000 ! show status bar define TXF_TOOLBAR = &h00020000 ! show tool bar define TXF_READONLY = &h00040000 ! read only define TXF_POSCUR = &h00080000 ! set cursor pos (txc'xcuroffset) define TXF_SILENT = &h00100000 ! [113] no UI, no edit (use with CREATE to cvt fmt) define TXF_DISABLE = &h00200000 ! disable ctl on exit define TXF_DEL = &h00400000 ! DEL (exitcode -47) define TXF_MARGIN = &h00800000 ! create space around border ![137] define TXF_CTRLC = &h01000000 ! ^C returns exitcode 10 instead of 1 define TXF_NOCLICKOUT = &h01000000 ! [137] ignore exitcode < -32 define TXF_WRAP = &h02000000 ! word wrap define TXF_PRINTVIEW = &h04000000 ! wrap as it would print define TXF_PAGEMODE = &h08000000 ! single page mode define TXF_FITVIEW = &h10000000 ! wrap based on control display width define TXF_POPUP = &h20000000 ! editor has own popup window define TXF_DLGNOCREEP = &h40000000 ! coords relative to main wnd define TXF_MENU = &h80000000 ! menu (not yet implemented) !*** XTEXT input/output data formats define TXFF_TEXT = 0 ! text define TXFF_TEXT_LINES = 1 ! text with line breaks define TXFF_RTF = 2 ! RTF define TXFF_DEFAULT = 3 ! default define TXFF_HTML = 4 ! HTML define TXFF_UTEXT = 5 ! unicode text define TXFF_SSE = 6 ! proprietary (SSE) format define TXFF_DOCX = 7 ! [112] Microsoft docx format (src only) define TXFF_STRING = &h0000 ! STRING variable define TXFF_FILE = &h0100 ! FILE (vs buffer or string) define TXFF_RAWBUF = &h0400 ! [109] return buffer directly (else FTP) define TXFF_XFER = &h0800 ! [109] Force xfer, even if pc spec !*** XTEXT ruler flags !*** (if TFX_TOOLBAR set, these flags can be used to remove ! specified items from toolbar) ! following flags relate to top row of toolbar... define TXTB_ROW1 = &h00000001 ! rmv entire 1st row of toolbar define TXTB_NEW = &h00000002 ! rmv File|New button define TXTB_OPEN = &h00000004 ! rmv File|Open button define TXTB_SAVE = &h00000008 ! rmv File|Save button define TXTB_PRINT = &h00000010 ! rmv File|Print button define TXTB_PREVIEW = &h00000020 ! rmv File|Preview button define TXTB_CLIPBOARD = &h00000040 ! rmv Cut/Copy/Paste buttons define TXTB_UNDOREDO = &h00000080 ! rmv Undo/Redo buttons define TXTB_FIND = &h00000100 ! rmv Search (binoculars) button define TXTB_DATE = &h00000200 ! rmv insert date button define TXTB_PAGENUM = &h00000400 ! rmv insert page # button define TXTB_PAGECOUNT = &h00000800 ! rmv insert page count button define TXTB_SHOWMARKS = &h00001000 ! rmv show marks (eg para) button define TXTB_HELP = &h00002000 ! rmv help button define TXTB_ZOOM = &h00004000 ! rmv zoom dropdown ! following flags relate to 2nd row of toolbar... define TXTB_ROW2 = &h00010000 ! rmv 2nd row of toolbar define TXTB_STYLE = &h00020000 ! rmv paragraph style dropdown define TXTB_FONTFACE = &h00040000 ! rmv typeface dropdown define TXTB_POINTSIZE = &h00080000 ! rmv pointsize dropdown define TXTB_CHARATTR = &h00100000 ! rmv bold/ital/uline buttons define TXTB_ALIGN = &h00200000 ! rmv alignment buttons define TXTB_NUMLIST = &h00400000 ! rmv numbered list button define TXTB_BULLETS = &h00800000 ! rmv bullet list button define TXTB_INDENT = &h01000000 ! rmv indent buttons ! define a default set of toolbar flags for use with buffered mode define TXTB_DFLT_BUF = &h0001203E ! no 2nd row, no file buttons, ! no help ! [101] special flag to hide toolbar (and status, ruler) when inactive define TXTB_SHOW_HIDE = &h80000000 ! show when active, hide when not !*** XTEXT opcode flags define TXOP_CREATE = 1 ! create new ctl (if ctlno=-1, assign one) define TXOP_REEDIT = 2 ! like 1 but reuse existing ctl/text define TXOP_DELETE = 3 ! delete control (exit immediately) define TXOP_DISPLAY = 4 ! display only (exit immediately) define TXOP_SAVE = 5 ! save previously edited text (exit immediately) define TXOPF_PRINT = &h010 ! [105] add to TXOP_CREATE or TXOP_REEDIT define TXOPF_PREVIEW= &h020 ! [107] add to TXOP_CREATE, REEDIT or DISPLAY !*** XTEXT search flags define TXSF_SCROLL = &h0001 ! Scroll located text into view define TXSF_CASE = &h0010 ! Case sensitive define TXSF_WORD = &h0020 ! Match whole words only define TXSF_SKIP_HIDDEN = &h0040 ! [108] skip hidden text define TXSF_BACK = &h0080 ! Search backwards define TXSF_EXIT = &h1000 ! Exit after search ! (exitcode=0,xcuroffset=pos on success, ! exitcode=-49 on failure) define TXSF_PRTDLG = &h2000 ! [105] show print dialog (TXOPF_PRINT) ! TXC'MENUFLAGS1 flags (for deleting items from the TXF_MENU menus) define TXMF1_RELOAD = &h00000001 ! reload menu from DLL before starting define TXMF1_FILE = &h00000002 ! remove entire file menu define TXMF1_EDIT = &h00000004 ! remove entire edit menu define TXMF1_VIEW = &h00000008 ! remove entire view menu define TXMF1_INSERT = &h00000010 ! remove entire insert menu define TXMF1_FONT = &h00000020 ! remove entire font menu define TXMF1_PARAGRAPH = &h00000040 ! remove entire paragraph menu define TXMF1_TABLE = &h00000080 ! remove entire table menu define TXMF1_OTHER = &h00000100 ! remove entire other menu define TXMF1_HELP = &h00000200 ! remove entire help menu define TXMF1_FILE_NEW = &h00001000 ! remove File|New define TXMF1_FILE_OPEN = &h00002000 ! remove File|Open define TXMF1_FILE_SAVE = &h00004000 ! remove File|Save define TXMF1_FILE_SAVEAS = &h00008000 ! remove File|SaveAs define TXMF1_FILE_LAYOUT = &h00010000 ! remove File|PageLayout define TXMF1_FILE_SETUP = &h00020000 ! remove File|Print Setup define TXMF1_FILE_PRINT = &h00040000 ! remove File|Print define TXMF1_FILE_PREVIEW = &h00080000 ! remove File|PrintPreview define TXMF1_FILE_EXIT = &h00100000 ! remove File|Exit define TXMF1_EDIT_CLIP = &h00200000 ! remove Edit|Cut & Edit|Copy define TXMF1_EDIT_PASTESP = &h00400000 ! remove Edit|Paste Special define TXMF1_EDIT_PICT = &h00800000 ! remove Edit|Edit Picture define TXMF1_EDIT_REPAGE = &h01000000 ! remove Edit|Repaginate define TXMF1_EDIT_SECTION = &h02000000 ! remove Edit|Section define TXMF1_EDIT_STYLE = &h04000000 ! remove Edit|Style define TXMF1_EDIT_FIELD = &h08000000 ! remove Edit|Input Field define TXMF1_EDIT_FRAME = &h10000000 ! disable Edit|Frame or Drawing Object define TXMF1_EDIT_LIST_OR = &h20000000 ! disable Edit|Lists and Overrides define TXMF1_HDR_FTR = &h40000000 ! disable Edit|Headers and Footers + View, Ins (all variations) define TXMF1_EDIT_TRACK = &h80000000 ! disable Edit|Track Changes (all) define TXMF2_EDIT_OLE = &h00000001 ! remove Edit|OLE define TXMF2_EDIT_IME = &h00000002 ! remove Edit|Track Changes define TXMF2_EDIT_FLOW = &h00000004 ! remove Edit|Track Changes define TXMF2_VIEW_PAGE = &h00000010 ! remove View|Page Layout Mode define TXMF2_VIEW_RULEBARS = &h00000020 ! remove View|Ruler, Status Ribbon, Toolbar define TXMF2_VIEW_SPEC = &h00000040 ! remove View|Hidden, Paragraph Marker, fields, etc. define TXMF2_INS_BREAK = &h00000100 ! remove Insert|Break define TXMF2_INS_EPICT = &h00000200 ! remove Insert|Embed Pict define TXMF2_INS_LPICT = &h00000400 ! remove Insert|Link Pict define TXMF2_INS_OLE = &h00000800 ! remove Insert|OLE define TXMF2_INS_FRAMEOBJ = &h00001000 ! remove Insert|Frame & Insert|Drawing Obj define TXMF2_INS_PAGENCD = &h00002000 ! remove Insert|Page #, Count, Dates define TXMF2_INS_TOC = &h00004000 ! remove Insert|TOC define TXMF2_INS_BM = &h00008000 ! remove Insert|Bookmark define TXMF2_INS_FIELD = &h00010000 ! remove Insert|data field, text field, chkbox define TXMF2_INS_HLINK = &h00020000 ! remove Insert|hyperlink ! [102] Flags relating to TXC'HFLAGS1 define TXFH1_OUTPUT_DEF_FONT = &h0001 ! output default font to the file define TXFH1_NO_TAG_FONT = &h0002 ! don't write the tag fonts to the output file define TXFH1_NO_PICT_PATH = &h0004 ! do not save the full path of a picture define TXFH1_NO_DIV = &h0008 ! produce

tag in place of

tag define TXFH1_SAVE_CELL_WIDTH = &h0010 ! save cell width even when cell width is not specified explicily define TXFH1_NO_FORM_SHADING = &h0020 ! do not shade the form in the edit mode define TXFH1_NO_TOGGLE_MSG = &h0040 ! do not display message toggling from edit to the view mode define TXFH1_FIXED_VSCROLL = &h0080 ! do not allows auto displaying of vertical scroll bar define TXFH1_PRESERVE_SPACES = &h0100 ! preserve spaces in the line define TXFH1_SAVE_PICT_AS_WMF = &h0200 ! save the embedded pictures as metafiles define TXFH1_NO_SCRIPT = &h0400 ! don't process scripts define TXFH1_ROUND_BULLET = &h0800 ! import all bullet levels as round define TXFH1_NO_SPAN_TAG = &h1000 ! do not write the span tags define TXFH1_WRITE_LINK_STYLE = &h2000 ! output the link style to the file define TXFH1_NO_INTERNET = &h4000 ! do not access internet define TXFH1_NO_HEAD = &h8000 ! do not write the head tag define TXFH1_NO_BODY = &h00010000 ! do not write the body tag define TXFH1_NO_FONT = &h00020000 ! do not write the font tag define TXFH1_NO_STYLE = &h00040000 ! do not write the character style tags define TXFH1_NO_LIST_MARGIN = &h00080000 ! do not write margin information when writing the
  • tags define TXFH1_OUTP_DEF_FNTSZ = &h00100000 ! output default font size to the file define TXFH1_OUTP_DEF_FNTCLR = &h00200000 ! output default font color to the file define TXFH1_NO_XLATE_LINK = &h00400000 ! do not translate %nn to character value define TXFH1_NO_HTML = &h00800000 ! no html tag define TXFH1_WELL_FORMED = &h01000000 ! output well-formed html define TXFH1_XML = &h02000000 ! output xml doc define TXFH1_NO_CSS = &h04000000 ! do not use cascading stylesheets define TXFH1_SAVE_CELL_WID_PCT= &h08000000 ! save cell width in percentage define TXFH1_SET_CELL_SPACE = &h10000000 ! insert a space in an empty cell when writing out define TXFH1_COPY_CELL_PCT = &h20000000 ! copy cell percentage width as they are read in define TXFH1_WRT_NUM_CHR_COD = &h40000000 ! always write numeric character codes define TXFH2_DOCTYPE = &h0001 ! write the DOCTYPE tag define TXFH2_IN_CONVERTER = &h0002 ! in html - rtf converter define TXFH2_WRITE_OBJ = &h0004 ! write object tag for the embedded ocx objects define TXFH2_WRITE_OBJ_PARAM = &h0008 ! write certain parameter value of ocx object define TXFH2_SKIP_HREF = &h0010 ! ignore links in the html input define TXFH2_FLASH_SUPPORT = &h0040 ! generate html to support flash define TXFH2_CATCH_ERRORS = &h0080 ! catch crash errors define TXHF2_XLATE_SNGL_QUOTE = &h0100 ! write single quote as ' define TXHF2_KEEP_ROW_TOGETH = &h0200 ! keep table row together define TXHF2_SAVE_PICT_AS_BMP = &h000800 ! save embedded pictures as bmp when writing html define TXHF2_WRITE_DIR = &h001000 ! always write the dir= tag for the div tag define TXHF2_DONT_POS_OBJS = &h002000 ! don't position objects define TXHF2_NO_CRLF = &h004000 ! [108] don't output cr/lf define TXHF2_NO_FILE_PREFIX = &h080000 ! [108] don't add file-prefix to links ! TXC'FLAGS1 symbols... define TXF1_RESIZE_BITMAP = &h0001 ! resize bitmap when inserted in a frame define TXF1_METRIC = &h0002 ! show ruler in cm define TXF1_RETURN_MSG_ID = &h0004 ! saves the msg ids to return to the user program. define TXF1_APPLY_PRT_ORIENT = &h0008 ! apply current printer orientation to the document define TXF1_APPLY_PRT_PROPS = &h0008 ! renamed - apply current printer orientation to the document define TXF1_IGNORE_PIC_LINK = &h0010 ! ignore picture link names for writing to the disk define TXF1_DISABLE_ACCEL = &h0020 ! Disable the accelerators define TXF1_USE_NEXT_ID = &h0040 ! use next id for cell,row, etc. define TXF1_SHOW_CARET = &h0080 ! display cater even in the read-only mode define TXF1_UNPROT_DEL = &h0100 ! unprotected block deletes define TXF1_NO_HOUR_GLASS = &h0200 ! don't display hour glass cursor define TXF1_NO_CHILD_TOP = &h0400 ! don't bring child (TER as child) to top define TXF1_NO_WRAP = &h0800 ! to temporarily turnoff word wrapping define TXF1_ACTIV_MDI_CHLD = &h1000 ! explicity activate the current MDI child when TER gains focus define TXF1_COMP_WORD97 = &h2000 ! follow word 97 compatible behavior define TXF1_EXCLUD_HDN_SEL = &h4000 ! exclude hidden text from selection define TXF1_AUTO_VSCROLL_BAR = &h8000 ! automatic vertical scroll bar define TXF1_NO_PALETTE = &h00010000 ! do not use palettes define TXF1_KEEP_PICT_ASPECT = &h00020000 ! maintain the picture aspect ration on resize define TXF1_KEEP_FRAME_ASPECT = &h00040000 ! maintain the frame aspect ration on resize define TXF1_PICT_IN_FRAME = &h00080000 ! insert picture in a frame define TXF1_NO_PRINTER = &h00100000 ! don't open any printer define TXF1_NO_DRAG_TEXT = &h00200000 ! disable dragging of text define TXF1_NO_EDIT_OLE = &h00400000 ! disable editing of ole objects define TXF1_BETTER_256 = &h00800000 ! better 256 color pallet at the cost of picture loading performance define TXF1_NO_EDIT_PICT = &h01000000 ! disable editing of picture objects define TXF1_SHOW_BREAKS = &h02000000 ! show break lines even in the ReadOnly mode define TXF1_SELECT_FULL_HLINK = &h04000000 ! select hyperlink completely define TXF1_BUF_DISP = &h08000000 ! do display through a memory buffer define TXF1_NO_OLE = &h10000000 ! disable ole define TXF1_ROW_PASTE = &h20000000 ! enable table row pasting define TXF1_NO_AUT_FUL_CEL_SEL= &h40000000 ! do not automatically select the cell marker define TXF1_SWAP_DECIMAL = &h80000000 ! swap decimal/comma ! TXC'FLAGS2 symbols... define TXF2_COMP_WPF = &h0001 ! follow word perfect compatible behavior define TXF2_RETAIN_BKND = &h0002 ! retain the background define TXF2_USE_PAL_FOR_TXT = &h0004 ! use the current pallet to draw the text define TXF2_CAN_MRG_PRT_TXT = &h0008 ! can merge protected text define TXF2_BKPIC_OVR_PG_BOR = &h0010 ! write background picture over the frame border define TXF2_XPARENT_WRITE = &h0020 ! write transparently to the screen define TXF2_NO_CARET = &h0040 ! don't show caret even in the edit mode define TXF2_SHOW_SEC_PG_NO = &h0080 ! show the section page numbers on the status bar, instead of the sequential page numbers define TXF2_NO_CURSOR_CHG = &h0100 ! do not change cursor over the editor define TXF2_VERT_THMB_TRK = &h0200 ! update display while dragging vert scroll bar define TXF2_NO_AUTO_REPAGE = &h0400 ! do not allow automatic repagination define TXF2_NO_BKP_FILE = &h0800 ! don't create the backup file when saving define TXF2_SELT_FRAME_PIC = &h1000 ! select the frame picture instead of the frame when clicked on a frame with a picture. define TXF2_HIDE_PAGE_BREAK = &h2000 ! don't display the page break line define TXF2_PROTECT_FORMAT = &h4000 ! protect the format of the protected text define TXF2_NO_HDN_RTF_TXT = &h8000 ! don't save hidden text to the rtf file define TXF2_NO_SHDE_FLD_TXT = &h00010000 ! don't shade the field text define TXF2_IGNORE_TIMER = &h00020000 ! ignore timer define TXF2_NO_AUTO_HDR_FTR = &h00040000 ! do not diplay hdr/footer automatically at file input or paste define TXF2_WRT_1ST_RTF_CLR = &h00080000 ! write the first rtf color define TXF2_FULL_REPAINT = &h00100000 ! upgarde line painting to full painting define TXF2_KEEP_PRINTER_OPEN = &h00200000 ! keep the printer open after the last TE window is closed define TXF2_ALT_PARA_SYM = &h00400000 ! display alternate paragraph symbol define TXF2_ALT_LINE_SYM = &h00800000 ! display alternate line break symbol define TXF2_NO_LINE_FITTING = &h01000000 ! don't attempt to fit longer screen lines to printer line length define TXF2_NO_PRT_CANCEL_DLG = &h02000000 ! don't show printing cancel dialog box define TXF2_INDENT_FRAMES = &h04000000 ! indent the frames along with the text define TXF2_INDENT_TABLES = &h08000000 ! indent the table rows along with the text define TXF2_NO_ADJUST_CURSOR = &h10000000 ! do not adjust cursor for the hidden text define TXF2_CURSOR_BEF_HIDDEN = &h20000000 ! when adjusting cursor, place it before the hidden text define TXF2_NO_CURSOR_ON_PROT = &h40000000 ! do not let the cursor stay on the hidden text ! TXC'FLAGS3 symbols... define TXF3_WRAP_SPACES = &h0001 ! wrapp additional spaces to the next line. define TXF3_NO_EDIT_TBL_COL = &h0002 ! do not allow table column width/indentation editing using mouse define TXF3_TBL_STS_LINE = &h0004 ! modify the status lines when tables are encountered define TXF3_PLAIN_TBL_BORD = &h0008 ! no 3d table border for the HTML tables define TXF3_GRAY_READ_ONLY = &h0010 ! gray the control in the read only mode define TXF3_CURSOR_IN_CELL = &h0020 ! restrict the cursor to current cell define TXF3_EXACT_CELL_WIDTH = &h0040 ! strictly honor exact cell width for the HTML table define TXF3_NO_SCROLL = &h0080 ! display only the top of the document define TXF3_NO_FULL_CELL_CPY = &h0100 ! do not copy the cell marker when only one cell selected define TXF3_HTML_CONT_TBL = &h0200 ! write two contiguous rows as one table define TXF3_SELT_1ST_FLD = &h0400 ! select first form field when the document is open define TXF3_MULT_RTF_GROUPS = &h0800 ! allow multiple RTF groups define TXF3_OLD_WORD_FORMAT = &h1000 ! write old word format rtf syntax define TXF3_EMBEDDED_TABLES = &h2000 ! allow embedded tables define TXF3_DATA_FLD_INPUT = &h4000 ! data field input mode define TXF3_GET_BUF_HDR_FTR = &h8000 ! get header/footer from rtf buffer insertion if hdr/ftr does not exist in the document define TXF3_HTML_READ = &h00010000 ! in html read define TXF3_NO_RTF_BKND_CLR = &h00020000 ! do not read/write background color to the RTF file define TXF3_NO_SAVE_UNDO = &h00040000 ! do not save for undo define TXF3_LARGE_PARA_BORD = &h00080000 ! paragraph border includes the paragraph space bef/aft define TXF3_STYLES_ON_TBAR = &h00100000 ! enable style sheet selection on the toolbar define TXF3_SHOW_FRAMES = &h00200000 ! debug tool - show frame borders define TXF3_LINE_SCROLL = &h00400000 ! scroll one line at a time on arrow up/down define TXF3_PRINT_BKND_PIC = &h00800000 ! print background picture define TXF3_PASTE_RTF_CODE = &h01000000 ! paste rtf codes in text format define TXF3_CLIP_CELL_OVRFLO = &h02000000 ! clip the text that does not fit in the cell (during printing) define TXF3_EXACT_SCRN_FNT = &h04000000 ! create exact screen font define TXF3_ZERO_CELL_HT = &h08000000 ! set zero height for empty cells define TXF3_READ_PNG = &h10000000 ! read png from the rtf file define TXF3_NO_TXT_CLR_ADJ = &h20000000 ! don't adjust text color for the background color define TXF3_NO_MOUSE_SEL = &h40000000 ! disable text selection by mouse ! TXC'FLAGS4 symbols... define TXF4_CNT_PCHR_AS_CRLF = &h0001 ! count para char as two character in the the absolute to row/col conversion define TXF4_SKIP_PROT_TEXT = &h0002 ! do not allow the cussor on the protected text define TXF4_HIDE_HDN_PAR_MRK = &h0004 ! hide the paragraph marker which has hidden attribute define TXF4_READONLY_CNTRLS = &h0008 ! disable embedded controls in TerSetReadOnly function define TXF4_NO_REPAGINATE = &h0010 ! hold repagination define TXF4_SMOOTH_SCROLL = &h0020 ! smooth scrolling on page boundaries during text selection using mouse define TXF4_NO_BUFF_SCROLL = &h0040 ! disable buffered scrolling define TXF4_TEXT_HIDDEN = &h0080 ! change the hyperlink format to text followed by hidden code define TXF4_AUTO_SPELL = &h0100 ! turn-on the auto speller feature define TXF4_BINARY_RTF_PICT = &h0200 ! write rtf pictures in the binary format define TXF4_UNDO_WIN_OVRFLO = &h0400 ! undo the previous insertion/replace function if text overflows the window define TXF4_IME_UNICODE = &h0800 ! convert dbcs characters in IME to unicode define TXF4_MOD_END_MRK_FNT = &h1000 ! allow deletion of end marker define TXF4_ONE_ROW_TOOLBAR = &h2000 ! use only the second row of the toolbar define TXF4_NO_OLE_DROP = &h4000 ! no ole drop define TXF4_REPORT_EASE_MODE = &h8000 ! being access by ReportEase define TXF4_ALWAYS_INVOKE_OLE = &h00010000 ! allow editing of ole objects in read-only mode as well. define TXF4_DISABLE_DATE_UPD = &h00020000 ! Diable updating of date define TXF4_SAVE_BMP_AS_PNG = &h00040000 ! save bmp as png define TXF4_SAV_SHP_W_DRW_OBJ = &h00080000 ! save shape oject with drawing object define TXF4_HTML_INPUT = &h00100000 ! the input is in the html format define TXF4_NO_DRAG_PROT_TXT = &h00200000 ! do not allow drag/drop of protected text. define TXF4_FUL_DRAG_PROT_TXT = &h00400000 ! allow full drag/drop of protected text. define TXF4_NO_MERGE_TABLE = &h00800000 ! do not allow deletion of paramarker before the table define TXF4_NO_TOC_UPDATE = &h01000000 ! do not update table of contents define TXF4_NO_RESET_DC = &h02000000 ! do not call ResetDC for printing - some fax/printing drivers do not handle ReestDC properly define TXF4_NO_SHARE_BORDER = &h04000000 ! do not share cell borders define TXF4_ADJ_LEFT_TBL_COL = &h08000000 ! Adjust only the left column of the table define TXF4_DONT_FIX_NEG_IND = &h10000000 ! Do not provide fix for negative indentation define TXF4_PSTE_LST_PAR_PROP = &h20000000 ! apply last paragrap properties from rtf paste to empty para define TXF4_PRINT_WMF_AS_BMP = &h40000000 ! print the metafile as bmp ! TXC'FLAGS5 symbols... define TXF5_NO_EXT_DROP = &h0001 ! do not allow dropping of external files define TXF5_GROUP_UNDO = &h0002 ! group all opeations in one undo define TXF5_NO_EXACT_ROW_HT = &h0004 ! translate the exact row height to 'minmum row height' during rtf read define TXF5_RTL_CURSOR = &h0008 ! reverse the behavior of left and right cursor keys define TXF5_NO_KB_SEL = &h0010 ! no text selection using keyboard define TXF5_WRITE_DOB = &h0020 ! write the drawing objects in the old format define TXF5_NO_OBJ_IN_STS_LIN = &h0040 ! do not count object when dislaying the status lines define TXF5_NO_CLR_SPL_HST = &h0080 ! do not clear spell-checking history buffer between the sessions define TXF5_NO_NORM_FNOTE = &h0100 ! do not adjust block to fully contain the footnote define TXF5_INPUT_TO_UNICODE = &h0200 ! convert user-input or rtf input text to unicode define TXF5_NO_NORM_FLD = &h0400 ! do not adjust block to fully contain the data field define TXF5_BEF_AND_AFT_HDN = &h0800 ! allow cursor on the first hidden character and after the hidden text define TXF5_NO_DRAW_IMAGE = &h1000 ! disable the TerDrawImage function. define TXF5_SHOW_PAGE_SETUP = &h2000 ! show page-setup instead of print-setup in the printer-setup dialog define TXF5_FULL_REPAGINATE = &h4000 ! fully repaginate the document inthe beginning irrespective of the size of the document define TXF5_PNG_RGB = &h8000 ! save pictures in higher quality (RGB) define TXF5_NO_SHOW_SPACE_SYM = &h00010000 ! do not show the space symbol when ShowParaMark is turned on define TXF5_OLD_HLINK = &h00020000 ! support old style hyperlink define TXF5_NO_DRAG_ROW_LINE = &h00040000 ! do not allow the dragging of the row line to resize the row height define TXF5_NO_SHARE = &h00080000 ! no share resources define TXF5_SHOW_PAG_BRK = &h00100000 ! show page break all the time define TXF5_VAR_PAG_SIZ = &h00200000 ! Variable page size define TXF5_SAVE_PICT_AS_WMF = &h00400000 ! save png, jpg, gif as wmf for compatibility with older RTF readers define TXF5_NO_DRAG_CELL_LINE = &h00800000 ! do not allow the dragging of the cell divider line to resize the cell width and row indentation define TXF5_RULER_IND_FIXED = &h01000000 ! apply fix indentation when the ruler indentation marks are moved define TXF5_TOP_ROW_TOOLBAR = &h02000000 ! display only the top row of the toolbar define TXF5_NO_ADJ_FOR_TABLE = &h04000000 ! do not adjust the selection for table define TXF5_UNLIM_OLE_SPC = &h08000000 ! provide for unlimited ole object space define TXF5_OLD_RULER = &h10000000 ! use the old ruler define TXF5_FRAME_TXT_ONLY = &h20000000 ! write frame text only without the frame definition define TXF5_PROT_DATA_FLD = &h40000000 ! protect data field ! TXC'FLAGS6 symbols... define TXF6_USE_PEN_FOR_BORD = &h0001 ! use pen for frame border drawing during printing define TXF6_WRITE_DBCS = &h0002 ! write dbcs characters for the unicode character in the RTF file define TXF6_WRITE_DEF_CLR = &h0004 ! write the default color for the first color define TXF6_HI_RES = &h0008 ! use high resolution for font creation and disable the printer define TXF6_DONT_WRT_PIC_PATH = &h0010 ! do not write picture path when writing out linked pictures define TXF6_DONT_PROCESS_TAB = &h0020 ! this flags stops the processing of the tab key define TXF6_SHO_PIC_IN_PXL_SIZ= &h0040 ! display picture in real pixel size define TXF6_DONT_PROC_BUL_KEYS= &h0080 ! do not use enter/tab/backtab keys for bullet processing define TXF6_XLATE_UNICODE = &h0100 ! do unicode translation, useful when the langauge does not tranlate to single byte character set, such as Hinde, Tamil define TXF6_IN_TEST_MODE = &h0200 ! in test mode define TXF6_IN_PLACE_ACTIVATE = &h0400 ! activate ole objects in-place define TXF6_ALLOW_CELL_OVRFLO = &h0800 ! allow the excess cell text to overflow the cell define TXF6_INS_DRP_PIC_AS_LNK= &h1000 ! link to the dropped picture files (instead of embedding it) define TXF6_WRAP_AT_WIN_WID = &h2000 ! wrap the text at window width - applicable to PageMode only (not fitted view) define TXF6_SAVE_TEXT_BK_CLR = &h4000 ! save text background color (TextDefBkColor) to the rtf file. define TXF6_LST_TO_TXT_IN_HTML= &h8000 ! convert list to text while saving to the html format define TXF6_SUPP_DRAGON_SPCH = &h00010000 ! enable use of Dragon speech library define TXF6_NO_LINK_MSG = &h00020000 ! do not display message when mouse hovers overs a text line define TXF6_NO_TRACK_MSG = &h00040000 ! do not display a message when mouse hovers over a track-change text define TXF6_OLE_DROP_SOURCE = &h00080000 ! use ole DropSource when dragging TE text define TXF6_CNTR_DLGS_ON_SCR = &h00100000 ! center the dialog boxes on the screen define TXF6_PRINT_EMF_AS_BMP = &h00200000 ! print the metafile as bmp define TXF6_PASTE_UNICODE = &h00400000 ! try CF_TEXT first as CF_UNICODE text define TXF6_ALT_UNI_CHARWIDTH = &h00800000 ! alternate (faster) way of calculating unicode character width define TXF6_TRACK_API = &h01000000 ! track modification by insertion and deletion API's define TXF6_MBCS_HTML_OUTPUT = &h02000000 ! write mbcs (instead of unicode) on html output define TXF6_SWAP_CR_LINE_BRK = &h04000000 ! generate line-break when Return is pressed, and generate Return when Shift-Return is pressed define TXF6_USE_ANSI_FONT = &h08000000 ! use ansi fonts for the ansi characters for any task-bar language selection define TXF6_WRDPAD_COMPAT_PIC = &h10000000 ! write wordpad compatible picture format to the rtf file define TXF6_DEL_CELL_TEXT = &h20000000 ! on deletion, delete cell contents but not the cell structure define TXF6_RIGHT_JUST_RTL = &h40000000 ! always drat the rtl text right-justified ! TXC'FLAGS7 symbols... define TXF7_NO_RTL_FONT = &h0001 ! do not create rtl fonts ! define TXF7_V8_NUMBERING = &h0002 ! use TE v8 logic for paragraph numbering for backward compatibility define TXF7_ALT_BKSP = &h0004 ! simulate backspace using left+del actions define TXF7_SKIP_HID_PAR_NBR = &h0008 ! skip numbering for the hidden paragraph define TXF7_AUTO_NEW_ROW = &h0010 ! create new row automatically when tab is pressed on the last cell of a table define TXF7_HIDE_TC_FIELD = &h0020 ! show tc field contents define TXF7_SKIP_WORD_WRAP = &h0040 ! skip word-wrap function temporarily define TXF7_DRAW_OLD_VSCROLL = &h0080 ! disables vertical scroll bar if page text is less than window define TXF7_ALT_HILIGHT_METH = &h0100 ! Slightly modified text highlighting method define TXF7_OLD_PICT_IN_FRAME = &h0200 ! use old method of automatically creating a frame around an inserted picture define TXF7_NO_TRK_CHG_LINE = &h0400 ! do not draw the track change line define TXF7_SHRNK_PCT_TO_PG = &h0800 ! shirnk large pictures to fit in page define TXF7_ANCHOR_WTHN_PAR = &h1000 ! allow text anchor within paragraph define TXF7_AUTO_PARA_RTL = &h2000 ! automatic set para rtl when rtl text is entered define TXF7_SHO_SPC_PAR_END = &h4000 ! show any underline spaces before the line end define TXF7_DISABLE_RULER = &h8000 ! disable editing on ruler define TXF7_AUTO_SET_RTL = &h00010000 ! set text to rtl automatically if it contains rtl text define TXF7_ALWAYS_FIRE_MODIFY= &h00020000 ! always fire the modified event define TXF7_WRITE_LISTTEXT = &h00040000 ! write list text group define TXF7_EXT_DROP_COPY = &h00080000 ! when making a drop to an external application, always consider it as a copy operation define TXF7_INT_DROP_MOVE = &h00100000 ! when making a drop within the same TE control, always conderer it as a move operation define TXF7_SET_BOX_CLIPPING = &h00200000 ! draw cell/para-frame within its own frame box define TXF7_NO_SPCHK_FLDS = &h00800000 ! do not spell-check field text define TXF7_DRAGON_SPCH_FOC = &h01000000 ! Force focus after undo define TXF7_REC_CUR_PAR_ATTR = &h02000000 ! TRUE to record current paragrah attribute in the style being recorded define TXF7_REC_CUR_CHR_ATTR = &h04000000 ! TRUE to record current character attribute in the style being recorded define TXF7_COMP_TE13 = &h08000000 ! TE v13 compatible RTF import define TXF7_NO_INTERNET = &h10000000 ! [108] disable internet access define TXF7_NO_TBL_AUTO_WIDTH = &h20000000 ! [108] disable table auto-width define TXF7_EMPTY_TXT_FLD_UND = &h40000000 ! [108] show empty input fld as underscores ! TXC'FLAGS8 symbols... ![107] define TXF8_PRT_PREVIEW = &h08000000 ! [106] prt preview (TXOPF_PRINT) define TXF8_AUTO_RFMT_TBLS = &h00000001 ! [108] auto fmt auto-width tables define TXF8_NOPRT_EMPTY_CELLS = &h00000002 ! [108] hide empty cells when printing define TXF8_DONT_SEL_LAST_CHR = &h00000004 ! [108] don't select last char of doc on select all define TXF8_ENABLE_GDIPLUS = &h00000008 ! [108] enable gdi plus define TXF8_FIX_NEG_INDENT = &h00000020 ! [108] fix negative indent on rtf read define TXF8_IGNORE_LASTROW = &h00000040 ! [108] ignore \lastrow rtf tag define TXF8_HIDE_PG_BLNK_AREA = &h00000080 ! [108] for short docs, hide blank area by disabling vscroll define TXF8_NO_BOX_CLIPPING = &h00000200 ! [108] don't clip horiz text/tbl overflowing a frame define TXF8_WRAP_ON_HYPHEN = &h00000400 ! [108] word wrap on hyphen define TXF8_MRG_TBLS_ON_PASTE = &h00000800 ! [108] merge pasted tbl with previo define TXF8_WRT_HTML_BULL_CHR = &h00020000 ! [110] Replace chr 183 by &bull in htlm define TXF8_WRT_HTML_OBJECT = &h00100000 ! [110] Write object tag during html out define TXF8_DONT_HIDE_HDN_CHR = &h01000000 ! [110] don't hide HIDDEN CHAR on rtf out define TXF8_DONT_SPCHK_HDRFTR = &h02000000 ! [110] don't spell check hdr/ftr define TXF8_SEL_PTR_DLG = &h10000000 ! [105] sel ptr dlg (TXOPF_PRINT) define TXF8_PROTECT_FORM = &h20000000 ! Protect form (only input fields can be changed) ![111] following symbols were reversed! (removed and renamed to force ![111] error during recompilation so programmer can check/fix) ![111] define TXF8_ESC_SAVE_EXIT = &h40000000 ! Force ESC to save and exit ![111] define TXF8_ESC_EXIT_NO_SAVE = &h80000000 ! Force ESC to exit without saving define TXF8_ESC_ABORT = &h40000000 ! Force ESC to exit w/o save define TXF8_ESC_SAVE = &h80000000 ! Force ESC to save and exit ! [105] paper sizes define DMPAPER_LETTER = 1 ! Letter 8 1/2 x 11 in define DMPAPER_LETTERSMALL = 2 ! Letter Small 8 1/2 x 11 in define DMPAPER_TABLOID = 3 ! Tabloid 11 x 17 in define DMPAPER_LEDGER = 4 ! Ledger 17 x 11 in define DMPAPER_LEGAL = 5 ! Legal 8 1/2 x 14 in define DMPAPER_STATEMENT = 6 ! Statement 5 1/2 x 8 1/2 in define DMPAPER_EXECUTIVE = 7 ! Executive 7 1/4 x 10 1/2 in define DMPAPER_A3 = 8 ! A3 297 x 420 mm define DMPAPER_A4 = 9 ! A4 210 x 297 mm define DMPAPER_A4SMALL = 10 ! A4 Small 210 x 297 mm define DMPAPER_A5 = 11 ! A5 148 x 210 mm define DMPAPER_B4 = 12 ! B4 (JIS) 250 x 354 define DMPAPER_B5 = 13 ! B5 (JIS) 182 x 257 mm ! (see wingdi.h for all other DMPAPER_xxx values) ![105] orientation define DMORIENT_PORTRAIT = 1 define DMORIENT_LANDSCAPE = 2