Object/WorkbookSettings.pm untested

filter: Statementstmt 0.0% 0 / 96 Branchbran 0.0% 0 / 10 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 19 Podpod 0.0% 0 / 5 totaltotal 0.0% 0 / 130 CC 6 SCAR 15.8
CC
6
Cov
0%
from_hash
12.0
_deserialize
12.0
TO_JSON
6.0
CRAP 4.8
1 =begin comment
2
3 Copyright (c) 2026 Aspose.Cells Cloud
4 Permission is hereby granted, free of charge, to any person obtaining a copy
5 of this software and associated documentation files (the "Software"), to deal
6 in the Software without restriction, including without limitation the rights
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 copies of the Software, and to permit persons to whom the Software is
9 furnished to do so, subject to the following conditions:
10
11 The above copyright notice and this permission notice shall be included in all
12 copies or substantial portions of the Software.
13
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20 SOFTWARE.
21
22 =end comment
23
24 =cut
25
26 package AsposeCellsCloud::Object::WorkbookSettings;
27
28 require 5.6.0;
29 use strict;
30 use warnings;
31 use utf8;
32 use JSON qw(decode_json);
33 use Data::Dumper;
34 use Module::Runtime qw(use_module);
35 use Log::Any qw($log);
36 use Date::Parse;
37 use DateTime;
38 use AsposeCellsCloud::Object::FormulaSettings;
39 use AsposeCellsCloud::Object::GlobalizationSettings;
40 use AsposeCellsCloud::Object::WriteProtection;
41
42
43 use base ("Class::Accessor", "Class::Data::Inheritable");
44
45
46
47 __PACKAGE__->mk_classdata('attribute_map' => {});
48 __PACKAGE__->mk_classdata('swagger_types' => {});
49 __PACKAGE__->mk_classdata('method_documentation' => {});
50 __PACKAGE__->mk_classdata('class_documentation' => {});
51
52 # new object
53 sub new {
54 my ($class, %args) = @_;
55
56 my $self = bless {}, $class;
57
58 foreach my $attribute (keys %{$class->attribute_map}) {
59 my $args_key = $class->attribute_map->{$attribute};
60 $self->$attribute( $args{ $args_key } );
61 }
62
63 return $self;
64 }
65
66 # return perl hash
67 sub to_hash {
68 return decode_json(JSON->new->convert_blessed->encode( shift ));
69 }
70
71 # used by JSON for serialization
72 sub TO_JSON {
73 my $self = shift;
74 my $_data = {};
75 foreach my $_key (keys %{$self->attribute_map}) {
76 if (defined $self->{$_key}) {
77 $_data->{$self->attribute_map->{$_key}} = $self->{$_key};
78 }
79 }
80 return $_data;
81 }
82
83 # from Perl hashref
84 sub from_hash {
85 my ($self, $hash) = @_;
86
87 # loop through attributes and use swagger_types to deserialize the data
88 while ( my ($_key, $_type) = each %{$self->swagger_types} ) {
89 my $_json_attribute = $self->attribute_map->{$_key};
90 if ($_type =~ /^array\[/i) { # array
91 my $_subclass = substr($_type, 6, -1);
92 my @_array = ();
93 foreach my $_element (@{$hash->{$_json_attribute}}) {
94 push @_array, $self->_deserialize($_subclass, $_element);
95 }
96 $self->{$_key} = \@_array;
97 } elsif (exists $hash->{$_json_attribute}) { #hash(model), primitive, datetime
98 $self->{$_key} = $self->_deserialize($_type, $hash->{$_json_attribute});
99 } else {
100 $log->debugf("Warning: %s (%s) does not exist in input hash\n", $_key, $_json_attribute);
101 }
102 }
103
104 return $self;
105 }
106
107 # deserialize non-array data
108 sub _deserialize {
109 my ($self, $type, $data) = @_;
110 $log->debugf("deserializing %s with %s",Dumper($data), $type);
111
112 if ($type eq 'DateTime') {
113 return DateTime->from_epoch(epoch => str2time($data));
114 } elsif ( grep( /^$type$/, ('int', 'double', 'string', 'boolean'))) {
115 return $data;
116 } else { # hash(model)
117 my $_instance = eval "AsposeCellsCloud::Object::$type->new()";
118 return $_instance->from_hash($data);
119 }
120 }
121
122
123 __PACKAGE__->class_documentation({description => ' Represents all settings of the workbook. ',
124 class => 'WorkbookSettings',
125 required => [], # TODO
126 } );
127
128
129 __PACKAGE__->method_documentation({
130 'auto_compress_pictures' => {
131 datatype => 'boolean',
132 base_name => 'AutoCompressPictures',
133 description => 'Specifies a boolean value that indicates the application automatically compressed pictures in the workbook. ',
134 format => '',
135 read_only => '',
136 },
137 'auto_recover' => {
138 datatype => 'boolean',
139 base_name => 'AutoRecover',
140 description => 'Indicates whether the file is mark for auto-recovery. ',
141 format => '',
142 read_only => '',
143 },
144 'build_version' => {
145 datatype => 'string',
146 base_name => 'BuildVersion',
147 description => 'Specifies the incremental public release of the application. ',
148 format => '',
149 read_only => '',
150 },
151 'calc_mode' => {
152 datatype => 'string',
153 base_name => 'CalcMode',
154 description => 'It specifies whether to calculate formulas manually, automatically or automatically except for multiple table operations. ',
155 format => '',
156 read_only => '',
157 },
158 'calculation_id' => {
159 datatype => 'string',
160 base_name => 'CalculationId',
161 description => 'Specifies the version of the calculation engine used to calculate values in the workbook. ',
162 format => '',
163 read_only => '',
164 },
165 'check_comptiliblity' => {
166 datatype => 'boolean',
167 base_name => 'CheckComptiliblity',
168 description => 'Indicates whether check comptiliblity when saving workbook. Remarks: The default value is true. ',
169 format => '',
170 read_only => '',
171 },
172 'check_excel_restriction' => {
173 datatype => 'boolean',
174 base_name => 'CheckExcelRestriction',
175 description => 'Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell`s value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. ',
176 format => '',
177 read_only => '',
178 },
179 'crash_save' => {
180 datatype => 'boolean',
181 base_name => 'CrashSave',
182 description => 'indicates whether the application last saved the workbook file after a crash. ',
183 format => '',
184 read_only => '',
185 },
186 'create_calc_chain' => {
187 datatype => 'boolean',
188 base_name => 'CreateCalcChain',
189 description => 'Whether creates calculated formulas chain. Default is false. ',
190 format => '',
191 read_only => '',
192 },
193 'data_extract_load' => {
194 datatype => 'boolean',
195 base_name => 'DataExtractLoad',
196 description => 'indicates whether the application last opened the workbook for data recovery. ',
197 format => '',
198 read_only => '',
199 },
200 'date1904' => {
201 datatype => 'boolean',
202 base_name => 'Date1904',
203 description => 'Gets or sets a value which represents if the workbook uses the 1904 date system. ',
204 format => '',
205 read_only => '',
206 },
207 'display_drawing_objects' => {
208 datatype => 'string',
209 base_name => 'DisplayDrawingObjects',
210 description => 'Indicates whether and how to show objects in the workbook. ',
211 format => '',
212 read_only => '',
213 },
214 'enable_macros' => {
215 datatype => 'boolean',
216 base_name => 'EnableMacros',
217 description => 'Enable macros; ',
218 format => '',
219 read_only => '',
220 },
221 'first_visible_tab' => {
222 datatype => 'int',
223 base_name => 'FirstVisibleTab',
224 description => 'Gets or sets the first visible worksheet tab. ',
225 format => '',
226 read_only => '',
227 },
228 'hide_pivot_field_list' => {
229 datatype => 'boolean',
230 base_name => 'HidePivotFieldList',
231 description => 'Gets and sets whether hide the field list for the PivotTable. ',
232 format => '',
233 read_only => '',
234 },
235 'is_default_encrypted' => {
236 datatype => 'boolean',
237 base_name => 'IsDefaultEncrypted',
238 description => 'Indicates whether encrypting the workbook with default password if Structure and Windows of the workbook are locked. ',
239 format => '',
240 read_only => '',
241 },
242 'is_hidden' => {
243 datatype => 'boolean',
244 base_name => 'IsHidden',
245 description => 'Indicates whether this workbook is hidden. ',
246 format => '',
247 read_only => '',
248 },
249 'is_h_scroll_bar_visible' => {
250 datatype => 'boolean',
251 base_name => 'IsHScrollBarVisible',
252 description => 'Gets or sets a value indicating whether the generated spreadsheet will contain a horizontal scroll bar. ',
253 format => '',
254 read_only => '',
255 },
256 'is_minimized' => {
257 datatype => 'boolean',
258 base_name => 'IsMinimized',
259 description => 'Represents whether the generated spreadsheet will be opened Minimized. ',
260 format => '',
261 read_only => '',
262 },
263 'is_v_scroll_bar_visible' => {
264 datatype => 'boolean',
265 base_name => 'IsVScrollBarVisible',
266 description => 'Gets or sets a value indicating whether the generated spreadsheet will contain a vertical scroll bar. ',
267 format => '',
268 read_only => '',
269 },
270 'iteration' => {
271 datatype => 'boolean',
272 base_name => 'Iteration',
273 description => 'Indicates whether enable iterative calculation to resolve circular references. ',
274 format => '',
275 read_only => '',
276 },
277 'language_code' => {
278 datatype => 'string',
279 base_name => 'LanguageCode',
280 description => 'Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file. ',
281 format => '',
282 read_only => '',
283 },
284 'max_change' => {
285 datatype => 'double',
286 base_name => 'MaxChange',
287 description => 'Returns or sets the maximum number of change to resolve a circular reference. ',
288 format => '',
289 read_only => '',
290 },
291 'max_iteration' => {
292 datatype => 'int',
293 base_name => 'MaxIteration',
294 description => 'Returns or sets the maximum number of iterations to resolve a circular reference. ',
295 format => '',
296 read_only => '',
297 },
298 'memory_setting' => {
299 datatype => 'string',
300 base_name => 'MemorySetting',
301 description => 'Gets or sets the memory usage options. The new option will be taken as the default option for newly created worksheets but does not take effect for existing worksheets. ',
302 format => '',
303 read_only => '',
304 },
305 'number_decimal_separator' => {
306 datatype => 'string',
307 base_name => 'NumberDecimalSeparator',
308 description => 'Gets or sets the decimal separator for formatting/parsing numeric values. Default is the decimal separator of current Region. ',
309 format => '',
310 read_only => '',
311 },
312 'number_group_separator' => {
313 datatype => 'string',
314 base_name => 'NumberGroupSeparator',
315 description => 'Gets or sets the character that separates groups of digits to the left of the decimal in numeric values. Default is the group separator of current Region. ',
316 format => '',
317 read_only => '',
318 },
319 'parsing_formula_on_open' => {
320 datatype => 'boolean',
321 base_name => 'ParsingFormulaOnOpen',
322 description => 'Indicates whether parsing the formula when reading the file. ',
323 format => '',
324 read_only => '',
325 },
326 'precision_as_displayed' => {
327 datatype => 'boolean',
328 base_name => 'PrecisionAsDisplayed',
329 description => 'True if calculations in this workbook will be done using only the precision of the numbers as they`re displayed ',
330 format => '',
331 read_only => '',
332 },
333 'recalculate_before_save' => {
334 datatype => 'boolean',
335 base_name => 'RecalculateBeforeSave',
336 description => 'Indicates whether to recalculate before saving the document. ',
337 format => '',
338 read_only => '',
339 },
340 're_calculate_on_open' => {
341 datatype => 'boolean',
342 base_name => 'ReCalculateOnOpen',
343 description => 'Indicates whether re-calculate all formulas on opening file. ',
344 format => '',
345 read_only => '',
346 },
347 'recommend_read_only' => {
348 datatype => 'boolean',
349 base_name => 'RecommendReadOnly',
350 description => 'Indicates if the Read Only Recommended option is selected. ',
351 format => '',
352 read_only => '',
353 },
354 'region' => {
355 datatype => 'string',
356 base_name => 'Region',
357 description => 'Gets or sets the regional settings for workbook. ',
358 format => '',
359 read_only => '',
360 },
361 'remove_personal_information' => {
362 datatype => 'boolean',
363 base_name => 'RemovePersonalInformation',
364 description => 'True if personal information can be removed from the specified workbook. ',
365 format => '',
366 read_only => '',
367 },
368 'repair_load' => {
369 datatype => 'boolean',
370 base_name => 'RepairLoad',
371 description => 'Indicates whether the application last opened the workbook in safe or repair mode. ',
372 format => '',
373 read_only => '',
374 },
375 'shared' => {
376 datatype => 'boolean',
377 base_name => 'Shared',
378 description => 'Gets or sets a value that indicates whether the Workbook is shared. ',
379 format => '',
380 read_only => '',
381 },
382 'sheet_tab_bar_width' => {
383 datatype => 'int',
384 base_name => 'SheetTabBarWidth',
385 description => 'Width of worksheet tab bar (in 1/1000 of window width). ',
386 format => '',
387 read_only => '',
388 },
389 'show_tabs' => {
390 datatype => 'boolean',
391 base_name => 'ShowTabs',
392 description => 'Get or sets a value whether the Workbook tabs are displayed. ',
393 format => '',
394 read_only => '',
395 },
396 'update_adjacent_cells_border' => {
397 datatype => 'boolean',
398 base_name => 'UpdateAdjacentCellsBorder',
399 description => 'Indicates whether update adjacent cells` border. ',
400 format => '',
401 read_only => '',
402 },
403 'update_links_type' => {
404 datatype => 'string',
405 base_name => 'UpdateLinksType',
406 description => 'Gets and sets how updates external links when the workbook is opened. ',
407 format => '',
408 read_only => '',
409 },
410 'window_height' => {
411 datatype => 'double',
412 base_name => 'WindowHeight',
413 description => 'The height of the window, in unit of point. ',
414 format => '',
415 read_only => '',
416 },
417 'window_left' => {
418 datatype => 'double',
419 base_name => 'WindowLeft',
420 description => 'The distance from the left edge of the client area to the left edge of the window, in unit of point. ',
421 format => '',
422 read_only => '',
423 },
424 'window_top' => {
425 datatype => 'double',
426 base_name => 'WindowTop',
427 description => 'The distance from the top edge of the client area to the top edge of the window, in unit of point. ',
428 format => '',
429 read_only => '',
430 },
431 'window_width' => {
432 datatype => 'double',
433 base_name => 'WindowWidth',
434 description => 'The width of the window, in unit of point. ',
435 format => '',
436 read_only => '',
437 },
438 'author' => {
439 datatype => 'string',
440 base_name => 'Author',
441 description => 'Gets and sets the author of the file. ',
442 format => '',
443 read_only => '',
444 },
445 'check_custom_number_format' => {
446 datatype => 'boolean',
447 base_name => 'CheckCustomNumberFormat',
448 description => 'Indicates whether checking custom number format when setting Style.Custom. ',
449 format => '',
450 read_only => '',
451 },
452 'protection_type' => {
453 datatype => 'string',
454 base_name => 'ProtectionType',
455 description => 'Gets the protection type of the workbook. ',
456 format => '',
457 read_only => '',
458 },
459 'globalization_settings' => {
460 datatype => 'GlobalizationSettings',
461 base_name => 'GlobalizationSettings',
462 description => 'Gets and sets the globalization settings. ',
463 format => '',
464 read_only => '',
465 },
466 'password' => {
467 datatype => 'string',
468 base_name => 'Password',
469 description => 'Represents Workbook file encryption password. ',
470 format => '',
471 read_only => '',
472 },
473 'write_protection' => {
474 datatype => 'WriteProtection',
475 base_name => 'WriteProtection',
476 description => 'Provides access to the workbook write protection options. ',
477 format => '',
478 read_only => '',
479 },
480 'is_encrypted' => {
481 datatype => 'boolean',
482 base_name => 'IsEncrypted',
483 description => 'Gets a value that indicates whether a password is required to open this workbook. ',
484 format => '',
485 read_only => '',
486 },
487 'is_protected' => {
488 datatype => 'boolean',
489 base_name => 'IsProtected',
490 description => 'Gets a value that indicates whether the structure or window of the Workbook is protected. ',
491 format => '',
492 read_only => '',
493 },
494 'max_row' => {
495 datatype => 'int',
496 base_name => 'MaxRow',
497 description => 'Gets the max row index, zero-based. ',
498 format => '',
499 read_only => '',
500 },
501 'max_column' => {
502 datatype => 'int',
503 base_name => 'MaxColumn',
504 description => 'Gets the max column index, zero-based. ',
505 format => '',
506 read_only => '',
507 },
508 'significant_digits' => {
509 datatype => 'int',
510 base_name => 'SignificantDigits',
511 description => 'Gets and sets the number of significant digits. The default value is . ',
512 format => '',
513 read_only => '',
514 },
515 'check_compatibility' => {
516 datatype => 'boolean',
517 base_name => 'CheckCompatibility',
518 description => 'Indicates whether check compatibility with earlier versions when saving workbook. ',
519 format => '',
520 read_only => '',
521 },
522 'paper_size' => {
523 datatype => 'string',
524 base_name => 'PaperSize',
525 description => 'Gets and sets the default print paper size. ',
526 format => '',
527 read_only => '',
528 },
529 'max_rows_of_shared_formula' => {
530 datatype => 'int',
531 base_name => 'MaxRowsOfSharedFormula',
532 description => 'Gets and sets the max row number of shared formula. ',
533 format => '',
534 read_only => '',
535 },
536 'compliance' => {
537 datatype => 'string',
538 base_name => 'Compliance',
539 description => 'Specifies the OOXML version for the output document. The default value is Ecma376_2006. ',
540 format => '',
541 read_only => '',
542 },
543 'quote_prefix_to_style' => {
544 datatype => 'boolean',
545 base_name => 'QuotePrefixToStyle',
546 description => 'Indicates whether setting property when entering the string value(which starts with single quote mark ) to the cell ',
547 format => '',
548 read_only => '',
549 },
550 'formula_settings' => {
551 datatype => 'FormulaSettings',
552 base_name => 'FormulaSettings',
553 description => 'Gets the settings for formula-related features. ',
554 format => '',
555 read_only => '',
556 },
557 'force_full_calculate' => {
558 datatype => 'boolean',
559 base_name => 'ForceFullCalculate',
560 description => 'Fully calculates every time when a calculation is triggered. ',
561 format => '',
562 read_only => '',
563 },
564 });
565
566 __PACKAGE__->swagger_types( {
567 'auto_compress_pictures' => 'boolean',
568 'auto_recover' => 'boolean',
569 'build_version' => 'string',
570 'calc_mode' => 'string',
571 'calculation_id' => 'string',
572 'check_comptiliblity' => 'boolean',
573 'check_excel_restriction' => 'boolean',
574 'crash_save' => 'boolean',
575 'create_calc_chain' => 'boolean',
576 'data_extract_load' => 'boolean',
577 'date1904' => 'boolean',
578 'display_drawing_objects' => 'string',
579 'enable_macros' => 'boolean',
580 'first_visible_tab' => 'int',
581 'hide_pivot_field_list' => 'boolean',
582 'is_default_encrypted' => 'boolean',
583 'is_hidden' => 'boolean',
584 'is_h_scroll_bar_visible' => 'boolean',
585 'is_minimized' => 'boolean',
586 'is_v_scroll_bar_visible' => 'boolean',
587 'iteration' => 'boolean',
588 'language_code' => 'string',
589 'max_change' => 'double',
590 'max_iteration' => 'int',
591 'memory_setting' => 'string',
592 'number_decimal_separator' => 'string',
593 'number_group_separator' => 'string',
594 'parsing_formula_on_open' => 'boolean',
595 'precision_as_displayed' => 'boolean',
596 'recalculate_before_save' => 'boolean',
597 're_calculate_on_open' => 'boolean',
598 'recommend_read_only' => 'boolean',
599 'region' => 'string',
600 'remove_personal_information' => 'boolean',
601 'repair_load' => 'boolean',
602 'shared' => 'boolean',
603 'sheet_tab_bar_width' => 'int',
604 'show_tabs' => 'boolean',
605 'update_adjacent_cells_border' => 'boolean',
606 'update_links_type' => 'string',
607 'window_height' => 'double',
608 'window_left' => 'double',
609 'window_top' => 'double',
610 'window_width' => 'double',
611 'author' => 'string',
612 'check_custom_number_format' => 'boolean',
613 'protection_type' => 'string',
614 'globalization_settings' => 'GlobalizationSettings',
615 'password' => 'string',
616 'write_protection' => 'WriteProtection',
617 'is_encrypted' => 'boolean',
618 'is_protected' => 'boolean',
619 'max_row' => 'int',
620 'max_column' => 'int',
621 'significant_digits' => 'int',
622 'check_compatibility' => 'boolean',
623 'paper_size' => 'string',
624 'max_rows_of_shared_formula' => 'int',
625 'compliance' => 'string',
626 'quote_prefix_to_style' => 'boolean',
627 'formula_settings' => 'FormulaSettings',
628 'force_full_calculate' => 'boolean'
629 } );
630
631 __PACKAGE__->attribute_map( {
632 'auto_compress_pictures' => 'AutoCompressPictures',
633 'auto_recover' => 'AutoRecover',
634 'build_version' => 'BuildVersion',
635 'calc_mode' => 'CalcMode',
636 'calculation_id' => 'CalculationId',
637 'check_comptiliblity' => 'CheckComptiliblity',
638 'check_excel_restriction' => 'CheckExcelRestriction',
639 'crash_save' => 'CrashSave',
640 'create_calc_chain' => 'CreateCalcChain',
641 'data_extract_load' => 'DataExtractLoad',
642 'date1904' => 'Date1904',
643 'display_drawing_objects' => 'DisplayDrawingObjects',
644 'enable_macros' => 'EnableMacros',
645 'first_visible_tab' => 'FirstVisibleTab',
646 'hide_pivot_field_list' => 'HidePivotFieldList',
647 'is_default_encrypted' => 'IsDefaultEncrypted',
648 'is_hidden' => 'IsHidden',
649 'is_h_scroll_bar_visible' => 'IsHScrollBarVisible',
650 'is_minimized' => 'IsMinimized',
651 'is_v_scroll_bar_visible' => 'IsVScrollBarVisible',
652 'iteration' => 'Iteration',
653 'language_code' => 'LanguageCode',
654 'max_change' => 'MaxChange',
655 'max_iteration' => 'MaxIteration',
656 'memory_setting' => 'MemorySetting',
657 'number_decimal_separator' => 'NumberDecimalSeparator',
658 'number_group_separator' => 'NumberGroupSeparator',
659 'parsing_formula_on_open' => 'ParsingFormulaOnOpen',
660 'precision_as_displayed' => 'PrecisionAsDisplayed',
661 'recalculate_before_save' => 'RecalculateBeforeSave',
662 're_calculate_on_open' => 'ReCalculateOnOpen',
663 'recommend_read_only' => 'RecommendReadOnly',
664 'region' => 'Region',
665 'remove_personal_information' => 'RemovePersonalInformation',
666 'repair_load' => 'RepairLoad',
667 'shared' => 'Shared',
668 'sheet_tab_bar_width' => 'SheetTabBarWidth',
669 'show_tabs' => 'ShowTabs',
670 'update_adjacent_cells_border' => 'UpdateAdjacentCellsBorder',
671 'update_links_type' => 'UpdateLinksType',
672 'window_height' => 'WindowHeight',
673 'window_left' => 'WindowLeft',
674 'window_top' => 'WindowTop',
675 'window_width' => 'WindowWidth',
676 'author' => 'Author',
677 'check_custom_number_format' => 'CheckCustomNumberFormat',
678 'protection_type' => 'ProtectionType',
679 'globalization_settings' => 'GlobalizationSettings',
680 'password' => 'Password',
681 'write_protection' => 'WriteProtection',
682 'is_encrypted' => 'IsEncrypted',
683 'is_protected' => 'IsProtected',
684 'max_row' => 'MaxRow',
685 'max_column' => 'MaxColumn',
686 'significant_digits' => 'SignificantDigits',
687 'check_compatibility' => 'CheckCompatibility',
688 'paper_size' => 'PaperSize',
689 'max_rows_of_shared_formula' => 'MaxRowsOfSharedFormula',
690 'compliance' => 'Compliance',
691 'quote_prefix_to_style' => 'QuotePrefixToStyle',
692 'formula_settings' => 'FormulaSettings',
693 'force_full_calculate' => 'ForceFullCalculate'
694 } );
695
696 __PACKAGE__->mk_accessors(keys %{__PACKAGE__->attribute_map});
697
698
699 1;