/usr/include/libspreadsheet-1.12/spreadsheet/gnm-sheet-slicer.h is in gnumeric 1.12.28-1.
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 | /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* gnm-sheet-slicer.h : Gnumeric specific display for goffice's DataSlicers
*
* Copyright (C) 2008 Jody Goldberg (jody@gnome.org)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
#ifndef GNM_SHEET_SLICER_H
#define GNM_SHEET_SLICER_H
#include <gnumeric.h>
#include "goffice-data.h"
#include <glib-object.h>
G_BEGIN_DECLS
#define GNM_SHEET_SLICER_TYPE (gnm_sheet_slicer_get_type ())
#define GNM_SHEET_SLICER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_SHEET_SLICER_TYPE, GnmSheetSlicer))
#define GNM_IS_SHEET_SLICER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_SHEET_SLICER_TYPE))
GType gnm_sheet_slicer_get_type (void);
typedef enum {
GSS_LAYOUT_XL_OUTLINE = 0,
GSS_LAYOUT_XL_COMPACT = 1,
GSS_LAYOUT_XL_TABULAR = 2,
GSS_LAYOUT_MAX
} GnmSheetSlicerLayout;
void gnm_sheet_slicer_set_sheet (GnmSheetSlicer *gss, Sheet *sheet);
void gnm_sheet_slicer_clear_sheet (GnmSheetSlicer *gss);
GnmRange const *gnm_sheet_slicer_get_range (GnmSheetSlicer const *src);
void gnm_sheet_slicer_set_range (GnmSheetSlicer *gss, GnmRange const *r);
GnmSheetSlicerLayout
gnm_sheet_slicer_get_layout (GnmSheetSlicer const *src);
void gnm_sheet_slicer_set_layout (GnmSheetSlicer *gss, GnmSheetSlicerLayout l);
#ifndef GOFFICE_NAMESPACE_DISABLE
GODataSlicerField *gnm_sheet_slicer_field_header_at_pos (GnmSheetSlicer const *gss, GnmCellPos const *pos);
#endif
void gnm_sheet_slicer_regenerate (GnmSheetSlicer *gss);
/* Convenience */
gboolean gnm_sheet_slicer_overlaps_range (GnmSheetSlicer const *gss, GnmRange const *r);
/* Scripting */
GType gnm_sheet_slicer_layout_get_type (void);
/* Sheet Utilities */
GnmSheetSlicer * gnm_sheet_slicers_at_pos (Sheet const *sheet, GnmCellPos const *pos);
G_END_DECLS
#endif /* GNM_SHEET_SLICER_H */
|