home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / MosaicSRC / src / HTML.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-03-13  |  18.0 KB  |  637 lines

  1. // MJW - THIS INFORMATION IS PUBLIC - should be OK to use anywhere
  2. // MDF - PORT FROM NCSA VERSION 2.1
  3.  
  4. /****************************************************************************
  5.  * NCSA Mosaic for the X Window System                        *
  6.  * Software Development Group                            *
  7.  * National Center for Supercomputing Applications                *
  8.  * University of Illinois at Urbana-Champaign                    *
  9.  * 605 E. Springfield, Champaign IL 61820                    *
  10.  * mosaic@ncsa.uiuc.edu                             *
  11.  *                                        *
  12.  * Copyright (C) 1993, Board of Trustees of the University of Illinois        *
  13.  *                                        *
  14.  * NCSA Mosaic software, both binary and source (hereafter, Software) is    *
  15.  * copyrighted by The Board of Trustees of the University of Illinois        *
  16.  * (UI), and ownership remains with the UI.                    *
  17.  *                                        *
  18.  * The UI grants you (hereafter, Licensee) a license to use the Software    *
  19.  * for academic, research and internal business purposes only, without a    *
  20.  * fee.  Licensee may distribute the binary and source code (if released)   *
  21.  * to third parties provided that the copyright notice and this statement   *
  22.  * appears on all copies and that no charge is associated with such        *
  23.  * copies.                                    *
  24.  *                                        *
  25.  * Licensee may make derivative works.    However, if Licensee distributes    *
  26.  * any derivative work based on or derived from the Software, then        *
  27.  * Licensee will (1) notify NCSA regarding its distribution of the        *
  28.  * derivative work, and (2) clearly notify users that such derivative        *
  29.  * work is a modified version and not the original NCSA Mosaic            *
  30.  * distributed by the UI.                            *
  31.  *                                        *
  32.  * Any Licensee wishing to make commercial use of the Software should        *
  33.  * contact the UI, c/o NCSA, to negotiate an appropriate license for such   *
  34.  * commercial use.  Commercial use includes (1) integration of all or        *
  35.  * part of the source code into a product for sale or license by or on        *
  36.  * behalf of Licensee to third parties, or (2) distribution of the binary   *
  37.  * code or source code to third parties that need it to utilize a        *
  38.  * commercial product sold or licensed by or on behalf of Licensee.        *
  39.  *                                        *
  40.  * UI MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR   *
  41.  * ANY PURPOSE.  IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED          *
  42.  * WARRANTY.  THE UI SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY THE    *
  43.  * USERS OF THIS SOFTWARE.                            *
  44.  *                                        *
  45.  * By using or copying this Software, Licensee agrees to abide by the        *
  46.  * copyright law and all other applicable laws of the U.S. including, but   *
  47.  * not limited to, export control laws, and the terms of this license.        *
  48.  * UI shall have the right to terminate this license immediately by        *
  49.  * written notice upon Licensee's breach of, or non-compliance with, any    *
  50.  * of its terms.  Licensee may be held legally responsible for any        *
  51.  * copyright infringement that is caused or encouraged by Licensee's        *
  52.  * failure to abide by the terms of this license.                *
  53.  *                                        *
  54.  * Comments and questions are welcome and can be sent to            *
  55.  * mosaic-x@ncsa.uiuc.edu.                            *
  56.  ****************************************************************************/
  57.  
  58. #ifndef HTML_H
  59. #define HTML_H
  60.  
  61. #include "XtoI.h"
  62.  
  63. typedef int (*visitTestProc)();
  64. typedef void (*pointerTrackProc)();
  65.  
  66. typedef struct ele_ref_rec {
  67.     int id, pos;
  68. } ElementRef;
  69.  
  70. typedef struct link_rec {
  71.     char *href;
  72.     char *role;
  73. } LinkInfo;
  74.  
  75.  
  76. /*
  77.  * Public Structures
  78.  */
  79. typedef struct acall_rec {
  80. //    XEvent *event;
  81.     int element_id;
  82.     char *text;
  83.     char *href;
  84. } WbAnchorCallbackData;
  85.  
  86.  
  87. typedef struct fcall_rec {
  88. //    XEvent *event;
  89.     char *href;
  90.     char *method;
  91.     char *enctype;
  92.     int attribute_count;
  93.     char **attribute_names;
  94.     char **attribute_values;
  95. } WbFormCallbackData;
  96.  
  97.  
  98. typedef struct formpart_rec {
  99.     struct formpart_rec *Next;
  100.     long Type;
  101.     char *Name; /* Same name as in widget info */
  102.     struct wid_rec *Widget;
  103.     APTR UserData; /* Usually a pointer to the mui object */
  104. } FormPartInfo;
  105.  
  106.  
  107. typedef struct form_rec {
  108.     Widget HTML_Data;
  109.     char *action;
  110.     char *method;
  111.     char *enctype;
  112.     int start, end;
  113.     struct form_rec *next;
  114.     struct wid_rec *FirstWidget;
  115.     struct formpart_rec *FirstFormPart;
  116.     char *href;
  117. } FormInfo;
  118.  
  119. typedef struct image_rec {
  120.     int ismap;
  121.     FormInfo *fptr;
  122.     int internal;
  123.     int delayed;
  124.     int fetched;
  125.     int width, height;
  126.     int num_colors;
  127.     int *reds;
  128.     int *greens;
  129.     int *blues;
  130.     unsigned char *image_data;
  131.     Pixmap image;
  132.     char *text;
  133.     APTR dt;        /* mdf */
  134.     char *fname;        /* mdf */
  135.     ULONG *colors;        /* mdf */
  136.     struct BitMap *mask_bitmap;    /* sb */
  137. } ImageInfo;
  138.  
  139.  
  140. typedef struct wid_rec {
  141.     Widget w;
  142.     int type;
  143.     int id;
  144.     int x, y;
  145.     int width, height;
  146.     char *name;
  147.     char *value;
  148.     char *password;
  149.     Boolean checked;
  150.     Boolean mapped;
  151.     Object *MUI_Object;
  152.     struct wid_rec *next;
  153.     FormInfo *ParentForm;
  154.     Object *MUI_SubObject;
  155.     char *option;
  156.     struct wid_rec *NextRadio,*PrevRadio;
  157.     ULONG flags;
  158.     char *returnv;
  159. } WidgetInfo;
  160.  
  161. typedef struct struct_rec
  162. {
  163.     long    type;
  164.     Object    *obj;
  165.     Object    *parrent;
  166.     struct struct_rec *next;
  167. } StructureInfo;
  168.  
  169. typedef struct sel_rec {
  170.     Widget HTML_Data;
  171.     struct mark_up *mptr;
  172.     int is_value;
  173.     char *retval_buf;
  174.     char *option_buf;
  175.     char **returns;
  176.     char **options;
  177.     int option_cnt;
  178.     char **value;
  179.     int value_cnt;
  180. } SelectInfo;
  181.  
  182.  
  183. typedef ImageInfo *(*resolveImageProc)();
  184.  
  185.  
  186. /*
  187.  * defines and structures used for the formatted element list
  188.  */
  189.  
  190. #define E_TEXT        1
  191. #define E_BULLET    2
  192. #define E_LINEFEED    3
  193. #define E_IMAGE     4
  194. #define E_WIDGET    5
  195. #define E_HRULE     6
  196.  
  197. struct ele_rec {
  198.     int type;
  199.     ImageInfo *pic_data;
  200.     WidgetInfo *widget_data;
  201.     XFontStruct *font;
  202.     int style;        /* MDF - For Amiga SetSoftStyle() hack */
  203.     int alignment;
  204.     Boolean internal;
  205.     Boolean selected;
  206.     int indent_level;
  207.     int start_pos, end_pos;
  208.     int x, y;
  209.     int y_offset;
  210.     int width;
  211.     int line_number;
  212.     int line_height;
  213.     int ele_id;
  214.     int underline_number;
  215.     Boolean dashed_underline;
  216.     Boolean strikeout;
  217.     unsigned long fg;
  218.     unsigned long bg;
  219.     char *anchorName;
  220.     char *anchorHRef;
  221.     char *edata;
  222.     int edata_len;
  223.     struct ele_rec *next;
  224.     struct ele_rec *prev;
  225. };
  226.  
  227. struct ref_rec {
  228.     char *anchorHRef;
  229.     struct ref_rec *next;
  230. };
  231.  
  232. struct delay_rec {
  233.     char *src;
  234.     struct delay_rec *next;
  235. };
  236.  
  237.  
  238. /*
  239.  * defines and structures used for the HTML parser, and the
  240.  * parsed object list.
  241.  */
  242.  
  243. /* Mark types */
  244. #define M_UNKNOWN    -1
  245. #define M_NONE        0
  246. #define M_TITLE     1
  247. #define M_HEADER_1    2
  248. #define M_HEADER_2    3
  249. #define M_HEADER_3    4
  250. #define M_HEADER_4    5
  251. #define M_HEADER_5    6
  252. #define M_HEADER_6    7
  253. #define M_ANCHOR    8
  254. #define M_PARAGRAPH    9
  255. #define M_ADDRESS    10
  256. #define M_PLAIN_TEXT    11
  257. #define M_UNUM_LIST    12
  258. #define M_NUM_LIST    13
  259. #define M_LIST_ITEM    14
  260. #define M_DESC_LIST    15
  261. #define M_DESC_TITLE    16
  262. #define M_DESC_TEXT    17
  263. #define M_PREFORMAT    18
  264. #define M_PLAIN_FILE    19
  265. #define M_LISTING_TEXT    20
  266. #define M_INDEX     21
  267. #define M_MENU        22
  268. #define M_DIRECTORY    23
  269. #define M_IMAGE     24
  270. #define M_FIXED     25
  271. #define M_BOLD        26
  272. #define M_ITALIC    27
  273. #define M_EMPHASIZED    28
  274. #define M_STRONG    29
  275. #define M_CODE        30
  276. #define M_SAMPLE    31
  277. #define M_KEYBOARD    32
  278. #define M_VARIABLE    33
  279. #define M_CITATION    34
  280. #define M_BLOCKQUOTE    35
  281. #define M_STRIKEOUT    36
  282. #define M_INPUT     37
  283. #define M_FORM        38
  284. #define M_HRULE     39
  285. #define M_LINEBREAK    40
  286. #define M_BASE        41
  287. #define M_SELECT    42
  288. #define M_OPTION    43
  289. #define M_TEXTAREA    44
  290.  
  291. /* syntax of Mark types */
  292. #define MT_TITLE    "title"
  293. #define MT_HEADER_1    "h1"
  294. #define MT_HEADER_2    "h2"
  295. #define MT_HEADER_3    "h3"
  296. #define MT_HEADER_4    "h4"
  297. #define MT_HEADER_5    "h5"
  298. #define MT_HEADER_6    "h6"
  299. #define MT_ANCHOR    "a"
  300. #define MT_PARAGRAPH    "p"
  301. #define MT_ADDRESS    "address"
  302. #define MT_PLAIN_TEXT    "xmp"
  303. #define MT_UNUM_LIST    "ul"
  304. #define MT_NUM_LIST    "ol"
  305. #define MT_LIST_ITEM    "li"
  306. #define MT_DESC_LIST    "dl"
  307. #define MT_DESC_TITLE    "dt"
  308. #define MT_DESC_TEXT    "dd"
  309. #define MT_PREFORMAT    "pre"
  310. #define MT_PLAIN_FILE    "plaintext"
  311. #define MT_LISTING_TEXT "listing"
  312. #define MT_INDEX    "isindex"
  313. #define MT_MENU     "menu"
  314. #define MT_DIRECTORY    "dir"
  315. #define MT_IMAGE    "img"
  316. #define MT_FIXED    "tt"
  317. #define MT_BOLD     "b"
  318. #define MT_ITALIC    "i"
  319. #define MT_EMPHASIZED    "em"
  320. #define MT_STRONG    "strong"
  321. #define MT_CODE     "code"
  322. #define MT_SAMPLE    "samp"
  323. #define MT_KEYBOARD    "kbd"
  324. #define MT_VARIABLE    "var"
  325. #define MT_CITATION    "cite"
  326. #define MT_BLOCKQUOTE    "blockquote"
  327. #define MT_STRIKEOUT    "strike"
  328. #define MT_INPUT    "input"
  329. #define MT_FORM     "form"
  330. #define MT_HRULE    "hr"
  331. #define MT_LINEBREAK    "br"
  332. #define MT_BASE     "base"
  333. #define MT_SELECT    "select"
  334. #define MT_OPTION    "option"
  335. #define MT_TEXTAREA    "textarea"
  336.  
  337.  
  338. /* anchor tags */
  339. #define AT_NAME     "name"
  340. #define AT_HREF     "href"
  341.  
  342.  
  343. struct mark_up {
  344.     int type;
  345.     int is_end;
  346.     char *start;
  347.     char *text;
  348.     char *end;
  349.     struct mark_up *next;
  350. };
  351.  
  352. /* HTML Gaget internal data...
  353.     must only be used by files that are called from the gadget itself */
  354. /* Class data for the HTML Gadget */
  355.  
  356. /* I had to include this to be able to straighten out some serious bugs      *
  357.  * I want to replace the 'Widget' references everywhere with a HTMLGadClData *
  358.  * because that is what it is!                             */
  359. typedef struct HTMLGadClDataS
  360. {
  361.   /* Amiga-specific part */
  362.  
  363.   struct Window *win;
  364.   struct RastPort *rp;
  365.   char *inlined_image_to_load;    /* temporary hack? */
  366.   char *chosen_anchor;        /* temporary hack? */
  367.   int active;            /* hack? */
  368.  
  369.   /* Resources */
  370.   Dimension            margin_width;
  371.   Dimension            margin_height;
  372.  
  373.   Widget            view;
  374.   Widget            hbar;
  375.   Widget            vbar;
  376.   Boolean            hbar_top;
  377.   Boolean            vbar_right;
  378.  
  379.   XtCallbackList    anchor_callback;
  380.   XtCallbackList    link_callback;
  381.   XtCallbackList    form_callback;
  382.  
  383.   char                *title;
  384.   char                *raw_text;
  385.   char                *header_text;
  386.   char                *footer_text;
  387.   /*
  388.    * Without motif we have to define our own forground resource
  389.    * instead of using the manager's
  390.    */
  391. #ifndef MOTIF
  392.   Pixel             foreground;
  393.   Pixel         background_pixel; /* MDF added; "core" class */
  394. #endif
  395.   Pixel             anchor_fg;
  396.   Pixel             visitedAnchor_fg;
  397.   Pixel             activeAnchor_fg;
  398.   Pixel             activeAnchor_bg;
  399.   int                num_anchor_underlines;
  400.   int                num_visitedAnchor_underlines;
  401.   Boolean            dashed_anchor_lines;
  402.   Boolean            dashed_visitedAnchor_lines;
  403.   Boolean            fancy_selections;
  404.   Boolean            border_images;
  405.   Boolean            delay_images;
  406.   Boolean            is_index;
  407.   int                percent_vert_space;
  408.  
  409.   XFontStruct        *font;
  410.   XFontStruct        *italic_font;
  411.   XFontStruct        *bold_font;
  412.   XFontStruct        *fixed_font;
  413.   XFontStruct        *header1_font;
  414.   XFontStruct        *header2_font;
  415.   XFontStruct        *header3_font;
  416.   XFontStruct        *header4_font;
  417.   XFontStruct        *header5_font;
  418.   XFontStruct        *header6_font;
  419.   XFontStruct        *address_font;
  420.   XFontStruct        *plain_font;
  421.   XFontStruct        *listing_font;
  422.  
  423.   /*
  424.     int (*previously_visited_test)();
  425.     ImageInfo * (*resolveImage)();
  426.     */
  427.   XtPointer            previously_visited_test;
  428.   XtPointer            resolveImage;
  429.   XtPointer            resolveDelayedImage;
  430.  
  431.   XtPointer          pointer_motion_callback;
  432.  
  433.   /* PRIVATE */
  434.   Dimension            max_pre_width;
  435.   Dimension        view_left; /* MDF temp hack? */
  436.   Dimension        view_top;  /* MDF temp hack? */
  437.   Dimension            view_width;
  438.   Dimension            view_height;
  439.   int                doc_width;
  440.   int                doc_height;
  441.   int                scroll_x;
  442.   int                scroll_y;
  443.   Boolean            use_hbar;
  444.   Boolean            use_vbar;
  445.   struct ele_rec    *formatted_elements;
  446.   int                line_count;
  447.   struct ele_rec    **line_array;
  448.   struct ele_rec    *select_start;
  449.   struct ele_rec    *select_end;
  450.   int                sel_start_pos;
  451.   int                sel_end_pos;
  452.   struct ele_rec    *new_start;
  453.   struct ele_rec    *new_end;
  454.   int                new_start_pos;
  455.   int                new_end_pos;
  456.   struct ele_rec    *active_anchor;
  457.   //    GC            drawGC;
  458.   void *            drawGC;
  459.   int                press_x;
  460.   int                press_y;
  461.   Time                but_press_time;
  462.   Time                selection_time;
  463.   struct mark_up    *html_objects;
  464.   struct mark_up    *html_header_objects;
  465.   struct mark_up    *html_footer_objects;
  466.   struct ref_rec    *my_visited_hrefs;
  467.   struct delay_rec    *my_delayed_images;
  468.     WidgetInfo        *widget_list;
  469.   FormInfo            *form_list;
  470.  
  471.   struct ele_rec      *cached_tracked_ele;
  472.  
  473.   int                new_scroll_value;
  474.   int                new_scroll_dir;
  475.     Object            *SB_Vert,*SB_Horiz;
  476.     Object            *Virt;
  477.     LONG            new_scroll_y;
  478.     WidgetInfo        *new_widget_list;
  479.     ULONG            reparsing;
  480.     ULONG            object_flags;            /*    */
  481.     ULONG            have_forms;                /* BOOL */
  482.     char            *post_text;                /* The text that should be sent to a cgi script. */
  483.     char            *post_href;                /* The location to send the text to. */
  484.     BOOL            keyctrl;
  485.     BOOL            have_formsI;
  486.   Pixel             anchor_fgc;
  487.   Pixel             visitedAnchor_fgc;
  488.   Pixel             activeAnchor_fgc;
  489. } HTMLGadClData; /* Was HTMLRec */
  490.  
  491. #define Object_Parsing     ((ULONG)0x01) /* Starting from scratch with a window */
  492. #define Object_Reparsing ((ULONG)0x02) /* Modifying an old window */
  493. #define Object_Changing  ((ULONG)0x04) /* Has done an InitChange or closed the window */
  494. /*
  495.  * Public functions
  496.  */
  497. #ifdef _NO_PROTO
  498. extern char *HTMLGetText ();
  499. extern char *HTMLGetTextAndSelection ();
  500. extern char **HTMLGetHRefs ();
  501. extern char **HTMLGetImageSrcs ();
  502. extern void *HTMLGetWidgetInfo ();
  503. extern void HTMLFreeWidgetInfo ();
  504. extern void HTMLFreeImageInfo ();
  505. extern LinkInfo *HTMLGetLinks ();
  506. extern int HTMLPositionToId ();
  507. extern int HTMLIdToPosition ();
  508. extern int HTMLAnchorToPosition ();
  509. extern int HTMLAnchorToId ();
  510. extern void HTMLGotoId ();
  511. extern void HTMLRetestAnchors ();
  512. extern void HTMLClearSelection ();
  513. extern void HTMLSetSelection ();
  514. extern void HTMLSetText ();
  515. extern int HTMLSearchText ();
  516. #else
  517. extern char *HTMLGetText (HTMLGadClData *w, int pretty);
  518. extern char *HTMLGetTextAndSelection (Widget w, char **startp, char **endp,
  519.                     char **insertp);
  520. extern char **HTMLGetHRefs (Widget w, int *num_hrefs);
  521. extern char **HTMLGetImageSrcs (HTMLGadClData *w, int *num_srcs);
  522. extern void *HTMLGetWidgetInfo (HTMLGadClData *w);
  523. extern void HTMLFreeWidgetInfo (void *ptr);
  524. extern void HTMLFreeImageInfo (Widget w);
  525. extern LinkInfo *HTMLGetLinks (Widget w, int *num_links);
  526. extern int HTMLPositionToId(HTMLGadClData *w, int x, int y);
  527. extern int HTMLIdToPosition(Widget w, int element_id, int *x, int *y);
  528. extern int HTMLAnchorToPosition(Widget w, char *name, int *x, int *y);
  529. extern int HTMLAnchorToId(Widget w, char *name);
  530. extern void HTMLGotoId(HTMLGadClData *w, int element_id);
  531. extern void HTMLRetestAnchors(Widget w, visitTestProc testFunc);
  532. extern void HTMLClearSelection (Widget w);
  533. extern void HTMLSetSelection (Widget w, ElementRef *start, ElementRef *end);
  534. extern void HTMLSetText (HTMLGadClData *w, char *text, char *header_text,
  535.             char *footer_text, int element_id,
  536.             char *target_anchor, void *ptr);
  537. extern int HTMLSearchText (HTMLGadClData *HTML_Data, char *pattern,
  538.     ElementRef *m_start, ElementRef *m_end, int backward, int caseless);
  539. #endif /* _NO_PROTO */
  540.  
  541.  
  542. /*
  543.  * New resource names
  544.  */
  545. #define WbNmarginWidth        "marginWidth"
  546. #define WbNmarginHeight     "marginHeight"
  547. #define WbNtext         "text"
  548. #define WbNheaderText        "headerText"
  549. #define WbNfooterText        "footerText"
  550. #define WbNtitleText        "titleText"
  551. #define WbNanchorUnderlines    "anchorUnderlines"
  552. #define WbNvisitedAnchorUnderlines    "visitedAnchorUnderlines"
  553. #define WbNdashedAnchorUnderlines    "dashedAnchorUnderlines"
  554. #define WbNdashedVisitedAnchorUnderlines    "dashedVisitedAnchorUnderlines"
  555. #define WbNanchorColor        "anchorColor"
  556. #define WbNvisitedAnchorColor    "visitedAnchorColor"
  557. #define WbNactiveAnchorFG    "activeAnchorFG"
  558. #define WbNactiveAnchorBG    "activeAnchorBG"
  559. #define WbNfancySelections    "fancySelections"
  560. #define WbNimageBorders     "imageBorders"
  561. #define WbNdelayImageLoads    "delayImageLoads"
  562. #define WbNisIndex        "isIndex"
  563. #define WbNitalicFont        "italicFont"
  564. #define WbNboldFont        "boldFont"
  565. #define WbNfixedFont        "fixedFont"
  566. #define WbNheader1Font        "header1Font"
  567. #define WbNheader2Font        "header2Font"
  568. #define WbNheader3Font        "header3Font"
  569. #define WbNheader4Font        "header4Font"
  570. #define WbNheader5Font        "header5Font"
  571. #define WbNheader6Font        "header6Font"
  572. #define WbNaddressFont        "addressFont"
  573. #define WbNplainFont        "plainFont"
  574. #define WbNlistingFont        "listingFont"
  575. #define WbNanchorCallback    "anchorCallback"
  576. #define WbNlinkCallback     "linkCallback"
  577. #define WbNsubmitFormCallback    "submitFormCallback"
  578. #define WbNpreviouslyVisitedTestFunction "previouslyVisitedTestFunction"
  579. #define WbNresolveImageFunction "resolveImageFunction"
  580. #define WbNresolveDelayedImage "resolveDelayedImage"
  581. #define WbNpercentVerticalSpace "percentVerticalSpace"
  582. #define WbNpointerMotionCallback "pointerMotionCallback"
  583. #define WbNverticalScrollOnRight "verticalScrollOnRight"
  584. #define WbNhorizontalScrollOnTop "horizontalScrollOnTop"
  585. #define WbNview          "view"
  586. #define WbNverticalScrollBar     "verticalScrollBar"
  587. #define WbNhorizontalScrollBar     "horizontalScrollBar"
  588.  
  589. /*
  590.  * New resource classes
  591.  */
  592. #define WbCMarginWidth        "MarginWidth"
  593. #define WbCMarginHeight     "MarginHeight"
  594. #define WbCText         "Text"
  595. #define WbCHeaderText        "HeaderText"
  596. #define WbCFooterText        "FooterText"
  597. #define WbCTitleText        "TitleText"
  598. #define WbCAnchorUnderlines    "AnchorUnderlines"
  599. #define WbCVisitedAnchorUnderlines    "VisitedAnchorUnderlines"
  600. #define WbCDashedAnchorUnderlines    "DashedAnchorUnderlines"
  601. #define WbCDashedVisitedAnchorUnderlines    "DashedVisitedAnchorUnderlines"
  602. #define WbCAnchorColor        "AnchorColor"
  603. #define WbCVisitedAnchorColor    "VisitedAnchorColor"
  604. #define WbCActiveAnchorFG    "ActiveAnchorFG"
  605. #define WbCActiveAnchorBG    "ActiveAnchorBG"
  606. #define WbCFancySelections    "FancySelections"
  607. #define WbCImageBorders     "ImageBorders"
  608. #define WbCDelayImageLoads    "DelayImageLoads"
  609. #define WbCIsIndex        "IsIndex"
  610. #define WbCItalicFont        "ItalicFont"
  611. #define WbCBoldFont        "BoldFont"
  612. #define WbCFixedFont        "FixedFont"
  613. #define WbCHeader1Font        "Header1Font"
  614. #define WbCHeader2Font        "Header2Font"
  615. #define WbCHeader3Font        "Header3Font"
  616. #define WbCHeader4Font        "Header4Font"
  617. #define WbCHeader5Font        "Header5Font"
  618. #define WbCHeader6Font        "Header6Font"
  619. #define WbCAddressFont        "AddressFont"
  620. #define WbCPlainFont        "PlainFont"
  621. #define WbCListingFont        "ListingFont"
  622. #define WbCPreviouslyVisitedTestFunction "PreviouslyVisitedTestFunction"
  623. #define WbCResolveImageFunction "ResolveImageFunction"
  624. #define WbCResolveDelayedImage "ResolveDelayedImage"
  625. #define WbCPercentVerticalSpace "PercentVerticalSpace"
  626. #define WbCPointerMotionCallback "PointerMotionCallback"
  627. #define WbCVerticalScrollOnRight "VerticalScrollOnRight"
  628. #define WbCHorizontalScrollOnTop "HorizontalScrollOnTop"
  629. #define WbCView          "View"
  630. #define WbCVerticalScrollBar     "VerticalScrollBar"
  631. #define WbCHorizontalScrollBar     "HorizontalScrollBar"
  632.  
  633. //typedef Class  *HTMLWidgetClass;
  634. typedef Object *HTMLWidget;
  635.  
  636. #endif /* HTML_H */
  637.