#include "camtypes.h"
#include "htmlfltr.h"
#include "htmllist.h"
#include "backgrnd.h"
#include "fileutil.h"
#include "cutop.h"
#include "webaddr.h"
Go to the source code of this file.
Defines | |
#define | new CAM_DEBUG_NEW |
#define | MAXTAGLENGTH 10240 |
#define | HTMLTAG_UNKNOWN -1 |
#define | HTMLTAG_UNUSED 0 |
#define | HTMLTAG_IMGSRC 1 |
#define | HTMLTAG_BODY 2 |
#define | HTMLTAG_BODYEND 3 |
#define | HTMLTAG_LINK 4 |
#define | HTMLTAG_LINKEND 5 |
#define | HTMLTAG_INPUT 6 |
#define | HTMLTAG_SELECT 7 |
#define | HTMLTAG_HTML 8 |
#define | HTMLTAG_HTMLEND 9 |
#define | HTMLTAG_TITLE 10 |
#define | HTMLTAG_TITLEEND 11 |
#define | HTMLTAG_HEAD 12 |
#define | HTMLTAG_HEADEND 13 |
#define | HTMLTAG_CENTER 14 |
#define | HTMLTAG_CENTEREND 15 |
#define | HTMLTAG_EMBED 16 |
#define | HTMLNUM_TAGS 16 |
Functions | |
DECLARE_SOURCE ("$Revision: 1282 $") | |
static INT32 | FindTagId (const TCHAR *Token) |
static BOOL | ReverseString (String_256 &In, char *OutString) |
Variables | |
struct { | |
TCHAR * Token | |
TCHAR * Token | |
TCHAR * tag | |
INT32 Id | |
TCHAR * Token | |
UINT32 Magic | |
UINT32 Serial | |
wchar_t Name [BRANDED_NAME_MAX] | |
wchar_t Company [BRANDED_NAME_MAX] | |
TCHAR * Token | |
GridType Type | |
UINT32 IDS | |
TCHAR * Token | |
} | HTML_Table [] |
|
Definition at line 151 of file htmlfltr.cpp. |
|
Definition at line 133 of file htmlfltr.cpp. |
|
Definition at line 134 of file htmlfltr.cpp. |
|
Definition at line 145 of file htmlfltr.cpp. |
|
Definition at line 146 of file htmlfltr.cpp. |
|
Definition at line 147 of file htmlfltr.cpp. |
|
Definition at line 143 of file htmlfltr.cpp. |
|
Definition at line 144 of file htmlfltr.cpp. |
|
Definition at line 139 of file htmlfltr.cpp. |
|
Definition at line 140 of file htmlfltr.cpp. |
|
Definition at line 132 of file htmlfltr.cpp. |
|
Definition at line 137 of file htmlfltr.cpp. |
|
Definition at line 135 of file htmlfltr.cpp. |
|
Definition at line 136 of file htmlfltr.cpp. |
|
Definition at line 138 of file htmlfltr.cpp. |
|
Definition at line 141 of file htmlfltr.cpp. |
|
Definition at line 142 of file htmlfltr.cpp. |
|
Definition at line 129 of file htmlfltr.cpp. |
|
Definition at line 130 of file htmlfltr.cpp. |
|
Definition at line 126 of file htmlfltr.cpp. |
|
Definition at line 123 of file htmlfltr.cpp. |
|
|
|
Definition at line 186 of file htmlfltr.cpp. 00187 { 00188 //Changed by Graham 29/5/97 so the comparison is case insensitive 00189 for (INT32 i=0;i<HTMLNUM_TAGS;i++) 00190 if (camStricmp(HTML_Table[i].tag,Token) == 0) return (HTML_Table[i].Id); 00191 00192 return (HTMLTAG_UNKNOWN); 00193 }
|
|
Definition at line 196 of file htmlfltr.cpp. 00197 { 00198 if (In.IsEmpty() && OutString == NULL) 00199 return FALSE; 00200 00201 char* InString = (TCHAR*)In; 00202 00203 //INT32 length = strlen(InString)-1; 00204 INT32 length = In.Length()-1; 00205 00206 char* OutStringTmp = OutString; 00207 00208 while ( length != -1 ) 00209 { 00210 *OutStringTmp = *(InString+length); 00211 OutStringTmp++; 00212 length--; 00213 } 00214 00215 *OutStringTmp = '\0'; 00216 00217 return TRUE; 00218 }
|
|
|
|
Definition at line 158 of file htmlfltr.cpp. |
|
Definition at line 157 of file htmlfltr.cpp. |