Module: Libxlsxwriter

Extended by:
FFI::Library
Defined in:
lib/fast_excel/binding.rb

Defined Under Namespace

Modules: AppWrappers, ChartAxisWrappers, ChartSeriesWrappers, ChartWrappers, ContentTypesWrappers, CoreWrappers, CustomWrappers, DatetimeWrappers, DrawingWrappers, FormatWrappers, PackagerWrappers, RelationshipsWrappers, SstWrappers, StylesWrappers, ThemeWrappers, WorkbookWrappers, WorksheetWrappers Classes: App, Autofilter, Border, Cell, CellTreePointers, CellU, Chart, ChartAxis, ChartData, ChartFill, ChartFont, ChartGridline, ChartLegend, ChartLine, ChartListPointers, ChartMarker, ChartOrderedListPointers, ChartPattern, ChartPoint, ChartSeries, ChartSeriesList, ChartSeriesListPointers, ChartTitle, Charts, ColOptions, ContentTypes, Core, Custom, CustomProperties, CustomProperty, CustomPropertyListPointers, CustomPropertyU, Datetime, DefinedName, DefinedNameListPointers, DefinedNames, DocProperties, Drawing, DrawingCoords, DrawingObject, DrawingObjectListPointers, DrawingObjects, Fill, Font, Format, FormatListPointers, Formats, HashBucketList, HashElement, HashElementHashListPointers, HashElementHashOrderPointers, HashOrderList, HashTable, HeaderFooterOptions, HeadingPair, HeadingPairListPointers, HeadingPairs, ImageData, ImageOptions, ImageOptionsListPointers, MergedRange, MergedRangeListPointers, MergedRanges, Packager, Panes, PartName, PartNameListPointers, PartNames, PrintArea, Protection, RelTuple, RelTupleListPointers, RelTuples, Relationships, RepeatCols, RepeatRows, Row, RowColOptions, RowTreePointers, Selection, SelectionListPointers, Selections, SeriesDataPoint, SeriesDataPointListPointers, SeriesDataPoints, SeriesErrorBars, SeriesRange, Sst, SstElement, SstElementSstOrderPointers, SstElementSstTreePointers, SstOrderList, SstRbTree, Styles, TableCells, TableRows, Theme, TmZipS, Tuple, TupleListPointers, Tuples, Workbook, WorkbookOptions, Worksheet, WorksheetInitData, WorksheetListPointers, WorksheetName, WorksheetNameTreePointers, WorksheetNames, Worksheets, XmlAttribute, XmlAttributeList, XmlAttributeListEntries, ZipFileinfo, ZlibFilefunc6432DefS, ZlibFilefunc64DefS, ZlibFilefuncDefS

Constant Summary collapse

LIB_FILENAME =
if RUBY_PLATFORM =~ /darwin/
  "libxlsxwriter-darwin.dylib"
else
  if File.exist?('/etc/alpine-release')
    "libxlsxwriter-alpine.so"
  else
    "libxlsxwriter-glibc.so"
  end
end
SPLAY_NEGINF =
-1
SPLAY_INF =
1
RB_BLACK =
0
RB_RED =
1
RB_NEGINF =
-1
RB_INF =
1
SHEETNAME_MAX =
31
MAX_COL_NAME_LENGTH =
"$XFD".length
MAX_ROW_NAME_LENGTH =
"$1048576".length
MAX_CELL_NAME_LENGTH =
"$XFWD$1048576".length
DATETIME_LENGTH =
"2016-12-12T23:00:00Z".length
EPOCH_1900 =
0
EPOCH_1904 =
1
UINT32_T_LENGTH =
"4294967296".length
FILENAME_LENGTH =
128
IGNORE =
1
SCHEMA_MS =
"http://schemas.microsoft.com/office/2006/relationships"
SCHEMA_ROOT =
"http://schemas.openxmlformats.org"
FORMAT_FIELD_LEN =
128
DEFAULT_FONT_NAME =
"Calibri"
DEFAULT_FONT_FAMILY =
2
DEFAULT_FONT_THEME =
1
PROPERTY_UNSET =
-1
COLOR_UNSET =
-1
COLOR_MASK =
0xFFFFFF
MIN_FONT_SIZE =
1
MAX_FONT_SIZE =
409
CHART_NUM_FORMAT_LEN =
128
CHART_DEFAULT_GAP =
501
ROW_MAX =
1048576
COL_MAX =
16384
COL_META_MAX =
128
255
MAX_NUMBER_URLS =
65530
PANE_NAME_LENGTH =
12
BREAKS_MAX =
1023
DEFINED_NAME_LENGTH =
128
APP_PACKAGE =
"application/vnd.openxmlformats-package."
APP_DOCUMENT =
"application/vnd.openxmlformats-officedocument."
MAXU32 =
0xffffffff
ZLIB_FILEFUNC_SEEK_CUR =
1
ZLIB_FILEFUNC_SEEK_END =
2
ZLIB_FILEFUNC_SEEK_SET =
0
ZLIB_FILEFUNC_MODE_READ =
1
ZLIB_FILEFUNC_MODE_WRITE =
2
ZLIB_FILEFUNC_MODE_READWRITEFILTER =
3
ZLIB_FILEFUNC_MODE_EXISTING =
4
ZLIB_FILEFUNC_MODE_CREATE =
8
Z_BZIP2ED =
12
ZIP_OK =
0
ZIP_EOF =
0
ZIP_PARAMERROR =
(-102)
ZIP_BADZIPFILE =
(-103)
ZIP_INTERNALERROR =
(-104)
DEF_MEM_LEVEL =
8
APPEND_STATUS_CREATE =
0
APPEND_STATUS_CREATEAFTER =
1
APPEND_STATUS_ADDINZIP =
2
ZIP_BUFFER_SIZE =
16384
TMPFILE_KEEP =
1
MAX_ATTRIBUTE_LENGTH =
256
ATTR_32 =
32
VERSION =
"0.6.9"

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

._callback_close_file_func_(opaque, stream) ⇒ FFI::Pointer(Voidpf)

(Not documented)

This entry is only for documentation and no real method.

Parameters:

  • opaque (FFI::Pointer(Voidpf))
  • stream (FFI::Pointer(Voidpf))

Returns:

  • (FFI::Pointer(Voidpf))


8477
# File 'lib/fast_excel/binding.rb', line 8477

callback :close_file_func, [:pointer, :pointer], :pointer

._callback_open64_file_func_(voidpf, opaque, filename, mode) ⇒ FFI::Pointer(Voidpf)

(Not documented)

This entry is only for documentation and no real method.

Parameters:

  • voidpf (FFI::Pointer(Voidpf))
  • opaque (FFI::Pointer(Voidpf))
  • filename (FFI::Pointer(*Void))
  • mode (Integer)

Returns:

  • (FFI::Pointer(Voidpf))


8580
# File 'lib/fast_excel/binding.rb', line 8580

callback :open64_file_func, [:pointer, :pointer, :pointer, :int], :pointer

._callback_open_file_func_(voidpf, opaque, filename, mode) ⇒ FFI::Pointer(Voidpf)

(Not documented)

This entry is only for documentation and no real method.

Parameters:

  • voidpf (FFI::Pointer(Voidpf))
  • opaque (FFI::Pointer(Voidpf))
  • filename (String)
  • mode (Integer)

Returns:

  • (FFI::Pointer(Voidpf))


8438
# File 'lib/fast_excel/binding.rb', line 8438

callback :open_file_func, [:pointer, :pointer, :string, :int], :pointer

._callback_read_file_func_(u_long, opaque, stream, buf, size) ⇒ Integer

(Not documented)

This entry is only for documentation and no real method.

Parameters:

  • u_long (Integer)
  • opaque (FFI::Pointer(Voidpf))
  • stream (FFI::Pointer(Voidpf))
  • buf (FFI::Pointer(*Void))
  • size (Integer)

Returns:

  • (Integer)


8452
# File 'lib/fast_excel/binding.rb', line 8452

callback :read_file_func, [:ulong, :pointer, :pointer, :pointer, :ulong], :ulong

._callback_seek64_file_func_(opaque, stream, offset, origin) ⇒ FFI::Pointer(Voidpf)

(Not documented)

This entry is only for documentation and no real method.

Parameters:

  • opaque (FFI::Pointer(Voidpf))
  • stream (FFI::Pointer(Voidpf))
  • offset (Integer)
  • origin (Integer)

Returns:

  • (FFI::Pointer(Voidpf))


8567
# File 'lib/fast_excel/binding.rb', line 8567

callback :seek64_file_func, [:pointer, :pointer, :ulong_long, :int], :pointer

._callback_seek_file_func_(opaque, stream, offset, origin) ⇒ FFI::Pointer(Voidpf)

(Not documented)

This entry is only for documentation and no real method.

Parameters:

  • opaque (FFI::Pointer(Voidpf))
  • stream (FFI::Pointer(Voidpf))
  • offset (Integer)
  • origin (Integer)

Returns:

  • (FFI::Pointer(Voidpf))


8512
# File 'lib/fast_excel/binding.rb', line 8512

callback :seek_file_func, [:pointer, :pointer, :ulong, :int], :pointer

._callback_tell64_file_func_(zpos64_t, opaque, stream) ⇒ Integer

(Not documented)

This entry is only for documentation and no real method.

Parameters:

  • zpos64_t (Integer)
  • opaque (FFI::Pointer(Voidpf))
  • stream (FFI::Pointer(Voidpf))

Returns:

  • (Integer)


8554
# File 'lib/fast_excel/binding.rb', line 8554

callback :tell64_file_func, [:ulong_long, :pointer, :pointer], :ulong_long

._callback_tell_file_func_(opaque, stream) ⇒ FFI::Pointer(Voidpf)

(Not documented)

This entry is only for documentation and no real method.

Parameters:

  • opaque (FFI::Pointer(Voidpf))
  • stream (FFI::Pointer(Voidpf))

Returns:

  • (FFI::Pointer(Voidpf))


8499
# File 'lib/fast_excel/binding.rb', line 8499

callback :tell_file_func, [:pointer, :pointer], :pointer

._callback_testerror_file_func_(opaque, stream) ⇒ FFI::Pointer(Voidpf)

(Not documented)

This entry is only for documentation and no real method.

Parameters:

  • opaque (FFI::Pointer(Voidpf))
  • stream (FFI::Pointer(Voidpf))

Returns:

  • (FFI::Pointer(Voidpf))


8488
# File 'lib/fast_excel/binding.rb', line 8488

callback :testerror_file_func, [:pointer, :pointer], :pointer

._callback_write_file_func_(u_long, opaque, stream, buf, size) ⇒ Integer

(Not documented)

This entry is only for documentation and no real method.

Parameters:

  • u_long (Integer)
  • opaque (FFI::Pointer(Voidpf))
  • stream (FFI::Pointer(Voidpf))
  • buf (FFI::Pointer(*Void))
  • size (Integer)

Returns:

  • (Integer)


8466
# File 'lib/fast_excel/binding.rb', line 8466

callback :write_file_func, [:ulong, :pointer, :pointer, :pointer, :ulong], :ulong

._enum_anchor_edit_types_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:anchor_edit_types).

Options:

:as_none
:as_relative
:as_one_cell
:as_absolute

Returns:

  • (Symbol)


5079
5080
5081
5082
5083
5084
# File 'lib/fast_excel/binding.rb', line 5079

enum :anchor_edit_types, [
  :as_none, 0,
  :as_relative, 1,
  :as_one_cell, 2,
  :as_absolute, 3
]

._enum_anchor_types_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:anchor_types).

Options:

:type_none
:type_image
:type_chart

Returns:

  • (Symbol)


5056
5057
5058
5059
5060
# File 'lib/fast_excel/binding.rb', line 5056

enum :anchor_types, [
  :type_none, 0,
  :type_image, 1,
  :type_chart, 2
]

._enum_boolean_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:boolean).

Options:

:false_

False value.

:true_

True value.

Returns:

  • (Symbol)


269
270
271
272
# File 'lib/fast_excel/binding.rb', line 269

enum :boolean, [
  :false_, 0,
  :true_, 1
]

._enum_cell_types_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:cell_types).

Options:

:number_cell
:string_cell
:inline_string_cell
:formula_cell
:array_formula_cell
:blank_cell
:boolean_cell
:hyperlink_url
:hyperlink_internal
:hyperlink_external

Returns:

  • (Symbol)


5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
# File 'lib/fast_excel/binding.rb', line 5461

enum :cell_types, [
  :number_cell, 1,
  :string_cell, 2,
  :inline_string_cell, 3,
  :formula_cell, 4,
  :array_formula_cell, 5,
  :blank_cell, 6,
  :boolean_cell, 7,
  :hyperlink_url, 8,
  :hyperlink_internal, 9,
  :hyperlink_external, 10
]

._enum_chart_axis_display_unit_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_axis_display_unit).

Options:

:units_none

Axis display units: None. The default.

:units_hundreds

Axis display units: Hundreds.

:units_thousands

Axis display units: Thousands.

:units_ten_thousands

Axis display units: Ten thousands.

:units_hundred_thousands

Axis display units: Hundred thousands.

:units_millions

Axis display units: Millions.

:units_ten_millions

Axis display units: Ten millions.

:units_hundred_millions

Axis display units: Hundred millions.

:units_billions

Axis display units: Billions.

:units_trillions

Axis display units: Trillions.

Returns:

  • (Symbol)


2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
# File 'lib/fast_excel/binding.rb', line 2640

enum :chart_axis_display_unit, [
  :units_none, 0,
  :units_hundreds, 1,
  :units_thousands, 2,
  :units_ten_thousands, 3,
  :units_hundred_thousands, 4,
  :units_millions, 5,
  :units_ten_millions, 6,
  :units_hundred_millions, 7,
  :units_billions, 8,
  :units_trillions, 9
]

._enum_chart_axis_label_position_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_axis_label_position).

Options:

:next_to

Position the axis labels next to the axis. The default.

:high

Position the axis labels at the top of the chart, for horizontal axes, or to the right for vertical axes.

:low

Position the axis labels at the bottom of the chart, for horizontal axes, or to the left for vertical axes.

:none

Turn off the the axis labels.

Returns:

  • (Symbol)


2604
2605
2606
2607
2608
2609
# File 'lib/fast_excel/binding.rb', line 2604

enum :chart_axis_label_position, [
  :next_to, 0,
  :high, 1,
  :low, 2,
  :none, 3
]

._enum_chart_axis_tick_mark_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_axis_tick_mark).

Options:

:default

Default tick mark for the chart axis. Usually outside.

:none

No tick mark for the axis.

:inside

Tick mark inside the axis only.

:outside

Tick mark outside the axis only.

:crossing

Tick mark inside and outside the axis.

Returns:

  • (Symbol)


2672
2673
2674
2675
2676
2677
2678
# File 'lib/fast_excel/binding.rb', line 2672

enum :chart_axis_tick_mark, [
  :default, 0,
  :none, 1,
  :inside, 2,
  :outside, 3,
  :crossing, 4
]

._enum_chart_axis_tick_position_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_axis_tick_position).

Options:

:default
:on_tick

Position category axis on tick marks.

:between

Position category axis between tick marks.

Returns:

  • (Symbol)


2579
2580
2581
2582
2583
# File 'lib/fast_excel/binding.rb', line 2579

enum :chart_axis_tick_position, [
  :default, 0,
  :on_tick, 1,
  :between, 2
]

._enum_chart_blank_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_blank).

Options:

:blanks_as_gap

Show empty chart cells as gaps in the data. The default.

:blanks_as_zero

Show empty chart cells as zeros.

:blanks_as_connected

Show empty chart cells as connected. Only for charts with lines.

Returns:

  • (Symbol)


2945
2946
2947
2948
2949
# File 'lib/fast_excel/binding.rb', line 2945

enum :chart_blank, [
  :blanks_as_gap, 0,
  :blanks_as_zero, 1,
  :blanks_as_connected, 2
]

._enum_chart_error_bar_cap_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_error_bar_cap).

Options:

:end_

Flat end cap. The default.

:no

No end cap.

Returns:

  • (Symbol)


3033
3034
3035
3036
# File 'lib/fast_excel/binding.rb', line 3033

enum :chart_error_bar_cap, [
  :end_, 0,
  :no, 1
]

._enum_chart_error_bar_direction_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_error_bar_direction).

Options:

:dir_both

Error bar extends in both directions. The default.

:dir_plus

Error bar extends in positive direction.

:dir_minus

Error bar extends in negative direction.

Returns:

  • (Symbol)


3014
3015
3016
3017
3018
# File 'lib/fast_excel/binding.rb', line 3014

enum :chart_error_bar_direction, [
  :dir_both, 0,
  :dir_plus, 1,
  :dir_minus, 2
]

._enum_chart_error_bar_type_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_error_bar_type).

Options:

:std_error

Error bar type: Standard error.

:fixed

Error bar type: Fixed value.

:percentage

Error bar type: Percentage.

:std_dev

Error bar type: Standard deviation(s).

Returns:

  • (Symbol)


2992
2993
2994
2995
2996
2997
# File 'lib/fast_excel/binding.rb', line 2992

enum :chart_error_bar_type, [
  :std_error, 0,
  :fixed, 1,
  :percentage, 2,
  :std_dev, 3
]

._enum_chart_grouping_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_grouping).

Options:

:clustered
:standard
:percentstacked
:stacked

Returns:

  • (Symbol)


2557
2558
2559
2560
2561
2562
# File 'lib/fast_excel/binding.rb', line 2557

enum :chart_grouping, [
  :clustered, 0,
  :standard, 1,
  :percentstacked, 2,
  :stacked, 3
]

._enum_chart_label_position_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_label_position).

Options:

:default

Series data label position: default position.

:center

