ironcalc 0.9.0.0-aarch64-linux → 0.9.1.0-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/ironcalc/3.0/ironcalc_ruby.so +0 -0
- data/lib/ironcalc/3.1/ironcalc_ruby.so +0 -0
- data/lib/ironcalc/3.2/ironcalc_ruby.so +0 -0
- data/lib/ironcalc/3.3/ironcalc_ruby.so +0 -0
- data/lib/ironcalc/3.4/ironcalc_ruby.so +0 -0
- data/lib/ironcalc/4.0/ironcalc_ruby.so +0 -0
- data/lib/ironcalc/native_methods.rb +103 -0
- data/lib/ironcalc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65e591f0a828bec6bb9ff83e500cfebcc9771293dddbbe4afbca34188dcc9e3e
|
|
4
|
+
data.tar.gz: 65ad2b05090d5a1f17c80c2a7390333f0ce8c0474794e2f98525a50509d3e290
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0cada2c57f156a871074a3ba2d8c34f0cef1c54906a8afa8967035c2301860919623de44a424126e8545943fbd8dc70da3b78765f6cbdcbba228a2cc3d7b9340
|
|
7
|
+
data.tar.gz: 9a6e7a835b0e35f97ee86ae2517772ada90472de9195a8a55d448abef7da96801cbb27395cb46aaeb829294d5f57de746925bf7496ce124f42c13a2985ccfbdb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 0.9.1.0
|
|
2
|
+
|
|
3
|
+
- update the IronCalc engine to 0.9.1
|
|
4
|
+
- merged cells on `Model` and `UserModel`: `merge_cells`, `merge_cells_across`,
|
|
5
|
+
`merge_cells_center`, `merge_cells_down`, `unmerge_cells` and
|
|
6
|
+
`get_merged_cells`, plus `get_merge_structure` on `Model`, which returns a
|
|
7
|
+
Hash tagged by `:type` (`{type: "Anchor", width:, height:}`)
|
|
8
|
+
|
|
1
9
|
## 0.9.0.0
|
|
2
10
|
|
|
3
11
|
- update the IronCalc engine to 0.9.0
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -629,6 +629,70 @@ module IronCalc
|
|
|
629
629
|
# @return [void]
|
|
630
630
|
# @raise [IronCalc::Error]
|
|
631
631
|
|
|
632
|
+
# @!method merge_cells(range)
|
|
633
|
+
# Merges a range into one cell anchored at its top-left cell.
|
|
634
|
+
# @param range [Hash] the engine's +Area+: +{sheet:, row:, column:, width:,
|
|
635
|
+
# height:}+
|
|
636
|
+
# @return [void]
|
|
637
|
+
# @raise [IronCalc::Error] if the range is a single cell, out of bounds,
|
|
638
|
+
# intersects a merged cell or an array formula, or has more than one cell
|
|
639
|
+
# with content; nothing changes
|
|
640
|
+
|
|
641
|
+
# @!method merge_cells_across(range)
|
|
642
|
+
# {#merge_cells} on each row of the range; all rows or none.
|
|
643
|
+
# @param range [Hash] the engine's +Area+
|
|
644
|
+
# @return [void]
|
|
645
|
+
# @raise [IronCalc::Error] as {#merge_cells}, for any row
|
|
646
|
+
|
|
647
|
+
# @!method merge_cells_center(range)
|
|
648
|
+
# {#merge_cells}, then centers the merged cell horizontally.
|
|
649
|
+
# @param range [Hash] the engine's +Area+
|
|
650
|
+
# @return [void]
|
|
651
|
+
# @raise [IronCalc::Error] as {#merge_cells}
|
|
652
|
+
|
|
653
|
+
# @!method merge_cells_down(range)
|
|
654
|
+
# {#merge_cells} on each column of the range; all columns or none.
|
|
655
|
+
# @param range [Hash] the engine's +Area+
|
|
656
|
+
# @return [void]
|
|
657
|
+
# @raise [IronCalc::Error] as {#merge_cells}, for any column
|
|
658
|
+
|
|
659
|
+
# @!method unmerge_cells(range)
|
|
660
|
+
# Removes every merged cell that intersects the range.
|
|
661
|
+
# @param range [Hash] the engine's +Area+
|
|
662
|
+
# @return [void]
|
|
663
|
+
# @raise [IronCalc::Error] if the range is invalid (a +row+, +column+,
|
|
664
|
+
# +width+ or +height+ below 1) or the sheet doesn't exist, not if it
|
|
665
|
+
# holds no merged cells
|
|
666
|
+
|
|
667
|
+
# @!method get_merged_cells(sheet)
|
|
668
|
+
# The sheet's merged cells as +{row:, column:, width:, height:}+ Hashes,
|
|
669
|
+
# +row+ and +column+ being the anchor.
|
|
670
|
+
# @param sheet [Integer]
|
|
671
|
+
# @return [Array<Hash>]
|
|
672
|
+
# @raise [IronCalc::Error]
|
|
673
|
+
|
|
674
|
+
# @!method get_merge_structure(sheet, row, column)
|
|
675
|
+
# Where a cell stands relative to the sheet's merged cells, as a Hash
|
|
676
|
+
# tagged by the engine's +MergeStructure+ variant: +{type: "None"}+,
|
|
677
|
+
# +{type: "Anchor", width:, height:}+ or
|
|
678
|
+
# +{type: "Covered", anchor_row:, anchor_column:}+.
|
|
679
|
+
# @example The +Area+ displayed as one cell at a position
|
|
680
|
+
# def displayed_area(model, sheet, row, column)
|
|
681
|
+
# case model.get_merge_structure(sheet, row, column)
|
|
682
|
+
# in {type: "None"}
|
|
683
|
+
# {sheet: sheet, row: row, column: column, width: 1, height: 1}
|
|
684
|
+
# in {type: "Anchor", width:, height:}
|
|
685
|
+
# {sheet: sheet, row: row, column: column, width: width, height: height}
|
|
686
|
+
# in {type: "Covered", anchor_row:, anchor_column:}
|
|
687
|
+
# displayed_area(model, sheet, anchor_row, anchor_column)
|
|
688
|
+
# end
|
|
689
|
+
# end
|
|
690
|
+
# @param sheet [Integer]
|
|
691
|
+
# @param row [Integer]
|
|
692
|
+
# @param column [Integer]
|
|
693
|
+
# @return [Hash]
|
|
694
|
+
# @raise [IronCalc::Error]
|
|
695
|
+
|
|
632
696
|
# (yardoc bug lsegal/yard#1207). Doc-only file, never loaded at runtime.
|
|
633
697
|
# @!visibility private
|
|
634
698
|
def __yard_anchor__
|
|
@@ -973,6 +1037,45 @@ module IronCalc
|
|
|
973
1037
|
# +evaluate+ afterwards to bring the workbook up to date.
|
|
974
1038
|
# @return [void]
|
|
975
1039
|
|
|
1040
|
+
# @!method merge_cells(range)
|
|
1041
|
+
# {Model#merge_cells}, as one undo step.
|
|
1042
|
+
# @param range [Hash] the engine's +Area+: +{sheet:, row:, column:, width:,
|
|
1043
|
+
# height:}+
|
|
1044
|
+
# @return [void]
|
|
1045
|
+
# @raise [IronCalc::Error] as {Model#merge_cells}
|
|
1046
|
+
|
|
1047
|
+
# @!method merge_cells_across(range)
|
|
1048
|
+
# {Model#merge_cells_across}, as one undo step.
|
|
1049
|
+
# @param range [Hash] the engine's +Area+
|
|
1050
|
+
# @return [void]
|
|
1051
|
+
# @raise [IronCalc::Error] as {Model#merge_cells}, for any row
|
|
1052
|
+
|
|
1053
|
+
# @!method merge_cells_center(range)
|
|
1054
|
+
# {Model#merge_cells_center}, as one undo step.
|
|
1055
|
+
# @param range [Hash] the engine's +Area+
|
|
1056
|
+
# @return [void]
|
|
1057
|
+
# @raise [IronCalc::Error] as {Model#merge_cells}
|
|
1058
|
+
|
|
1059
|
+
# @!method merge_cells_down(range)
|
|
1060
|
+
# {Model#merge_cells_down}, as one undo step.
|
|
1061
|
+
# @param range [Hash] the engine's +Area+
|
|
1062
|
+
# @return [void]
|
|
1063
|
+
# @raise [IronCalc::Error] as {Model#merge_cells}, for any column
|
|
1064
|
+
|
|
1065
|
+
# @!method unmerge_cells(range)
|
|
1066
|
+
# {Model#unmerge_cells}, as one undo step (none if no merged cell intersects
|
|
1067
|
+
# the range).
|
|
1068
|
+
# @param range [Hash] the engine's +Area+
|
|
1069
|
+
# @return [void]
|
|
1070
|
+
# @raise [IronCalc::Error] as {Model#unmerge_cells}
|
|
1071
|
+
|
|
1072
|
+
# @!method get_merged_cells(sheet)
|
|
1073
|
+
# The sheet's merged cells as +{row:, column:, width:, height:}+ Hashes,
|
|
1074
|
+
# +row+ and +column+ being the anchor.
|
|
1075
|
+
# @param sheet [Integer]
|
|
1076
|
+
# @return [Array<Hash>]
|
|
1077
|
+
# @raise [IronCalc::Error]
|
|
1078
|
+
|
|
976
1079
|
# Anchors the @!method stubs above — see {Model}.
|
|
977
1080
|
# @!visibility private
|
|
978
1081
|
def __yard_anchor__
|
data/lib/ironcalc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ironcalc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.1.0
|
|
5
5
|
platform: aarch64-linux
|
|
6
6
|
authors:
|
|
7
7
|
- jvdp
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |
|
|
14
14
|
Ruby bindings for the IronCalc spreadsheet engine. Create, read and
|
|
@@ -42,7 +42,7 @@ metadata:
|
|
|
42
42
|
source_code_uri: https://github.com/jvdp/IronCalc-Ruby
|
|
43
43
|
bug_tracker_uri: https://github.com/jvdp/IronCalc-Ruby/issues
|
|
44
44
|
changelog_uri: https://github.com/jvdp/IronCalc-Ruby/blob/main/CHANGELOG.md
|
|
45
|
-
documentation_uri: https://jvdp.github.io/IronCalc-Ruby/0.9.
|
|
45
|
+
documentation_uri: https://jvdp.github.io/IronCalc-Ruby/0.9.1/
|
|
46
46
|
rubygems_mfa_required: 'true'
|
|
47
47
|
post_install_message:
|
|
48
48
|
rdoc_options: []
|