Enums

Details

class GOffice.ActionComboTextSearchDir(value)

Bases: GLib.Enum

FROM_TOP = 0

search from the top of the list.

CURRENT = 1

search from the current selection.

NEXT = 2

search from the next element after current.

class GOffice.AnchorType(value)

Bases: GLib.Enum

CENTER = 0

anchor center.

N = 1

anchor top.

NORTH = 1

anchor top.

BASELINE_WEST = 10

anchor left on baseline

BW = 10

synonym for GOffice.AnchorType.BASELINE_WEST

BASELINE_EAST = 11

anchor right on baseline

BE = 11

synonym for GOffice.AnchorType.BASELINE_EAST

NORTH_WEST = 2

anchor top left.

NW = 2

anchor top left.

NE = 3

anchor top left.

NORTH_EAST = 3

anchor top left.

S = 4

anchor bottom.

SOUTH = 4

anchor bottom.

SOUTH_WEST = 5

anchor bottom left.

SW = 5

anchor bottom left.

SE = 6

anchor bottom left.

SOUTH_EAST = 6

anchor bottom left.

W = 7

anchor left.

WEST = 7

anchor left.

E = 8

anchor right.

EAST = 8

anchor right.

B = 9

synonym for GOffice.AnchorType.BASELINE_CENTER

BASELINE_CENTER = 9

anchor centered on baseline

class GOffice.ArrowType(value)

Bases: GLib.Enum

NONE = 0

no arrow head.

KITE = 1

kite head.

OVAL = 2

oval head.

class GOffice.BasisType(value)

Bases: GLib.Enum

MSRB_30_360 = 0

US 30/360 (days in a month/days in a year)

ACT_ACT = 1

actual days/actual days

ACT_360 = 2

actual days/360

ACT_365 = 3

actual days/365

30E_360 = 4
_30E_360 = 4

European 30/360

30EP_360 = 5
_30EP_360 = 5

?

MSRB_30_360_SYM = 6

?

class GOffice.CSplineType(value)

Bases: GLib.Enum

NATURAL = 0

natural.

PARABOLIC = 1

parabolic.

CUBIC = 2

cubic.

CLAMPED = 3

clamped.

class GOffice.CanvasDirection(value)

Bases: GLib.Enum

LTR = 0

Left to right direction

RTL = 1

Right to left direction

MAX = 2

First invalid GOffice.value

class GOffice.CharmapSelTestDirection(value)

Bases: GLib.Enum

TO_UTF8 = 0

to UTF-8.

FROM_UTF8 = 1

from UTF-8.

class GOffice.Direction(value)

Bases: GObject.GEnum

classmethod get_name(d)
Parameters:

d (GOffice.Direction) –

Return type:

str

classmethod is_forward(d)
Parameters:

d (GOffice.Direction) – GOffice.Direction

Returns:

True for GOffice.Direction.DOWN or GOffice.Direction.RIGHT.

Return type:

bool

classmethod is_horizontal(d)
Parameters:

d (GOffice.Direction) – GOffice.Direction

Returns:

True for GOffice.Direction.LEFT and GOffice.Direction.RIGHT.

Return type:

bool

UP = 0

up.

DOWN = 1

down.

LEFT = 2

left.

RIGHT = 3

right.

NONE = 4

no direction.

class GOffice.DistributionType(value)

Bases: GLib.Enum

INVALID = -1
NORMAL = 0

Normal.

UNIFORM = 1

Uniform.

CAUCHY = 2

Cauchy.,

WEIBULL = 3

Weibull.

LOGNORMAL = 4

Lognormal.

MAX = 5
class GOffice.DocControlState(value)

Bases: GLib.Enum

NORMAL = 0

normal.

FULLSCREEN = 1

full screen.

MAX = 2

maximum GOffice.value, shoulkd not happen.

class GOffice.DotDot(value)

Bases: GLib.Enum

