11#ifndef DF0_OFFICE_FORMATS_PARSER_H
12#define DF0_OFFICE_FORMATS_PARSER_H
14#include "doc_parser.h"
15#include "html_parser.h"
16#include "iwork_parser.h"
17#include "odfxml_parser.h"
18#include "pdf_parser.h"
19#include "xls_parser.h"
20#include "xlsb_parser.h"
21#include "odf_ooxml_parser.h"
22#include "pipeline/composition.hpp"
23#include "ppt_parser.h"
24#include "rtf_parser.h"
25#include "txt_parser.h"
26#include "xml_parser.h"
27#include "audit/auditor_ref.hpp"
28#include "audit/with_auditor.hpp"
36template <safety_policy safety_level,
typename auditor_type>
42template <safety_policy safety_level,
typename auditor_type>
43using office_formats_parser_base = pipeline::composition_wrapper<
44 office_formats_parser<safety_level, auditor_type>,
45 html_parser<auditor_type>,
46 doc_parser<auditor_type>,
47 pdf_parser<auditor_type>,
48 xls_parser<auditor_type>,
49 xlsb_parser<auditor_type>,
50 iwork_parser<auditor_type>,
51 ppt_parser<auditor_type>,
52 rtf_parser<auditor_type>,
53 odf_ooxml_parser<safety_level, auditor_type>,
54 odfxml_parser<safety_level, auditor_type>,
55 xml_parser<safety_level, auditor_type>,
56 txt_parser<auditor_type>>;
72template <safety_policy safety_level = default_safety_level,
73 typename auditor_type = audit::null_auditor>
75 :
public detail::office_formats_parser_base<safety_level, auditor_type>
78 using base_type = detail::office_formats_parser_base<safety_level, auditor_type>;
83 template<audit::stateless_auditor stateless_auditor_type = auditor_type>
86 audit::auditor_ref<stateless_auditor_type>{})
93 audit::auditor_ref<auditor_type> auditor)
100 office_formats_parser<default_safety_level, audit::null_auditor>;