Annotation of libwww/Library/src/HTML.html, revision 2.1
2.1 ! timbl 1: <PRE>
! 2: /* The HTML to rtf object converter HTML.h
! 3: ** --------------------------------
! 4: */
! 5:
! 6: #ifndef HTML_H
! 7: #define HTML_H
! 8:
! 9: #include "HTUtils.h"
! 10: #include "HTAnchor.h"
! 11: #include "HTMLDTD.h"
! 12:
! 13:
! 14: extern CONST HTStructuredClass HTMLPresentation;
! 15:
! 16: /* HTConverter to present HTML
! 17: */
! 18: PUBLIC HTStream* HTMLToPlain PARAMS((
! 19: HTPresentation * pres,
! 20: HTParentAnchor * anchor,
! 21: HTStream * sink));
! 22:
! 23: PUBLIC HTStream* HTMLToC PARAMS((
! 24: HTPresentation * pres,
! 25: HTParentAnchor * anchor,
! 26: HTStream * sink));
! 27:
! 28: PUBLIC HTStream* HTMLPresent PARAMS((
! 29: HTPresentation * pres,
! 30: HTParentAnchor * anchor,
! 31: HTStream * sink));
! 32:
! 33: extern HTStructured* HTML_new PARAMS((
! 34: HTParentAnchor * anchor,
! 35: HTStream * target));
! 36:
! 37: /* Names for selected internal representations:
! 38: */
! 39: typedef enum _HTMLCharacterSet {
! 40: HTML_ISO_LATIN1,
! 41: HTML_NEXT_CHARS,
! 42: HTML_PC_CP950
! 43: } HTMLCharacterSet;
! 44:
! 45: extern void HTMLUseCharacterSet PARAMS((HTMLCharacterSet i));
! 46:
! 47: /* Record error message as a hypertext object
! 48: ** ------------------------------------------
! 49: **
! 50: ** The error message should be marked as an error so that
! 51: ** it can be reloaded later.
! 52: ** This implementation just throws up an error message
! 53: ** and leaves the document unloaded.
! 54: **
! 55: ** On entry,
! 56: ** sink is a stream to the output device if any
! 57: ** number is the HTTP error number
! 58: ** message is the human readable message.
! 59: ** On exit,
! 60: ** a retrun code like HT_LOADED if object exists else <#60 0
! 61: */
! 62:
! 63: PUBLIC int HTLoadError PARAMS((
! 64: HTStream * sink,
! 65: int number,
! 66: CONST char * message));
! 67:
! 68: #endif
! 69: </PRE>
Webmaster