Series data label position: center.

:right

Series data label position: right.

:left

Series data label position: left.

:above

Series data label position: above.

:below

Series data label position: below.

:inside_base

Series data label position: inside base.

:inside_end

Series data label position: inside end.

:outside_end

Series data label position: outside end.

:best_fit

Series data label position: best fit.

Returns:

  • (Symbol)


2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
# File 'lib/fast_excel/binding.rb', line 2479

enum :chart_label_position, [
  :default, 0,
  :center, 1,
  :right, 2,
  :left, 3,
  :above, 4,
  :below, 5,
  :inside_base, 6,
  :inside_end, 7,
  :outside_end, 8,
  :best_fit, 9
]

._enum_chart_label_separator_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_label_separator).

Options:

:comma

Series data label separator: comma (the default).

:semicolon

Series data label separator: semicolon.

:period

Series data label separator: period.

:newline

Series data label separator: newline.

:space

Series data label separator: space.

Returns:

  • (Symbol)


2511
2512
2513
2514
2515
2516
2517
# File 'lib/fast_excel/binding.rb', line 2511

enum :chart_label_separator, [
  :comma, 0,
  :semicolon, 1,
  :period, 2,
  :newline, 3,
  :space, 4
]

._enum_chart_legend_position_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_legend_position).

Options:

:none

No chart legend.

:right

Chart legend positioned at right side.

:left

Chart legend positioned at left side.

:top

Chart legend positioned at top.

:bottom

Chart legend positioned at bottom.

:overlay_right

Chart legend overlaid at right side.

:overlay_left

Chart legend overlaid at left side.

Returns:

  • (Symbol)


2191
2192
2193
2194
2195
2196
2197
2198
2199
# File 'lib/fast_excel/binding.rb', line 2191

enum :chart_legend_position, [
  :none, 0,
  :right, 1,
  :left, 2,
  :top, 3,
  :bottom, 4,
  :overlay_right, 5,
  :overlay_left, 6
]

._enum_chart_line_dash_type_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_line_dash_type).

Options:

:solid

Solid.

:round_dot

Round Dot.

:square_dot

Square Dot.

:dash

Dash.

:dash_dot

Dash Dot.

:long_dash

Long Dash.

:long_dash_dot

Long Dash Dot.

:long_dash_dot_dot

Long Dash Dot Dot.

:dot

These aren’t available in the dialog but are used by Excel.

:system_dash_dot
:system_dash_dot_dot

Returns:

  • (Symbol)


2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
# File 'lib/fast_excel/binding.rb', line 2232

enum :chart_line_dash_type, [
  :solid, 0,
  :round_dot, 1,
  :square_dot, 2,
  :dash, 3,
  :dash_dot, 4,
  :long_dash, 5,
  :long_dash_dot, 6,
  :long_dash_dot_dot, 7,
  :dot, 8,
  :system_dash_dot, 9,
  :system_dash_dot_dot, 10
]

._enum_chart_marker_type_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_marker_type).

Options:

:automatic

Automatic, series default, marker type.

:none

No marker type.

:square

Square marker type.

:diamond

Diamond marker type.

:triangle

Triangle marker type.

:x

X shape marker type.

:star

Star marker type.

:short_dash

Short dash marker type.

:long_dash

Long dash marker type.

:circle

Circle marker type.

:plus

Plus (+) marker type.

Returns:

  • (Symbol)


2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
# File 'lib/fast_excel/binding.rb', line 2277

enum :chart_marker_type, [
  :automatic, 0,
  :none, 1,
  :square, 2,
  :diamond, 3,
  :triangle, 4,
  :x, 5,
  :star, 6,
  :short_dash, 7,
  :long_dash, 8,
  :circle, 9,
  :plus, 10
]

._enum_chart_pattern_type_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_pattern_type).

Options:

:none

None pattern.

:percent_5

5 Percent pattern.

:percent_10

10 Percent pattern.

:percent_20

20 Percent pattern.

:percent_25

25 Percent pattern.

:percent_30

30 Percent pattern.

:percent_40

40 Percent pattern.

:percent_50

50 Percent pattern.

:percent_60

60 Percent pattern.

:percent_70

70 Percent pattern.

:percent_75

75 Percent pattern.

:percent_80

80 Percent pattern.

:percent_90

90 Percent pattern.

:light_downward_diagonal

Light downward diagonal pattern.

:light_upward_diagonal

Light upward diagonal pattern.

:dark_downward_diagonal

Dark downward diagonal pattern.

:dark_upward_diagonal

Dark upward diagonal pattern.

:wide_downward_diagonal

Wide downward diagonal pattern.

:wide_upward_diagonal

Wide upward diagonal pattern.

:light_vertical

Light vertical pattern.

:light_horizontal

Light horizontal pattern.

:narrow_vertical

Narrow vertical pattern.

:narrow_horizontal

Narrow horizontal pattern.

:dark_vertical

Dark vertical pattern.

:dark_horizontal

Dark horizontal pattern.

:dashed_downward_diagonal

Dashed downward diagonal pattern.

:dashed_upward_diagonal

Dashed upward diagonal pattern.

:dashed_horizontal

Dashed horizontal pattern.

:dashed_vertical

Dashed vertical pattern.

:small_confetti

Small confetti pattern.

:large_confetti

Large confetti pattern.

:zigzag

Zigzag pattern.

:wave

Wave pattern.

:diagonal_brick

Diagonal brick pattern.

:horizontal_brick

Horizontal brick pattern.

:weave

Weave pattern.

:plaid

Plaid pattern.

:divot

Divot pattern.

:dotted_grid

Dotted grid pattern.

:dotted_diamond

Dotted diamond pattern.

:shingle

Shingle pattern.

:trellis

Trellis pattern.

:sphere

Sphere pattern.

:small_grid

Small grid pattern.

:large_grid

Large grid pattern.

:small_check

Small check pattern.

:large_check

Large check pattern.

:outlined_diamond

Outlined diamond pattern.

:solid_diamond

Solid diamond pattern.

Returns:

  • (Symbol)


2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
# File 'lib/fast_excel/binding.rb', line 2398

enum :chart_pattern_type, [
  :none, 0,
  :percent_5, 1,
  :percent_10, 2,
  :percent_20, 3,
  :percent_25, 4,
  :percent_30, 5,
  :percent_40, 6,
  :percent_50, 7,
  :percent_60, 8,
  :percent_70, 9,
  :percent_75, 10,
  :percent_80, 11,
  :percent_90, 12,
  :light_downward_diagonal, 13,
  :light_upward_diagonal, 14,
  :dark_downward_diagonal, 15,
  :dark_upward_diagonal, 16,
  :wide_downward_diagonal, 17,
  :wide_upward_diagonal, 18,
  :light_vertical, 19,
  :light_horizontal, 20,
  :narrow_vertical, 21,
  :narrow_horizontal, 22,
  :dark_vertical, 23,
  :dark_horizontal, 24,
  :dashed_downward_diagonal, 25,
  :dashed_upward_diagonal, 26,
  :dashed_horizontal, 27,
  :dashed_vertical, 28,
  :small_confetti, 29,
  :large_confetti, 30,
  :zigzag, 31,
  :wave, 32,
  :diagonal_brick, 33,
  :horizontal_brick, 34,
  :weave, 35,
  :plaid, 36,
  :divot, 37,
  :dotted_grid, 38,
  :dotted_diamond, 39,
  :shingle, 40,
  :trellis, 41,
  :sphere, 42,
  :small_grid, 43,
  :large_grid, 44,
  :small_check, 45,
  :large_check, 46,
  :outlined_diamond, 47,
  :solid_diamond, 48
]

._enum_chart_position_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_position).

Options:

:axis_right
:axis_left
:axis_top
:axis_bottom

Returns:

  • (Symbol)


2968
2969
2970
2971
2972
2973
# File 'lib/fast_excel/binding.rb', line 2968

enum :chart_position, [
  :axis_right, 0,
  :axis_left, 1,
  :axis_top, 2,
  :axis_bottom, 3
]

._enum_chart_subtype_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_subtype).

Options:

:none
:stacked
:stacked_percent

Returns:

  • (Symbol)


2534
2535
2536
2537
2538
# File 'lib/fast_excel/binding.rb', line 2534

enum :chart_subtype, [
  :none, 0,
  :stacked, 1,
  :stacked_percent, 2
]

._enum_chart_trendline_type_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_trendline_type).

Options:

:linear

Trendline type: Linear.

:log

Trendline type: Logarithm.

:poly

Trendline type: Polynomial.

:power

Trendline type: Power.

:exp

Trendline type: Exponential.

:average

Trendline type: Moving Average.

Returns:

  • (Symbol)


3092
3093
3094
3095
3096
3097
3098
3099
# File 'lib/fast_excel/binding.rb', line 3092

enum :chart_trendline_type, [
  :linear, 0,
  :log, 1,
  :poly, 2,
  :power, 3,
  :exp, 4,
  :average, 5
]

._enum_chart_type_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:chart_type).

Options:

:none

None.

:area

Area chart.

:area_stacked

Area chart - stacked.

:area_stacked_percent

Area chart - percentage stacked.

:bar

Bar chart.

:bar_stacked

Bar chart - stacked.

:bar_stacked_percent

Bar chart - percentage stacked.

:column

Column chart.

:column_stacked

Column chart - stacked.

:column_stacked_percent

Column chart - percentage stacked.

:doughnut

Doughnut chart.

:line

Line chart.

:pie

Pie chart.

:scatter

Scatter chart.

:scatter_straight

Scatter chart - straight.

:scatter_straight_with_markers

Scatter chart - straight with markers.

:scatter_smooth

Scatter chart - smooth.

:scatter_smooth_with_markers

Scatter chart - smooth with markers.

:radar

Radar chart.

:radar_with_markers

Radar chart - with markers.

:radar_filled

Radar chart - filled.

Returns:

  • (Symbol)


2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
# File 'lib/fast_excel/binding.rb', line 2144

enum :chart_type, [
  :none, 0,
  :area, 1,
  :area_stacked, 2,
  :area_stacked_percent, 3,
  :bar, 4,
  :bar_stacked, 5,
  :bar_stacked_percent, 6,
  :column, 7,
  :column_stacked, 8,
  :column_stacked_percent, 9,
  :doughnut, 10,
  :line, 11,
  :pie, 12,
  :scatter, 13,
  :scatter_straight, 14,
  :scatter_straight_with_markers, 15,
  :scatter_smooth, 16,
  :scatter_smooth_with_markers, 17,
  :radar, 18,
  :radar_with_markers, 19,
  :radar_filled, 20
]

._enum_custom_property_types_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:custom_property_types).

Options:

:none
:string
:double
:integer
:boolean
:datetime

Returns:

  • (Symbol)


400
401
402
403
404
405
406
407
# File 'lib/fast_excel/binding.rb', line 400

enum :custom_property_types, [
  :none, 0,
  :string, 1,
  :double, 2,
  :integer, 3,
  :boolean, 4,
  :datetime, 5
]

._enum_defined_colors_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:defined_colors).

Options:

:color_black

Black

:color_blue

Blue

:color_brown

Brown

:color_cyan

Cyan

:color_gray

Gray

:color_green

Green

:color_lime

Lime

:color_magenta

Magenta

:color_navy

Navy

:color_orange

Orange

:color_pink

Pink

:color_purple

Purple

:color_red

Red

:color_silver

Silver

:color_white

White

:color_yellow

Yellow

Returns:

  • (Symbol)


927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
# File 'lib/fast_excel/binding.rb', line 927

enum :defined_colors, [
  :color_black, 16777216,
  :color_blue, 255,
  :color_brown, 8388608,
  :color_cyan, 65535,
  :color_gray, 8421504,
  :color_green, 32768,
  :color_lime, 65280,
  :color_magenta, 16711935,
  :color_navy, 128,
  :color_orange, 16737792,
  :color_pink, 16711935,
  :color_purple, 8388736,
  :color_red, 16711680,
  :color_silver, 12632256,
  :color_white, 16777215,
  :color_yellow, 16776960
]

._enum_drawing_types_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:drawing_types).

Options:

:none
:image
:chart
:shape

Returns:

  • (Symbol)


5034
5035
5036
5037
5038
5039
# File 'lib/fast_excel/binding.rb', line 5034

enum :drawing_types, [
  :none, 0,
  :image, 1,
  :chart, 2,
  :shape, 3
]

._enum_error_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:error).

Options:

:no_error

No error.

:error_memory_malloc_failed

Memory error, failed to malloc() required memory.

:error_creating_xlsx_file

Error creating output xlsx file. Usually a permissions error.

:error_creating_tmpfile

Error encountered when creating a tmpfile during file assembly.

:error_zip_file_operation

Zlib error with a file operation while creating xlsx file.

:error_zip_file_add

Zlib error when adding sub file to xlsx file.

:error_zip_close

Zlib error when closing xlsx file.

:error_null_parameter_ignored

NULL function parameter ignored.

:error_parameter_validation

Function parameter validation error.

:error_sheetname_length_exceeded

Worksheet name exceeds Excel’s limit of 31 characters.

:error_invalid_sheetname_character

Worksheet name contains invalid Excel character: ‘():*?/\’

:error_sheetname_already_used

Worksheet name is already in use.

:error_128_string_length_exceeded

Parameter exceeds Excel’s limit of 128 characters.

:error_255_string_length_exceeded

Parameter exceeds Excel’s limit of 255 characters.

:error_max_string_length_exceeded

String exceeds Excel’s limit of 32,767 characters.

:error_shared_string_index_not_found

Error finding internal string index.

:error_worksheet_index_out_of_range

Worksheet row or column index out of range.

:error_worksheet_max_number_urls_exceeded

Maximum number of worksheet URLs (65530) exceeded.

:error_image_dimensions

Couldn’t read image dimensions or DPI.

:max_errno

Returns:

  • (Symbol)


323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
# File 'lib/fast_excel/binding.rb', line 323

enum :error, [
  :no_error, 0,
  :error_memory_malloc_failed, 1,
  :error_creating_xlsx_file, 2,
  :error_creating_tmpfile, 3,
  :error_zip_file_operation, 4,
  :error_zip_file_add, 5,
  :error_zip_close, 6,
  :error_null_parameter_ignored, 7,
  :error_parameter_validation, 8,
  :error_sheetname_length_exceeded, 9,
  :error_invalid_sheetname_character, 10,
  :error_sheetname_already_used, 11,
  :error_128_string_length_exceeded, 12,
  :error_255_string_length_exceeded, 13,
  :error_max_string_length_exceeded, 14,
  :error_shared_string_index_not_found, 15,
  :error_worksheet_index_out_of_range, 16,
  :error_worksheet_max_number_urls_exceeded, 17,
  :error_image_dimensions, 18,
  :max_errno, 19
]

._enum_format_alignments_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:format_alignments).

Options:

:align_none

No alignment. Cell will use Excel’s default for the data type

:align_left

Left horizontal alignment

:align_center

Center horizontal alignment

:align_right

Right horizontal alignment

:align_fill

Cell fill horizontal alignment

:align_justify

Justify horizontal alignment

:align_center_across

Center Across horizontal alignment

:align_distributed

Left horizontal alignment

:align_vertical_top

Top vertical alignment

:align_vertical_bottom

Bottom vertical alignment

:align_vertical_center

Center vertical alignment

:align_vertical_justify

Justify vertical alignment

:align_vertical_distributed

Distributed vertical alignment

Returns:

  • (Symbol)


849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
# File 'lib/fast_excel/binding.rb', line 849

enum :format_alignments, [
  :align_none, 0,
  :align_left, 1,
  :align_center, 2,
  :align_right, 3,
  :align_fill, 4,
  :align_justify, 5,
  :align_center_across, 6,
  :align_distributed, 7,
  :align_vertical_top, 8,
  :align_vertical_bottom, 9,
  :align_vertical_center, 10,
  :align_vertical_justify, 11,
  :align_vertical_distributed, 12
]

._enum_format_borders_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:format_borders).

Options:

:border_none

No border

:border_thin

Thin border style

:border_medium

Medium border style

:border_dashed

Dashed border style

:border_dotted

Dotted border style

:border_thick

Thick border style

:border_double

Double border style

:border_hair

Hair border style

:border_medium_dashed

Medium dashed border style

:border_dash_dot

Dash-dot border style

:border_medium_dash_dot

Medium dash-dot border style

:border_dash_dot_dot

Dash-dot-dot border style

:border_medium_dash_dot_dot

Medium dash-dot-dot border style

:border_slant_dash_dot

Slant dash-dot border style

Returns:

  • (Symbol)


1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
# File 'lib/fast_excel/binding.rb', line 1052

enum :format_borders, [
  :border_none, 0,
  :border_thin, 1,
  :border_medium, 2,
  :border_dashed, 3,
  :border_dotted, 4,
  :border_thick, 5,
  :border_double, 6,
  :border_hair, 7,
  :border_medium_dashed, 8,
  :border_dash_dot, 9,
  :border_medium_dash_dot, 10,
  :border_dash_dot_dot, 11,
  :border_medium_dash_dot_dot, 12,
  :border_slant_dash_dot, 13
]

._enum_format_diagonal_types_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:format_diagonal_types).

Options:

:border_up
:border_down
:border_up_down

Returns:

  • (Symbol)


880
881
882
883
884
# File 'lib/fast_excel/binding.rb', line 880

enum :format_diagonal_types, [
  :border_up, 1,
  :border_down, 2,
  :border_up_down, 3
]

._enum_format_patterns_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:format_patterns).

Options:

:pattern_none

Empty pattern

:pattern_solid

Solid pattern

:pattern_medium_gray

Medium gray pattern

:pattern_dark_gray

Dark gray pattern

:pattern_light_gray

Light gray pattern