SYNTACTIC = 0

assume no symlinks.

TEST = 1

check.

LEAVE = 2

leave alone.

class GOffice.DrawingAnchorDir(value)

Bases: GLib.Enum

NONE_MASK = 0

mask for none.

UP_LEFT = 0

up left.

H_MASK = 1

horizontal mask.

RIGHT = 1

right

UP_RIGHT = 1

up right.

DOWN = 16

down

DOWN_LEFT = 16

down left.

V_MASK = 16

vertical mask.

DOWN_RIGHT = 17

down right.

UNKNOWN = 255

unknown.

class GOffice.FileFormatLevel(value)

Bases: GObject.GEnum

File format levels. They are ordered. When we save a file, we remember the name, but not if we already have a name at a higher level. When created, workbooks are assigned a name at level GOffice.FileFormatLevel.NEW.

NONE = 0

no name assigned, won’t happen.

WRITE_ONLY = 1

PostScript etc, won’t be remembered.

NEW = 2

Wb just created.

MANUAL = 3

Save gets punted to save as.

MANUAL_REMEMBER = 4

Ditto, but remember in history.

AUTO = 5

Save will save to this filename.

class GOffice.FileProbeLevel(value)

Bases: GLib.Enum

File probe level tells file opener (its probe method to be exact), how hard it should try to recognize the type of the file. File openers may ignore this or support only some probe levels, but if specifies “reccomened” behaviour. Before opening any file we detect its type by calling probe for every registered file opener (in order of priority) and passing GOffice.FileProbeLevel.FILE_NAME as probe level. If none of them recogizes the file, we increase probe level and try again…

FILE_NAME = 0

Test only file name, don’t read file contents

CONTENT = 1

Read the whole file if it’s necessary

LAST = 2

Invalid

class GOffice.FileSaveScope(value)

Bases: GObject.GEnum

GOffice.FileSaveScope specifies what information file saver can save in a file. Many savers can save the whole GOffice.workbook (with all sheets), but others save only current sheet, usually because of file format limitations.

WORKBOOK = 0

save the whole file.

SHEET = 1

save only current page.

RANGE = 2

save only a selected range.

class GOffice.FontScript(value)

Bases: GLib.Enum

SUB = -1

subscript.

STANDARD = 0

normal.

SUPER = 1

superscript.

class GOffice.FormatFamily(value)

Bases: GLib.Enum

UNKNOWN = -1

unknown ,should not occur.

GENERAL = 0

general.

NUMBER = 1

number.

SPECIAL = 10

custom.

CURRENCY = 2

currency.

ACCOUNTING = 3

accounting.

DATE = 4

date.

TIME = 5

tipe.

PERCENTAGE = 6

percentage.

FRACTION = 7

fraction.

SCIENTIFIC = 8

scientific.

TEXT = 9

text.

class GOffice.FormatMagic(value)

Bases: GLib.Enum

NONE = 0

none.

LONG_TIME = 62464

long time (Official).

MEDIUM_TIME = 62705

medium time.

SHORT_TIME = 62706

short time.

LONG_DATE = 63488

long date (Official).

MEDIUM_DATE = 63729

medium date.

SHORT_DATE = 63730

short date.

SHORT_DATETIME = 63738

short date with time.

class GOffice.FormatNumberError(value)

Bases: GLib.Enum

OK = 0

no error.

INVALID_FORMAT = 1

invalid format.

DATE_ERROR = 2

date error.

class GOffice.GeometryRotationType(value)

Bases: GLib.Enum

NONE = 0

no rotation.

COUNTERCLOCKWISE = 1

counter clockwise.

UPSIDEDOWN = 2

upside down.

CLOCKWISE = 3

clockwise.

FREE = 4

free rotation.

class GOffice.GradientDirection(value)

Bases: GLib.Enum

N_TO_S = 0

top to bottom.

S_TO_N = 1

bottom to top.

