public class LowCodeSaveOptionsProviderOfAssembling extends AbstractLowCodeSaveOptionsProvider
getPathHeader()+getSheetPrefix()+SheetIndex(or SheetName)
+getSplitPartPrefix()+SplitPartIndex+getPathTail().| Constructor and Description |
|---|
LowCodeSaveOptionsProviderOfAssembling() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBuildPathWithSheetAlways()
Whether add sheet index or name to file path always.
|
boolean |
getBuildPathWithSplitPartAlways()
Whether add split part index to file path always.
|
java.lang.String |
getPathHeader()
Header part(before added content of sheet and split part) of file path.
|
java.lang.String |
getPathTail()
Tailing part(after sequence numbers) of file path.
|
LowCodeSaveOptions |
getSaveOptions(SplitPartInfo part)
Gets the save options from which to get the output settings for currently split part.
|
LowCodeSaveOptions |
getSaveOptionsTemplate()
The template for creating instance of save options in
AbstractLowCodeSaveOptionsProvider.getSaveOptions(SplitPartInfo). |
int |
getSheetIndexOffset()
Offset of sheet's index between what used in file path
and its actual value(
SplitPartInfo.getSheetIndex()). |
java.lang.String |
getSheetPrefix()
Prefix for the index of worksheet.
|
int |
getSplitPartIndexOffset()
Offset of split part's index between what used in file path
and its actual value(
SplitPartInfo.getPartIndex()). |
java.lang.String |
getSplitPartPrefix()
Prefix for the index of split part.
|
boolean |
getUseSheetName()
Whether builds the file path with sheet name instead of sheet index.
|
void |
setBuildPathWithSheetAlways(boolean value)
Whether add sheet index or name to file path always.
|
void |
setBuildPathWithSplitPartAlways(boolean value)
Whether add split part index to file path always.
|
void |
setPathHeader(java.lang.String value)
Header part(before added content of sheet and split part) of file path.
|
void |
setPathTail(java.lang.String value)
Tailing part(after sequence numbers) of file path.
|
void |
setSaveOptionsTemplate(LowCodeSaveOptions value)
The template for creating instance of save options in
AbstractLowCodeSaveOptionsProvider.getSaveOptions(SplitPartInfo). |
void |
setSheetIndexOffset(int value)
Offset of sheet's index between what used in file path
and its actual value(
SplitPartInfo.getSheetIndex()). |
void |
setSheetPrefix(java.lang.String value)
Prefix for the index of worksheet.
|
void |
setSplitPartIndexOffset(int value)
Offset of split part's index between what used in file path
and its actual value(
SplitPartInfo.getPartIndex()). |
void |
setSplitPartPrefix(java.lang.String value)
Prefix for the index of split part.
|
void |
setUseSheetName(boolean value)
Whether builds the file path with sheet name instead of sheet index.
|
finishpublic LowCodeSaveOptionsProviderOfAssembling()
public java.lang.String getPathHeader()
public void setPathHeader(java.lang.String value)
public java.lang.String getPathTail()
public void setPathTail(java.lang.String value)
public boolean getUseSheetName()
Remarks
The sheet name will never be rebuilt automatically. So when set it to true, please make sure there is no special sheet name that can cause invalid file path or name.public void setUseSheetName(boolean value)
Remarks
The sheet name will never be rebuilt automatically. So when set it to true, please make sure there is no special sheet name that can cause invalid file path or name.public java.lang.String getSheetPrefix()
Remarks
If there is only one worksheet andgetBuildPathWithSheetAlways() is false,
then this prefix and the sheet index(or name) will not be added to the resultant file path.public void setSheetPrefix(java.lang.String value)
Remarks
If there is only one worksheet andgetBuildPathWithSheetAlways() is false,
then this prefix and the sheet index(or name) will not be added to the resultant file path.public java.lang.String getSplitPartPrefix()
Remarks
If there is only one split part andgetBuildPathWithSplitPartAlways() is false,
then this prefix and the split part index(0) will not be added to the resultant file path.public void setSplitPartPrefix(java.lang.String value)
Remarks
If there is only one split part andgetBuildPathWithSplitPartAlways() is false,
then this prefix and the split part index(0) will not be added to the resultant file path.public int getSheetIndexOffset()
SplitPartInfo.getSheetIndex()).
Remarks
Only takes effect whengetUseSheetName() is false.public void setSheetIndexOffset(int value)
SplitPartInfo.getSheetIndex()).
Remarks
Only takes effect whengetUseSheetName() is false.public int getSplitPartIndexOffset()
SplitPartInfo.getPartIndex()).public void setSplitPartIndexOffset(int value)
SplitPartInfo.getPartIndex()).public boolean getBuildPathWithSheetAlways()
public void setBuildPathWithSheetAlways(boolean value)
public boolean getBuildPathWithSplitPartAlways()
public void setBuildPathWithSplitPartAlways(boolean value)
public LowCodeSaveOptions getSaveOptionsTemplate()
AbstractLowCodeSaveOptionsProvider.getSaveOptions(SplitPartInfo).
Remarks
If the template has been specified, then the created instance will copy all setting from it and update the output file accordingly.public void setSaveOptionsTemplate(LowCodeSaveOptions value)
AbstractLowCodeSaveOptionsProvider.getSaveOptions(SplitPartInfo).
Remarks
If the template has been specified, then the created instance will copy all setting from it and update the output file accordingly.public LowCodeSaveOptions getSaveOptions(SplitPartInfo part)
getSaveOptions in class AbstractLowCodeSaveOptionsProviderSee Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.