Fixed bug where HTML header was not being output.

This commit is contained in:
slidedraw 2002-04-14 01:08:10 +00:00
parent 3873495498
commit 623598152e
2 changed files with 9 additions and 9 deletions

View File

@ -57,7 +57,7 @@ void OutputTableHTML(void)
{ {
int i, j, k; int i, j, k;
void output_header(); output_header();
if (center_tables) if (center_tables)
{ {
printf("<CENTER>"); printf("<CENTER>");
@ -262,7 +262,8 @@ void output_header(void)
printf("\"http://www.w3.org/TR/REC-html40/loose.dtd\">"); printf("\"http://www.w3.org/TR/REC-html40/loose.dtd\">");
do_cr(); do_cr();
} }
printf("<HTML><HEAD>"); printf("<HTML>\n");
printf("<HEAD>\n");
do_cr(); do_cr();
printf("<meta http-equiv=\"Content-Type\" content=\"text/html; charset="); printf("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=");
if ((UnicodeStrings <= 1)&&CodePage&&(CodePage != 1252)) if ((UnicodeStrings <= 1)&&CodePage&&(CodePage != 1252))

View File

@ -225,6 +225,9 @@ static void output_opcode_string(int opcode)
case 0x17: case 0x17:
puts("External reference"); puts("External reference");
break; break;
case 0x18:
puts("NAME");
break;
case 0x19: case 0x19:
puts("Windows are Protected"); puts("Windows are Protected");
break; break;
@ -264,6 +267,9 @@ static void output_opcode_string(int opcode)
case 0x2F: case 0x2F:
puts("File is Password protected"); puts("File is Password protected");
break; break;
case 0x31:
puts("FONT");
break;
case 0x3C: case 0x3C:
puts("Continues long records"); puts("Continues long records");
break; break;
@ -276,16 +282,9 @@ static void output_opcode_string(int opcode)
case 0x41: case 0x41:
puts("Number of Panes and their position"); puts("Number of Panes and their position");
break; break;
/* error in ms docs.
case 0x42: case 0x42:
puts("CODEPAGE: Default code page"); puts("CODEPAGE: Default code page");
break; break;
case 0x42:
puts("CODENAME: VBE Object Name");
break;
*/
case 0x4D: case 0x4D:
puts("PLS: Environment specific print record"); puts("PLS: Environment specific print record");
break; break;