|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
#include "../Compression/Zip.hpp"#include "../../Helper/Strings.hpp"#include <clocale>#include <cstdint>#include <string>#include <utility>#include <vector>

Go to the source code of this file.
Namespaces | |
| crawlservpp::Data::ImportExport::OpenDocument | |
| Namespace for importing and exporting OpenDocument spreadsheets. | |
Typedefs | |
| using | crawlservpp::Data::ImportExport::OpenDocument::StringString = std::pair< std::string, std::string > |
| A pair of strings. More... | |
| using | crawlservpp::Data::ImportExport::OpenDocument::TableRow = std::vector< std::string > |
| A vector of strings used as rows in a spreadsheet table. More... | |
| using | crawlservpp::Data::ImportExport::OpenDocument::Table = std::vector< TableRow > |
| A vector of vectors of strings used as spreadsheet tables. More... | |
| using | crawlservpp::Data::ImportExport::OpenDocument::NamedTable = std::pair< std::string, Table > |
| A pair containing the name and the content of a spreadsheet table. More... | |
Variables | |
| constexpr auto | crawlservpp::Data::ImportExport::OpenDocument::cellSpacing {5} |
| The number of spaces before a OpenDocument XML cell element. More... | |
| constexpr auto | crawlservpp::Data::ImportExport::OpenDocument::cellLines {3} |
| The number of lines used for a OpenDocument XML cell element and its content. More... | |
| constexpr auto | crawlservpp::Data::ImportExport::OpenDocument::cellConstChars {57} |
| The number of additional characters for a OpenDocument XML cell element and its content. More... | |
Import and Export | |
| std::string | crawlservpp::Data::ImportExport::OpenDocument::exportSpreadsheet (const std::vector< NamedTable > &tables, bool firstRowBold) |
| Exports tables as a OpenDocument spreadsheet. More... | |
Helper | |
| std::string | crawlservpp::Data::ImportExport::OpenDocument::cell (std::uint8_t spacing, const std::string &raw, const std::string &style) |
| Creates the XML code for a simple cell containing a value. More... | |