NW_TO_SE_MIRRORED = 10

top left to bottom right, mirrored.

SE_TO_NW_MIRRORED = 11

bottom right to top left, mirrored.

NE_TO_SW = 12

top right to bottom left.

SW_TO_NE = 13

bottom left to top right.

SW_TO_NE_MIRRORED = 14

top right to bottom left, mirrored.

NE_TO_SW_MIRRORED = 15

bottom left to top right, mirrored.

MAX = 16

maximum GOffice.value, should not occur. } ;

N_TO_S_MIRRORED = 2

top to bottom, mirrored.

S_TO_N_MIRRORED = 3

bottom to top, mirrored.

W_TO_E = 4

left to right.

E_TO_W = 5

right to left.

W_TO_E_MIRRORED = 6

left to right, mirrored.

E_TO_W_MIRRORED = 7

right to left, mirrored.

NW_TO_SE = 8

top left to bottom right.

SE_TO_NW = 9

bottom right to top left.

class GOffice.GraphAxisElemType(value)

Bases: GLib.Enum

The indices of the GOffice.Data associated to the axis.

MIN = 0

minimum GOffice.value.

MAX = 1

maximum GOffice.value.

MAJOR_TICK = 2

distance between two major ticks.

MINOR_TICK = 3

distance between two minor ticks.

CROSS_POINT = 4

position of the other axis crossing.

MAX_ENTRY = 5

maximum GOffice.value, should not occur.

class GOffice.GraphAxisMetrics(value)

Bases: GLib.Enum

INVALID = -1

invalid.

DEFAULT = 0

default.

ABSOLUTE = 1

absolute distance between major ticks.

RELATIVE = 2

relative to another axis.

RELATIVE_TICKS = 3

relative distance between ticks related to another axis.

MAX = 4

first unused GOffice.value.

class GOffice.GraphAxisPolarUnit(value)

Bases: GLib.Enum

DEGREES = 0

units as degrees.

RADIANS = 1

units as radians.

GRADS = 2

units as grads.

MAX = 3

maximum values, should not occur.

class GOffice.GraphAxisPosition(value)

Bases: GLib.Enum

AT_LOW = 0

crosses the other axis at low values.

CROSS = 1

crosses the other axis at a given GOffice.value.

AT_HIGH = 2

crosses the other axis at high values.

AUTO = 3

crosses at an automatically determined position.

class GOffice.GraphAxisTickTypes(value)

Bases: GLib.Enum

NONE = 0

no tick, should not occur.

MAJOR = 1

major tick.

MINOR = 2

minor tick.

class GOffice.GraphAxisType(value)

Bases: GLib.Enum

UNKNOWN = -1

invalid, should not occur.

X = 0

X axis.

Y = 1

Y axis.

Z = 2

Z axis.

CIRCULAR = 3

circular axis/

RADIAL = 4

radial axis.

PSEUDO_3D = 5

pseudo-3d axis.

VIRTUAL = 5

start of virtual axes.

COLOR = 6

color axis.

BUBBLE = 7

bubble axis.

TYPES = 8

maximum GOffice.value, should not occur.

class GOffice.GraphDataType(value)

Bases: GLib.Enum

SCALAR = 0

scalar GOffice.value.

VECTOR = 1

vector data.

MATRIX = 2

matrix data.

class GOffice.GraphDimType(value)

Bases: GLib.Enum

Data types for plots.

INVALID = -1

invalid should not occur.

LABEL = 0

labels.

INDEX = 1

indices.

VALUE = 2

vector of values.

MATRIX = 3

matrix of values.

TYPES = 4

should not occur.

class GOffice.GraphErrorBarDirection(value)

Bases: GLib.Enum

HORIZONTAL = 0

horizontal (xy plots).

VERTICAL = 1

vertical (xy plots).

ANGULAR = 2

angular (polar plots).

RADIAL = 3

radial (polar plots).

