LowCodeSaveOptionsProviderOfAssembling class

LowCodeSaveOptionsProviderOfAssembling class

Implementation to provide save options which save split parts to files and the path of resultant file are named as(it may contains directories): LowCodeSaveOptionsProviderOfAssembling.path_header+LowCodeSaveOptionsProviderOfAssembling.sheet_prefix+SheetIndex(or SheetName) +LowCodeSaveOptionsProviderOfAssembling.split_part_prefix+SplitPartIndex+LowCodeSaveOptionsProviderOfAssembling.path_tail.

Inheritance: LowCodeSaveOptionsProviderOfAssembling

The LowCodeSaveOptionsProviderOfAssembling type exposes the following members:

Constructors

ConstructorDescription
__init__(self)Constructs a new instance of LowCodeSaveOptionsProviderOfAssembling

Properties

PropertyDescription
path_headerHeader part(before added content of sheet and split part) of file path.
path_tailTailing part(after sequence numbers) of file path.
It should include extension of file name.
use_sheet_nameWhether builds the file path with sheet name instead of sheet index. Default value is false.
sheet_prefixPrefix for the index of worksheet.
split_part_prefixPrefix for the index of split part.
sheet_index_offsetOffset of sheet’s index between what used in file path
and its actual value(SplitPartInfo.sheet_index).
split_part_index_offsetOffset of split part’s index between what used in file path
and its actual value(SplitPartInfo.part_index).
build_path_with_sheet_alwaysWhether add sheet index or name to file path always.
Default value is false, that is, when there is only one sheet,
the sheet index(or name) and corresponding prefix will not be added to the file path.
build_path_with_split_part_alwaysWhether add split part index to file path always.
Default value is false, that is, when there is only one split part,
the split part index and corresponding prefix will not be added to the file path.
save_options_templateThe template for creating instance of save options in LowCodeSaveOptionsProviderOfAssembling.get_save_options.

Methods

MethodDescription
get_save_options(self, part)Gets the save options from which to get the output settings for currently split part.
finish(self, part)

See Also