:pattern_dark_horizontal

Dark horizontal line pattern

:pattern_dark_vertical

Dark vertical line pattern

:pattern_dark_down

Dark diagonal stripe pattern

:pattern_dark_up

Reverse dark diagonal stripe pattern

:pattern_dark_grid

Dark grid pattern

:pattern_dark_trellis

Dark trellis pattern

:pattern_light_horizontal

Light horizontal Line pattern

:pattern_light_vertical

Light vertical line pattern

:pattern_light_down

Light diagonal stripe pattern

:pattern_light_up

Reverse light diagonal stripe pattern

:pattern_light_grid

Light grid pattern

:pattern_light_trellis

Light trellis pattern

:pattern_gray_125

12.5% gray pattern

:pattern_gray_0625

6.25% gray pattern

Returns:

  • (Symbol)


993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
# File 'lib/fast_excel/binding.rb', line 993

enum :format_patterns, [
  :pattern_none, 0,
  :pattern_solid, 1,
  :pattern_medium_gray, 2,
  :pattern_dark_gray, 3,
  :pattern_light_gray, 4,
  :pattern_dark_horizontal, 5,
  :pattern_dark_vertical, 6,
  :pattern_dark_down, 7,
  :pattern_dark_up, 8,
  :pattern_dark_grid, 9,
  :pattern_dark_trellis, 10,
  :pattern_light_horizontal, 11,
  :pattern_light_vertical, 12,
  :pattern_light_down, 13,
  :pattern_light_up, 14,
  :pattern_light_grid, 15,
  :pattern_light_trellis, 16,
  :pattern_gray_125, 17,
  :pattern_gray_0625, 18
]

._enum_format_scripts_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:format_scripts).

Options:

:font_superscript

Superscript font

:font_subscript

Subscript font

Returns:

  • (Symbol)


809
810
811
812
# File 'lib/fast_excel/binding.rb', line 809

enum :format_scripts, [
  :font_superscript, 1,
  :font_subscript, 2
]

._enum_format_underlines_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:format_underlines).

Options:

:underline_single

Single underline

:underline_double

Double underline

:underline_single_accounting

Single accounting underline

:underline_double_accounting

Double accounting underline

Returns:

  • (Symbol)


789
790
791
792
793
794
# File 'lib/fast_excel/binding.rb', line 789

enum :format_underlines, [
  :underline_single, 1,
  :underline_double, 2,
  :underline_single_accounting, 3,
  :underline_double_accounting, 4
]

._enum_gridlines_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:gridlines).

Options:

:hide_all

Hide screen and print gridlines.

:show_screen

Show screen gridlines.

:show_print

Show print gridlines.

:show_all

Show screen and print gridlines.

Returns:

  • (Symbol)


5425
5426
5427
5428
5429
5430
# File 'lib/fast_excel/binding.rb', line 5425

enum :gridlines, [
  :hide_all, 0,
  :show_screen, 1,
  :show_print, 2,
  :show_all, 3
]

._enum_image_types_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:image_types).

Options:

:unknown
:png
:jpeg
:bmp

Returns:

  • (Symbol)


5103
5104
5105
5106
5107
5108
# File 'lib/fast_excel/binding.rb', line 5103

enum :image_types, [
  :unknown, 0,
  :png, 1,
  :jpeg, 2,
  :bmp, 3
]

._enum_pane_types_Symbol

(Not documented)

This entry is only for documentation and no real method. The FFI::Enum can be accessed via #enum_type(:pane_types).

Options:

:no_panes
:freeze_panes
:split_panes
:freeze_split_panes

Returns:

  • (Symbol)


5491
5492
5493
5494
5495
5496
# File 'lib/fast_excel/binding.rb', line 5491

enum :pane_types, [
  :no_panes, 0,
  :freeze_panes, 1,
  :split_panes, 2,
  :freeze_split_panes, 3
]

.add_document_relationship(self_, type, target) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9214
# File 'lib/fast_excel/binding.rb', line 9214

attach_function :add_document_relationship, :lxw_add_document_relationship, [Relationships, :string, :string], :void

.add_drawing_object(drawing, drawing_object) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


5248
# File 'lib/fast_excel/binding.rb', line 5248

attach_function :add_drawing_object, :lxw_add_drawing_object, [Drawing, DrawingObject], :void

.add_ms_package_relationship(self_, type, target) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9234
# File 'lib/fast_excel/binding.rb', line 9234

attach_function :add_ms_package_relationship, :lxw_add_ms_package_relationship, [Relationships, :string, :string], :void

.add_package_relationship(self_, type, target) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9224
# File 'lib/fast_excel/binding.rb', line 9224

attach_function :add_package_relationship, :lxw_add_package_relationship, [Relationships, :string, :string], :void

.add_worksheet_relationship(self_, type, target, target_mode) ⇒ nil

(Not documented)

Parameters:

  • self_ (Relationships)
  • type (String)
  • target (String)
  • target_mode (String)

Returns:

  • (nil)


9245
# File 'lib/fast_excel/binding.rb', line 9245

attach_function :add_worksheet_relationship, :lxw_add_worksheet_relationship, [Relationships, :string, :string, :string], :void

.app_add_heading_pair(self_, key, value) ⇒ nil

(Not documented)

Parameters:

  • self_ (App)
  • key (String)
  • value (String)

Returns:

  • (nil)


8204
# File 'lib/fast_excel/binding.rb', line 8204

attach_function :app_add_heading_pair, :lxw_app_add_heading_pair, [App, :string, :string], :void

.app_add_part_name(self_, name) ⇒ nil

(Not documented)

Parameters:

  • self_ (App)
  • name (String)

Returns:

  • (nil)


8194
# File 'lib/fast_excel/binding.rb', line 8194

attach_function :app_add_part_name, :lxw_app_add_part_name, [App, :string], :void

.app_assemble_xml_file(self_) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8185
# File 'lib/fast_excel/binding.rb', line 8185

attach_function :app_assemble_xml_file, :lxw_app_assemble_xml_file, [App], :void

.app_free(app) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8177
# File 'lib/fast_excel/binding.rb', line 8177

attach_function :app_free, :lxw_app_free, [App], :void

.app_newApp

(Not documented)

Returns:



8169
# File 'lib/fast_excel/binding.rb', line 8169

attach_function :app_new, :lxw_app_new, [], App

.attach_function(name, *_) ⇒ Object



20
21
22
23
24
# File 'lib/fast_excel/binding.rb', line 20

def self.attach_function(name, *_)
  begin; super; rescue FFI::NotFoundError => e
    (class << self; self; end).class_eval { define_method(name) { |*_| raise e } }
  end
end

.call_zopen64(pfilefunc, filename, mode) ⇒ FFI::Pointer(Voidpf)

(Not documented)

Parameters:

Returns:

  • (FFI::Pointer(Voidpf))


8654
# File 'lib/fast_excel/binding.rb', line 8654

attach_function :call_zopen64, :call_zopen64, [ZlibFilefunc6432DefS, :pointer, :int], :pointer

.call_zseek64(pfilefunc, filestream, offset, origin) ⇒ Integer

(Not documented)

Parameters:

  • pfilefunc (ZlibFilefunc6432DefS)
  • filestream (FFI::Pointer(Voidpf))
  • offset (Integer)
  • origin (Integer)

Returns:

  • (Integer)


8665
# File 'lib/fast_excel/binding.rb', line 8665

attach_function :call_zseek64, :call_zseek64, [ZlibFilefunc6432DefS, :pointer, :ulong_long, :int], :long

.call_ztell64(pfilefunc, filestream) ⇒ Integer

(Not documented)

Parameters:

Returns:

  • (Integer)


8674
# File 'lib/fast_excel/binding.rb', line 8674

attach_function :call_ztell64, :call_ztell64, [ZlibFilefunc6432DefS, :pointer], :ulong_long

.chart_add_data_cache(range, data, rows, cols, col) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • range (SeriesRange)
  • data (FFI::Pointer(*Uint8T))
  • rows (Integer)
  • cols (Integer)
  • col (Integer)

Returns:



5003
# File 'lib/fast_excel/binding.rb', line 5003

attach_function :chart_add_data_cache, :lxw_chart_add_data_cache, [SeriesRange, :pointer, :ushort, :uchar, :uchar], :error

.chart_add_series(chart, categories, values) ⇒ ChartSeries

(Not documented)

Parameters:

  • chart (Chart)
  • categories (String)
  • values (String)

Returns:



4161
# File 'lib/fast_excel/binding.rb', line 4161

attach_function :chart_add_series, :chart_add_series, [Chart, :string, :string], ChartSeries

.chart_assemble_xml_file(chart) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4151
# File 'lib/fast_excel/binding.rb', line 4151

attach_function :chart_assemble_xml_file, :lxw_chart_assemble_xml_file, [Chart], :void

