| 1 | # -*- mode: perl; -*- | ||
| 2 | # | ||
| 3 | # Class for keeping track of Gnumeric style regions. | ||
| 4 | # | ||
| 5 | # Documentation below "__END__". | ||
| 6 | # | ||
| 7 | # [created. -- rgr, 6-Feb-23.] | ||
| 8 | # | ||
| 9 | |||
| 10 | package Spreadsheet::Gnumeric::StyleRegion; | ||
| 11 | |||
| 12 | 4 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | 4 | our $VERSION = '0.2'; | |
| 18 | |||
| 19 | 4 | ▶ | use parent qw(Spreadsheet::Gnumeric::Base); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | |||
| 21 | # define instance accessors. | ||
| 22 | 4 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 4 | ▶ | no strict 'refs'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | 4 | Spreadsheet::Gnumeric::StyleRegion->define_instance_accessors | |
| 25 | (qw(start_col start_row end_col end_row style_attributes)); | ||
| 26 | } | ||
| 27 | |||
| 28 | 4 | 1; | |
| 29 | |||
| 30 | __END__ | ||