class GOffice.GraphErrorBarDisplay(value)

Bases: GLib.Enum

NONE = 0

no display.

POSITIVE = 1

display positive deviations.

NEGATIVE = 2

display negative deviations.

BOTH = 3

display both positive and negative deviations.

class GOffice.GraphErrorBarType(value)

Bases: GLib.Enum

NONE = 0

No error bars.

ABSOLUTE = 1

Absolute errors.

RELATIVE = 2

Relative errors.

PERCENT = 3

Relative errors as percent.

class GOffice.GraphGridType(value)

Bases: GLib.Enum

Used for base planes in 3d plots.

UNKNOWN = -1

unkown, should not occur.

XY = 0

XY plane.

YZ = 1

YZ plane.

ZX = 2

ZY plane.

TYPES = 3

last defined, should not occur.

class GOffice.GraphMSDimType(value)

Bases: GLib.Enum

Data types classed according to what they become when exported to foreign formats.

LABELS = 0

labels.

VALUES = 1

values.

END = 10

end GOffice.value, we made it up for dropbars.

LOW = 11

low GOffice.value, we made it up for hi-lo.

HIGH = 12

high GOffice.value, we made it up for hi-lo.

EXTRA1 = 13

we made it up for other uses.

EXTRA2 = 14

we made it up for other uses.

CATEGORIES = 2

categories.

BUBBLES = 3

bubble values.

TYPES = 4

maximum GOffice.value known by MS, should not occur.

ERR_PLUS1 = 5

positive erros on first dimension, we made it up.

ERR_MINUS1 = 6

negative erros on first dimension, we made it up.

ERR_PLUS2 = 7

positive erros on second dimension, we made it up.

ERR_MINUS2 = 8

negative erros on second dimension, we made it up

START = 9

start GOffice.value, we made it up for dropbars.

class GOffice.GraphManualSizeMode(value)

Bases: GLib.Enum

AUTO = 0

auto size, can’t be changed.

WIDTH = 1

the width can be changed.

HEIGHT = 2

the height can be changed.

FULL = 3

both height and width can be changed.

class GOffice.GraphObjectNamingConv(value)

Bases: GLib.Enum

BY_ROLE = 1

named built from role.

BY_TYPE = 2

named built from type.

MANUALLY = 3

custom name.

class GOffice.GraphPlotRenderingOrder(value)

Bases: GLib.Enum

LAST = 0

render after axis and grid lines.

BEFORE_AXIS = 1

render before axis but after grid lines.

BEFORE_GRID = 2

render before grid lines.

class GOffice.GraphRegCurveDrawingBounds(value)

Bases: GLib.Enum

NONE = 0

no limits.

ABSOLUTE = 1

absolute limits.

RELATIVE = 2

limits relative to the data range.

class GOffice.GraphSeriesFillType(value)

Bases: GLib.Enum

Y_ORIGIN = 0

from origin ox the X-axis.

X_ORIGIN = 1

from the origin of the Y-axis

NEXT = 10

from next series.

X_AXIS_MIN = 11

from X-axis minimum.

X_AXIS_MAX = 12

from X-axis maximum.

Y_AXIS_MIN = 13

from Y-axis minimum.

Y_AXIS_MAX = 14

from Y-axis maximum.

INVALID = 15

invalid, should not happen.

BOTTOM = 2

from the chart bottom.

LEFT = 3

from the chart left side.

TOP = 4

from the chart top.

RIGHT = 5

, from the chart right side.

ORIGIN = 6

from the origin (for radar and polar plots).

CENTER = 7

from the center (for radar and polar plots).

EDGE = 8

from the edge (for radar and polar plots).

SELF = 9

close the series curve and fills it.

class GOffice.GraphSeriesPriority(value)

Bases: GLib.Enum

Applies to data declarations in GOffice.GraphSeriesDimDesc.

REQUIRED = 0

it must be there.

SUGGESTED = 1

