/usr/include/libgoffice-0.10/goffice/utils/goffice-utils.h is in libgoffice-0.10-dev 0.10.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 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 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 | /*
* goffice-utils.h:
*
* Copyright (C) 2003-2004 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 GOFFICE_UTILS_H
#define GOFFICE_UTILS_H
#include <glib.h>
G_BEGIN_DECLS
typedef guint32 GOColor;
typedef struct _GOBezierSpline GOBezierSpline;
typedef struct _GOEditor GOEditor;
typedef struct _GOFont GOFont;
typedef struct _GOFontMetrics GOFontMetrics;
typedef struct _GOPattern GOPattern;
typedef struct _GOMarker GOMarker;
typedef struct _GOFormat GOFormat;
typedef struct _GODateConventions GODateConventions;
typedef struct _GOImage GOImage;
typedef struct _GOPixbuf GOPixbuf;
typedef struct _GOSvg GOSvg;
typedef struct _GOEmf GOEmf;
typedef struct _GOSpectre GOSpectre;
typedef struct _GOPath GOPath;
typedef struct _GOString GOString;
typedef struct _GOStyle GOStyle;
typedef struct _GOStyledObject GOStyledObject;
/* rename this */
typedef struct _GOMemChunk GOMemChunk;
typedef const char *(*GOTranslateFunc)(char const *path, gpointer func_data);
typedef enum {
GO_LINE_NONE,
GO_LINE_SOLID,
GO_LINE_S_DOT,
GO_LINE_S_DASH_DOT,
GO_LINE_S_DASH_DOT_DOT,
GO_LINE_DASH_DOT_DOT_DOT,
GO_LINE_DOT,
GO_LINE_S_DASH,
GO_LINE_DASH,
GO_LINE_LONG_DASH,
GO_LINE_DASH_DOT,
GO_LINE_DASH_DOT_DOT,
GO_LINE_MAX
} GOLineDashType;
typedef enum {
GO_LINE_INTERPOLATION_LINEAR,
GO_LINE_INTERPOLATION_SPLINE,
GO_LINE_INTERPOLATION_CLOSED_SPLINE,
GO_LINE_INTERPOLATION_CUBIC_SPLINE,
GO_LINE_INTERPOLATION_PARABOLIC_CUBIC_SPLINE,
GO_LINE_INTERPOLATION_CUBIC_CUBIC_SPLINE,
GO_LINE_INTERPOLATION_CLAMPED_CUBIC_SPLINE,
GO_LINE_INTERPOLATION_STEP_START,
GO_LINE_INTERPOLATION_STEP_END,
GO_LINE_INTERPOLATION_STEP_CENTER_X,
GO_LINE_INTERPOLATION_STEP_CENTER_Y,
GO_LINE_INTERPOLATION_ODF_SPLINE,
GO_LINE_INTERPOLATION_MAX
} GOLineInterpolation;
typedef enum
{
GO_ANCHOR_CENTER,
GO_ANCHOR_NORTH,
GO_ANCHOR_NORTH_WEST,
GO_ANCHOR_NORTH_EAST,
GO_ANCHOR_SOUTH,
GO_ANCHOR_SOUTH_WEST,
GO_ANCHOR_SOUTH_EAST,
GO_ANCHOR_WEST,
GO_ANCHOR_EAST,
GO_ANCHOR_BASELINE_CENTER,
GO_ANCHOR_BASELINE_WEST,
GO_ANCHOR_BASELINE_EAST,
GO_ANCHOR_N = GO_ANCHOR_NORTH,
GO_ANCHOR_NW = GO_ANCHOR_NORTH_WEST,
GO_ANCHOR_NE = GO_ANCHOR_NORTH_EAST,
GO_ANCHOR_S = GO_ANCHOR_SOUTH,
GO_ANCHOR_SW = GO_ANCHOR_SOUTH_WEST,
GO_ANCHOR_SE = GO_ANCHOR_SOUTH_EAST,
GO_ANCHOR_W = GO_ANCHOR_WEST,
GO_ANCHOR_E = GO_ANCHOR_EAST,
GO_ANCHOR_B = GO_ANCHOR_BASELINE_CENTER,
GO_ANCHOR_BW = GO_ANCHOR_BASELINE_WEST,
GO_ANCHOR_BE = GO_ANCHOR_BASELINE_EAST
} GOAnchorType;
typedef enum {
GOD_ANCHOR_DIR_UNKNOWN = 0xFF,
GOD_ANCHOR_DIR_UP_LEFT = 0x00,
GOD_ANCHOR_DIR_UP_RIGHT = 0x01,
GOD_ANCHOR_DIR_DOWN_LEFT = 0x10,
GOD_ANCHOR_DIR_DOWN_RIGHT = 0x11,
GOD_ANCHOR_DIR_NONE_MASK = 0x00,
GOD_ANCHOR_DIR_H_MASK = 0x01,
GOD_ANCHOR_DIR_RIGHT = 0x01,
GOD_ANCHOR_DIR_V_MASK = 0x10,
GOD_ANCHOR_DIR_DOWN = 0x10
} GODrawingAnchorDir;
typedef struct _GODrawingAnchor {
int pos_pts [4]; /* position in points */
GODrawingAnchorDir direction;
} GODrawingAnchor;
typedef enum {
GO_FONT_SCRIPT_SUB = -1,
GO_FONT_SCRIPT_STANDARD = 0,
GO_FONT_SCRIPT_SUPER = 1
} GOFontScript;
typedef enum {
GO_RESOURCE_NATIVE,
GO_RESOURCE_RO,
GO_RESOURCE_RW,
GO_RESOURCE_CHILD,
GO_RESOURCE_EXTERNAL,
GO_RESOURCE_GENERATED,
GO_RESOURCE_INVALID
} GoResourceType;
G_END_DECLS
#include <goffice/goffice.h>
#include <goffice/utils/datetime.h>
#include <goffice/utils/go-bezier.h>
#include <goffice/utils/go-cairo.h>
#include <goffice/utils/go-color.h>
#include <goffice/utils/go-editor.h>
#include <goffice/utils/go-file.h>
#include <goffice/utils/go-font.h>
#include <goffice/utils/go-format.h>
#include <goffice/utils/go-geometry.h>
#include <goffice/utils/go-glib-extras.h>
#include <goffice/utils/go-gdk-pixbuf.h>
#include <goffice/utils/go-gradient.h>
#include <goffice/utils/go-image.h>
#include <goffice/utils/go-pixbuf.h>
#include <goffice/utils/go-svg.h>
#include <goffice/utils/go-emf.h>
#include <goffice/utils/go-spectre.h>
#include <goffice/utils/go-libxml-extras.h>
#include <goffice/utils/go-line.h>
#include <goffice/utils/go-locale.h>
#include <goffice/utils/go-marker.h>
#include <goffice/utils/go-mml-to-itex.h>
#include <goffice/utils/go-pango-extras.h>
#include <goffice/utils/go-path.h>
#include <goffice/utils/go-pattern.h>
#include <goffice/utils/go-persist.h>
#include <goffice/utils/go-rsm.h>
#include <goffice/utils/go-string.h>
#include <goffice/utils/go-styled-object.h>
#include <goffice/utils/go-style.h>
#include <goffice/utils/go-undo.h>
#include <goffice/utils/go-unit.h>
#include <goffice/utils/go-units.h>
#include <goffice/utils/regutf8.h>
GType go_resource_type_get_type (void);
char *go_uuid (void);
#endif /* GOFFICE_UTILS_H */
|