.chart_axis_major_gridlines_set_line(axis, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4735
# File 'lib/fast_excel/binding.rb', line 4735

attach_function :chart_axis_major_gridlines_set_line, :chart_axis_major_gridlines_set_line, [ChartAxis, ChartLine], :void

.chart_axis_major_gridlines_set_visible(axis, visible) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4717
# File 'lib/fast_excel/binding.rb', line 4717

attach_function :chart_axis_major_gridlines_set_visible, :chart_axis_major_gridlines_set_visible, [ChartAxis, :uchar], :void

.chart_axis_minor_gridlines_set_line(axis, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4744
# File 'lib/fast_excel/binding.rb', line 4744

attach_function :chart_axis_minor_gridlines_set_line, :chart_axis_minor_gridlines_set_line, [ChartAxis, ChartLine], :void

.chart_axis_minor_gridlines_set_visible(axis, visible) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4726
# File 'lib/fast_excel/binding.rb', line 4726

attach_function :chart_axis_minor_gridlines_set_visible, :chart_axis_minor_gridlines_set_visible, [ChartAxis, :uchar], :void

.chart_axis_off(axis) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4591
# File 'lib/fast_excel/binding.rb', line 4591

attach_function :chart_axis_off, :chart_axis_off, [ChartAxis], :void

.chart_axis_set_crossing(axis, value) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4575
# File 'lib/fast_excel/binding.rb', line 4575

attach_function :chart_axis_set_crossing, :chart_axis_set_crossing, [ChartAxis, :double], :void

.chart_axis_set_crossing_max(axis) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4583
# File 'lib/fast_excel/binding.rb', line 4583

attach_function :chart_axis_set_crossing_max, :chart_axis_set_crossing_max, [ChartAxis], :void

.chart_axis_set_display_units(axis, units) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4699
# File 'lib/fast_excel/binding.rb', line 4699

attach_function :chart_axis_set_display_units, :chart_axis_set_display_units, [ChartAxis, :uchar], :void

.chart_axis_set_display_units_visible(axis, visible) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4708
# File 'lib/fast_excel/binding.rb', line 4708

attach_function :chart_axis_set_display_units_visible, :chart_axis_set_display_units_visible, [ChartAxis, :uchar], :void

.chart_axis_set_fill(axis, fill) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4549
# File 'lib/fast_excel/binding.rb', line 4549

attach_function :chart_axis_set_fill, :chart_axis_set_fill, [ChartAxis, ChartFill], :void

.chart_axis_set_interval_tick(axis, unit) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4672
# File 'lib/fast_excel/binding.rb', line 4672

attach_function :chart_axis_set_interval_tick, :chart_axis_set_interval_tick, [ChartAxis, :ushort], :void

.chart_axis_set_interval_unit(axis, unit) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4663
# File 'lib/fast_excel/binding.rb', line 4663

attach_function :chart_axis_set_interval_unit, :chart_axis_set_interval_unit, [ChartAxis, :ushort], :void

.chart_axis_set_label_position(axis, position) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4609
# File 'lib/fast_excel/binding.rb', line 4609

attach_function :chart_axis_set_label_position, :chart_axis_set_label_position, [ChartAxis, :uchar], :void

.chart_axis_set_line(axis, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4540
# File 'lib/fast_excel/binding.rb', line 4540

attach_function :chart_axis_set_line, :chart_axis_set_line, [ChartAxis, ChartLine], :void

.chart_axis_set_log_base(axis, log_base) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4636
# File 'lib/fast_excel/binding.rb', line 4636

attach_function :chart_axis_set_log_base, :chart_axis_set_log_base, [ChartAxis, :ushort], :void

.chart_axis_set_major_tick_mark(axis, type) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4645
# File 'lib/fast_excel/binding.rb', line 4645

attach_function :chart_axis_set_major_tick_mark, :chart_axis_set_major_tick_mark, [ChartAxis, :uchar], :void

.chart_axis_set_major_unit(axis, unit) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4681
# File 'lib/fast_excel/binding.rb', line 4681

attach_function :chart_axis_set_major_unit, :chart_axis_set_major_unit, [ChartAxis, :double], :void

.chart_axis_set_max(axis, max) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4627
# File 'lib/fast_excel/binding.rb', line 4627

attach_function :chart_axis_set_max, :chart_axis_set_max, [ChartAxis, :double], :void

.chart_axis_set_min(axis, min) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4618
# File 'lib/fast_excel/binding.rb', line 4618

attach_function :chart_axis_set_min, :chart_axis_set_min, [ChartAxis, :double], :void

.chart_axis_set_minor_tick_mark(axis, type) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4654
# File 'lib/fast_excel/binding.rb', line 4654

attach_function :chart_axis_set_minor_tick_mark, :chart_axis_set_minor_tick_mark, [ChartAxis, :uchar], :void

.chart_axis_set_minor_unit(axis, unit) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4690
# File 'lib/fast_excel/binding.rb', line 4690

attach_function :chart_axis_set_minor_unit, :chart_axis_set_minor_unit, [ChartAxis, :double], :void

.chart_axis_set_name(axis, name) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4493
# File 'lib/fast_excel/binding.rb', line 4493

attach_function :chart_axis_set_name, :chart_axis_set_name, [ChartAxis, :string], :void

.chart_axis_set_name_font(axis, font) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4513
# File 'lib/fast_excel/binding.rb', line 4513

attach_function :chart_axis_set_name_font, :chart_axis_set_name_font, [ChartAxis, ChartFont], :void

.chart_axis_set_name_range(axis, sheetname, row, col) ⇒ nil

(Not documented)

Parameters:

  • axis (ChartAxis)
  • sheetname (String)
  • row (Integer)
  • col (Integer)

Returns:

  • (nil)


4504
# File 'lib/fast_excel/binding.rb', line 4504

attach_function :chart_axis_set_name_range, :chart_axis_set_name_range, [ChartAxis, :string, :uint, :ushort], :void

.chart_axis_set_num_font(axis, font) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4522
# File 'lib/fast_excel/binding.rb', line 4522

attach_function :chart_axis_set_num_font, :chart_axis_set_num_font, [ChartAxis, ChartFont], :void

.chart_axis_set_num_format(axis, num_format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4531
# File 'lib/fast_excel/binding.rb', line 4531

attach_function :chart_axis_set_num_format, :chart_axis_set_num_format, [ChartAxis, :string], :void

.chart_axis_set_pattern(axis, pattern) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4558
# File 'lib/fast_excel/binding.rb', line 4558

attach_function :chart_axis_set_pattern, :chart_axis_set_pattern, [ChartAxis, ChartPattern], :void

.chart_axis_set_position(axis, position) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4600
# File 'lib/fast_excel/binding.rb', line 4600

attach_function :chart_axis_set_position, :chart_axis_set_position, [ChartAxis, :uchar], :void

.chart_axis_set_reverse(axis) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4566
# File 'lib/fast_excel/binding.rb', line 4566

attach_function :chart_axis_set_reverse, :chart_axis_set_reverse, [ChartAxis], :void

.chart_chartarea_set_fill(chart, fill) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4826
# File 'lib/fast_excel/binding.rb', line 4826

attach_function :chart_chartarea_set_fill, :chart_chartarea_set_fill, [Chart, ChartFill], :void

.chart_chartarea_set_line(chart, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4817
# File 'lib/fast_excel/binding.rb', line 4817

attach_function :chart_chartarea_set_line, :chart_chartarea_set_line, [Chart, ChartLine], :void

.chart_chartarea_set_pattern(chart, pattern) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4835
# File 'lib/fast_excel/binding.rb', line 4835

attach_function :chart_chartarea_set_pattern, :chart_chartarea_set_pattern, [Chart, ChartPattern], :void

.chart_free(chart) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4143
# File 'lib/fast_excel/binding.rb', line 4143

attach_function :chart_free, :lxw_chart_free, [Chart], :void

.chart_legend_delete_series(chart, delete_series) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • chart (Chart)
  • delete_series (FFI::Pointer(*Short))

Returns:



4808
# File 'lib/fast_excel/binding.rb', line 4808

attach_function :chart_legend_delete_series, :chart_legend_delete_series, [Chart, :pointer], :error

.chart_legend_set_font(chart, font) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4799
# File 'lib/fast_excel/binding.rb', line 4799

attach_function :chart_legend_set_font, :chart_legend_set_font, [Chart, ChartFont], :void

.chart_legend_set_position(chart, position) ⇒ nil

(Not documented)

Parameters:

  • chart (Chart)
  • position (Integer)

Returns:

  • (nil)


4790
# File 'lib/fast_excel/binding.rb', line 4790

attach_function :chart_legend_set_position, :chart_legend_set_position, [Chart, :uchar], :void

.chart_new(type) ⇒ Chart

(Not documented)

Parameters:

  • type (Integer)

Returns:



4135
# File 'lib/fast_excel/binding.rb', line 4135

attach_function :chart_new, :lxw_chart_new, [:uchar], Chart

.chart_plotarea_set_fill(chart, fill) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4853
# File 'lib/fast_excel/binding.rb', line 4853

attach_function :chart_plotarea_set_fill, :chart_plotarea_set_fill, [Chart, ChartFill], :void

.chart_plotarea_set_line(chart, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4844
# File 'lib/fast_excel/binding.rb', line 4844

attach_function :chart_plotarea_set_line, :chart_plotarea_set_line, [Chart, ChartLine], :void

.chart_plotarea_set_pattern(chart, pattern) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4862
# File 'lib/fast_excel/binding.rb', line 4862

attach_function :chart_plotarea_set_pattern, :chart_plotarea_set_pattern, [Chart, ChartPattern], :void

.chart_series_set_categories(series, sheetname, first_row, first_col, last_row, last_col) ⇒ nil

(Not documented)

Parameters:

  • series (ChartSeries)
  • sheetname (String)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)

Returns:

  • (nil)


4174
# File 'lib/fast_excel/binding.rb', line 4174

attach_function :chart_series_set_categories, :chart_series_set_categories, [ChartSeries, :string, :uint, :ushort, :uint, :ushort], :void

.chart_series_set_error_bars(error_bars, type, value) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4457
# File 'lib/fast_excel/binding.rb', line 4457

attach_function :chart_series_set_error_bars, :chart_series_set_error_bars, [SeriesErrorBars, :uchar, :double], :void

.chart_series_set_error_bars_direction(error_bars, direction) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4466
# File 'lib/fast_excel/binding.rb', line 4466

attach_function :chart_series_set_error_bars_direction, :chart_series_set_error_bars_direction, [SeriesErrorBars, :uchar], :void

.chart_series_set_error_bars_endcap(error_bars, endcap) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4475
# File 'lib/fast_excel/binding.rb', line 4475

attach_function :chart_series_set_error_bars_endcap, :chart_series_set_error_bars_endcap, [SeriesErrorBars, :uchar], :void

.chart_series_set_error_bars_line(error_bars, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4484
# File 'lib/fast_excel/binding.rb', line 4484

attach_function :chart_series_set_error_bars_line, :chart_series_set_error_bars_line, [SeriesErrorBars, ChartLine], :void

.chart_series_set_fill(series, fill) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4225
# File 'lib/fast_excel/binding.rb', line 4225

attach_function :chart_series_set_fill, :chart_series_set_fill, [ChartSeries, ChartFill], :void

.chart_series_set_invert_if_negative(series) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4233
# File 'lib/fast_excel/binding.rb', line 4233

attach_function :chart_series_set_invert_if_negative, :chart_series_set_invert_if_negative, [ChartSeries], :void

.chart_series_set_labels(series) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4313
# File 'lib/fast_excel/binding.rb', line 4313

attach_function :chart_series_set_labels, :chart_series_set_labels, [ChartSeries], :void

.chart_series_set_labels_font(series, font) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4384
# File 'lib/fast_excel/binding.rb', line 4384

attach_function :chart_series_set_labels_font, :chart_series_set_labels_font, [ChartSeries, ChartFont], :void

.chart_series_set_labels_leader_line(series) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4350
# File 'lib/fast_excel/binding.rb', line 4350

attach_function :chart_series_set_labels_leader_line, :chart_series_set_labels_leader_line, [ChartSeries], :void

.chart_series_set_labels_legend(series) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4358
# File 'lib/fast_excel/binding.rb', line 4358

attach_function :chart_series_set_labels_legend, :chart_series_set_labels_legend, [ChartSeries], :void

.chart_series_set_labels_num_format(series, num_format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4375
# File 'lib/fast_excel/binding.rb', line 4375

attach_function :chart_series_set_labels_num_format, :chart_series_set_labels_num_format, [ChartSeries, :string], :void

.chart_series_set_labels_options(series, show_name, show_category, show_value) ⇒ nil

(Not documented)

Parameters:

  • series (ChartSeries)
  • show_name (Integer)
  • show_category (Integer)
  • show_value (Integer)

Returns:

  • (nil)


4324
# File 'lib/fast_excel/binding.rb', line 4324

attach_function :chart_series_set_labels_options, :chart_series_set_labels_options, [ChartSeries, :uchar, :uchar, :uchar], :void

.chart_series_set_labels_percentage(series) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4366
# File 'lib/fast_excel/binding.rb', line 4366

attach_function :chart_series_set_labels_percentage, :chart_series_set_labels_percentage, [ChartSeries], :void

.chart_series_set_labels_position(series, position) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4342
# File 'lib/fast_excel/binding.rb', line 4342

attach_function :chart_series_set_labels_position, :chart_series_set_labels_position, [ChartSeries, :uchar], :void

.chart_series_set_labels_separator(series, separator) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4333
# File 'lib/fast_excel/binding.rb', line 4333

attach_function :chart_series_set_labels_separator, :chart_series_set_labels_separator, [ChartSeries, :uchar], :void

.chart_series_set_line(series, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4216
# File 'lib/fast_excel/binding.rb', line 4216

attach_function :chart_series_set_line, :chart_series_set_line, [ChartSeries, ChartLine], :void

.chart_series_set_marker_fill(series, fill) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4278
# File 'lib/fast_excel/binding.rb', line 4278

attach_function :chart_series_set_marker_fill, :chart_series_set_marker_fill, [ChartSeries, ChartFill], :void

.chart_series_set_marker_line(series, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4269
# File 'lib/fast_excel/binding.rb', line 4269

attach_function :chart_series_set_marker_line, :chart_series_set_marker_line, [ChartSeries, ChartLine], :void

.chart_series_set_marker_pattern(series, pattern) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4287
# File 'lib/fast_excel/binding.rb', line 4287

attach_function :chart_series_set_marker_pattern, :chart_series_set_marker_pattern, [ChartSeries, ChartPattern], :void

.chart_series_set_marker_size(series, size) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4260
# File 'lib/fast_excel/binding.rb', line 4260

attach_function :chart_series_set_marker_size, :chart_series_set_marker_size, [ChartSeries, :uchar], :void

.chart_series_set_marker_type(series, type) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4251
# File 'lib/fast_excel/binding.rb', line 4251

attach_function :chart_series_set_marker_type, :chart_series_set_marker_type, [ChartSeries, :uchar], :void

.chart_series_set_name(series, name) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4196
# File 'lib/fast_excel/binding.rb', line 4196

attach_function :chart_series_set_name, :chart_series_set_name, [ChartSeries, :string], :void

.chart_series_set_name_range(series, sheetname, row, col) ⇒ nil

(Not documented)

Parameters:

  • series (ChartSeries)
  • sheetname (String)
  • row (Integer)
  • col (Integer)

Returns:

  • (nil)


4207
# File 'lib/fast_excel/binding.rb', line 4207

attach_function :chart_series_set_name_range, :chart_series_set_name_range, [ChartSeries, :string, :uint, :ushort], :void

.chart_series_set_pattern(series, pattern) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4242
# File 'lib/fast_excel/binding.rb', line 4242

attach_function :chart_series_set_pattern, :chart_series_set_pattern, [ChartSeries, ChartPattern], :void

.chart_series_set_points(series, points) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



4296
# File 'lib/fast_excel/binding.rb', line 4296

attach_function :chart_series_set_points, :chart_series_set_points, [ChartSeries, :pointer], :error

.chart_series_set_smooth(series, smooth) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4305
# File 'lib/fast_excel/binding.rb', line 4305

attach_function :chart_series_set_smooth, :chart_series_set_smooth, [ChartSeries, :uchar], :void

.chart_series_set_trendline(series, type, value) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4394
# File 'lib/fast_excel/binding.rb', line 4394

attach_function :chart_series_set_trendline, :chart_series_set_trendline, [ChartSeries, :uchar, :uchar], :void

.chart_series_set_trendline_equation(series) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4412
# File 'lib/fast_excel/binding.rb', line 4412

attach_function :chart_series_set_trendline_equation, :chart_series_set_trendline_equation, [ChartSeries], :void

.chart_series_set_trendline_forecast(series, forward, backward) ⇒ nil

(Not documented)

Parameters:

  • series (ChartSeries)
  • forward (Float)
  • backward (Float)

Returns:

  • (nil)


4404
# File 'lib/fast_excel/binding.rb', line 4404

attach_function :chart_series_set_trendline_forecast, :chart_series_set_trendline_forecast, [ChartSeries, :double, :double], :void

.chart_series_set_trendline_intercept(series, intercept) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4429
# File 'lib/fast_excel/binding.rb', line 4429

attach_function :chart_series_set_trendline_intercept, :chart_series_set_trendline_intercept, [ChartSeries, :double], :void

.chart_series_set_trendline_line(series, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4447
# File 'lib/fast_excel/binding.rb', line 4447

attach_function :chart_series_set_trendline_line, :chart_series_set_trendline_line, [ChartSeries, ChartLine], :void

.chart_series_set_trendline_name(series, name) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4438
# File 'lib/fast_excel/binding.rb', line 4438

attach_function :chart_series_set_trendline_name, :chart_series_set_trendline_name, [ChartSeries, :string], :void

.chart_series_set_trendline_r_squared(series) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4420
# File 'lib/fast_excel/binding.rb', line 4420

attach_function :chart_series_set_trendline_r_squared, :chart_series_set_trendline_r_squared, [ChartSeries], :void

.chart_series_set_values(series, sheetname, first_row, first_col, last_row, last_col) ⇒ nil

(Not documented)

Parameters:

  • series (ChartSeries)
  • sheetname (String)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)

Returns:

  • (nil)


4187
# File 'lib/fast_excel/binding.rb', line 4187

attach_function :chart_series_set_values, :chart_series_set_values, [ChartSeries, :string, :uint, :ushort, :uint, :ushort], :void

.chart_set_drop_lines(chart, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4929
# File 'lib/fast_excel/binding.rb', line 4929

attach_function :chart_set_drop_lines, :chart_set_drop_lines, [Chart, ChartLine], :void

.chart_set_high_low_lines(chart, line) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4938
# File 'lib/fast_excel/binding.rb', line 4938

attach_function :chart_set_high_low_lines, :chart_set_high_low_lines, [Chart, ChartLine], :void

.chart_set_hole_size(chart, size) ⇒ nil

(Not documented)

Parameters:

  • chart (Chart)
  • size (Integer)

Returns:

  • (nil)


4991
# File 'lib/fast_excel/binding.rb', line 4991

attach_function :chart_set_hole_size, :chart_set_hole_size, [Chart, :uchar], :void

.chart_set_rotation(chart, rotation) ⇒ nil

(Not documented)

Parameters:

  • chart (Chart)
  • rotation (Integer)

Returns:

  • (nil)


4982
# File 'lib/fast_excel/binding.rb', line 4982

attach_function :chart_set_rotation, :chart_set_rotation, [Chart, :ushort], :void

.chart_set_series_gap(chart, gap) ⇒ nil

(Not documented)

Parameters:

  • chart (Chart)
  • gap (Integer)

Returns:

  • (nil)


4956
# File 'lib/fast_excel/binding.rb', line 4956

attach_function :chart_set_series_gap, :chart_set_series_gap, [Chart, :ushort], :void

.chart_set_series_overlap(chart, overlap) ⇒ nil

(Not documented)

Parameters:

  • chart (Chart)
  • overlap (Integer)

Returns:

  • (nil)


4947
# File 'lib/fast_excel/binding.rb', line 4947

attach_function :chart_set_series_overlap, :chart_set_series_overlap, [Chart, :char], :void

.chart_set_style(chart, style_id) ⇒ nil

(Not documented)

Parameters:

  • chart (Chart)
  • style_id (Integer)

Returns:

  • (nil)


4871
# File 'lib/fast_excel/binding.rb', line 4871

attach_function :chart_set_style, :chart_set_style, [Chart, :uchar], :void

.chart_set_table(chart) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4879
# File 'lib/fast_excel/binding.rb', line 4879

attach_function :chart_set_table, :chart_set_table, [Chart], :void

.chart_set_table_font(chart, font) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4900
# File 'lib/fast_excel/binding.rb', line 4900

attach_function :chart_set_table_font, :chart_set_table_font, [Chart, ChartFont], :void

.chart_set_table_grid(chart, horizontal, vertical, outline, legend_keys) ⇒ nil

(Not documented)

Parameters:

  • chart (Chart)
  • horizontal (Integer)
  • vertical (Integer)
  • outline (Integer)
  • legend_keys (Integer)

Returns:

  • (nil)


4891
# File 'lib/fast_excel/binding.rb', line 4891

attach_function :chart_set_table_grid, :chart_set_table_grid, [Chart, :uchar, :uchar, :uchar, :uchar], :void

.chart_set_up_down_bars(chart) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4908
# File 'lib/fast_excel/binding.rb', line 4908

attach_function :chart_set_up_down_bars, :chart_set_up_down_bars, [Chart], :void

.chart_set_up_down_bars_format(chart, up_bar_line, up_bar_fill, down_bar_line, down_bar_fill) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4920
# File 'lib/fast_excel/binding.rb', line 4920

attach_function :chart_set_up_down_bars_format, :chart_set_up_down_bars_format, [Chart, ChartLine, ChartFill, ChartLine, ChartFill], :void

.chart_show_blanks_as(chart, option) ⇒ nil

(Not documented)

Parameters:

  • chart (Chart)
  • option (Integer)

Returns:

  • (nil)


4965
# File 'lib/fast_excel/binding.rb', line 4965

attach_function :chart_show_blanks_as, :chart_show_blanks_as, [Chart, :uchar], :void

.chart_show_hidden_data(chart) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4973
# File 'lib/fast_excel/binding.rb', line 4973

attach_function :chart_show_hidden_data, :chart_show_hidden_data, [Chart], :void

.chart_title_off(chart) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4781
# File 'lib/fast_excel/binding.rb', line 4781

attach_function :chart_title_off, :chart_title_off, [Chart], :void

.chart_title_set_name(chart, name) ⇒ nil

(Not documented)

Parameters:

  • chart (Chart)
  • name (String)

Returns:

  • (nil)


4753
# File 'lib/fast_excel/binding.rb', line 4753

attach_function :chart_title_set_name, :chart_title_set_name, [Chart, :string], :void

.chart_title_set_name_font(chart, font) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


4773
# File 'lib/fast_excel/binding.rb', line 4773

attach_function :chart_title_set_name_font, :chart_title_set_name_font, [Chart, ChartFont], :void

.chart_title_set_name_range(chart, sheetname, row, col) ⇒ nil

(Not documented)

Parameters:

  • chart (Chart)
  • sheetname (String)
  • row (Integer)
  • col (Integer)

Returns:

  • (nil)


4764
# File 'lib/fast_excel/binding.rb', line 4764

attach_function :chart_title_set_name_range, :chart_title_set_name_range, [Chart, :string, :uint, :ushort], :void

.col_to_name(col_name, col_num, absolute) ⇒ nil

(Not documented)

Parameters:

  • col_name (String)
  • col_num (Integer)
  • absolute (Integer)

Returns:

  • (nil)


5274
# File 'lib/fast_excel/binding.rb', line 5274

attach_function :col_to_name, :lxw_col_to_name, [:string, :ushort, :uchar], :void

.content_types_assemble_xml_file(content_types) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8255
# File 'lib/fast_excel/binding.rb', line 8255

attach_function :content_types_assemble_xml_file, :lxw_content_types_assemble_xml_file, [ContentTypes], :void

.content_types_free(content_types) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8247
# File 'lib/fast_excel/binding.rb', line 8247

attach_function :content_types_free, :lxw_content_types_free, [ContentTypes], :void

.content_types_newContentTypes

(Not documented)

Returns:



8239
# File 'lib/fast_excel/binding.rb', line 8239

attach_function :content_types_new, :lxw_content_types_new, [], ContentTypes

.core_assemble_xml_file(self_) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8374
# File 'lib/fast_excel/binding.rb', line 8374

attach_function :core_assemble_xml_file, :lxw_core_assemble_xml_file, [Core], :void

.core_free(core) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8366
# File 'lib/fast_excel/binding.rb', line 8366

attach_function :core_free, :lxw_core_free, [Core], :void

.core_newCore

(Not documented)

Returns:



8358
# File 'lib/fast_excel/binding.rb', line 8358

attach_function :core_new, :lxw_core_new, [], Core

.create_package(self_) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



9314
# File 'lib/fast_excel/binding.rb', line 9314

attach_function :create_package, :lxw_create_package, [Packager], :error

.ct_add_calc_chain(content_types) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8318
# File 'lib/fast_excel/binding.rb', line 8318

attach_function :ct_add_calc_chain, :lxw_ct_add_calc_chain, [ContentTypes], :void

.ct_add_chart_name(content_types, name) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8293
# File 'lib/fast_excel/binding.rb', line 8293

attach_function :ct_add_chart_name, :lxw_ct_add_chart_name, [ContentTypes, :string], :void

.ct_add_custom_properties(content_types) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8326
# File 'lib/fast_excel/binding.rb', line 8326

attach_function :ct_add_custom_properties, :lxw_ct_add_custom_properties, [ContentTypes], :void

.ct_add_default(content_types, key, value) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8265
# File 'lib/fast_excel/binding.rb', line 8265

attach_function :ct_add_default, :lxw_ct_add_default, [ContentTypes, :string, :string], :void

.ct_add_drawing_name(content_types, name) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8302
# File 'lib/fast_excel/binding.rb', line 8302

attach_function :ct_add_drawing_name, :lxw_ct_add_drawing_name, [ContentTypes, :string], :void

.ct_add_override(content_types, key, value) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8275
# File 'lib/fast_excel/binding.rb', line 8275

attach_function :ct_add_override, :lxw_ct_add_override, [ContentTypes, :string, :string], :void

.ct_add_shared_strings(content_types) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8310
# File 'lib/fast_excel/binding.rb', line 8310

attach_function :ct_add_shared_strings, :lxw_ct_add_shared_strings, [ContentTypes], :void

.ct_add_worksheet_name(content_types, name) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8284
# File 'lib/fast_excel/binding.rb', line 8284

attach_function :ct_add_worksheet_name, :lxw_ct_add_worksheet_name, [ContentTypes, :string], :void

.custom_assemble_xml_file(self_) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8425
# File 'lib/fast_excel/binding.rb', line 8425

attach_function :custom_assemble_xml_file, :lxw_custom_assemble_xml_file, [Custom], :void

.custom_free(custom) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8417
# File 'lib/fast_excel/binding.rb', line 8417

attach_function :custom_free, :lxw_custom_free, [Custom], :void

.custom_newCustom

(Not documented)

Returns:



8409
# File 'lib/fast_excel/binding.rb', line 8409

attach_function :custom_new, :lxw_custom_new, [], Custom

.datetime_to_excel_date(datetime, date_1904) ⇒ Float

(Not documented)

Parameters:

  • datetime (Datetime)
  • date_1904 (Integer)

Returns:

  • (Float)


5374
# File 'lib/fast_excel/binding.rb', line 5374

attach_function :datetime_to_excel_date, :lxw_datetime_to_excel_date, [Datetime, :uchar], :double

.drawing_assemble_xml_file(self_) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


5231
# File 'lib/fast_excel/binding.rb', line 5231

attach_function :drawing_assemble_xml_file, :lxw_drawing_assemble_xml_file, [Drawing], :void

.drawing_free(drawing) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


5223
# File 'lib/fast_excel/binding.rb', line 5223

attach_function :drawing_free, :lxw_drawing_free, [Drawing], :void

.drawing_newDrawing

(Not documented)

Returns:



5215
# File 'lib/fast_excel/binding.rb', line 5215

attach_function :drawing_new, :lxw_drawing_new, [], Drawing

.escape_control_characters(string) ⇒ String

(Not documented)

Parameters:

  • string (String)

Returns:

  • (String)


9504
# File 'lib/fast_excel/binding.rb', line 9504

attach_function :escape_control_characters, :lxw_escape_control_characters, [:string], :string

.escape_data(data) ⇒ String

(Not documented)

Parameters:

  • data (String)

Returns:

  • (String)


9512
# File 'lib/fast_excel/binding.rb', line 9512

attach_function :escape_data, :lxw_escape_data, [:string], :string

.fill_fopen64_filefunc(pzlib_filefunc_def) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8618
# File 'lib/fast_excel/binding.rb', line 8618

attach_function :fill_fopen64_filefunc, :fill_fopen64_filefunc, [ZlibFilefunc64DefS], :void

.fill_fopen_filefunc(pzlib_filefunc_def) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8626
# File 'lib/fast_excel/binding.rb', line 8626

attach_function :fill_fopen_filefunc, :fill_fopen_filefunc, [ZlibFilefuncDefS], :void

.fill_zlib_filefunc64_32_def_from_filefunc32(p_filefunc64_32, p_filefunc32) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8683
# File 'lib/fast_excel/binding.rb', line 8683

attach_function :fill_zlib_filefunc64_32_def_from_filefunc32, :fill_zlib_filefunc64_32_def_from_filefunc32, [ZlibFilefunc6432DefS, ZlibFilefuncDefS], :void

.format_check_color(color) ⇒ Integer

(Not documented)

Parameters:

  • color (Integer)

Returns:

  • (Integer)


1700
# File 'lib/fast_excel/binding.rb', line 1700

attach_function :format_check_color, :lxw_format_check_color, [:int], :int

.format_free(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


1660
# File 'lib/fast_excel/binding.rb', line 1660

attach_function :format_free, :lxw_format_free, [Format], :void

.format_get_border_key(format) ⇒ Border

(Not documented)

Parameters:

Returns:



1684
# File 'lib/fast_excel/binding.rb', line 1684

attach_function :format_get_border_key, :lxw_format_get_border_key, [Format], Border

.format_get_fill_key(format) ⇒ Fill

(Not documented)

Parameters:

Returns:



1692
# File 'lib/fast_excel/binding.rb', line 1692

attach_function :format_get_fill_key, :lxw_format_get_fill_key, [Format], Fill

.format_get_font_key(format) ⇒ Font

(Not documented)

Parameters:

Returns:



1676
# File 'lib/fast_excel/binding.rb', line 1676

attach_function :format_get_font_key, :lxw_format_get_font_key, [Format], Font

.format_get_xf_index(format) ⇒ Integer

(Not documented)

Parameters:

Returns:

  • (Integer)


1668
# File 'lib/fast_excel/binding.rb', line 1668

attach_function :format_get_xf_index, :lxw_format_get_xf_index, [Format], :int

.format_newFormat

(Not documented)

Returns:



1652
# File 'lib/fast_excel/binding.rb', line 1652

attach_function :format_new, :lxw_format_new, [], Format

.format_set_align(format, alignment) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • alignment (Integer)

Returns:

  • (nil)


1812
# File 'lib/fast_excel/binding.rb', line 1812

attach_function :format_set_align, :format_set_align, [Format, :uchar], :void

.format_set_bg_color(format, color) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • color (Integer)

Returns:

  • (nil)


1864
# File 'lib/fast_excel/binding.rb', line 1864

attach_function :format_set_bg_color, :format_set_bg_color, [Format, :int], :void

.format_set_bold(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


1735
# File 'lib/fast_excel/binding.rb', line 1735

attach_function :format_set_bold, :format_set_bold, [Format], :void

.format_set_border(format, style) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • style (Integer)

Returns:

  • (nil)


1882
# File 'lib/fast_excel/binding.rb', line 1882

attach_function :format_set_border, :format_set_border, [Format, :uchar], :void

.format_set_border_color(format, color) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • color (Integer)

Returns:

  • (nil)


1927
# File 'lib/fast_excel/binding.rb', line 1927

attach_function :format_set_border_color, :format_set_border_color, [Format, :int], :void

.format_set_bottom(format, style) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • style (Integer)

Returns:

  • (nil)


1891
# File 'lib/fast_excel/binding.rb', line 1891

attach_function :format_set_bottom, :format_set_bottom, [Format, :uchar], :void

.format_set_bottom_color(format, color) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • color (Integer)

Returns:

  • (nil)


1936
# File 'lib/fast_excel/binding.rb', line 1936

attach_function :format_set_bottom_color, :format_set_bottom_color, [Format, :int], :void

.format_set_diag_border(format, value) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • value (Integer)

Returns:

  • (nil)


1990
# File 'lib/fast_excel/binding.rb', line 1990

attach_function :format_set_diag_border, :format_set_diag_border, [Format, :uchar], :void

.format_set_diag_color(format, color) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • color (Integer)

Returns:

  • (nil)


1981
# File 'lib/fast_excel/binding.rb', line 1981

attach_function :format_set_diag_color, :format_set_diag_color, [Format, :int], :void

.format_set_diag_type(format, value) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • value (Integer)

Returns:

  • (nil)


1972
# File 'lib/fast_excel/binding.rb', line 1972

attach_function :format_set_diag_type, :format_set_diag_type, [Format, :uchar], :void

.format_set_fg_color(format, color) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • color (Integer)

Returns:

  • (nil)


1873
# File 'lib/fast_excel/binding.rb', line 1873

attach_function :format_set_fg_color, :format_set_fg_color, [Format, :int], :void

.format_set_font_charset(format, value) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • value (Integer)

Returns:

  • (nil)


2024
# File 'lib/fast_excel/binding.rb', line 2024

attach_function :format_set_font_charset, :format_set_font_charset, [Format, :uchar], :void

.format_set_font_color(format, color) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • color (Integer)

Returns:

  • (nil)


1727
# File 'lib/fast_excel/binding.rb', line 1727

attach_function :format_set_font_color, :format_set_font_color, [Format, :int], :void

.format_set_font_condense(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


2041
# File 'lib/fast_excel/binding.rb', line 2041

attach_function :format_set_font_condense, :format_set_font_condense, [Format], :void

.format_set_font_extend(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


2049
# File 'lib/fast_excel/binding.rb', line 2049

attach_function :format_set_font_extend, :format_set_font_extend, [Format], :void

.format_set_font_family(format, value) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • value (Integer)

Returns:

  • (nil)


2015
# File 'lib/fast_excel/binding.rb', line 2015

attach_function :format_set_font_family, :format_set_font_family, [Format, :uchar], :void

.format_set_font_name(format, font_name) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • font_name (String)

Returns:

  • (nil)


1709
# File 'lib/fast_excel/binding.rb', line 1709

attach_function :format_set_font_name, :format_set_font_name, [Format, :string], :void

.format_set_font_outline(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


1998
# File 'lib/fast_excel/binding.rb', line 1998

attach_function :format_set_font_outline, :format_set_font_outline, [Format], :void

.format_set_font_scheme(format, font_scheme) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • font_scheme (String)

Returns:

  • (nil)


2033
# File 'lib/fast_excel/binding.rb', line 2033

attach_function :format_set_font_scheme, :format_set_font_scheme, [Format, :string], :void

.format_set_font_script(format, style) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • style (Integer)

Returns:

  • (nil)


1769
# File 'lib/fast_excel/binding.rb', line 1769

attach_function :format_set_font_script, :format_set_font_script, [Format, :uchar], :void

.format_set_font_shadow(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


2006
# File 'lib/fast_excel/binding.rb', line 2006

attach_function :format_set_font_shadow, :format_set_font_shadow, [Format], :void

.format_set_font_size(format, size) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • size (Integer)

Returns:

  • (nil)


1718
# File 'lib/fast_excel/binding.rb', line 1718

attach_function :format_set_font_size, :format_set_font_size, [Format, :ushort], :void

.format_set_font_strikeout(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


1760
# File 'lib/fast_excel/binding.rb', line 1760

attach_function :format_set_font_strikeout, :format_set_font_strikeout, [Format], :void

.format_set_hidden(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


1803
# File 'lib/fast_excel/binding.rb', line 1803

attach_function :format_set_hidden, :format_set_hidden, [Format], :void

.format_set_indent(format, level) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • level (Integer)

Returns:

  • (nil)


1838
# File 'lib/fast_excel/binding.rb', line 1838

attach_function :format_set_indent, :format_set_indent, [Format, :uchar], :void

.format_set_italic(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


1743
# File 'lib/fast_excel/binding.rb', line 1743

attach_function :format_set_italic, :format_set_italic, [Format], :void

.format_set_left(format, style) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • style (Integer)

Returns:

  • (nil)


1909
# File 'lib/fast_excel/binding.rb', line 1909

attach_function :format_set_left, :format_set_left, [Format, :uchar], :void

.format_set_left_color(format, color) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • color (Integer)

Returns:

  • (nil)


1954
# File 'lib/fast_excel/binding.rb', line 1954

attach_function :format_set_left_color, :format_set_left_color, [Format, :int], :void

.format_set_num_format(format, num_format) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • num_format (String)

Returns:

  • (nil)


1778
# File 'lib/fast_excel/binding.rb', line 1778

attach_function :format_set_num_format, :format_set_num_format, [Format, :string], :void

.format_set_num_format_index(format, index) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • index (Integer)

Returns:

  • (nil)


1787
# File 'lib/fast_excel/binding.rb', line 1787

attach_function :format_set_num_format_index, :format_set_num_format_index, [Format, :uchar], :void

.format_set_pattern(format, index) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • index (Integer)

Returns:

  • (nil)


1855
# File 'lib/fast_excel/binding.rb', line 1855

attach_function :format_set_pattern, :format_set_pattern, [Format, :uchar], :void

.format_set_reading_order(format, value) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • value (Integer)

Returns:

  • (nil)


2058
# File 'lib/fast_excel/binding.rb', line 2058

attach_function :format_set_reading_order, :format_set_reading_order, [Format, :uchar], :void

.format_set_right(format, style) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • style (Integer)

Returns:

  • (nil)


1918
# File 'lib/fast_excel/binding.rb', line 1918

attach_function :format_set_right, :format_set_right, [Format, :uchar], :void

.format_set_right_color(format, color) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • color (Integer)

Returns:

  • (nil)


1963
# File 'lib/fast_excel/binding.rb', line 1963

attach_function :format_set_right_color, :format_set_right_color, [Format, :int], :void

.format_set_rotation(format, angle) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • angle (Integer)

Returns:

  • (nil)


1829
# File 'lib/fast_excel/binding.rb', line 1829

attach_function :format_set_rotation, :format_set_rotation, [Format, :short], :void

.format_set_shrink(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


1846
# File 'lib/fast_excel/binding.rb', line 1846

attach_function :format_set_shrink, :format_set_shrink, [Format], :void

.format_set_text_wrap(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


1820
# File 'lib/fast_excel/binding.rb', line 1820

attach_function :format_set_text_wrap, :format_set_text_wrap, [Format], :void

.format_set_theme(format, value) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • value (Integer)

Returns:

  • (nil)


2067
# File 'lib/fast_excel/binding.rb', line 2067

attach_function :format_set_theme, :format_set_theme, [Format, :uchar], :void

.format_set_top(format, style) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • style (Integer)

Returns:

  • (nil)


1900
# File 'lib/fast_excel/binding.rb', line 1900

attach_function :format_set_top, :format_set_top, [Format, :uchar], :void

.format_set_top_color(format, color) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • color (Integer)

Returns:

  • (nil)


1945
# File 'lib/fast_excel/binding.rb', line 1945

attach_function :format_set_top_color, :format_set_top_color, [Format, :int], :void

.format_set_underline(format, style) ⇒ nil

(Not documented)

Parameters:

  • format (Format)
  • style (Integer)

Returns:

  • (nil)


1752
# File 'lib/fast_excel/binding.rb', line 1752

attach_function :format_set_underline, :format_set_underline, [Format, :uchar], :void

.format_set_unlocked(format) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


1795
# File 'lib/fast_excel/binding.rb', line 1795

attach_function :format_set_unlocked, :format_set_unlocked, [Format], :void

.free_drawing_object(drawing_object) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


5239
# File 'lib/fast_excel/binding.rb', line 5239

attach_function :free_drawing_object, :lxw_free_drawing_object, [DrawingObject], :void

.free_relationships(relationships) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9196
# File 'lib/fast_excel/binding.rb', line 9196

attach_function :free_relationships, :lxw_free_relationships, [Relationships], :void

.get_sst_index(sst, string) ⇒ SstElement

(Not documented)

Parameters:

  • sst (Sst)
  • string (String)

Returns:



639
# File 'lib/fast_excel/binding.rb', line 639

attach_function :get_sst_index, :lxw_get_sst_index, [Sst, :string], SstElement

.hash_free(hash) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


770
# File 'lib/fast_excel/binding.rb', line 770

attach_function :hash_free, :lxw_hash_free, [HashTable], :void

.hash_key_exists(hash, key, key_len) ⇒ HashElement

(Not documented)

Parameters:

  • hash (HashTable)
  • key (FFI::Pointer(*Void))
  • key_len (Integer)

Returns:



741
# File 'lib/fast_excel/binding.rb', line 741

attach_function :hash_key_exists, :lxw_hash_key_exists, [HashTable, :pointer, :ulong], HashElement

.hash_new(num_buckets, free_key, free_value) ⇒ HashTable

(Not documented)

Parameters:

  • num_buckets (Integer)
  • free_key (Integer)
  • free_value (Integer)

Returns:



762
# File 'lib/fast_excel/binding.rb', line 762

attach_function :hash_new, :lxw_hash_new, [:uint, :uchar, :uchar], HashTable

.insert_hash_element(hash, key, value, key_len) ⇒ HashElement

(Not documented)

Parameters:

  • hash (HashTable)
  • key (FFI::Pointer(*Void))
  • value (FFI::Pointer(*Void))
  • key_len (Integer)

Returns:



752
# File 'lib/fast_excel/binding.rb', line 752

attach_function :insert_hash_element, :lxw_insert_hash_element, [HashTable, :pointer, :pointer, :ulong], HashElement

.name_to_col(col_str) ⇒ Integer

(Not documented)

Parameters:

  • col_str (String)

Returns:

  • (Integer)


5349
# File 'lib/fast_excel/binding.rb', line 5349

attach_function :name_to_col, :lxw_name_to_col, [:string], :ushort

.name_to_col_2(col_str) ⇒ Integer

(Not documented)

Parameters:

  • col_str (String)

Returns:

  • (Integer)


5365
# File 'lib/fast_excel/binding.rb', line 5365

attach_function :name_to_col_2, :lxw_name_to_col_2, [:string], :ushort

.name_to_row(row_str) ⇒ Integer

(Not documented)

Parameters:

  • row_str (String)

Returns:

  • (Integer)


5341
# File 'lib/fast_excel/binding.rb', line 5341

attach_function :name_to_row, :lxw_name_to_row, [:string], :uint

.name_to_row_2(row_str) ⇒ Integer

(Not documented)

Parameters:

  • row_str (String)

Returns:

  • (Integer)


5357
# File 'lib/fast_excel/binding.rb', line 5357

attach_function :name_to_row_2, :lxw_name_to_row_2, [:string], :uint

.new_attribute_dbl(key, value) ⇒ XmlAttribute

(Not documented)

Parameters:

  • key (String)
  • value (Float)

Returns:



9400
# File 'lib/fast_excel/binding.rb', line 9400

attach_function :new_attribute_dbl, :lxw_new_attribute_dbl, [:string, :double], XmlAttribute

.new_attribute_int(key, value) ⇒ XmlAttribute

(Not documented)

Parameters:

  • key (String)
  • value (Integer)

Returns:



9391
# File 'lib/fast_excel/binding.rb', line 9391

attach_function :new_attribute_int, :lxw_new_attribute_int, [:string, :uint], XmlAttribute

.new_attribute_str(key, value) ⇒ XmlAttribute

Create a new attribute struct to add to a xml_attribute_list.

Parameters:

  • key (String)
  • value (String)

Returns:



9382
# File 'lib/fast_excel/binding.rb', line 9382

attach_function :new_attribute_str, :lxw_new_attribute_str, [:string, :string], XmlAttribute

.new_workbook(filename) ⇒ Workbook

(Not documented)

Parameters:

  • filename (String)

Returns:



7889
# File 'lib/fast_excel/binding.rb', line 7889

attach_function :new_workbook, :new_workbook, [:string], Workbook

.new_workbook_opt(filename, options) ⇒ Workbook

(Not documented)

Parameters:

Returns:



7898
# File 'lib/fast_excel/binding.rb', line 7898

attach_function :new_workbook_opt, :new_workbook_opt, [:string, WorkbookOptions], Workbook

.packager_free(packager) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9306
# File 'lib/fast_excel/binding.rb', line 9306

attach_function :packager_free, :lxw_packager_free, [Packager], :void

.packager_new(filename, tmpdir) ⇒ Packager

(Not documented)

Parameters:

  • filename (String)
  • tmpdir (String)

Returns:



9298
# File 'lib/fast_excel/binding.rb', line 9298

attach_function :packager_new, :lxw_packager_new, [:string, :string], Packager

.quote_sheetname(str) ⇒ String

(Not documented)

Parameters:

  • str (String)

Returns:

  • (String)


5264
# File 'lib/fast_excel/binding.rb', line 5264

attach_function :quote_sheetname, :lxw_quote_sheetname, [:string], :string

.relationships_assemble_xml_file(self_) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9204
# File 'lib/fast_excel/binding.rb', line 9204

attach_function :relationships_assemble_xml_file, :lxw_relationships_assemble_xml_file, [Relationships], :void

.relationships_newRelationships

INDENT-ON

Returns:



9188
# File 'lib/fast_excel/binding.rb', line 9188

attach_function :relationships_new, :lxw_relationships_new, [], Relationships

.rowcol_to_cell(cell_name, row, col) ⇒ nil

(Not documented)

Parameters:

  • cell_name (String)
  • row (Integer)
  • col (Integer)

Returns:

  • (nil)


5284
# File 'lib/fast_excel/binding.rb', line 5284

attach_function :rowcol_to_cell, :lxw_rowcol_to_cell, [:string, :uint, :ushort], :void

.rowcol_to_cell_abs(cell_name, row, col, abs_row, abs_col) ⇒ nil

(Not documented)

Parameters:

  • cell_name (String)
  • row (Integer)
  • col (Integer)
  • abs_row (Integer)
  • abs_col (Integer)

Returns:

  • (nil)


5296
# File 'lib/fast_excel/binding.rb', line 5296

attach_function :rowcol_to_cell_abs, :lxw_rowcol_to_cell_abs, [:string, :uint, :ushort, :uchar, :uchar], :void

.rowcol_to_formula_abs(formula, sheetname, first_row, first_col, last_row, last_col) ⇒ nil

(Not documented)

Parameters:

  • formula (String)
  • sheetname (String)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)

Returns:

  • (nil)


5333
# File 'lib/fast_excel/binding.rb', line 5333

attach_function :rowcol_to_formula_abs, :lxw_rowcol_to_formula_abs, [:string, :string, :uint, :ushort, :uint, :ushort], :void

.rowcol_to_range(range, first_row, first_col, last_row, last_col) ⇒ nil

(Not documented)

Parameters:

  • range (String)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)

Returns:

  • (nil)


5308
# File 'lib/fast_excel/binding.rb', line 5308

attach_function :rowcol_to_range, :lxw_rowcol_to_range, [:string, :uint, :ushort, :uint, :ushort], :void

.rowcol_to_range_abs(range, first_row, first_col, last_row, last_col) ⇒ nil

(Not documented)

Parameters:

  • range (String)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)

Returns:

  • (nil)


5320
# File 'lib/fast_excel/binding.rb', line 5320

attach_function :rowcol_to_range_abs, :lxw_rowcol_to_range_abs, [:string, :uint, :ushort, :uint, :ushort], :void

.sst_assemble_xml_file(self_) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


647
# File 'lib/fast_excel/binding.rb', line 647

attach_function :sst_assemble_xml_file, :lxw_sst_assemble_xml_file, [Sst], :void

.sst_free(sst) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


630
# File 'lib/fast_excel/binding.rb', line 630

attach_function :sst_free, :lxw_sst_free, [Sst], :void

.sst_newSst

(Not documented)

Returns:



622
# File 'lib/fast_excel/binding.rb', line 622

attach_function :sst_new, :lxw_sst_new, [], Sst

.str_tolower(str) ⇒ nil

(Not documented)

Parameters:

  • str (String)

Returns:

  • (nil)


5398
# File 'lib/fast_excel/binding.rb', line 5398

attach_function :str_tolower, :lxw_str_tolower, [:string], :void

.strdup(str) ⇒ String

(Not documented)

Parameters:

  • str (String)

Returns:

  • (String)


5382
# File 'lib/fast_excel/binding.rb', line 5382

attach_function :strdup, :lxw_strdup, [:string], :string

.strerror(error_num) ⇒ String

(Not documented)

Parameters:

Returns:

  • (String)


5256
# File 'lib/fast_excel/binding.rb', line 5256

attach_function :strerror, :lxw_strerror, [:error], :string

.styles_assemble_xml_file(self_) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9119
# File 'lib/fast_excel/binding.rb', line 9119

attach_function :styles_assemble_xml_file, :lxw_styles_assemble_xml_file, [Styles], :void

.styles_free(styles) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9111
# File 'lib/fast_excel/binding.rb', line 9111

attach_function :styles_free, :lxw_styles_free, [Styles], :void

.styles_newStyles

(Not documented)

Returns:



9103
# File 'lib/fast_excel/binding.rb', line 9103

attach_function :styles_new, :lxw_styles_new, [], Styles

.theme_assemble_xml_file(self_) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9050
# File 'lib/fast_excel/binding.rb', line 9050

attach_function :theme_assemble_xml_file, :lxw_theme_assemble_xml_file, [Theme], :void

.theme_free(theme) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9034
# File 'lib/fast_excel/binding.rb', line 9034

attach_function :theme_free, :lxw_theme_free, [Theme], :void

.theme_newTheme

(Not documented)

Returns:



9026
# File 'lib/fast_excel/binding.rb', line 9026

attach_function :theme_new, :lxw_theme_new, [], Theme

.theme_xml_declaration(self_) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


9042
# File 'lib/fast_excel/binding.rb', line 9042

attach_function :theme_xml_declaration, :lxw_theme_xml_declaration, [Theme], :void

.tmpfile(tmpdir) ⇒ FFI::Pointer(*FILE)

(Not documented)

Parameters:

  • tmpdir (String)

Returns:

  • (FFI::Pointer(*FILE))


5406
# File 'lib/fast_excel/binding.rb', line 5406

attach_function :tmpfile, :lxw_tmpfile, [:string], :pointer

.tmpfileplus(dir, prefix, pathname, keep) ⇒ FFI::Pointer(*FILE)

(Not documented)

Parameters:

  • dir (String)
  • prefix (String)
  • pathname (FFI::Pointer(**CharS))
  • keep (Integer)

Returns:

  • (FFI::Pointer(*FILE))


9325
# File 'lib/fast_excel/binding.rb', line 9325

attach_function :tmpfileplus, :tmpfileplus, [:string, :string, :pointer, :int], :pointer

.tmpfileplus_f(dir, prefix, pathnamebuf, pathsize, keep) ⇒ FFI::Pointer(*FILE)

(Not documented)

Parameters:

  • dir (String)
  • prefix (String)
  • pathnamebuf (String)
  • pathsize (Integer)
  • keep (Integer)

Returns:

  • (FFI::Pointer(*FILE))


9337
# File 'lib/fast_excel/binding.rb', line 9337

attach_function :tmpfileplus_f, :tmpfileplus_f, [:string, :string, :string, :ulong, :int], :pointer

.utf8_strlen(str) ⇒ Integer

(Not documented)

Parameters:

  • str (String)

Returns:

  • (Integer)


5390
# File 'lib/fast_excel/binding.rb', line 5390

attach_function :utf8_strlen, :lxw_utf8_strlen, [:string], :ulong

.workbook_add_chart(workbook, chart_type) ⇒ Chart

(Not documented)

Parameters:

  • workbook (Workbook)
  • chart_type (Integer)

Returns:



7924
# File 'lib/fast_excel/binding.rb', line 7924

attach_function :workbook_add_chart, :workbook_add_chart, [Workbook, :uchar], Chart

.workbook_add_format(workbook) ⇒ Format

(Not documented)

Parameters:

Returns:



7915
# File 'lib/fast_excel/binding.rb', line 7915

attach_function :workbook_add_format, :workbook_add_format, [Workbook], Format

.workbook_add_worksheet(workbook, sheetname) ⇒ Worksheet

(Not documented)

Parameters:

  • workbook (Workbook)
  • sheetname (String)

Returns:



7907
# File 'lib/fast_excel/binding.rb', line 7907

attach_function :workbook_add_worksheet, :workbook_add_worksheet, [Workbook, :string], Worksheet

.workbook_assemble_xml_file(workbook) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8035
# File 'lib/fast_excel/binding.rb', line 8035

attach_function :workbook_assemble_xml_file, :lxw_workbook_assemble_xml_file, [Workbook], :void

.workbook_close(workbook) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



7932
# File 'lib/fast_excel/binding.rb', line 7932

attach_function :workbook_close, :workbook_close, [Workbook], :error

.workbook_define_name(workbook, name, formula) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • workbook (Workbook)
  • name (String)
  • formula (String)

Returns:



8001
# File 'lib/fast_excel/binding.rb', line 8001

attach_function :workbook_define_name, :workbook_define_name, [Workbook, :string, :string], :error

.workbook_free(workbook) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8027
# File 'lib/fast_excel/binding.rb', line 8027

attach_function :workbook_free, :lxw_workbook_free, [Workbook], :void

.workbook_get_worksheet_by_name(workbook, name) ⇒ Worksheet

(Not documented)

Parameters:

Returns:



8010
# File 'lib/fast_excel/binding.rb', line 8010

attach_function :workbook_get_worksheet_by_name, :workbook_get_worksheet_by_name, [Workbook, :string], Worksheet

.workbook_new(filename) ⇒ Workbook

(Not documented)

Parameters:

  • filename (String)

Returns:



7872
# File 'lib/fast_excel/binding.rb', line 7872

attach_function :workbook_new, :workbook_new, [:string], Workbook

.workbook_new_opt(filename, options) ⇒ Workbook

(Not documented)

Parameters:

Returns:



7881
# File 'lib/fast_excel/binding.rb', line 7881

attach_function :workbook_new_opt, :workbook_new_opt, [:string, WorkbookOptions], Workbook

.workbook_set_custom_property_boolean(workbook, name, value) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • workbook (Workbook)
  • name (String)
  • value (Integer)

Returns:



7981
# File 'lib/fast_excel/binding.rb', line 7981

attach_function :workbook_set_custom_property_boolean, :workbook_set_custom_property_boolean, [Workbook, :string, :uchar], :error

.workbook_set_custom_property_datetime(workbook, name, datetime) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



7991
# File 'lib/fast_excel/binding.rb', line 7991

attach_function :workbook_set_custom_property_datetime, :workbook_set_custom_property_datetime, [Workbook, :string, Datetime], :error

.workbook_set_custom_property_integer(workbook, name, value) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • workbook (Workbook)
  • name (String)
  • value (Integer)

Returns:



7971
# File 'lib/fast_excel/binding.rb', line 7971

attach_function :workbook_set_custom_property_integer, :workbook_set_custom_property_integer, [Workbook, :string, :int], :error

.workbook_set_custom_property_number(workbook, name, value) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • workbook (Workbook)
  • name (String)
  • value (Float)

Returns:



7961
# File 'lib/fast_excel/binding.rb', line 7961

attach_function :workbook_set_custom_property_number, :workbook_set_custom_property_number, [Workbook, :string, :double], :error

.workbook_set_custom_property_string(workbook, name, value) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • workbook (Workbook)
  • name (String)
  • value (String)

Returns:



7951
# File 'lib/fast_excel/binding.rb', line 7951

attach_function :workbook_set_custom_property_string, :workbook_set_custom_property_string, [Workbook, :string, :string], :error

.workbook_set_default_xf_indices(workbook) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


8043
# File 'lib/fast_excel/binding.rb', line 8043

attach_function :workbook_set_default_xf_indices, :lxw_workbook_set_default_xf_indices, [Workbook], :void

.workbook_set_properties(workbook, properties) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



7941
# File 'lib/fast_excel/binding.rb', line 7941

attach_function :workbook_set_properties, :workbook_set_properties, [Workbook, DocProperties], :error

.workbook_validate_worksheet_name(workbook, sheetname) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • workbook (Workbook)
  • sheetname (String)

Returns:



8019
# File 'lib/fast_excel/binding.rb', line 8019

attach_function :workbook_validate_worksheet_name, :workbook_validate_worksheet_name, [Workbook, :string], :error

.worksheet_activate(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7100
# File 'lib/fast_excel/binding.rb', line 7100

attach_function :worksheet_activate, :worksheet_activate, [Worksheet], :void

.worksheet_assemble_xml_file(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7461
# File 'lib/fast_excel/binding.rb', line 7461

attach_function :worksheet_assemble_xml_file, :lxw_worksheet_assemble_xml_file, [Worksheet], :void

.worksheet_autofilter(worksheet, first_row, first_col, last_row, last_col) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)

Returns:



7092
# File 'lib/fast_excel/binding.rb', line 7092

attach_function :worksheet_autofilter, :worksheet_autofilter, [Worksheet, :uint, :ushort, :uint, :ushort], :error

.worksheet_center_horizontally(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7316
# File 'lib/fast_excel/binding.rb', line 7316

attach_function :worksheet_center_horizontally, :worksheet_center_horizontally, [Worksheet], :void

.worksheet_center_vertically(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7324
# File 'lib/fast_excel/binding.rb', line 7324

attach_function :worksheet_center_vertically, :worksheet_center_vertically, [Worksheet], :void

.worksheet_find_cell(row, col_num) ⇒ Cell

(Not documented)

Parameters:

  • row (Row)
  • col_num (Integer)

Returns:



7509
# File 'lib/fast_excel/binding.rb', line 7509

attach_function :worksheet_find_cell, :lxw_worksheet_find_cell, [Row, :ushort], Cell

.worksheet_find_row(worksheet, row_num) ⇒ Row

(Not documented)

Parameters:

Returns:



7500
# File 'lib/fast_excel/binding.rb', line 7500

attach_function :worksheet_find_row, :lxw_worksheet_find_row, [Worksheet, :uint], Row

.worksheet_fit_to_pages(worksheet, width, height) ⇒ nil

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • width (Integer)
  • height (Integer)

Returns:

  • (nil)


7374
# File 'lib/fast_excel/binding.rb', line 7374

attach_function :worksheet_fit_to_pages, :worksheet_fit_to_pages, [Worksheet, :ushort, :ushort], :void

.worksheet_free(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7453
# File 'lib/fast_excel/binding.rb', line 7453

attach_function :worksheet_free, :lxw_worksheet_free, [Worksheet], :void

.worksheet_freeze_panes(worksheet, row, col) ⇒ nil

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • row (Integer)
  • col (Integer)

Returns:

  • (nil)


7134
# File 'lib/fast_excel/binding.rb', line 7134

attach_function :worksheet_freeze_panes, :worksheet_freeze_panes, [Worksheet, :uint, :ushort], :void

.worksheet_freeze_panes_opt(worksheet, first_row, first_col, top_row, left_col, type) ⇒ nil

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • first_row (Integer)
  • first_col (Integer)
  • top_row (Integer)
  • left_col (Integer)
  • type (Integer)

Returns:

  • (nil)


7157
# File 'lib/fast_excel/binding.rb', line 7157

attach_function :worksheet_freeze_panes_opt, :worksheet_freeze_panes_opt, [Worksheet, :uint, :ushort, :uint, :ushort, :uchar], :void

.worksheet_gridlines(worksheet, option) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7308
# File 'lib/fast_excel/binding.rb', line 7308

attach_function :worksheet_gridlines, :worksheet_gridlines, [Worksheet, :uchar], :void

.worksheet_hide(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7116
# File 'lib/fast_excel/binding.rb', line 7116

attach_function :worksheet_hide, :worksheet_hide, [Worksheet], :void

.worksheet_hide_zero(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7408
# File 'lib/fast_excel/binding.rb', line 7408

attach_function :worksheet_hide_zero, :worksheet_hide_zero, [Worksheet], :void

.worksheet_insert_chart(worksheet, row, col, chart) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



7054
# File 'lib/fast_excel/binding.rb', line 7054

attach_function :worksheet_insert_chart, :worksheet_insert_chart, [Worksheet, :uint, :ushort, Chart], :error

.worksheet_insert_chart_opt(worksheet, row, col, chart, user_options) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



7066
# File 'lib/fast_excel/binding.rb', line 7066

attach_function :worksheet_insert_chart_opt, :worksheet_insert_chart_opt, [Worksheet, :uint, :ushort, Chart, ImageOptions], :error

.worksheet_insert_image(worksheet, row, col, filename) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • row (Integer)
  • col (Integer)
  • filename (String)

Returns:



7031
# File 'lib/fast_excel/binding.rb', line 7031

attach_function :worksheet_insert_image, :worksheet_insert_image, [Worksheet, :uint, :ushort, :string], :error

.worksheet_insert_image_opt(worksheet, row, col, filename, options) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



7043
# File 'lib/fast_excel/binding.rb', line 7043

attach_function :worksheet_insert_image_opt, :worksheet_insert_image_opt, [Worksheet, :uint, :ushort, :string, ImageOptions], :error

.worksheet_merge_range(worksheet, first_row, first_col, last_row, last_col, string, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)
  • string (String)
  • format (Format)

Returns:



7080
# File 'lib/fast_excel/binding.rb', line 7080

attach_function :worksheet_merge_range, :worksheet_merge_range, [Worksheet, :uint, :ushort, :uint, :ushort, :string, Format], :error

.worksheet_new(init_data) ⇒ Worksheet

(Not documented)

Parameters:

Returns:



7445
# File 'lib/fast_excel/binding.rb', line 7445

attach_function :worksheet_new, :lxw_worksheet_new, [WorksheetInitData], Worksheet

.worksheet_prepare_chart(worksheet, chart_ref_id, drawing_id, image_data) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7491
# File 'lib/fast_excel/binding.rb', line 7491

attach_function :worksheet_prepare_chart, :lxw_worksheet_prepare_chart, [Worksheet, :ushort, :ushort, ImageOptions], :void

.worksheet_prepare_image(worksheet, image_ref_id, drawing_id, image_data) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7480
# File 'lib/fast_excel/binding.rb', line 7480

attach_function :worksheet_prepare_image, :lxw_worksheet_prepare_image, [Worksheet, :ushort, :ushort, ImageOptions], :void

.worksheet_print_across(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7290
# File 'lib/fast_excel/binding.rb', line 7290

attach_function :worksheet_print_across, :worksheet_print_across, [Worksheet], :void

.worksheet_print_area(worksheet, first_row, first_col, last_row, last_col) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)

Returns:



7364
# File 'lib/fast_excel/binding.rb', line 7364

attach_function :worksheet_print_area, :worksheet_print_area, [Worksheet, :uint, :ushort, :uint, :ushort], :error

.worksheet_print_row_col_headers(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7332
# File 'lib/fast_excel/binding.rb', line 7332

attach_function :worksheet_print_row_col_headers, :worksheet_print_row_col_headers, [Worksheet], :void

.worksheet_protect(worksheet, password, options) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7427
# File 'lib/fast_excel/binding.rb', line 7427

attach_function :worksheet_protect, :worksheet_protect, [Worksheet, :string, Protection], :void

.worksheet_repeat_columns(worksheet, first_col, last_col) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • first_col (Integer)
  • last_col (Integer)

Returns:



7352
# File 'lib/fast_excel/binding.rb', line 7352

attach_function :worksheet_repeat_columns, :worksheet_repeat_columns, [Worksheet, :ushort, :ushort], :error

.worksheet_repeat_rows(worksheet, first_row, last_row) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • first_row (Integer)
  • last_row (Integer)

Returns:



7342
# File 'lib/fast_excel/binding.rb', line 7342

attach_function :worksheet_repeat_rows, :worksheet_repeat_rows, [Worksheet, :uint, :uint], :error

.worksheet_right_to_left(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7400
# File 'lib/fast_excel/binding.rb', line 7400

attach_function :worksheet_right_to_left, :worksheet_right_to_left, [Worksheet], :void

.worksheet_select(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7108
# File 'lib/fast_excel/binding.rb', line 7108

attach_function :worksheet_select, :worksheet_select, [Worksheet], :void

.worksheet_set_column(worksheet, first_col, last_col, width, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • first_col (Integer)
  • last_col (Integer)
  • width (Float)
  • format (Format)

Returns:



7007
# File 'lib/fast_excel/binding.rb', line 7007

attach_function :worksheet_set_column, :worksheet_set_column, [Worksheet, :ushort, :ushort, :double, Format], :error

.worksheet_set_column_opt(worksheet, first_col, last_col, width, format, options) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



7020
# File 'lib/fast_excel/binding.rb', line 7020

attach_function :worksheet_set_column_opt, :worksheet_set_column_opt, [Worksheet, :ushort, :ushort, :double, Format, RowColOptions], :error

.worksheet_set_default_row(worksheet, height, hide_unused_rows) ⇒ nil

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • height (Float)
  • hide_unused_rows (Integer)

Returns:

  • (nil)


7437
# File 'lib/fast_excel/binding.rb', line 7437

attach_function :worksheet_set_default_row, :worksheet_set_default_row, [Worksheet, :double, :uchar], :void

.worksheet_set_first_sheet(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7124
# File 'lib/fast_excel/binding.rb', line 7124

attach_function :worksheet_set_first_sheet, :worksheet_set_first_sheet, [Worksheet], :void

(Not documented)

Parameters:

Returns:



7244
# File 'lib/fast_excel/binding.rb', line 7244

attach_function :worksheet_set_footer, :worksheet_set_footer, [Worksheet, :string], :error

(Not documented)

Parameters:

Returns:



7264
# File 'lib/fast_excel/binding.rb', line 7264

attach_function :worksheet_set_footer_opt, :worksheet_set_footer_opt, [Worksheet, :string, HeaderFooterOptions], :error

.worksheet_set_h_pagebreaks(worksheet, breaks) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • breaks (FFI::Pointer(*U_int))

Returns:



7273
# File 'lib/fast_excel/binding.rb', line 7273

attach_function :worksheet_set_h_pagebreaks, :worksheet_set_h_pagebreaks, [Worksheet, :pointer], :error

.worksheet_set_header(worksheet, string) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



7235
# File 'lib/fast_excel/binding.rb', line 7235

attach_function :worksheet_set_header, :worksheet_set_header, [Worksheet, :string], :error

.worksheet_set_header_opt(worksheet, string, options) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



7254
# File 'lib/fast_excel/binding.rb', line 7254

attach_function :worksheet_set_header_opt, :worksheet_set_header_opt, [Worksheet, :string, HeaderFooterOptions], :error

.worksheet_set_landscape(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7189
# File 'lib/fast_excel/binding.rb', line 7189

attach_function :worksheet_set_landscape, :worksheet_set_landscape, [Worksheet], :void

.worksheet_set_margins(worksheet, left, right, top, bottom) ⇒ nil

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • left (Float)
  • right (Float)
  • top (Float)
  • bottom (Float)

Returns:

  • (nil)


7226
# File 'lib/fast_excel/binding.rb', line 7226

attach_function :worksheet_set_margins, :worksheet_set_margins, [Worksheet, :double, :double, :double, :double], :void

.worksheet_set_page_view(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7205
# File 'lib/fast_excel/binding.rb', line 7205

attach_function :worksheet_set_page_view, :worksheet_set_page_view, [Worksheet], :void

.worksheet_set_paper(worksheet, paper_type) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7214
# File 'lib/fast_excel/binding.rb', line 7214

attach_function :worksheet_set_paper, :worksheet_set_paper, [Worksheet, :uchar], :void

.worksheet_set_portrait(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7197
# File 'lib/fast_excel/binding.rb', line 7197

attach_function :worksheet_set_portrait, :worksheet_set_portrait, [Worksheet], :void

.worksheet_set_print_scale(worksheet, scale) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7392
# File 'lib/fast_excel/binding.rb', line 7392

attach_function :worksheet_set_print_scale, :worksheet_set_print_scale, [Worksheet, :ushort], :void

.worksheet_set_row(worksheet, row, height, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



6983
# File 'lib/fast_excel/binding.rb', line 6983

attach_function :worksheet_set_row, :worksheet_set_row, [Worksheet, :uint, :double, Format], :error

.worksheet_set_row_opt(worksheet, row, height, format, options) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



6995
# File 'lib/fast_excel/binding.rb', line 6995

attach_function :worksheet_set_row_opt, :worksheet_set_row_opt, [Worksheet, :uint, :double, Format, RowColOptions], :error

.worksheet_set_selection(worksheet, first_row, first_col, last_row, last_col) ⇒ nil

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)

Returns:

  • (nil)


7181
# File 'lib/fast_excel/binding.rb', line 7181

attach_function :worksheet_set_selection, :worksheet_set_selection, [Worksheet, :uint, :ushort, :uint, :ushort], :void

.worksheet_set_start_page(worksheet, start_page) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7383
# File 'lib/fast_excel/binding.rb', line 7383

attach_function :worksheet_set_start_page, :worksheet_set_start_page, [Worksheet, :ushort], :void

.worksheet_set_tab_color(worksheet, color) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7417
# File 'lib/fast_excel/binding.rb', line 7417

attach_function :worksheet_set_tab_color, :worksheet_set_tab_color, [Worksheet, :int], :void

.worksheet_set_v_pagebreaks(worksheet, breaks) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • breaks (FFI::Pointer(*U_short))

Returns:



7282
# File 'lib/fast_excel/binding.rb', line 7282

attach_function :worksheet_set_v_pagebreaks, :worksheet_set_v_pagebreaks, [Worksheet, :pointer], :error

.worksheet_set_zoom(worksheet, scale) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7299
# File 'lib/fast_excel/binding.rb', line 7299

attach_function :worksheet_set_zoom, :worksheet_set_zoom, [Worksheet, :ushort], :void

.worksheet_split_panes(worksheet, vertical, horizontal) ⇒ nil

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • vertical (Float)
  • horizontal (Float)

Returns:

  • (nil)


7144
# File 'lib/fast_excel/binding.rb', line 7144

attach_function :worksheet_split_panes, :worksheet_split_panes, [Worksheet, :double, :double], :void

.worksheet_split_panes_opt(worksheet, vertical, horizontal, top_row, left_col) ⇒ nil

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • vertical (Float)
  • horizontal (Float)
  • top_row (Integer)
  • left_col (Integer)

Returns:

  • (nil)


7169
# File 'lib/fast_excel/binding.rb', line 7169

attach_function :worksheet_split_panes_opt, :worksheet_split_panes_opt, [Worksheet, :double, :double, :uint, :ushort], :void

.worksheet_write_array_formula(worksheet, first_row, first_col, last_row, last_col, formula, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)
  • formula (String)
  • format (Format)

Returns:



6883
# File 'lib/fast_excel/binding.rb', line 6883

attach_function :worksheet_write_array_formula, :worksheet_write_array_formula, [Worksheet, :uint, :ushort, :uint, :ushort, :string, Format], :error

.worksheet_write_array_formula_num(worksheet, first_row, first_col, last_row, last_col, formula, format, result) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • first_row (Integer)
  • first_col (Integer)
  • last_row (Integer)
  • last_col (Integer)
  • formula (String)
  • format (Format)
  • result (Float)

Returns:



6898
# File 'lib/fast_excel/binding.rb', line 6898

attach_function :worksheet_write_array_formula_num, :worksheet_write_array_formula_num, [Worksheet, :uint, :ushort, :uint, :ushort, :string, Format, :double], :error

.worksheet_write_blank(worksheet, row, col, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



6959
# File 'lib/fast_excel/binding.rb', line 6959

attach_function :worksheet_write_blank, :worksheet_write_blank, [Worksheet, :uint, :ushort, Format], :error

.worksheet_write_boolean(worksheet, row, col, value, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • row (Integer)
  • col (Integer)
  • value (Integer)
  • format (Format)

Returns:



6948
# File 'lib/fast_excel/binding.rb', line 6948

attach_function :worksheet_write_boolean, :worksheet_write_boolean, [Worksheet, :uint, :ushort, :int, Format], :error

.worksheet_write_datetime(worksheet, row, col, datetime, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

Returns:



6910
# File 'lib/fast_excel/binding.rb', line 6910

attach_function :worksheet_write_datetime, :worksheet_write_datetime, [Worksheet, :uint, :ushort, Datetime, Format], :error

.worksheet_write_formula(worksheet, row, col, formula, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • row (Integer)
  • col (Integer)
  • formula (String)
  • format (Format)

Returns:



6869
# File 'lib/fast_excel/binding.rb', line 6869

attach_function :worksheet_write_formula, :worksheet_write_formula, [Worksheet, :uint, :ushort, :string, Format], :error

.worksheet_write_formula_num(worksheet, row, col, formula, format, result) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • row (Integer)
  • col (Integer)
  • formula (String)
  • format (Format)
  • result (Float)

Returns:



6972
# File 'lib/fast_excel/binding.rb', line 6972

attach_function :worksheet_write_formula_num, :worksheet_write_formula_num, [Worksheet, :uint, :ushort, :string, Format, :double], :error

.worksheet_write_number(worksheet, row, col, number, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • row (Integer)
  • col (Integer)
  • number (Float)
  • format (Format)

Returns:



6845
# File 'lib/fast_excel/binding.rb', line 6845

attach_function :worksheet_write_number, :worksheet_write_number, [Worksheet, :uint, :ushort, :double, Format], :error

.worksheet_write_single_row(worksheet) ⇒ nil

(Not documented)

Parameters:

Returns:

  • (nil)


7469
# File 'lib/fast_excel/binding.rb', line 7469

attach_function :worksheet_write_single_row, :lxw_worksheet_write_single_row, [Worksheet], :void

.worksheet_write_string(worksheet, row, col, string, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • row (Integer)
  • col (Integer)
  • string (String)
  • format (Format)

Returns:



6857
# File 'lib/fast_excel/binding.rb', line 6857

attach_function :worksheet_write_string, :worksheet_write_string, [Worksheet, :uint, :ushort, :string, Format], :error

.worksheet_write_url(worksheet, row, col, url, format) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • row (Integer)
  • col (Integer)
  • url (String)
  • format (Format)

Returns:



6936
# File 'lib/fast_excel/binding.rb', line 6936

attach_function :worksheet_write_url, :worksheet_write_url, [Worksheet, :uint, :ushort, :string, Format], :error

.worksheet_write_url_opt(worksheet, row_num, col_num, url, format, string, tooltip) ⇒ Symbol from _enum_error_

(Not documented)

Parameters:

  • worksheet (Worksheet)
  • row_num (Integer)
  • col_num (Integer)
  • url (String)
  • format (Format)
  • string (String)
  • tooltip (String)

Returns:



6924
# File 'lib/fast_excel/binding.rb', line 6924

attach_function :worksheet_write_url_opt, :worksheet_write_url_opt, [Worksheet, :uint, :ushort, :string, Format, :string, :string], :error

.xml_data_element(xmlfile, tag, data, attributes) ⇒ nil

Write an XML element containing data and optional attributes.

Parameters:

  • xmlfile

    A FILE pointer to the output XML file.

  • tag

    The XML tag to write.

  • data

    The data section of the XML element.

  • attributes

    An optional list of attributes to add to the tag.

  • xmlfile (FFI::Pointer(*FILE))
  • tag (String)
  • data (String)
  • attributes (XmlAttributeList)

Returns:

  • (nil)


9496
# File 'lib/fast_excel/binding.rb', line 9496

attach_function :xml_data_element, :lxw_xml_data_element, [:pointer, :string, :string, XmlAttributeList], :void

.xml_declaration(xmlfile) ⇒ nil

Create the XML declaration in an XML file.

Parameters:

  • xmlfile

    A FILE pointer to the output XML file.

  • xmlfile (FFI::Pointer(*FILE))

Returns:

  • (nil)


9410
# File 'lib/fast_excel/binding.rb', line 9410

attach_function :xml_declaration, :lxw_xml_declaration, [:pointer], :void

.xml_empty_tag(xmlfile, tag, attributes) ⇒ nil

Write an XML empty tag with optional attributes.

Parameters:

  • xmlfile

    A FILE pointer to the output XML file.

  • tag

    The XML tag to write.

  • attributes

    An optional list of attributes to add to the tag.

  • xmlfile (FFI::Pointer(*FILE))
  • tag (String)
  • attributes (XmlAttributeList)

Returns:

  • (nil)


9465
# File 'lib/fast_excel/binding.rb', line 9465

attach_function :xml_empty_tag, :lxw_xml_empty_tag, [:pointer, :string, XmlAttributeList], :void

.xml_empty_tag_unencoded(xmlfile, tag, attributes) ⇒ nil

Write an XML empty tag with optional un-encoded attributes. This is a minor optimization for attributes that don’t need encoding.

Parameters:

  • xmlfile

    A FILE pointer to the output XML file.

  • tag

    The XML tag to write.

  • attributes

    An optional list of attributes to add to the tag.

  • xmlfile (FFI::Pointer(*FILE))
  • tag (String)
  • attributes (XmlAttributeList)

Returns:

  • (nil)


9480
# File 'lib/fast_excel/binding.rb', line 9480

attach_function :xml_empty_tag_unencoded, :lxw_xml_empty_tag_unencoded, [:pointer, :string, XmlAttributeList], :void

.xml_end_tag(xmlfile, tag) ⇒ nil

Write an XML end tag.

Parameters:

  • xmlfile

    A FILE pointer to the output XML file.

  • tag

    The XML tag to write.

  • xmlfile (FFI::Pointer(*FILE))
  • tag (String)

Returns:

  • (nil)


9451
# File 'lib/fast_excel/binding.rb', line 9451

attach_function :xml_end_tag, :lxw_xml_end_tag, [:pointer, :string], :void

.xml_start_tag(xmlfile, tag, attributes) ⇒ nil

Write an XML start tag with optional attributes.

Parameters:

  • xmlfile

    A FILE pointer to the output XML file.

  • tag

    The XML tag to write.

  • attributes

    An optional list of attributes to add to the tag.

  • xmlfile (FFI::Pointer(*FILE))
  • tag (String)
  • attributes (XmlAttributeList)

Returns:

  • (nil)


9424
# File 'lib/fast_excel/binding.rb', line 9424

attach_function :xml_start_tag, :lxw_xml_start_tag, [:pointer, :string, XmlAttributeList], :void

.xml_start_tag_unencoded(xmlfile, tag, attributes) ⇒ nil

Write an XML start tag with optional un-encoded attributes. This is a minor optimization for attributes that don’t need encoding.

Parameters:

  • xmlfile

    A FILE pointer to the output XML file.

  • tag

    The XML tag to write.

  • attributes

    An optional list of attributes to add to the tag.

  • xmlfile (FFI::Pointer(*FILE))
  • tag (String)
  • attributes (XmlAttributeList)

Returns:

  • (nil)


9439
# File 'lib/fast_excel/binding.rb', line 9439

attach_function :xml_start_tag_unencoded, :lxw_xml_start_tag_unencoded, [:pointer, :string, XmlAttributeList], :void

.zip_close(file, global_comment) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • global_comment (String)

Returns:

  • (Integer)


8982
# File 'lib/fast_excel/binding.rb', line 8982

attach_function :zip_close, :zipClose, [:pointer, :string], :int

.zip_close_file_in_zip(file) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))

Returns:

  • (Integer)


8953
# File 'lib/fast_excel/binding.rb', line 8953

attach_function :zip_close_file_in_zip, :zipCloseFileInZip, [:pointer], :int

.zip_close_file_in_zip_raw(file, uncompressed_size, crc32) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • uncompressed_size (Integer)
  • crc32 (Integer)

Returns:

  • (Integer)


8963
# File 'lib/fast_excel/binding.rb', line 8963

attach_function :zip_close_file_in_zip_raw, :zipCloseFileInZipRaw, [:pointer, :ulong, :ulong], :int

.zip_close_file_in_zip_raw64(file, uncompressed_size, crc32) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • uncompressed_size (Integer)
  • crc32 (Integer)

Returns:

  • (Integer)


8973
# File 'lib/fast_excel/binding.rb', line 8973

attach_function :zip_close_file_in_zip_raw64, :zipCloseFileInZipRaw64, [:pointer, :ulong_long, :ulong], :int

.zip_open(pathname, append) ⇒ FFI::Pointer(ZipFile)

(Not documented)

Parameters:

  • pathname (String)
  • append (Integer)

Returns:

  • (FFI::Pointer(ZipFile))


8734
# File 'lib/fast_excel/binding.rb', line 8734

attach_function :zip_open, :zipOpen, [:string, :int], :pointer

.zip_open2(pathname, append, globalcomment, pzlib_filefunc_def) ⇒ FFI::Pointer(ZipFile)

(Not documented)

Parameters:

  • pathname (String)
  • append (Integer)
  • globalcomment (FFI::Pointer(*Zipcharpc))
  • pzlib_filefunc_def (ZlibFilefuncDefS)

Returns:

  • (FFI::Pointer(ZipFile))


8754
# File 'lib/fast_excel/binding.rb', line 8754

attach_function :zip_open2, :zipOpen2, [:string, :int, :pointer, ZlibFilefuncDefS], :pointer

.zip_open2_64(pathname, append, globalcomment, pzlib_filefunc_def) ⇒ FFI::Pointer(ZipFile)

(Not documented)

Parameters:

  • pathname (FFI::Pointer(*Void))
  • append (Integer)
  • globalcomment (FFI::Pointer(*Zipcharpc))
  • pzlib_filefunc_def (ZlibFilefunc64DefS)

Returns:

  • (FFI::Pointer(ZipFile))


8765
# File 'lib/fast_excel/binding.rb', line 8765

attach_function :zip_open2_64, :zipOpen2_64, [:pointer, :int, :pointer, ZlibFilefunc64DefS], :pointer

.zip_open64(pathname, append) ⇒ FFI::Pointer(ZipFile)

(Not documented)

Parameters:

  • pathname (FFI::Pointer(*Void))
  • append (Integer)

Returns:

  • (FFI::Pointer(ZipFile))


8743
# File 'lib/fast_excel/binding.rb', line 8743

attach_function :zip_open64, :zipOpen64, [:pointer, :int], :pointer

.zip_open_new_file_in_zip(file, filename, zipfi, extrafield_local, size_extrafield_local, extrafield_global, size_extrafield_global, comment, method, level) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • filename (String)
  • zipfi (ZipFileinfo)
  • extrafield_local (FFI::Pointer(*Void))
  • size_extrafield_local (Integer)
  • extrafield_global (FFI::Pointer(*Void))
  • size_extrafield_global (Integer)
  • comment (String)
  • method (Integer)
  • level (Integer)

Returns:

  • (Integer)


8782
# File 'lib/fast_excel/binding.rb', line 8782

attach_function :zip_open_new_file_in_zip, :zipOpenNewFileInZip, [:pointer, :string, ZipFileinfo, :pointer, :uint, :pointer, :uint, :string, :int, :int], :int

.zip_open_new_file_in_zip2(file, filename, zipfi, extrafield_local, size_extrafield_local, extrafield_global, size_extrafield_global, comment, method, level, raw) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • filename (String)
  • zipfi (ZipFileinfo)
  • extrafield_local (FFI::Pointer(*Void))
  • size_extrafield_local (Integer)
  • extrafield_global (FFI::Pointer(*Void))
  • size_extrafield_global (Integer)
  • comment (String)
  • method (Integer)
  • level (Integer)
  • raw (Integer)

Returns:

  • (Integer)


8818
# File 'lib/fast_excel/binding.rb', line 8818

attach_function :zip_open_new_file_in_zip2, :zipOpenNewFileInZip2, [:pointer, :string, ZipFileinfo, :pointer, :uint, :pointer, :uint, :string, :int, :int, :int], :int

.zip_open_new_file_in_zip2_64(file, filename, zipfi, extrafield_local, size_extrafield_local, extrafield_global, size_extrafield_global, comment, method, level, raw, zip64) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • filename (String)
  • zipfi (ZipFileinfo)
  • extrafield_local (FFI::Pointer(*Void))
  • size_extrafield_local (Integer)
  • extrafield_global (FFI::Pointer(*Void))
  • size_extrafield_global (Integer)
  • comment (String)
  • method (Integer)
  • level (Integer)
  • raw (Integer)
  • zip64 (Integer)

Returns:

  • (Integer)


8837
# File 'lib/fast_excel/binding.rb', line 8837

attach_function :zip_open_new_file_in_zip2_64, :zipOpenNewFileInZip2_64, [:pointer, :string, ZipFileinfo, :pointer, :uint, :pointer, :uint, :string, :int, :int, :int, :int], :int

.zip_open_new_file_in_zip3(file, filename, zipfi, extrafield_local, size_extrafield_local, extrafield_global, size_extrafield_global, comment, method, level, raw, window_bits, mem_level, strategy, password, crc_for_crypting) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • filename (String)
  • zipfi (ZipFileinfo)
  • extrafield_local (FFI::Pointer(*Void))
  • size_extrafield_local (Integer)
  • extrafield_global (FFI::Pointer(*Void))
  • size_extrafield_global (Integer)
  • comment (String)
  • method (Integer)
  • level (Integer)
  • raw (Integer)
  • window_bits (Integer)
  • mem_level (Integer)
  • strategy (Integer)
  • password (String)
  • crc_for_crypting (Integer)

Returns:

  • (Integer)


8860
# File 'lib/fast_excel/binding.rb', line 8860

attach_function :zip_open_new_file_in_zip3, :zipOpenNewFileInZip3, [:pointer, :string, ZipFileinfo, :pointer, :uint, :pointer, :uint, :string, :int, :int, :int, :int, :int, :int, :string, :ulong], :int

.zip_open_new_file_in_zip3_64(file, filename, zipfi, extrafield_local, size_extrafield_local, extrafield_global, size_extrafield_global, comment, method, level, raw, window_bits, mem_level, strategy, password, crc_for_crypting, zip64) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • filename (String)
  • zipfi (ZipFileinfo)
  • extrafield_local (FFI::Pointer(*Void))
  • size_extrafield_local (Integer)
  • extrafield_global (FFI::Pointer(*Void))
  • size_extrafield_global (Integer)
  • comment (String)
  • method (Integer)
  • level (Integer)
  • raw (Integer)
  • window_bits (Integer)
  • mem_level (Integer)
  • strategy (Integer)
  • password (String)
  • crc_for_crypting (Integer)
  • zip64 (Integer)

Returns:

  • (Integer)


8884
# File 'lib/fast_excel/binding.rb', line 8884

attach_function :zip_open_new_file_in_zip3_64, :zipOpenNewFileInZip3_64, [:pointer, :string, ZipFileinfo, :pointer, :uint, :pointer, :uint, :string, :int, :int, :int, :int, :int, :int, :string, :ulong, :int], :int

.zip_open_new_file_in_zip4(file, filename, zipfi, extrafield_local, size_extrafield_local, extrafield_global, size_extrafield_global, comment, method, level, raw, window_bits, mem_level, strategy, password, crc_for_crypting, version_made_by, flag_base) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • filename (String)
  • zipfi (ZipFileinfo)
  • extrafield_local (FFI::Pointer(*Void))
  • size_extrafield_local (Integer)
  • extrafield_global (FFI::Pointer(*Void))
  • size_extrafield_global (Integer)
  • comment (String)
  • method (Integer)
  • level (Integer)
  • raw (Integer)
  • window_bits (Integer)
  • mem_level (Integer)
  • strategy (Integer)
  • password (String)
  • crc_for_crypting (Integer)
  • version_made_by (Integer)
  • flag_base (Integer)

Returns:

  • (Integer)


8909
# File 'lib/fast_excel/binding.rb', line 8909

attach_function :zip_open_new_file_in_zip4, :zipOpenNewFileInZip4, [:pointer, :string, ZipFileinfo, :pointer, :uint, :pointer, :uint, :string, :int, :int, :int, :int, :int, :int, :string, :ulong, :ulong, :ulong], :int

.zip_open_new_file_in_zip4_64(file, filename, zipfi, extrafield_local, size_extrafield_local, extrafield_global, size_extrafield_global, comment, method, level, raw, window_bits, mem_level, strategy, password, crc_for_crypting, version_made_by, flag_base, zip64) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • filename (String)
  • zipfi (ZipFileinfo)
  • extrafield_local (FFI::Pointer(*Void))
  • size_extrafield_local (Integer)
  • extrafield_global (FFI::Pointer(*Void))
  • size_extrafield_global (Integer)
  • comment (String)
  • method (Integer)
  • level (Integer)
  • raw (Integer)
  • window_bits (Integer)
  • mem_level (Integer)
  • strategy (Integer)
  • password (String)
  • crc_for_crypting (Integer)
  • version_made_by (Integer)
  • flag_base (Integer)
  • zip64 (Integer)

Returns:

  • (Integer)


8935
# File 'lib/fast_excel/binding.rb', line 8935

attach_function :zip_open_new_file_in_zip4_64, :zipOpenNewFileInZip4_64, [:pointer, :string, ZipFileinfo, :pointer, :uint, :pointer, :uint, :string, :int, :int, :int, :int, :int, :int, :string, :ulong, :ulong, :ulong, :int], :int

.zip_open_new_file_in_zip64(file, filename, zipfi, extrafield_local, size_extrafield_local, extrafield_global, size_extrafield_global, comment, method, level, zip64) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • filename (String)
  • zipfi (ZipFileinfo)
  • extrafield_local (FFI::Pointer(*Void))
  • size_extrafield_local (Integer)
  • extrafield_global (FFI::Pointer(*Void))
  • size_extrafield_global (Integer)
  • comment (String)
  • method (Integer)
  • level (Integer)
  • zip64 (Integer)

Returns:

  • (Integer)


8800
# File 'lib/fast_excel/binding.rb', line 8800

attach_function :zip_open_new_file_in_zip64, :zipOpenNewFileInZip64, [:pointer, :string, ZipFileinfo, :pointer, :uint, :pointer, :uint, :string, :int, :int, :int], :int

.zip_remove_extra_info_block(p_data, data_len, s_header) ⇒ Integer

(Not documented)

Parameters:

  • p_data (String)
  • data_len (FFI::Pointer(*Int))
  • s_header (Integer)

Returns:

  • (Integer)


8992
# File 'lib/fast_excel/binding.rb', line 8992

attach_function :zip_remove_extra_info_block, :zipRemoveExtraInfoBlock, [:string, :pointer, :short], :int

.zip_write_in_file_in_zip(file, buf, len) ⇒ Integer

(Not documented)

Parameters:

  • file (FFI::Pointer(ZipFile))
  • buf (FFI::Pointer(*Void))
  • len (Integer)

Returns:

  • (Integer)


8945
# File 'lib/fast_excel/binding.rb', line 8945

attach_function :zip_write_in_file_in_zip, :zipWriteInFileInZip, [:pointer, :pointer, :uint], :int

Instance Method Details

#cell(cell) ⇒ Object



172
173
174
# File 'lib/fast_excel/binding.rb', line 172

def cell(cell)
  return name_to_row(cell), name_to_col(cell)
end

#cols(cols) ⇒ Object



176
177
178
# File 'lib/fast_excel/binding.rb', line 176

def cols(cols)
  return name_to_col(cols), name_to_col_2(cols)
end

#error(message) ⇒ Object



126
127
128
# File 'lib/fast_excel/binding.rb', line 126

def error(message)
  fprintf(STDERR, "[ERROR][%s:%d]: \"message\"\n", FILE, LINE)
end

#mem_errorObject



130
131
132
# File 'lib/fast_excel/binding.rb', line 130

def mem_error()
  error("Memory allocation failed.")
end

#qmd_list_check_head(head, field) ⇒ Object



42
43
44
# File 'lib/fast_excel/binding.rb', line 42

def qmd_list_check_head(head, field)
  
end

#qmd_list_check_next(elm, field) ⇒ Object



46
47
48
# File 'lib/fast_excel/binding.rb', line 46

def qmd_list_check_next(elm, field)
  
end

#qmd_list_check_prev(elm, field) ⇒ Object



50
51
52
# File 'lib/fast_excel/binding.rb', line 50

def qmd_list_check_prev(elm, field)
  
end


34
35
36
# File 'lib/fast_excel/binding.rb', line 34

def qmd_savelink(name, link)
  
end

#qmd_tailq_check_head(head, field) ⇒ Object



54
55
56
# File 'lib/fast_excel/binding.rb', line 54

def qmd_tailq_check_head(head, field)
  
end

#qmd_tailq_check_next(elm, field) ⇒ Object



62
63
64
# File 'lib/fast_excel/binding.rb', line 62

def qmd_tailq_check_next(elm, field)
  
end

#qmd_tailq_check_prev(elm, field) ⇒ Object



66
67
68
# File 'lib/fast_excel/binding.rb', line 66

def qmd_tailq_check_prev(elm, field)
  
end

#qmd_tailq_check_tail(head, headname) ⇒ Object



58
59
60
# File 'lib/fast_excel/binding.rb', line 58

def qmd_tailq_check_tail(head, headname)
  
end

#qmd_trace_elem(elem) ⇒ Object



26
27
28
# File 'lib/fast_excel/binding.rb', line 26

def qmd_trace_elem(elem)
  
end

#qmd_trace_head(head) ⇒ Object



30
31
32
# File 'lib/fast_excel/binding.rb', line 30

def qmd_trace_head(head)
  
end

#range(range) ⇒ Object



180
181
182
# File 'lib/fast_excel/binding.rb', line 180

def range(range)
  return name_to_row(range), name_to_col(range), name_to_row_2(range), name_to_col_2(range)
end

#rb_generate(name, type, field, cmp) ⇒ Object



82
83
84
# File 'lib/fast_excel/binding.rb', line 82

def rb_generate(name, type, field, cmp)
  rb_generate_internal(name, type, field, cmp, )
end

#rb_generate_internal(name, type, field, cmp, attr) ⇒ Object



86
87
88
89
90
91
92
93
94
95
96
# File 'lib/fast_excel/binding.rb', line 86

def rb_generate_internal(name, type, field, cmp, attr)
  rb_generate_insert_color(name, type, field, attr)
  rb_generate_remove_color(name, type, field, attr)
  rb_generate_insert(name, type, field, cmp, attr)
  rb_generate_remove(name, type, field, attr)
  rb_generate_find(name, type, field, cmp, attr)
  rb_generate_nfind(name, type, field, cmp, attr)
  rb_generate_next(name, type, field, attr)
  rb_generate_prev(name, type, field, attr)
  rb_generate_minmax(name, type, field, attr)
end

#rb_prototype(name, type, field, cmp) ⇒ Object



78
79
80
# File 'lib/fast_excel/binding.rb', line 78

def rb_prototype(name, type, field, cmp)
  rb_prototype_internal(name, type, field, cmp, )
end

#trashit(x) ⇒ Object



38
39
40
# File 'lib/fast_excel/binding.rb', line 38

def trashit(x)
  
end

#warn(message) ⇒ Object



134
135
136
# File 'lib/fast_excel/binding.rb', line 134

def warn(message)
  fprintf(STDERR, "[WARNING]: \"message\"\n")
end

#warn_format(message) ⇒ Object



138
139
140
# File 'lib/fast_excel/binding.rb', line 138

def warn_format(message)
  fprintf(STDERR, "[WARNING]: \"message\"\n")
end

#warn_format1(message, var) ⇒ Object



142
143
144
# File 'lib/fast_excel/binding.rb', line 142

def warn_format1(message, var)
  fprintf(STDERR, "[WARNING]: \"message\"\n", var)
end

#warn_format2(message, var1, var2) ⇒ Object



146
147
148
# File 'lib/fast_excel/binding.rb', line 146

def warn_format2(message, var1, var2)
  fprintf(STDERR, "[WARNING]: \"message\"\n", var1, var2)
end

#zip_errno(_Z_ERRNO) ⇒ Object



228
229
230
# File 'lib/fast_excel/binding.rb', line 228

def zip_errno(_Z_ERRNO)
  
end