xlsxrb 0.1.2 → 0.1.4
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/.devcontainer/Dockerfile +1 -0
- data/README.md +57 -264
- data/Rakefile +164 -17
- data/benchmark.rb +24 -14
- data/docs/DEVELOPMENT.md +67 -0
- data/docs/coi-serviceworker.js +82 -0
- data/docs/office_thread.js +77 -0
- data/docs/preview.html +719 -0
- data/docs/visual/VisualGallery.md +0 -158
- data/docs/wasm/wasm_doc_helper.css +256 -94
- data/docs/wasm/wasm_doc_helper.js +261 -142
- data/docs/zeta.js +1107 -0
- data/lib/xlsxrb/ooxml/worksheet_parser.rb +178 -24
- data/lib/xlsxrb/ooxml.rb +1 -1
- data/lib/xlsxrb/version.rb +1 -1
- metadata +6 -29
|
@@ -498,8 +498,6 @@ This gallery showcases `xlsxrb` DSL usage side-by-side with the visual rendering
|
|
|
498
498
|
|
|
499
499
|
## Align Horizontal
|
|
500
500
|
|
|
501
|
-
[Download .xlsx](files/align_horizontal.xlsx)
|
|
502
|
-
|
|
503
501
|
Demonstrates horizontal text alignment (left, center, right).
|
|
504
502
|
|
|
505
503
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -551,8 +549,6 @@ Cell C1 ('Right'): align_horizontal = "right"
|
|
|
551
549
|
|
|
552
550
|
## Align Horizontal Fill
|
|
553
551
|
|
|
554
|
-
[Download .xlsx](files/align_horizontal_fill.xlsx)
|
|
555
|
-
|
|
556
552
|
Demonstrates horizontal fill alignment (repeats value to fill cell width).
|
|
557
553
|
|
|
558
554
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -601,8 +597,6 @@ Cell A1 ('X '): align_h="fill", align_v=nil, wrap=nil, indent=nil, rotation=nil,
|
|
|
601
597
|
|
|
602
598
|
## Align Horizontal Justify
|
|
603
599
|
|
|
604
|
-
[Download .xlsx](files/align_horizontal_justify.xlsx)
|
|
605
|
-
|
|
606
600
|
Demonstrates horizontal justify text alignment.
|
|
607
601
|
|
|
608
602
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -654,8 +648,6 @@ Cell A1 ('Justified alignment wraps and distributes text evenly.'): align_h="jus
|
|
|
654
648
|
|
|
655
649
|
## Align Indent
|
|
656
650
|
|
|
657
|
-
[Download .xlsx](files/align_indent.xlsx)
|
|
658
|
-
|
|
659
651
|
Demonstrates text indentation inside cells.
|
|
660
652
|
|
|
661
653
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -709,8 +701,6 @@ Cell A1 ('No Indent'): align_h=nil, align_v=nil, wrap=nil, indent=nil, rotation=
|
|
|
709
701
|
|
|
710
702
|
## Align Text Rotation
|
|
711
703
|
|
|
712
|
-
[Download .xlsx](files/align_text_rotation.xlsx)
|
|
713
|
-
|
|
714
704
|
Demonstrates text rotated by specific angles (45, 90 degrees).
|
|
715
705
|
|
|
716
706
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -763,8 +753,6 @@ Cell B1 ('Rotated 90'): align_h=nil, align_v=nil, wrap=nil, indent=nil, rotation
|
|
|
763
753
|
|
|
764
754
|
## Align Text Wrap
|
|
765
755
|
|
|
766
|
-
[Download .xlsx](files/align_text_wrap.xlsx)
|
|
767
|
-
|
|
768
756
|
Demonstrates auto-wrapping multi-line text inside narrow cells.
|
|
769
757
|
|
|
770
758
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -814,8 +802,6 @@ Cell A1 ('This is a long sentence that wraps inside the cell.'): align_h=nil, al
|
|
|
814
802
|
|
|
815
803
|
## Align Vertical
|
|
816
804
|
|
|
817
|
-
[Download .xlsx](files/align_vertical.xlsx)
|
|
818
|
-
|
|
819
805
|
Demonstrates vertical text alignment (top, center, bottom).
|
|
820
806
|
|
|
821
807
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -870,8 +856,6 @@ Cell C1 ('Bottom'): align_h=nil, align_v="bottom", wrap=nil, indent=nil, rotatio
|
|
|
870
856
|
|
|
871
857
|
## Basic Data
|
|
872
858
|
|
|
873
|
-
[Download .xlsx](files/basic_data.xlsx)
|
|
874
|
-
|
|
875
859
|
Demonstrates simple tabular data writing with basic Ruby types (Strings, Numbers, Dates, Booleans).
|
|
876
860
|
|
|
877
861
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -927,8 +911,6 @@ Row 2: A3: "Widget B" (String), B3: 5 (Integer), C3: 49.5 (Float), D3: 46073 (In
|
|
|
927
911
|
|
|
928
912
|
## Borders
|
|
929
913
|
|
|
930
|
-
[Download .xlsx](files/borders.xlsx)
|
|
931
|
-
|
|
932
914
|
Demonstrates border styles (thin, medium, thick, hair, dashed, medium dashed, dotted, double, dash-dot, medium dash-dot, dash-dot-dot, slanted, and diagonal cross borders) applied to cell ranges.
|
|
933
915
|
|
|
934
916
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1019,8 +1001,6 @@ Row 13: A14: "Diagonal (Cross)" (border_id: 0), B14: "Diagonal Border" (border_i
|
|
|
1019
1001
|
|
|
1020
1002
|
## Cell Booleans
|
|
1021
1003
|
|
|
1022
|
-
[Download .xlsx](files/cell_booleans.xlsx)
|
|
1023
|
-
|
|
1024
1004
|
Demonstrates boolean values serialized and rendered.
|
|
1025
1005
|
|
|
1026
1006
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1068,8 +1048,6 @@ Row 2: A3: "Is Pending" (String), B3: false (FalseClass)
|
|
|
1068
1048
|
|
|
1069
1049
|
## Cell Dates
|
|
1070
1050
|
|
|
1071
|
-
[Download .xlsx](files/cell_dates.xlsx)
|
|
1072
|
-
|
|
1073
1051
|
Demonstrates dates serialized natively and formatted with standard or custom format strings.
|
|
1074
1052
|
|
|
1075
1053
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1119,8 +1097,6 @@ Row 2: A3: "Formatted Date" (String), B3: 46381 (Integer)
|
|
|
1119
1097
|
|
|
1120
1098
|
## Cell Formulas
|
|
1121
1099
|
|
|
1122
|
-
[Download .xlsx](files/cell_formulas.xlsx)
|
|
1123
|
-
|
|
1124
1100
|
Demonstrates standard spreadsheet calculations and formulas (SUM, AVERAGE).
|
|
1125
1101
|
|
|
1126
1102
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1172,8 +1148,6 @@ Row 4: A5: "AVERAGE" (String), B5: 15 (Integer)
|
|
|
1172
1148
|
|
|
1173
1149
|
## Cell Num Currency Jpy
|
|
1174
1150
|
|
|
1175
|
-
[Download .xlsx](files/cell_num_currency_jpy.xlsx)
|
|
1176
|
-
|
|
1177
1151
|
Demonstrates Yen Currency format code formatting.
|
|
1178
1152
|
|
|
1179
1153
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1224,8 +1198,6 @@ Row 2: A3: "Negative Yen" (Format ID: , Code: nil), B3: -8000 (Format ID: 164, C
|
|
|
1224
1198
|
|
|
1225
1199
|
## Cell Num Custom Colors
|
|
1226
1200
|
|
|
1227
|
-
[Download .xlsx](files/cell_num_custom_colors.xlsx)
|
|
1228
|
-
|
|
1229
1201
|
Demonstrates custom colored formats for positive and negative numbers.
|
|
1230
1202
|
|
|
1231
1203
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1276,8 +1248,6 @@ Row 2: A3: "Negative (Red)" (Format ID: , Code: nil), B3: -2500 (Format ID: 164,
|
|
|
1276
1248
|
|
|
1277
1249
|
## Cell Num Fractions
|
|
1278
1250
|
|
|
1279
|
-
[Download .xlsx](files/cell_num_fractions.xlsx)
|
|
1280
|
-
|
|
1281
1251
|
Demonstrates fraction number formats (# ?/?).
|
|
1282
1252
|
|
|
1283
1253
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1330,8 +1300,6 @@ Row 3: A4: "Quarter" (Format ID: , Code: nil), B4: 0.75 (Format ID: 164, Code: "
|
|
|
1330
1300
|
|
|
1331
1301
|
## Cell Num Percent Decimals
|
|
1332
1302
|
|
|
1333
|
-
[Download .xlsx](files/cell_num_percent_decimals.xlsx)
|
|
1334
|
-
|
|
1335
1303
|
Demonstrates percentages with two decimal places (0.00%).
|
|
1336
1304
|
|
|
1337
1305
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1380,8 +1348,6 @@ Row 1: A2: "Percent with 2 Decimals" (Format ID: , Code: nil), B2: 0.12345 (Form
|
|
|
1380
1348
|
|
|
1381
1349
|
## Cell Num Scientific
|
|
1382
1350
|
|
|
1383
|
-
[Download .xlsx](files/cell_num_scientific.xlsx)
|
|
1384
|
-
|
|
1385
1351
|
Demonstrates scientific number formats (0.00E+00).
|
|
1386
1352
|
|
|
1387
1353
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1432,8 +1398,6 @@ Row 2: A3: "Small Scientific" (Format ID: , Code: nil), B3: 1.234e-05 (Format ID
|
|
|
1432
1398
|
|
|
1433
1399
|
## Cell Numbers
|
|
1434
1400
|
|
|
1435
|
-
[Download .xlsx](files/cell_numbers.xlsx)
|
|
1436
|
-
|
|
1437
1401
|
Demonstrates custom formatting for integers, floating point numbers, currencies, and percentages.
|
|
1438
1402
|
|
|
1439
1403
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1487,8 +1451,6 @@ Row 4: A5: "Percentage" (String), B5: 0.85 (Float)
|
|
|
1487
1451
|
|
|
1488
1452
|
## Cell Rich Text
|
|
1489
1453
|
|
|
1490
|
-
[Download .xlsx](files/cell_rich_text.xlsx)
|
|
1491
|
-
|
|
1492
1454
|
Demonstrates Rich Text cells with multiple font weights, styles, and colors in a single cell.
|
|
1493
1455
|
|
|
1494
1456
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1539,8 +1501,6 @@ Row 1: A2: "Rich Text Cell" (String), B2: "Normal BOLD RED ITALIC BLUE" (String)
|
|
|
1539
1501
|
|
|
1540
1502
|
## Cell Times
|
|
1541
1503
|
|
|
1542
|
-
[Download .xlsx](files/cell_times.xlsx)
|
|
1543
|
-
|
|
1544
1504
|
Demonstrates timestamp values serialized natively and formatted showing hours, minutes, and seconds.
|
|
1545
1505
|
|
|
1546
1506
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1590,8 +1550,6 @@ Row 2: A3: "Time Only" (String), B3: 46204.385416666664 (Float)
|
|
|
1590
1550
|
|
|
1591
1551
|
## Cf Begins With
|
|
1592
1552
|
|
|
1593
|
-
[Download .xlsx](files/cf_begins_with.xlsx)
|
|
1594
|
-
|
|
1595
1553
|
Demonstrates conditional formatting highlighting cells starting with specific text.
|
|
1596
1554
|
|
|
1597
1555
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1640,8 +1598,6 @@ Row 3: A4: "A-300"
|
|
|
1640
1598
|
|
|
1641
1599
|
## Cf Cell Between
|
|
1642
1600
|
|
|
1643
|
-
[Download .xlsx](files/cf_cell_between.xlsx)
|
|
1644
|
-
|
|
1645
1601
|
Demonstrates conditional formatting highlighting cells within a range.
|
|
1646
1602
|
|
|
1647
1603
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1691,8 +1647,6 @@ Row 3: A4: 5
|
|
|
1691
1647
|
|
|
1692
1648
|
## Cf Cell Equal To
|
|
1693
1649
|
|
|
1694
|
-
[Download .xlsx](files/cf_cell_equal_to.xlsx)
|
|
1695
|
-
|
|
1696
1650
|
Demonstrates conditional formatting highlighting cells equal to a target value.
|
|
1697
1651
|
|
|
1698
1652
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1742,8 +1696,6 @@ Row 3: A4: 10
|
|
|
1742
1696
|
|
|
1743
1697
|
## Cf Cell Greater Equal
|
|
1744
1698
|
|
|
1745
|
-
[Download .xlsx](files/cf_cell_greater_equal.xlsx)
|
|
1746
|
-
|
|
1747
1699
|
Demonstrates conditional formatting highlighting cells greater than or equal to a threshold.
|
|
1748
1700
|
|
|
1749
1701
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1793,8 +1745,6 @@ Row 3: A4: 100
|
|
|
1793
1745
|
|
|
1794
1746
|
## Cf Cell Greater Than
|
|
1795
1747
|
|
|
1796
|
-
[Download .xlsx](files/cf_cell_greater_than.xlsx)
|
|
1797
|
-
|
|
1798
1748
|
Demonstrates conditional formatting highlighting cells greater than a threshold.
|
|
1799
1749
|
|
|
1800
1750
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1844,8 +1794,6 @@ Row 3: A4: 10
|
|
|
1844
1794
|
|
|
1845
1795
|
## Cf Cell Less Than
|
|
1846
1796
|
|
|
1847
|
-
[Download .xlsx](files/cf_cell_less_than.xlsx)
|
|
1848
|
-
|
|
1849
1797
|
Demonstrates conditional formatting highlighting cells less than a threshold.
|
|
1850
1798
|
|
|
1851
1799
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1895,8 +1843,6 @@ Row 3: A4: 10
|
|
|
1895
1843
|
|
|
1896
1844
|
## Cf Color Scale
|
|
1897
1845
|
|
|
1898
|
-
[Download .xlsx](files/cf_color_scale.xlsx)
|
|
1899
|
-
|
|
1900
1846
|
Demonstrates color scale/heatmap conditional formatting.
|
|
1901
1847
|
|
|
1902
1848
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1944,8 +1890,6 @@ Row 2: A3: 90
|
|
|
1944
1890
|
|
|
1945
1891
|
## Cf Contains Text
|
|
1946
1892
|
|
|
1947
|
-
[Download .xlsx](files/cf_contains_text.xlsx)
|
|
1948
|
-
|
|
1949
1893
|
Demonstrates conditional formatting highlighting cells containing specific text.
|
|
1950
1894
|
|
|
1951
1895
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -1994,8 +1938,6 @@ Row 3: A4: "Pending"
|
|
|
1994
1938
|
|
|
1995
1939
|
## Cf Data Bar
|
|
1996
1940
|
|
|
1997
|
-
[Download .xlsx](files/cf_data_bar.xlsx)
|
|
1998
|
-
|
|
1999
1941
|
Demonstrates data bar visual conditional formatting indicators.
|
|
2000
1942
|
|
|
2001
1943
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2043,8 +1985,6 @@ Row 2: A3: 100
|
|
|
2043
1985
|
|
|
2044
1986
|
## Cf Ends With
|
|
2045
1987
|
|
|
2046
|
-
[Download .xlsx](files/cf_ends_with.xlsx)
|
|
2047
|
-
|
|
2048
1988
|
Demonstrates conditional formatting highlighting cells ending with specific text.
|
|
2049
1989
|
|
|
2050
1990
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2093,8 +2033,6 @@ Row 3: A4: "300-Z"
|
|
|
2093
2033
|
|
|
2094
2034
|
## Cf Expression Formula
|
|
2095
2035
|
|
|
2096
|
-
[Download .xlsx](files/cf_expression_formula.xlsx)
|
|
2097
|
-
|
|
2098
2036
|
Demonstrates conditional formatting using a custom formula expression.
|
|
2099
2037
|
|
|
2100
2038
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2146,8 +2084,6 @@ Row 4: A5: 100
|
|
|
2146
2084
|
|
|
2147
2085
|
## Cf Icon Set
|
|
2148
2086
|
|
|
2149
|
-
[Download .xlsx](files/cf_icon_set.xlsx)
|
|
2150
|
-
|
|
2151
2087
|
Demonstrates icon set indicators (red/yellow/green arrows).
|
|
2152
2088
|
|
|
2153
2089
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2195,8 +2131,6 @@ Row 2: A3: 75
|
|
|
2195
2131
|
|
|
2196
2132
|
## Chart Area
|
|
2197
2133
|
|
|
2198
|
-
[Download .xlsx](files/chart_area.xlsx)
|
|
2199
|
-
|
|
2200
2134
|
Demonstrates embedding a standard 2D Area Chart.
|
|
2201
2135
|
|
|
2202
2136
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2245,8 +2179,6 @@ Sheet 'Data' has 0 chart(s)
|
|
|
2245
2179
|
|
|
2246
2180
|
## Chart Area Stacked
|
|
2247
2181
|
|
|
2248
|
-
[Download .xlsx](files/chart_area_stacked.xlsx)
|
|
2249
|
-
|
|
2250
2182
|
Demonstrates embedding a stacked 2D Area Chart.
|
|
2251
2183
|
|
|
2252
2184
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2300,8 +2232,6 @@ Sheet 'Data' has 0 chart(s)
|
|
|
2300
2232
|
|
|
2301
2233
|
## Chart Bar
|
|
2302
2234
|
|
|
2303
|
-
[Download .xlsx](files/chart_bar.xlsx)
|
|
2304
|
-
|
|
2305
2235
|
Demonstrates embedding a standard 2D Bar Chart referencing worksheet cell ranges.
|
|
2306
2236
|
|
|
2307
2237
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2359,8 +2289,6 @@ Sheet 'Sales Data' has 0 chart(s)
|
|
|
2359
2289
|
|
|
2360
2290
|
## Chart Bar Percent Stacked
|
|
2361
2291
|
|
|
2362
|
-
[Download .xlsx](files/chart_bar_percent_stacked.xlsx)
|
|
2363
|
-
|
|
2364
2292
|
Demonstrates embedding a 100% stacked 2D Bar Chart.
|
|
2365
2293
|
|
|
2366
2294
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2414,8 +2342,6 @@ Sheet 'Data' has 0 chart(s)
|
|
|
2414
2342
|
|
|
2415
2343
|
## Chart Bar Stacked
|
|
2416
2344
|
|
|
2417
|
-
[Download .xlsx](files/chart_bar_stacked.xlsx)
|
|
2418
|
-
|
|
2419
2345
|
Demonstrates embedding a stacked 2D Bar Chart.
|
|
2420
2346
|
|
|
2421
2347
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2469,8 +2395,6 @@ Sheet 'Data' has 0 chart(s)
|
|
|
2469
2395
|
|
|
2470
2396
|
## Chart Doughnut
|
|
2471
2397
|
|
|
2472
|
-
[Download .xlsx](files/chart_doughnut.xlsx)
|
|
2473
|
-
|
|
2474
2398
|
Demonstrates embedding a standard 2D Doughnut Chart.
|
|
2475
2399
|
|
|
2476
2400
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2526,8 +2450,6 @@ Sheet 'Data' has 0 chart(s)
|
|
|
2526
2450
|
|
|
2527
2451
|
## Chart Line
|
|
2528
2452
|
|
|
2529
|
-
[Download .xlsx](files/chart_line.xlsx)
|
|
2530
|
-
|
|
2531
2453
|
Demonstrates embedding a standard 2D Line Chart.
|
|
2532
2454
|
|
|
2533
2455
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2577,8 +2499,6 @@ Sheet 'Data' has 0 chart(s)
|
|
|
2577
2499
|
|
|
2578
2500
|
## Chart Line Stacked
|
|
2579
2501
|
|
|
2580
|
-
[Download .xlsx](files/chart_line_stacked.xlsx)
|
|
2581
|
-
|
|
2582
2502
|
Demonstrates embedding a stacked 2D Line Chart.
|
|
2583
2503
|
|
|
2584
2504
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2632,8 +2552,6 @@ Sheet 'Data' has 0 chart(s)
|
|
|
2632
2552
|
|
|
2633
2553
|
## Chart Pie
|
|
2634
2554
|
|
|
2635
|
-
[Download .xlsx](files/chart_pie.xlsx)
|
|
2636
|
-
|
|
2637
2555
|
Demonstrates embedding a standard 2D Pie Chart.
|
|
2638
2556
|
|
|
2639
2557
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2689,8 +2607,6 @@ Sheet 'Data' has 0 chart(s)
|
|
|
2689
2607
|
|
|
2690
2608
|
## Chart Radar
|
|
2691
2609
|
|
|
2692
|
-
[Download .xlsx](files/chart_radar.xlsx)
|
|
2693
|
-
|
|
2694
2610
|
Demonstrates embedding a standard 2D Radar Chart.
|
|
2695
2611
|
|
|
2696
2612
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2739,8 +2655,6 @@ Sheet 'Data' has 0 chart(s)
|
|
|
2739
2655
|
|
|
2740
2656
|
## Chart Scatter
|
|
2741
2657
|
|
|
2742
|
-
[Download .xlsx](files/chart_scatter.xlsx)
|
|
2743
|
-
|
|
2744
2658
|
Demonstrates embedding a standard 2D Scatter Plot.
|
|
2745
2659
|
|
|
2746
2660
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2789,8 +2703,6 @@ Sheet 'Data' has 0 chart(s)
|
|
|
2789
2703
|
|
|
2790
2704
|
## Col Grouping
|
|
2791
2705
|
|
|
2792
|
-
[Download .xlsx](files/col_grouping.xlsx)
|
|
2793
|
-
|
|
2794
2706
|
Demonstrates outline grouping for columns.
|
|
2795
2707
|
|
|
2796
2708
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2837,8 +2749,6 @@ Column 2: width=25.0, hidden=false, outline_level=1
|
|
|
2837
2749
|
|
|
2838
2750
|
## Col Width Tall
|
|
2839
2751
|
|
|
2840
|
-
[Download .xlsx](files/col_width_tall.xlsx)
|
|
2841
|
-
|
|
2842
2752
|
Demonstrates setting very wide column widths.
|
|
2843
2753
|
|
|
2844
2754
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2881,8 +2791,6 @@ Column 1: width=10.0, hidden=false, outline_level=
|
|
|
2881
2791
|
|
|
2882
2792
|
## Col Widths
|
|
2883
2793
|
|
|
2884
|
-
[Download .xlsx](files/col_widths.xlsx)
|
|
2885
|
-
|
|
2886
2794
|
Demonstrates setting custom column widths.
|
|
2887
2795
|
|
|
2888
2796
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2925,8 +2833,6 @@ Column 1: width=10.0, hidden=false, outline_level=
|
|
|
2925
2833
|
|
|
2926
2834
|
## Conditional Formatting
|
|
2927
2835
|
|
|
2928
|
-
[Download .xlsx](files/conditional_formatting.xlsx)
|
|
2929
|
-
|
|
2930
2836
|
Demonstrates adding conditional formatting rules that style cells automatically based on value ranges.
|
|
2931
2837
|
|
|
2932
2838
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -2977,8 +2883,6 @@ Row 0: A1: 90, B1: 45, C1: 72, D1: 88
|
|
|
2977
2883
|
|
|
2978
2884
|
## Embedded Images
|
|
2979
2885
|
|
|
2980
|
-
[Download .xlsx](files/embedded_images.xlsx)
|
|
2981
|
-
|
|
2982
2886
|
Demonstrates embedding raster PNG images in cell ranges.
|
|
2983
2887
|
|
|
2984
2888
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -3063,8 +2967,6 @@ Image #1: name='', target='../media/image1.png' -> ZIP path='xl/media/image1.png
|
|
|
3063
2967
|
|
|
3064
2968
|
## Fill Gradients
|
|
3065
2969
|
|
|
3066
|
-
[Download .xlsx](files/fill_gradients.xlsx)
|
|
3067
|
-
|
|
3068
2970
|
Demonstrates linear gradients inside cell backgrounds.
|
|
3069
2971
|
|
|
3070
2972
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -3115,8 +3017,6 @@ Cell B1 ('Gradient Cell'): fill pattern = nil, fg_color = nil
|
|
|
3115
3017
|
|
|
3116
3018
|
## Fill Patterns
|
|
3117
3019
|
|
|
3118
|
-
[Download .xlsx](files/fill_patterns.xlsx)
|
|
3119
|
-
|
|
3120
3020
|
Demonstrates standard pattern fills (darkGray, darkGrid) in cell backgrounds.
|
|
3121
3021
|
|
|
3122
3022
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -3165,8 +3065,6 @@ Cell B1 ('Preview'): fill pattern = nil, fg_color = nil
|
|
|
3165
3065
|
|
|
3166
3066
|
## Fill Solid Colors
|
|
3167
3067
|
|
|
3168
|
-
[Download .xlsx](files/fill_solid_colors.xlsx)
|
|
3169
|
-
|
|
3170
3068
|
Demonstrates solid cell background fill colors.
|
|
3171
3069
|
|
|
3172
3070
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -3215,8 +3113,6 @@ Cell B1 ('Preview'): fill pattern = nil, fg_color = nil
|
|
|
3215
3113
|
|
|
3216
3114
|
## Fonts
|
|
3217
3115
|
|
|
3218
|
-
[Download .xlsx](files/fonts.xlsx)
|
|
3219
|
-
|
|
3220
3116
|
Demonstrates cell fonts properties (Arial, Georgia, Courier New, Times New Roman, Tahoma, sizes 10pt/16pt/24pt, red/green/blue colors, bold/italic/underline/double underline/strike-through styles, superscript/subscript).
|
|
3221
3117
|
|
|
3222
3118
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -3335,8 +3231,6 @@ Row 18: A19: "Align: Subscript" (font_id: 0), B19: "H2O (2 is sub)" (font_id: 18
|
|
|
3335
3231
|
|
|
3336
3232
|
## Interactive Autofilter
|
|
3337
3233
|
|
|
3338
|
-
[Download .xlsx](files/interactive_autofilter.xlsx)
|
|
3339
|
-
|
|
3340
3234
|
> [!TIP]
|
|
3341
3235
|
> **Interactive Feature**: This example uses interactive Excel behaviors (such as validation dropdowns, comments, or autofilters). Since the static visual preview below represents a printed page layout, please **[Download the .xlsx file](files/interactive_autofilter.xlsx)** and open it in Microsoft Excel, LibreOffice Calc, or Apple Numbers to interact with it!
|
|
3342
3236
|
|
|
@@ -3389,8 +3283,6 @@ Row 2: A3: "Bob", B3: "Eng"
|
|
|
3389
3283
|
|
|
3390
3284
|
## Interactive Comments
|
|
3391
3285
|
|
|
3392
|
-
[Download .xlsx](files/interactive_comments.xlsx)
|
|
3393
|
-
|
|
3394
3286
|
> [!TIP]
|
|
3395
3287
|
> **Interactive Feature**: This example uses interactive Excel behaviors (such as validation dropdowns, comments, or autofilters). Since the static visual preview below represents a printed page layout, please **[Download the .xlsx file](files/interactive_comments.xlsx)** and open it in Microsoft Excel, LibreOffice Calc, or Apple Numbers to interact with it!
|
|
3396
3288
|
|
|
@@ -3438,8 +3330,6 @@ Row 0: A1: "Item A", B1: "Item B"
|
|
|
3438
3330
|
|
|
3439
3331
|
## Interactive Validation Custom
|
|
3440
3332
|
|
|
3441
|
-
[Download .xlsx](files/interactive_validation_custom.xlsx)
|
|
3442
|
-
|
|
3443
3333
|
> [!TIP]
|
|
3444
3334
|
> **Interactive Feature**: This example uses interactive Excel behaviors (such as validation dropdowns, comments, or autofilters). Since the static visual preview below represents a printed page layout, please **[Download the .xlsx file](files/interactive_validation_custom.xlsx)** and open it in Microsoft Excel, LibreOffice Calc, or Apple Numbers to interact with it!
|
|
3445
3335
|
|
|
@@ -3489,8 +3379,6 @@ Validation range B2: type=custom, formula1=B2>A2, formula2=
|
|
|
3489
3379
|
|
|
3490
3380
|
## Interactive Validation Date
|
|
3491
3381
|
|
|
3492
|
-
[Download .xlsx](files/interactive_validation_date.xlsx)
|
|
3493
|
-
|
|
3494
3382
|
> [!TIP]
|
|
3495
3383
|
> **Interactive Feature**: This example uses interactive Excel behaviors (such as validation dropdowns, comments, or autofilters). Since the static visual preview below represents a printed page layout, please **[Download the .xlsx file](files/interactive_validation_date.xlsx)** and open it in Microsoft Excel, LibreOffice Calc, or Apple Numbers to interact with it!
|
|
3496
3384
|
|
|
@@ -3539,8 +3427,6 @@ Validation range B2: type=date, formula1=Date(2026,1,1), formula2=Date(2026,12,3
|
|
|
3539
3427
|
|
|
3540
3428
|
## Interactive Validation List
|
|
3541
3429
|
|
|
3542
|
-
[Download .xlsx](files/interactive_validation_list.xlsx)
|
|
3543
|
-
|
|
3544
3430
|
> [!TIP]
|
|
3545
3431
|
> **Interactive Feature**: This example uses interactive Excel behaviors (such as validation dropdowns, comments, or autofilters). Since the static visual preview below represents a printed page layout, please **[Download the .xlsx file](files/interactive_validation_list.xlsx)** and open it in Microsoft Excel, LibreOffice Calc, or Apple Numbers to interact with it!
|
|
3546
3432
|
|
|
@@ -3589,8 +3475,6 @@ Validation range B2: type=list, formula1="HR,Sales,Engineering", formula2=
|
|
|
3589
3475
|
|
|
3590
3476
|
## Interactive Validation Range
|
|
3591
3477
|
|
|
3592
|
-
[Download .xlsx](files/interactive_validation_range.xlsx)
|
|
3593
|
-
|
|
3594
3478
|
> [!TIP]
|
|
3595
3479
|
> **Interactive Feature**: This example uses interactive Excel behaviors (such as validation dropdowns, comments, or autofilters). Since the static visual preview below represents a printed page layout, please **[Download the .xlsx file](files/interactive_validation_range.xlsx)** and open it in Microsoft Excel, LibreOffice Calc, or Apple Numbers to interact with it!
|
|
3596
3480
|
|
|
@@ -3639,8 +3523,6 @@ Validation range B2: type=whole, formula1=18, formula2=99
|
|
|
3639
3523
|
|
|
3640
3524
|
## Interactive Validation Text Length
|
|
3641
3525
|
|
|
3642
|
-
[Download .xlsx](files/interactive_validation_text_length.xlsx)
|
|
3643
|
-
|
|
3644
3526
|
> [!TIP]
|
|
3645
3527
|
> **Interactive Feature**: This example uses interactive Excel behaviors (such as validation dropdowns, comments, or autofilters). Since the static visual preview below represents a printed page layout, please **[Download the .xlsx file](files/interactive_validation_text_length.xlsx)** and open it in Microsoft Excel, LibreOffice Calc, or Apple Numbers to interact with it!
|
|
3646
3528
|
|
|
@@ -3689,8 +3571,6 @@ Validation range B2: type=textLength, formula1=10, formula2=
|
|
|
3689
3571
|
|
|
3690
3572
|
## Interactive Validation Time
|
|
3691
3573
|
|
|
3692
|
-
[Download .xlsx](files/interactive_validation_time.xlsx)
|
|
3693
|
-
|
|
3694
3574
|
> [!TIP]
|
|
3695
3575
|
> **Interactive Feature**: This example uses interactive Excel behaviors (such as validation dropdowns, comments, or autofilters). Since the static visual preview below represents a printed page layout, please **[Download the .xlsx file](files/interactive_validation_time.xlsx)** and open it in Microsoft Excel, LibreOffice Calc, or Apple Numbers to interact with it!
|
|
3696
3576
|
|
|
@@ -3739,8 +3619,6 @@ Validation range B2: type=time, formula1=0.33333, formula2=
|
|
|
3739
3619
|
|
|
3740
3620
|
## Japanese Text
|
|
3741
3621
|
|
|
3742
|
-
[Download .xlsx](files/japanese_text.xlsx)
|
|
3743
|
-
|
|
3744
3622
|
Demonstrates writing multi-byte Japanese text and setting appropriate Japanese font names (e.g., Noto Sans CJK JP).
|
|
3745
3623
|
|
|
3746
3624
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -3793,8 +3671,6 @@ Row 1: A2: "売上" (String), B2: 12500 (Integer)
|
|
|
3793
3671
|
|
|
3794
3672
|
## Merge Freeze
|
|
3795
3673
|
|
|
3796
|
-
[Download .xlsx](files/merge_freeze.xlsx)
|
|
3797
|
-
|
|
3798
3674
|
Demonstrates merging a cell range into a single cell, and freezing the top rows of a sheet.
|
|
3799
3675
|
|
|
3800
3676
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -3853,8 +3729,6 @@ Row 3: A4: "Row 2 Col A", B4: "Row 2 Col B", C4: "Row 2 Col C"
|
|
|
3853
3729
|
|
|
3854
3730
|
## Page Grid Lines Print
|
|
3855
3731
|
|
|
3856
|
-
[Download .xlsx](files/page_grid_lines_print.xlsx)
|
|
3857
|
-
|
|
3858
3732
|
Demonstrates enabling printing of grid lines.
|
|
3859
3733
|
|
|
3860
3734
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -3902,8 +3776,6 @@ Print Options: {grid_lines: true}
|
|
|
3902
3776
|
|
|
3903
3777
|
## Page Header Footer
|
|
3904
3778
|
|
|
3905
|
-
[Download .xlsx](files/page_header_footer.xlsx)
|
|
3906
|
-
|
|
3907
3779
|
Demonstrates setting odd page headers and footers.
|
|
3908
3780
|
|
|
3909
3781
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -3951,8 +3823,6 @@ Print Options: {}
|
|
|
3951
3823
|
|
|
3952
3824
|
## Page Headings Print
|
|
3953
3825
|
|
|
3954
|
-
[Download .xlsx](files/page_headings_print.xlsx)
|
|
3955
|
-
|
|
3956
3826
|
Demonstrates enabling printing of row and column headings.
|
|
3957
3827
|
|
|
3958
3828
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4000,8 +3870,6 @@ Print Options: {headings: true}
|
|
|
4000
3870
|
|
|
4001
3871
|
## Page Margins Narrow
|
|
4002
3872
|
|
|
4003
|
-
[Download .xlsx](files/page_margins_narrow.xlsx)
|
|
4004
|
-
|
|
4005
3873
|
Demonstrates setting narrow page margins.
|
|
4006
3874
|
|
|
4007
3875
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4049,8 +3917,6 @@ Print Options: {}
|
|
|
4049
3917
|
|
|
4050
3918
|
## Page Margins Wide
|
|
4051
3919
|
|
|
4052
|
-
[Download .xlsx](files/page_margins_wide.xlsx)
|
|
4053
|
-
|
|
4054
3920
|
Demonstrates setting wide page margins.
|
|
4055
3921
|
|
|
4056
3922
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4098,8 +3964,6 @@ Print Options: {}
|
|
|
4098
3964
|
|
|
4099
3965
|
## Page Orientation Landscape
|
|
4100
3966
|
|
|
4101
|
-
[Download .xlsx](files/page_orientation_landscape.xlsx)
|
|
4102
|
-
|
|
4103
3967
|
Demonstrates landscape page setup for printing.
|
|
4104
3968
|
|
|
4105
3969
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4147,8 +4011,6 @@ Print Options: {}
|
|
|
4147
4011
|
|
|
4148
4012
|
## Page Paper Size A3
|
|
4149
4013
|
|
|
4150
|
-
[Download .xlsx](files/page_paper_size_a3.xlsx)
|
|
4151
|
-
|
|
4152
4014
|
Demonstrates setting paper size to A3 (paper size 8).
|
|
4153
4015
|
|
|
4154
4016
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4196,8 +4058,6 @@ Print Options: {}
|
|
|
4196
4058
|
|
|
4197
4059
|
## Row Grouping
|
|
4198
4060
|
|
|
4199
|
-
[Download .xlsx](files/row_grouping.xlsx)
|
|
4200
|
-
|
|
4201
4061
|
Demonstrates outline grouping for rows.
|
|
4202
4062
|
|
|
4203
4063
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4244,8 +4104,6 @@ Row 2: height=, hidden=false, outline_level=1
|
|
|
4244
4104
|
|
|
4245
4105
|
## Row Height Tall
|
|
4246
4106
|
|
|
4247
|
-
[Download .xlsx](files/row_height_tall.xlsx)
|
|
4248
|
-
|
|
4249
4107
|
Demonstrates setting very tall row heights.
|
|
4250
4108
|
|
|
4251
4109
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4289,8 +4147,6 @@ Row 1: height=, hidden=false, outline_level=
|
|
|
4289
4147
|
|
|
4290
4148
|
## Row Heights
|
|
4291
4149
|
|
|
4292
|
-
[Download .xlsx](files/row_heights.xlsx)
|
|
4293
|
-
|
|
4294
4150
|
Demonstrates setting custom row heights.
|
|
4295
4151
|
|
|
4296
4152
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4334,8 +4190,6 @@ Row 1: height=40.0, hidden=false, outline_level=
|
|
|
4334
4190
|
|
|
4335
4191
|
## Sheet Tab Colors
|
|
4336
4192
|
|
|
4337
|
-
[Download .xlsx](files/sheet_tab_colors.xlsx)
|
|
4338
|
-
|
|
4339
4193
|
Demonstrates customizing tab colors of individual worksheets.
|
|
4340
4194
|
|
|
4341
4195
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4387,8 +4241,6 @@ Sheet: Green Tab, tab color: "FF00FF00"
|
|
|
4387
4241
|
|
|
4388
4242
|
## Sparkline Column
|
|
4389
4243
|
|
|
4390
|
-
[Download .xlsx](files/sparkline_column.xlsx)
|
|
4391
|
-
|
|
4392
4244
|
Demonstrates embedded column sparklines in cell ranges.
|
|
4393
4245
|
|
|
4394
4246
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4436,8 +4288,6 @@ Row 0: A1: 5, B1: 12, C1: 8, D1: 15
|
|
|
4436
4288
|
|
|
4437
4289
|
## Sparkline Line
|
|
4438
4290
|
|
|
4439
|
-
[Download .xlsx](files/sparkline_line.xlsx)
|
|
4440
|
-
|
|
4441
4291
|
Demonstrates embedded line sparklines in cell ranges.
|
|
4442
4292
|
|
|
4443
4293
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4490,8 +4340,6 @@ Row 0: A1: 10, B1: 20, C1: 15, D1: 30
|
|
|
4490
4340
|
|
|
4491
4341
|
## Styles Fonts Fills
|
|
4492
4342
|
|
|
4493
|
-
[Download .xlsx](files/styles_fonts_fills.xlsx)
|
|
4494
|
-
|
|
4495
4343
|
Demonstrates cell formatting, including custom font sizing, bold/italic text, custom text colors, and background fill colors.
|
|
4496
4344
|
|
|
4497
4345
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4551,8 +4399,6 @@ Row 1: A2: "Normal Text" (font=, fill=), B2: "Highlighted Text" (font=Calibri, f
|
|
|
4551
4399
|
|
|
4552
4400
|
## View Show Grid Lines
|
|
4553
4401
|
|
|
4554
|
-
[Download .xlsx](files/view_show_grid_lines.xlsx)
|
|
4555
|
-
|
|
4556
4402
|
Demonstrates disabling visible grid lines in spreadsheet view.
|
|
4557
4403
|
|
|
4558
4404
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4597,8 +4443,6 @@ Sheet 'Hide Grid Lines' views zoom scale: %, show grid lines: false
|
|
|
4597
4443
|
|
|
4598
4444
|
## View Zoom Scale
|
|
4599
4445
|
|
|
4600
|
-
[Download .xlsx](files/view_zoom_scale.xlsx)
|
|
4601
|
-
|
|
4602
4446
|
Demonstrates setting custom zoom scale in sheet view (e.g. 150%).
|
|
4603
4447
|
|
|
4604
4448
|
### Rendered Output (LibreOffice Calc)
|
|
@@ -4643,8 +4487,6 @@ Sheet 'Zoom 150' views zoom scale: 150%, show grid lines:
|
|
|
4643
4487
|
|
|
4644
4488
|
## Workbook Three Sheets
|
|
4645
4489
|
|
|
4646
|
-
[Download .xlsx](files/workbook_three_sheets.xlsx)
|
|
4647
|
-
|
|
4648
4490
|
Demonstrates creating workbooks with multiple worksheets.
|
|
4649
4491
|
|
|
4650
4492
|
### Rendered Output (LibreOffice Calc)
|