#include "cccc.h"
#include "cccc_itm.h"
#include "cccc_htm.h"
#include <unistd.h>
#include <time.h>
#include <sys/stat.h>
#include "cccc_utl.h"
Go to the source code of this file.
Definition at line 997 of file cccc_htm.cc.
1000 const char *cptr=stg.c_str();
1001 while(*cptr!=
'\000') {
1007 case '>': os.
fstr <<
">" ;
break;
1008 case '<': os.
fstr <<
"<" ;
break;
1009 case '&': os.
fstr <<
"&";
break;
1016 case ',': os.
fstr <<
", " ;
break;
1017 case '(': os.
fstr <<
"( " ;
break;
1018 case ')': os.
fstr <<
" )" ;
break;
1019 default : os.
fstr << c;
Definition at line 1026 of file cccc_htm.cc.
1028 const char *emphasis_prefix[]={
"",
"<EM>",
"<STRONG>"};
1029 const char *emphasis_suffix[]={
"",
"</EM>",
"</STRONG>"};
EmphasisLevel emphasis_level() const
string value_string() const
static string pad_string |
( |
int |
target_width, |
|
|
string |
the_string, |
|
|
string |
padding |
|
) |
| |
|
static |
Definition at line 1463 of file cccc_htm.cc.
1465 int spaces_required=target_width-the_string.size();
1467 while(spaces_required>0)
1469 pad_string+=padding;
1472 return pad_string+the_string;
static string pad_string(int target_width, string the_string, string padding)
int setup_anchor_data |
( |
| ) |
|
Definition at line 1365 of file cccc_htm.cc.
1371 string key1=a1.key(), key2=a2.key();
1373 source_anchor_map_t::value_type v1(key1,a1);
1374 source_anchor_map_t::value_type v2(key2,a2);
source_anchor_map_t source_anchor_map