/dports/devel/liborcus/liborcus-0.16.1/src/liborcus/ |
H A D | odf_namespace_types_hpp.inl | 3 extern const xmlns_id_t NS_odf_anim; 4 extern const xmlns_id_t NS_odf_chart; 5 extern const xmlns_id_t NS_odf_config; 6 extern const xmlns_id_t NS_odf_db; 7 extern const xmlns_id_t NS_odf_dc; 8 extern const xmlns_id_t NS_odf_dr3d; 9 extern const xmlns_id_t NS_odf_draw; 10 extern const xmlns_id_t NS_odf_fo; 11 extern const xmlns_id_t NS_odf_form; 13 extern const xmlns_id_t NS_odf_math; [all …]
|
H A D | odf_namespace_types_cpp.inl | 3 const xmlns_id_t NS_odf_anim = "urn:oasis:names:tc:opendocument:xmlns:animation:1.0"; 4 const xmlns_id_t NS_odf_chart = "urn:oasis:names:tc:opendocument:xmlns:chart:1.0"; 7 const xmlns_id_t NS_odf_dc = "http://purl.org/dc/elements/1.1/"; 8 const xmlns_id_t NS_odf_dr3d = "urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"; 12 const xmlns_id_t NS_odf_grddl = "http://www.w3.org/2003/g/data-view#"; 13 const xmlns_id_t NS_odf_math = "http://www.w3.org/1998/Math/MathML"; 24 const xmlns_id_t NS_odf_xforms = "http://www.w3.org/2002/xforms"; 25 const xmlns_id_t NS_odf_xhtml = "http://www.w3.org/1999/xhtml"; 26 const xmlns_id_t NS_odf_xlink = "http://www.w3.org/1999/xlink"; 30 const xmlns_id_t odf_ns[] = { [all …]
|
H A D | ooxml_namespace_types.cpp | 12 const xmlns_id_t NS_ooxml_a = "http://schemas.openxmlformats.org/drawingml/2006/main"; 15 const xmlns_id_t NS_ooxml_xlsx = "http://schemas.openxmlformats.org/spreadsheetml/2006/main"; 17 const xmlns_id_t NS_opc_ct = "http://schemas.openxmlformats.org/package/2006/content-types"; 18 const xmlns_id_t NS_opc_rel = "http://schemas.openxmlformats.org/package/2006/relationships"; 20 const xmlns_id_t NS_mc = "http://schemas.openxmlformats.org/markup-compatibility/2006"; 25 xmlns_id_t ooxml_ns[] = { 33 xmlns_id_t opc_ns[] = { 39 xmlns_id_t misc_ns[] = { 47 const xmlns_id_t* NS_ooxml_all = ooxml_ns; 48 const xmlns_id_t* NS_opc_all = opc_ns; [all …]
|
H A D | ooxml_namespace_types.hpp | 15 extern const xmlns_id_t NS_ooxml_a; 16 extern const xmlns_id_t NS_ooxml_r; 17 extern const xmlns_id_t NS_ooxml_xlsx; 18 extern const xmlns_id_t NS_ooxml_xdr; 20 extern const xmlns_id_t NS_opc_ct; 21 extern const xmlns_id_t NS_opc_rel; 23 extern const xmlns_id_t NS_mc; 24 extern const xmlns_id_t NS_mso_x14; 29 extern const xmlns_id_t* NS_ooxml_all; 34 extern const xmlns_id_t* NS_opc_all; [all …]
|
H A D | xlsx_pivot_context.hpp | 55 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 56 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 57 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child); 59 virtual bool end_element(xmlns_id_t ns, xml_token_t name); 93 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 94 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 95 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child); 97 virtual bool end_element(xmlns_id_t ns, xml_token_t name); 110 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 111 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); [all …]
|
H A D | xml_context_global.hpp | 27 xmlns_id_t m_ns; 31 single_attr_getter(xmlns_id_t ns, xml_token_t name); 32 single_attr_getter(string_pool& pool, xmlns_id_t ns, xml_token_t name); 37 static pstring get(const std::vector<xml_token_attr_t>& attrs, xmlns_id_t ns, xml_token_t name); 38 …static pstring get(const std::vector<xml_token_attr_t>& attrs, string_pool& pool, xmlns_id_t ns, x… 44 xmlns_id_t m_ns; 48 single_long_attr_getter(xmlns_id_t ns, xml_token_t name); 52 static long get(const std::vector<xml_token_attr_t>& attrs, xmlns_id_t ns, xml_token_t name); 58 xmlns_id_t m_ns; 62 single_double_attr_getter(xmlns_id_t ns, xml_token_t name); [all …]
|
H A D | xlsx_revision_context.hpp | 23 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 24 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 25 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child); 26 …virtual void start_element(xmlns_id_t ns, xml_token_t name, const::std::vector<xml_token_attr_t>& … 27 virtual bool end_element(xmlns_id_t ns, xml_token_t name); 43 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 44 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 45 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child); 46 …virtual void start_element(xmlns_id_t ns, xml_token_t name, const::std::vector<xml_token_attr_t>& … 47 virtual bool end_element(xmlns_id_t ns, xml_token_t name);
|
H A D | opc_context.hpp | 32 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 33 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 34 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base *child); 36 …virtual void start_element(xmlns_id_t ns, xml_token_t name, const::std::vector<xml_token_attr_t> &… 37 virtual bool end_element(xmlns_id_t ns, xml_token_t name); 73 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 74 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 75 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base *child); 77 …virtual void start_element(xmlns_id_t ns, xml_token_t name, const::std::vector<xml_token_attr_t> &… 78 virtual bool end_element(xmlns_id_t ns, xml_token_t name);
|
H A D | gnumeric_namespace_types.cpp | 13 const xmlns_id_t NS_gnumeric_dc = "http://purl.org/dc/elements/1.1/"; 14 const xmlns_id_t NS_gnumeric_gnm = "http://www.gnumeric.org/v10.dtd"; 15 const xmlns_id_t NS_gnumeric_ooo = "http://openoffice.org/2004/office"; 16 const xmlns_id_t NS_gnumeric_xlink = "http://www.w3.org/1999/xlink"; 17 const xmlns_id_t NS_gnumeric_xsi = "http://www.w3.org/2001/XMLSchema-instance"; 21 xmlns_id_t gnumeric_ns[] = { 35 const xmlns_id_t* NS_gnumeric_all = gnumeric_ns;
|
H A D | xlsx_context.hpp | 35 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 36 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 37 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child); 39 virtual void start_element(xmlns_id_t ns, xml_token_t name, const xml_attrs_t& attrs); 40 virtual bool end_element(xmlns_id_t ns, xml_token_t name); 61 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 62 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 63 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child); 65 virtual void start_element(xmlns_id_t ns, xml_token_t name, const xml_attrs_t& attrs); 66 virtual bool end_element(xmlns_id_t ns, xml_token_t name);
|
H A D | gnumeric_namespace_types.hpp | 15 extern const xmlns_id_t NS_gnumeric_dc; 16 extern const xmlns_id_t NS_gnumeric_gnm; 17 extern const xmlns_id_t NS_gnumeric_ooo; 18 extern const xmlns_id_t NS_gnumeric_xlink; 19 extern const xmlns_id_t NS_gnumeric_xsi; 21 extern const xmlns_id_t* NS_gnumeric_all;
|
H A D | xls_xml_namespace_types.cpp | 12 const xmlns_id_t NS_xls_xml_ss = "urn:schemas-microsoft-com:office:spreadsheet"; 13 const xmlns_id_t NS_xls_xml_o ="urn:schemas-microsoft-com:office:office"; 14 const xmlns_id_t NS_xls_xml_x ="urn:schemas-microsoft-com:office:excel"; 15 const xmlns_id_t NS_xls_xml_html ="http://www.w3.org/TR/REC-html40"; 19 xmlns_id_t xls_xml_ns[] = { 29 const xmlns_id_t* NS_xls_xml_all = xls_xml_ns;
|
H A D | xml_context_base.hpp | 44 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const = 0; 58 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name) = 0; 70 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child) = 0; 72 …virtual void start_element(xmlns_id_t ns, xml_token_t name, const ::std::vector<xml_token_attr_t>&… 83 virtual bool end_element(xmlns_id_t ns, xml_token_t name) = 0; 107 xml_token_pair_t push_stack(xmlns_id_t ns, xml_token_t name); 108 bool pop_stack(xmlns_id_t ns, xml_token_t name); 127 const xml_token_pair_t& elem, xmlns_id_t ns, xml_token_t name,
|
H A D | xls_xml_namespace_types.hpp | 15 extern const xmlns_id_t NS_xls_xml_ss; 16 extern const xmlns_id_t NS_xls_xml_o; 17 extern const xmlns_id_t NS_xls_xml_x; 18 extern const xmlns_id_t NS_xls_xml_html; 23 extern const xmlns_id_t* NS_xls_xml_all;
|
H A D | xml_context_global.cpp | 16 single_attr_getter::single_attr_getter(string_pool& pool, xmlns_id_t ns, xml_token_t name) : in single_attr_getter() 19 single_attr_getter::single_attr_getter(xmlns_id_t ns, xml_token_t name) : in single_attr_getter() 41 const std::vector<xml_token_attr_t>& attrs, xmlns_id_t ns, xml_token_t name) in get() 48 const std::vector<xml_token_attr_t>& attrs, string_pool& pool, xmlns_id_t ns, xml_token_t name) in get() 54 single_long_attr_getter::single_long_attr_getter(xmlns_id_t ns, xml_token_t name) : in single_long_attr_getter() 73 long single_long_attr_getter::get(const std::vector<xml_token_attr_t>& attrs, xmlns_id_t ns, xml_to… in get() 79 single_double_attr_getter::single_double_attr_getter(xmlns_id_t ns, xml_token_t name) : in single_double_attr_getter() 98 double single_double_attr_getter::get(const std::vector<xml_token_attr_t>& attrs, xmlns_id_t ns, xm… in get()
|
H A D | ods_dde_links_context.hpp | 25 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const override; 27 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name) override; 29 … virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base *child) override; 31 …virtual void start_element(xmlns_id_t ns, xml_token_t name, const::std::vector<xml_token_attr_t> &… 33 virtual bool end_element(xmlns_id_t ns, xml_token_t name) override;
|
H A D | xlsx_drawing_context.hpp | 30 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 32 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 34 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child); 36 …virtual void start_element(xmlns_id_t ns, xml_token_t name, const::std::vector<xml_token_attr_t>& … 38 virtual bool end_element(xmlns_id_t ns, xml_token_t name);
|
H A D | ods_dde_links_context.cpp | 17 bool ods_dde_links_context::can_handle_element(xmlns_id_t ns, xml_token_t name) const in can_handle_element() 22 xml_context_base* ods_dde_links_context::create_child_context(xmlns_id_t ns, xml_token_t name) in create_child_context() 27 void ods_dde_links_context::end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base *ch… in end_child_context() 31 void ods_dde_links_context::start_element(xmlns_id_t ns, xml_token_t name, const::std::vector<xml_t… in start_element() 39 bool ods_dde_links_context::end_element(xmlns_id_t ns, xml_token_t name) in end_element()
|
H A D | gnumeric_context.hpp | 31 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 32 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 33 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child); 35 virtual void start_element(xmlns_id_t ns, xml_token_t name, const xml_attrs_t& attrs); 36 virtual bool end_element(xmlns_id_t ns, xml_token_t name);
|
H A D | odf_number_formatting_context.hpp | 34 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 35 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 36 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child); 37 …virtual void start_element(xmlns_id_t ns, xml_token_t name, const std::vector<xml_token_attr_t>& a… 38 virtual bool end_element(xmlns_id_t ns, xml_token_t name);
|
H A D | xlsx_table_context.hpp | 33 virtual bool can_handle_element(xmlns_id_t ns, xml_token_t name) const; 34 virtual xml_context_base* create_child_context(xmlns_id_t ns, xml_token_t name); 35 virtual void end_child_context(xmlns_id_t ns, xml_token_t name, xml_context_base* child); 37 virtual void start_element(xmlns_id_t ns, xml_token_t name, const xml_attrs_t& attrs); 38 virtual bool end_element(xmlns_id_t ns, xml_token_t name);
|
/dports/devel/liborcus/liborcus-0.16.1/include/orcus/ |
H A D | xml_namespace.hpp | 34 xmlns_id_t intern(const pstring& uri); 39 size_t get_index(xmlns_id_t ns_id) const; 57 void add_predefined_values(const xmlns_id_t* predefined_ns); 68 xmlns_id_t get_identifier(size_t index) const; 70 std::string get_short_name(xmlns_id_t ns_id) const; 95 xmlns_id_t push(const pstring& key, const pstring& uri); 105 xmlns_id_t get(const pstring& key) const; 115 size_t get_index(xmlns_id_t ns_id) const; 130 std::string get_short_name(xmlns_id_t ns_id) const; 141 pstring get_alias(xmlns_id_t ns_id) const; [all …]
|
/dports/devel/liborcus/liborcus-0.16.1/doc_example/ |
H A D | xml_mapping_1.cpp | 23 xmlns_id_t ns_default = ns_cxt.push( in run_xmlns_example() 26 xmlns_id_t ns_a = ns_cxt.push( in run_xmlns_example() 29 xmlns_id_t ns_r = ns_cxt.push( in run_xmlns_example() 33 for (const xmlns_id_t nsid : {ns_default, ns_a, ns_r}) in run_xmlns_example() 42 for (const xmlns_id_t nsid : ns_cxt.get_all_namespaces()) in run_xmlns_example() 74 xmlns_id_t alias_1, alias_2; in run_xmlns_same_ns_different_aliases() 79 for (const xmlns_id_t nsid : ns_cxt.get_all_namespaces()) in run_xmlns_same_ns_different_aliases() 87 for (const xmlns_id_t nsid : ns_cxt.get_all_namespaces()) in run_xmlns_same_ns_different_aliases() 101 xmlns_id_t alias_1, alias_2; in run_xmlns_different_ns_same_alias() 106 for (const xmlns_id_t nsid : ns_cxt.get_all_namespaces()) in run_xmlns_different_ns_same_alias() [all …]
|
/dports/devel/liborcus/liborcus-0.16.1/src/parser/ |
H A D | xml_namespace.cpp | 69 xmlns_id_t xmlns_repository::intern(const pstring& uri) in intern() 115 const xmlns_id_t* val = &predefined_ns[0]; in add_predefined_values() 173 typedef std::vector<xmlns_id_t> xmlns_list_type; 263 xmlns_id_t xmlns_context::get(const pstring& key) const in get() 321 void operator() (xmlns_id_t ns_id) const in operator ()() 332 xmlns_id_t ns; 351 void operator() (xmlns_id_t ns) in operator ()() 361 std::vector<xmlns_id_t>& m_store; 379 std::vector<xmlns_id_t> nslist; in get_all_namespaces() 410 vector<xmlns_id_t> nslist = get_all_namespaces(); in dump() [all …]
|
H A D | xml_namespace_test.cpp | 33 xmlns_id_t test1 = cxt1.push(empty, xmlns1); // register default namespace. in test_basic() 35 xmlns_id_t test2 = cxt1.push(myns, xmlns2); in test_basic() 42 xmlns_id_t test1 = cxt2.push(empty, xmlns2); // register default namespace. in test_basic() 44 xmlns_id_t test2 = cxt2.push(myns, xmlns1); in test_basic() 61 xmlns_id_t ns; in test_all_namespaces() 70 vector<xmlns_id_t> all_ns = cxt.get_all_namespaces(); in test_all_namespaces() 77 const xmlns_id_t NS_test_name1 = "test:name:1"; 78 const xmlns_id_t NS_test_name2 = "test:name:2"; 79 const xmlns_id_t NS_test_name3 = "test:name:3"; 81 xmlns_id_t NS_test_all[] = { [all …]
|