/usr/include/liborcus-0.8/orcus/spreadsheet/types.hpp is in liborcus-dev 0.7.0+dfsg-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef ORCUS_SPREADSHEET_TYPES_HPP
#define ORCUS_SPREADSHEET_TYPES_HPP
#include "../env.hpp"
#include <cstdlib>
namespace orcus { namespace spreadsheet {
typedef int row_t;
typedef int col_t;
typedef int sheet_t;
typedef unsigned char color_elem_t;
typedef unsigned short col_width_t;
typedef unsigned short row_height_t;
ORCUS_DLLPUBLIC col_width_t get_default_column_width();
ORCUS_DLLPUBLIC row_height_t get_default_row_height();
enum border_direction_t
{
border_direction_unknown = 0,
border_top,
border_bottom,
border_left,
border_right,
border_diagonal
};
enum formula_grammar_t
{
xlsx_2007,
xlsx_2010,
ods,
gnumeric
};
enum formula_t
{
formula_array,
formula_data_table,
formula_normal,
formula_shared
};
enum underline_t
{
underline_none,
underline_single,
underline_single_accounting, // unique to xlsx
underline_double,
underline_double_accounting // unique to xlsx
};
enum hor_alignment_t
{
hor_alignment_unknown = 0,
hor_alignment_left,
hor_alignment_center,
hor_alignment_right,
hor_alignment_justified,
hor_alignment_distributed,
hor_alignment_filled
};
enum ver_alignment_t
{
ver_alignment_unknown = 0,
ver_alignment_top,
ver_alignment_middle,
ver_alignment_bottom,
ver_alignment_justified,
ver_alignment_distributed
};
/**
* Type of data table. A data table can be either of a single-variable
* column, a single-variable row, or a double-variable type that uses both
* column and row input cells.
*/
enum data_table_type_t
{
data_table_column,
data_table_row,
data_table_both
};
}}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|