allocator will GOffice.fill it in, but use need not.

OPTIONAL = 2

optional data.

ERRORS = 3

optional data for error bars.

class GOffice.GraphWidgetSizeMode(value)

Bases: GLib.Enum

FIT = 0

fits the allocated size, conserving the aspect ratio.

FIT_WIDTH = 1

fits the width, conserving the aspect ratio.

FIT_HEIGHT = 2

fits the width, conserving the aspect ratio.

FIXED_SIZE = 3

use original size.

class GOffice.ImageFormat(value)

Bases: GLib.Enum

SVG = 0

SVG.

PNG = 1

PNG.

JPG = 2

JPEG.

PDF = 3

PDF.

PS = 4

PostScript.

EMF = 5

Enhanced Metafile.

WMF = 6

Windows Metafile.

EPS = 7

Encapsulated Postscript.

UNKNOWN = 8

unknown.

class GOffice.ImageType(value)

Bases: GLib.Enum

STRETCHED = 0

stretch the image so that it fills the whole area.

WALLPAPER = 1

repeat the image starting from top left.

CENTERED = 2

use only one image at its natural size, centered in the area.

CENTERED_WALLPAPER = 3

repeat the image starting from one at center.

class GOffice.Justification(value)

Bases: GLib.Enum

Used for justifying the text inside multiline label.

LEFT = 0

The text is placed at the left edge of the label.

RIGHT = 1

The text is placed at the right edge of the label.

CENTER = 2

The text is placed in the center of the label.

FILL = 3

The text is placed is distributed across the label.

class GOffice.LineDashType(value)

Bases: GLib.Enum

NONE = 0

No line displayed.

SOLID = 1

Solid line.

DASH_DOT = 10

Line with dash-dot pattern.

DASH_DOT_DOT = 11

Line with dash-dot-dot pattern.

MAX = 12

Number of line dash types

S_DOT = 2

Line with dot pattern.

S_DASH_DOT = 3

Line with dash-dot pattern.

S_DASH_DOT_DOT = 4

Line with dash-dot-dot pattern.

DASH_DOT_DOT_DOT = 5

Line with dash-dot-dot-dot pattern.

DOT = 6

Dotted line.

S_DASH = 7

Line with short dashes.

DASH = 8

Line with dash pattern

LONG_DASH = 9

Line with long dashes.

class GOffice.LineInterpolation(value)

Bases: GLib.Enum

LINEAR = 0

Linear interpolation.

SPLINE = 1

Bezier cubic spline interpolation.

STEP_CENTER_Y = 10

Steps using mean y GOffice.value.

ODF_SPLINE = 11

ODF compatible Bezier cubic spline interpolation, cyclic if first and last points are identical.

MAX = 12

First invalid GOffice.value.

CLOSED_SPLINE = 2

Closed Bezier cubic spline interpolation.

CUBIC_SPLINE = 3

Cubic spline interpolation with natural limits.

PARABOLIC_CUBIC_SPLINE = 4

Cubic spline interpolation with parabolic limits.

CUBIC_CUBIC_SPLINE = 5

Cubic spline interpolation with cubic limits.

CLAMPED_CUBIC_SPLINE = 6

Cubic spline interpolation with fixed derivatives at both ends.

STEP_START = 7

Steps using first y GOffice.value.

STEP_END = 8

Steps using last y GOffice.value.

STEP_CENTER_X = 9

Steps centered around each point.

class GOffice.MarkerShape(value)

Bases: GLib.Enum

NONE = 0

no mark.

SQUARE = 1

square.

ASTERISK = 10

asterisk.

BAR = 11

horizontal bar.

HALF_BAR = 12

right half bar.

BUTTERFLY = 13

butterfly.

HOURGLASS = 14

hourglass.

LEFT_HALF_BAR = 15

left half bar.

MAX = 16

maximum GOffice.value, should not occur.

DIAMOND = 2

