Home
last modified time | relevance | path

Searched refs:orcus (Results 1 – 25 of 744) sorted by relevance

12345678910>>...30

/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/inc/
H A Dorcusinterface.hxx126 …virtual void set_color(orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t re…
127 orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override;
144 orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override;
147 orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override;
167 virtual void set_range(orcus::spreadsheet::row_t row_start, orcus::spreadsheet::col_t col_start,
168 orcus::spreadsheet::row_t row_end, orcus::spreadsheet::col_t col_end) override;
248 … virtual void set_position(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col) override;
330 … virtual void set_format(orcus::spreadsheet::row_t row_start, orcus::spreadsheet::col_t col_start,
335 …virtual void fill_down_cells(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::…
511 …_fill_fg_color(orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t red, orcus
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/inc/
H A Dorcusinterface.hxx133 …virtual void set_color(orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t re…
134 orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override;
151 orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override;
154 orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override;
174 virtual void set_range(orcus::spreadsheet::row_t row_start, orcus::spreadsheet::col_t col_start,
175 orcus::spreadsheet::row_t row_end, orcus::spreadsheet::col_t col_end) override;
255 … virtual void set_position(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col) override;
337 … virtual void set_format(orcus::spreadsheet::row_t row_start, orcus::spreadsheet::col_t col_start,
342 …virtual void fill_down_cells(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, orcus::…
518 …_fill_fg_color(orcus::spreadsheet::color_elem_t alpha, orcus::spreadsheet::color_elem_t red, orcus
[all …]
/dports/devel/liborcus/liborcus-0.16.1/src/
H A Dodf_styles_context_test.cpp23 const orcus::spreadsheet::cell_style_t* find_cell_style_by_name(const orcus::pstring& name, orcus::… in find_cell_style_by_name()
39 void test_odf_fill(orcus::spreadsheet::styles &styles) in test_odf_fill()
59 void test_odf_border(orcus::spreadsheet::styles &styles) in test_odf_border()
114 void test_odf_cell_protection(orcus::spreadsheet::styles& styles) in test_odf_cell_protection()
156 void test_odf_font(orcus::spreadsheet::styles& styles) in test_odf_font()
336 orcus::string_pool string_pool; in main()
338 orcus::file_content content(path); in main()
339 orcus::spreadsheet::styles styles; in main()
350 orcus::string_pool string_pool2; in main()
352 orcus::file_content content2(path); in main()
[all …]
/dports/devel/liborcus/liborcus-0.16.1/src/liborcus/
H A Dmock_spreadsheet.hpp109 …virtual void set_column_width(orcus::spreadsheet::col_t col, double width, orcus::length_unit_t un…
113 …virtual void set_row_height(orcus::spreadsheet::row_t row, double height, orcus::length_unit_t uni…
172 …virtual void set_auto(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, const char* p,…
174 …virtual void set_string(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, size_t sinde…
176 …virtual void set_value(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, double value)…
178 …virtual void set_bool(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, bool value) ov…
181 orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col,
184 …virtual void set_format(orcus::spreadsheet::row_t row, orcus::spreadsheet::col_t col, size_t xf_in…
186 … virtual void set_format(orcus::spreadsheet::row_t row_start, orcus::spreadsheet::col_t col_start,
187orcus::spreadsheet::row_t row_end, orcus::spreadsheet::col_t col_end, size_t xf_index) override;
[all …]
H A Dodf_helper.hpp16 namespace orcus { namespace
23 orcus::spreadsheet::border_style_t border_style;
32 border_style(orcus::spreadsheet::border_style_t::unknown), in odf_border_details()
39 static bool convert_fo_color(const orcus::pstring& value, orcus::spreadsheet::color_elem_t& red,
40 orcus::spreadsheet::color_elem_t& green, orcus::spreadsheet::color_elem_t& blue);
45 … static orcus::odf_helper::odf_border_details extract_border_details(const orcus::pstring& value);
47 … static orcus::spreadsheet::underline_width_t extract_underline_width(const orcus::pstring& value);
49 static orcus::spreadsheet::underline_t extract_underline_style(const orcus::pstring& value);
51 static bool extract_hor_alignment_style(const orcus::pstring& value,
54 static bool extract_ver_alignment_style(const orcus::pstring& value,
H A Dgnumeric_cell_context_test.cpp20 using namespace orcus;
172 orcus::gnumeric_cell_context context(cxt, orcus::gnumeric_tokens, &factory, &sheet); in test_cell_value()
176 orcus::xml_attrs_t attrs; in test_cell_value()
191 orcus::gnumeric_cell_context context(cxt, orcus::gnumeric_tokens, &factory, &sheet); in test_cell_bool()
195 orcus::xml_attrs_t attrs; in test_cell_bool()
210 orcus::gnumeric_cell_context context(cxt, orcus::gnumeric_tokens, &factory, &sheet); in test_cell_string()
214 orcus::xml_attrs_t attrs; in test_cell_string()
264 orcus::gnumeric_cell_context context(cxt, orcus::gnumeric_tokens, &factory, &sheet); in test_shared_formula_with_string()
268 orcus::xml_attrs_t attrs; in test_shared_formula_with_string()
314 orcus::gnumeric_cell_context context(cxt, orcus::gnumeric_tokens, &factory, &sheet); in test_shared_formula_without_string()
[all …]
H A Dxlsx_sheet_context_test.cpp17 using namespace orcus;
149 orcus::xlsx_sheet_context context(cxt, orcus::ooxml_tokens, 0, resolver, sheet); in test_cell_value()
154 orcus::xml_attrs_t attrs; in test_cell_value()
175 orcus::xlsx_sheet_context context(cxt, orcus::ooxml_tokens, 0, resolver, sheet); in test_cell_bool()
180 orcus::xml_attrs_t attrs; in test_cell_bool()
202 orcus::xlsx_sheet_context context(cxt, orcus::ooxml_tokens, 0, resolver, sheet); in test_array_formula()
207 orcus::xml_attrs_t attrs; in test_array_formula()
236 orcus::xlsx_sheet_context context(cxt, orcus::ooxml_tokens, 0, resolver, sheet); in test_hidden_col()
241 orcus::xml_attrs_t attrs; in test_hidden_col()
257 orcus::xlsx_sheet_context context(cxt, orcus::ooxml_tokens, 0, resolver, sheet); in test_hidden_row()
[all …]
H A Dgnumeric_sheet_context_test.cpp20 using namespace orcus;
22 using namespace orcus::spreadsheet;
23 using namespace orcus::spreadsheet::mock;
86 orcus::gnumeric_sheet_context context(cxt, orcus::gnumeric_tokens, &factory, 0); in test_column_width()
87 orcus::xmlns_id_t ns = NS_gnumeric_gnm; in test_column_width()
88 orcus::xml_token_t parent = XML_Sheet; in test_column_width()
89 orcus::xml_attrs_t parent_attr; in test_column_width()
92 orcus::xml_token_t elem = XML_Name; in test_column_width()
93 orcus::xml_attrs_t attrs; in test_column_width()
99 orcus::xml_token_t elem = XML_ColInfo; in test_column_width()
[all …]
H A Dodf_helper.cpp17 namespace orcus { namespace
85 bool is_valid_hex_digit(const char& character, orcus::spreadsheet::color_elem_t& val) in is_valid_hex_digit()
122 bool odf_helper::convert_fo_color(const pstring& value, orcus::spreadsheet::color_elem_t& red, in convert_fo_color()
123 orcus::spreadsheet::color_elem_t& green, orcus::spreadsheet::color_elem_t& blue) in convert_fo_color()
141 orcus::odf_helper::odf_border_details odf_helper::extract_border_details(const orcus::pstring &valu… in extract_border_details()
143 orcus::odf_helper::odf_border_details border_details; in extract_border_details()
145 std::vector<pstring> detail = orcus::string_helper::split_string(value,' '); in extract_border_details()
152 border_details.border_width = orcus::to_length(sub_detail); in extract_border_details()
163 orcus::spreadsheet::underline_width_t odf_helper::extract_underline_width(const orcus::pstring& val… in extract_underline_width()
165 orcus::spreadsheet::underline_width_t underline_width; in extract_underline_width()
[all …]
/dports/devel/liborcus/liborcus-0.16.1/src/python/
H A Dpython.cpp40 namespace orcus { namespace python { namespace
118 os << orcus::get_version_major() << '.' in populate_module_attributes()
120 << orcus::get_version_micro(); in populate_module_attributes()
155 if (!orcus::python::add_type_to_module(m, orcus::python::get_document_type(), "Document")) in PyInit__orcus()
158 if (!orcus::python::add_type_to_module(m, orcus::python::get_sheet_type(), "Sheet")) in PyInit__orcus()
161 if (!orcus::python::add_type_to_module(m, orcus::python::get_sheet_rows_type(), "SheetRows")) in PyInit__orcus()
164 if (!orcus::python::add_type_to_module(m, orcus::python::get_cell_type(), "Cell")) in PyInit__orcus()
167 … if (!orcus::python::add_type_to_module(m, orcus::python::get_named_exp_type(), "NamedExpression")) in PyInit__orcus()
170 …if (!orcus::python::add_type_to_module(m, orcus::python::get_named_exps_type(), "NamedExpressions"… in PyInit__orcus()
173 …if (!orcus::python::add_type_to_module(m, orcus::python::get_formula_token_type(), "FormulaToken")) in PyInit__orcus()
[all …]
H A DMakefile.am73 ./orcus/__init__.py \
74 ./orcus/csv.py \
76 ./orcus/json.py \
77 ./orcus/ods.py \
78 ./orcus/xls_xml.py \
79 ./orcus/xlsx.py
88 ./orcus/csv.py \
90 ./orcus/json.py \
91 ./orcus/ods.py \
92 ./orcus/xls_xml.py \
[all …]
/dports/devel/liborcus/liborcus-0.16.1/doc/cpp/parser/
H A Dutil.rst6 .. doxygenclass:: orcus::pstring
9 .. doxygenclass:: orcus::string_pool
12 .. doxygenclass:: orcus::tokens
15 .. doxygenclass:: orcus::cell_buffer
18 .. doxygenclass:: orcus::zip_archive
25 .. doxygentypedef:: orcus::xml_token_t
27 .. doxygentypedef:: orcus::xmlns_id_t
29 .. doxygenstruct:: orcus::xml_name_t
31 .. doxygenstruct:: orcus::xml_token_attr_t
37 .. doxygenenum:: orcus::length_unit_t
[all …]
H A Dxml.rst6 .. doxygenclass:: orcus::sax_parser
9 .. doxygenclass:: orcus::sax_ns_parser
12 .. doxygenclass:: orcus::sax_token_parser
19 .. doxygenclass:: orcus::sax_handler
22 .. doxygenclass:: orcus::sax_ns_handler
25 .. doxygenclass:: orcus::sax_token_handler
32 .. doxygenclass:: orcus::xmlns_repository
35 .. doxygenclass:: orcus::xmlns_context
/dports/devel/liborcus/liborcus-0.16.1/doc/cpp/model/
H A Djson.rst7 .. doxygenclass:: orcus::json::document_tree
10 .. doxygenstruct:: orcus::json_config
13 .. doxygenclass:: orcus::json::const_node
16 .. doxygenclass:: orcus::json::node
19 .. doxygenclass:: orcus::json::array
22 .. doxygenclass:: orcus::json::object
25 .. doxygenclass:: orcus::json::detail::init::node
28 .. doxygenenum:: orcus::json::node_t
29 :project: orcus
33 .. doxygenclass:: orcus::json::document_error
[all …]
H A Dspreadsheet.rst9 .. doxygenclass:: orcus::spreadsheet::document
16 .. doxygenclass:: orcus::spreadsheet::sheet
23 .. doxygenstruct:: orcus::spreadsheet::pivot_cache_record_value_t
26 .. doxygenstruct:: orcus::spreadsheet::pivot_cache_item_t
29 .. doxygenstruct:: orcus::spreadsheet::pivot_cache_group_data_t
32 .. doxygenstruct:: orcus::spreadsheet::pivot_cache_field_t
35 .. doxygenclass:: orcus::spreadsheet::pivot_cache
38 .. doxygenclass:: orcus::spreadsheet::pivot_collection
45 .. doxygenclass:: orcus::spreadsheet::import_factory
/dports/devel/liborcus/liborcus-0.16.1/src/parser/
H A Dparser_test_json_validation.cpp364 orcus::json_handler hdl; in test_pass()
372 orcus::json_parser<orcus::json_handler> parser(content.c_str(), content.size(), hdl); in test_pass()
375 catch (const orcus::json::parse_error& e) in test_pass()
378 std::cout << orcus::create_parse_error_output(content, e.offset()) << std::endl; in test_pass()
386 orcus::json_handler hdl; in test_fail()
394 orcus::json_parser<orcus::json_handler> parser(content.c_str(), content.size(), hdl); in test_fail()
397 catch (const orcus::parse_error&) in test_fail()
412 orcus::json_handler hdl; in test_indeterminate()
419 orcus::json_parser<orcus::json_handler> parser(content.c_str(), content.size(), hdl); in test_indeterminate()
422 catch (const orcus::parse_error&) in test_indeterminate()
H A Dsax_parser_test.cpp18 orcus::sax_handler hdl; in test_handler()
19 orcus::sax_parser<orcus::sax_handler> parser(test_code, len, hdl); in test_handler()
25 struct _handler : public orcus::sax_handler in test_transient_stream()
27 void characters(const orcus::pstring& val, bool transient) in test_transient_stream()
42 void attribute(const orcus::sax::parser_attribute& attr) in test_transient_stream()
71 orcus::sax_parser<_handler> parser(content, strlen(content), hdl.transient_stream, hdl); in test_transient_stream()
85 struct _handler : public orcus::sax_handler {}; in test_attr_equal_with_whitespace()
93 orcus::sax_parser<_handler> parser(content, strlen(content), hdl); in test_attr_equal_with_whitespace()
99 struct _handler : public orcus::sax_handler in test_attr_with_encoded_chars_single_quotes()
101 void attribute(const orcus::sax::parser_attribute& attr) in test_attr_with_encoded_chars_single_quotes()
[all …]
H A Dsax_token_parser_test.cpp17 using namespace orcus;
24 orcus::sax_token_handler hdl; in test_handler()
25 orcus::tokens token_map(nullptr, 0); in test_handler()
26 orcus::xmlns_repository repo; in test_handler()
27 orcus::xmlns_context cxt = repo.create_context(); in test_handler()
28 orcus::sax_token_parser<orcus::sax_token_handler> parser(test_code, len, token_map, cxt, hdl); in test_handler()
89 void declaration(const orcus::xml_declaration_t&) {} in test_sax_token_parser_1()
99 void end_element(const orcus::xml_token_element_t& elem) in test_sax_token_parser_1()
133 orcus::pstring str; in test_unicode_string()
135 handler(orcus::pstring _str): in test_unicode_string()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sc/source/filter/orcus/
H A Dinterface.cxx54 namespace os = orcus::spreadsheet;
114 case orcus::character_set_t::utf_7: in set_character_set()
368 orcus::spreadsheet::iface::import_sheet* ScOrcusFactory::get_sheet(orcus::spreadsheet::sheet_t shee… in get_sheet()
705 case orcus::length_unit_t::inch: in translateToInternal()
707 case orcus::length_unit_t::twip: in translateToInternal()
709 case orcus::length_unit_t::point: in translateToInternal()
1228 orcus::spreadsheet::range_size_t ret; in get_sheet_size()
1666 …if (e == orcus::spreadsheet::underline_width_t::bold || e == orcus::spreadsheet::underline_width_t… in set_font_underline_width()
1823orcus::spreadsheet::color_elem_t /*alpha*/, orcus::spreadsheet::color_elem_t red, orcus::spreadshe… in set_fill_fg_color()
1831orcus::spreadsheet::color_elem_t /*alpha*/, orcus::spreadsheet::color_elem_t red, orcus::spreadshe… in set_fill_bg_color()
[all …]
H A Dxmlcontext.cxx51 …const orcus::xml_structure_tree::entity_name& entity, const orcus::xml_structure_tree::walker& wal… in setEntityNameToUserData()
56 OUString toString(const orcus::xml_structure_tree::entity_name& entity, const orcus::xml_structure_… in toString()
174 orcus::xmlns_context cxt = maNsRepo.create_context(); in loadXMLStructure()
175 orcus::xml_structure_tree aXmlTree(cxt); in loadXMLStructure()
189 catch (const orcus::sax::malformed_xml_error& e) in loadXMLStructure()
208 orcus::orcus_xml& mrFilter;
209 orcus::xmlns_repository& mrNsRepo;
211 SetNamespaceAlias(orcus::orcus_xml& filter, orcus::xmlns_repository& repo) : in SetNamespaceAlias()
217 if (nsid == orcus::XMLNS_UNKNOWN_ID) in operator ()()
240 orcus::orcus_xml filter(maNsRepo, &aFactory, nullptr); in importXML()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sc/source/filter/orcus/
H A Dinterface.cxx52 namespace os = orcus::spreadsheet;
112 case orcus::character_set_t::utf_7: in set_character_set()
333 orcus::spreadsheet::iface::import_sheet* ScOrcusFactory::get_sheet(orcus::spreadsheet::sheet_t shee… in get_sheet()
670 case orcus::length_unit_t::inch: in translateToInternal()
673 case orcus::length_unit_t::twip: in translateToInternal()
676 case orcus::length_unit_t::point: in translateToInternal()
1197 orcus::spreadsheet::range_size_t ret; in get_sheet_size()
1633 …if (e == orcus::spreadsheet::underline_width_t::bold || e == orcus::spreadsheet::underline_width_t… in set_font_underline_width()
1790orcus::spreadsheet::color_elem_t /*alpha*/, orcus::spreadsheet::color_elem_t red, orcus::spreadshe… in set_fill_fg_color()
1798orcus::spreadsheet::color_elem_t /*alpha*/, orcus::spreadsheet::color_elem_t red, orcus::spreadshe… in set_fill_bg_color()
[all …]
H A Dxmlcontext.cxx51 …const orcus::xml_structure_tree::entity_name& entity, const orcus::xml_structure_tree::walker& wal… in setEntityNameToUserData()
56 OUString toString(const orcus::xml_structure_tree::entity_name& entity, const orcus::xml_structure_… in toString()
92 orcus::xml_structure_tree::entity_names_type aNames; in populateTree()
175 orcus::xmlns_context cxt = maNsRepo.create_context(); in loadXMLStructure()
176 orcus::xml_structure_tree aXmlTree(cxt); in loadXMLStructure()
190 catch (const orcus::sax::malformed_xml_error& e) in loadXMLStructure()
209 orcus::orcus_xml& mrFilter;
210 orcus::xmlns_repository& mrNsRepo;
212 SetNamespaceAlias(orcus::orcus_xml& filter, orcus::xmlns_repository& repo) : in SetNamespaceAlias()
218 if (nsid == orcus::XMLNS_UNKNOWN_ID) in operator ()()
[all …]
/dports/devel/liborcus/liborcus-0.16.1/doc/cpp/filter/
H A Dindex.rst9 .. doxygenclass:: orcus::orcus_csv
16 .. doxygenclass:: orcus::orcus_ods
19 .. doxygenclass:: orcus::import_ods
26 .. doxygenclass:: orcus::orcus_xls_xml
33 .. doxygenclass:: orcus::orcus_xlsx
36 .. doxygenclass:: orcus::import_xlsx
43 .. doxygenclass:: orcus::orcus_gnumeric
50 .. doxygenclass:: orcus::orcus_xml
/dports/devel/liborcus/liborcus-0.16.1/doc_example/
H A Djson_doc_2.cpp11 orcus::json::document_tree doc = { in example_root_list()
20 orcus::json::document_tree doc = { in example_list_nested()
30 orcus::json::document_tree doc = { in example_list_object()
40 orcus::json::document_tree doc = { in example_list_object_2()
55 orcus::json::document_tree doc = { in example_array_ambiguous()
62 using namespace orcus; in example_array_explicit()
73 using namespace orcus; in example_object_ambiguous()
89 using namespace orcus; in example_object_explicit_1()
98 using namespace orcus; in example_object_explicit_2()
111 using namespace orcus; in example_root_object_add_child()
[all …]
/dports/devel/liborcus/liborcus-0.16.1/doc/overview/
H A Djson.rst38 #include <orcus/config.hpp>
39 #include <orcus/pstring.hpp>
111 #include <orcus/json_parser.hpp>
112 #include <orcus/pstring.hpp>
159 :cpp:func:`~orcus::json_handler::string`, and :cpp:func:`~orcus::json_handler::number`
316 using namespace orcus;
338 using namespace orcus;
367 using namespace orcus;
383 using namespace orcus;
412 using namespace orcus;
[all …]

12345678910>>...30