izzi
SVG SUBSET C++ API
Loading...
Searching...
No Matches
izzi-tables.h File Reference
#include "a60-svg.h"
#include <string_view>
Include dependency graph for izzi-tables.h:

Go to the source code of this file.

Classes

class  svg::ostringstream
 STL class. More...

Namespaces

namespace  svg

Functions

std::chrono::year_month_day svg::date_stamp_to_year_month_day (const string dstamp)
 Arithmetic on date stamps and date hour stamps. Return time_point associated with that iso-date string and hour.
string svg::iso_datestamp_string_to_html_time (const string ds)
 Converts ISO datestamp to HTML time element with accessible-readable long form with month names, instead of just a list of digits.
string svg::detail_summary_table (const string &tbl, const string &htitle)
 Wrap table in HTML details element, containing an H3 media object.
string svg::simplify_pandas_table (const string minimetricf)
 Cleanup Pandas HTML table export. Pandas html table export from properly constructed json is excellent. However, knowing the data, it can be made more legible with a smarter table head. So, strip thead and simplify names, make multi-column, multi-row for clarity.
string svg::serialize_link_row_2c_4f (string_view uri1, string_view link1, string_view uri2, string_view link2)
 Link row in table.
string svg::serialize_image_row_2c_4f (string_view img1src, string_view img1alt, string_view img2src, string_view img2alt)
 Image row in table.
void svg::serialize_2_image_table (const string &gtitlelc)
 Serialize borderless image table.
void svg::serialize_meta_collection_table (const string &gtitlelc, const string sdur, const uint btihasz, const uint dl, const uint ul)
 Serialize information about the analysis passes as an html table. Flatten all objects into one total number.
string svg::serialize_row_6c_8f (const string moname, const uint btihasz, const uint dl, const uint ul, const uint weeksn, const string sdates)
 Serialize row of media object information.

Variables

const string svg::cap = "<caption>"
 Caption element, both without styling and as H3 element in markdown.
const string svg::capH3 = R"_delimiter_(<caption style="font-size: 1.17em; font-weight: bold; margin: 1em 0; text-align: left;">)_delimiter_"