diamond.

TRIANGLE_DOWN = 3

triangle down.

TRIANGLE_UP = 4

triangle up.

TRIANGLE_RIGHT = 5

triangle right.

TRIANGLE_LEFT = 6

triangle left.

CIRCLE = 7

circle.

X = 8
CROSS = 9

cross.

class GOffice.MimePriority(value)

Bases: GLib.Enum

INVALID = -1

no support.

DISPLAY = 0

can display the component.

PRINT = 1

can print the component.

PARTIAL = 2

partial support, including edition.

FULL = 3

full support.

NATIVE = 4

use the native code.

class GOffice.PathDirection(value)

Bases: GLib.Enum

FORWARD = 0

go through the pass from start to end.

BACKWARD = 1

go through the pass from end to start.

class GOffice.PatternType(value)

Bases: GLib.Enum

SOLID = 0

solid using background color.

GREY75 = 1

75% background color.

DIAG_CROSS = 10

diagonal crosshatch.

THICK_DIAG_CROSS = 11

thick diagonal crosshatch.

THIN_HORIZ = 12

thin horizontal stripe.

THIN_VERT = 13

thin vertical stripe.

THIN_REV_DIAG = 14

thin reverse diagonal stripe.

THIN_DIAG = 15

thin diagonal stripe.

THIN_HORIZ_CROSS = 16

thin horizontal crosshatch.

THIN_DIAG_CROSS = 17

thin diagonal crosshatch.

FOREGROUND_SOLID = 18

solid using foreground color.

SMALL_CIRCLES = 19

small circles.

GREY50 = 2

50% background color.

SEMI_CIRCLES = 20

semi circles.

THATCH = 21

thatch.

LARGE_CIRCLES = 22

large circles.

BRICKS = 23

bricks.

MAX = 24

maximum GOffice.value, should not occur.

GREY25 = 3

25% background color.

GREY125 = 4

12.5% background color.

GREY625 = 5

6.25% background color.

HORIZ = 6

horizontal stripe.

VERT = 7

vertical stripe.

REV_DIAG = 8

reverse diagonal stripe.

DIAG = 9

diagonal stripe.

class GOffice.ProgressHelperType(value)

Bases: GLib.Enum

NONE = 0
COUNT = 1
VALUE = 2
LAST = 3
class GOffice.RegressionResult(value)

Bases: GLib.Enum

OK = 0

success.

INVALID_DIMENSIONS = 1

invalid dimensions.

INVALID_DATA = 2

invalid data:

NOT_ENOUGH_DATA = 3

not enough data.

NEAR_SINGULAR_GOOD = 4

probably good result.

NEAR_SINGULAR_BAD = 5

probably bad result.

SINGULAR = 6

singularity found.

class GOffice.ResourceType(value)

Bases: GObject.GEnum

NATIVE = 0

in goffice code resource.

RO = 1

read only on disk resource.

RW = 2

on disk resource which can be overwritten.

CHILD = 3

child of another resource.

EXTERNAL = 4

resource from a data file.

INVALID = 6

invalid resource.

class GOffice.Severity(value)

Bases: GLib.Enum

WARNING = 1

warning.

ERROR = 2

error.

class GOffice.SnapshotType(value)

Bases: GLib.Enum

NONE = 0

no snapshot.

SVG = 1

svg snapshot.

PNG = 2

png snapshot.

class GOffice.StyleFill(value)

Bases: GLib.Enum

NONE = 0

no filling.

PATTERN = 1

GOffice.fill with pattern.

GRADIENT = 2

GOffice.fill with a gradient.

IMAGE = 3

GOffice.fill with an image.

class GOffice.UnitId(value)

Bases: GLib.Enum

UNKNOWN = -1

unknown unit.

METER = 0

meter.

CENTIMETER = 1

centimeter.

INCH = 2

inch.

POINT = 3

point.

MAX = 4

first unregistered unit.