| 1 | package Spreadsheet::ParseODS::Cell; | ||
| 2 | use Moo 2; | ||
| 3 | use Filter::signatures; | ||
| 4 | use feature 'signatures'; | ||
| 5 | no warnings 'experimental::signatures'; | ||
| 6 | |||
| 7 | our $VERSION = '0.39'; | ||
| 8 | |||
| 9 | =head1 NAME | ||
| 10 | |||
| 11 | Spreadsheet::ParseODS::Cell - a cell in a spreadsheet | ||
| 12 | |||
| 13 | =cut | ||
| 14 | |||
| 15 | has 'value' => ( | ||
| 16 | is => 'rw', | ||
| 17 | ); | ||
| 18 | |||
| 19 | has 'unformatted' => ( | ||
| 20 | is => 'rw', | ||
| 21 | ); | ||
| 22 | |||
| 23 | has 'formula' => ( | ||
| 24 | is => 'rw', | ||
| 25 | ); | ||
| 26 | |||
| 27 | has 'type' => ( | ||
| 28 | is => 'rw', | ||
| 29 | ); | ||
| 30 | |||
| 31 | has 'hyperlink' => ( | ||
| 32 | is => 'rw', | ||
| 33 | ); | ||
| 34 | |||
| 35 | has 'format' => ( | ||
| 36 | is => 'rw', | ||
| 37 | ); | ||
| 38 | |||
| 39 | has 'style' => ( | ||
| 40 | is => 'rw', | ||
| 41 | ); | ||
| 42 | |||
| 43 | has 'is_merged' => ( | ||
| 44 | is => 'rw', | ||
| 45 | ); | ||
| 46 | |||
| 47 | has 'is_hidden' => ( | ||
| 48 | is => 'rw', | ||
| 49 | ); | ||
| 50 | |||
| 51 | sub get_hyperlink( $self ) { | ||
| 52 | $self->hyperlink | ||
| 53 | } | ||
| 54 | |||
| 55 | sub get_format( $self ) { | ||
| 56 | $self->format | ||
| 57 | } | ||
| 58 | |||
| 59 | |||
| 60 | 1; |