public class LowCodeSaveOptionsProviderOfPlaceHolders extends AbstractLowCodeSaveOptionsProvider
| Constructor and Description |
|---|
LowCodeSaveOptionsProviderOfPlaceHolders(java.lang.String pathTemplate)
Instantiates an instance to provide save options according to specified templates.
|
| 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.
|
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 |
getSheetIndexPrefix()
Prefix for the index of worksheet.
|
java.lang.String |
getSheetNamePrefix()
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.
|
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 |
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 |
setSheetIndexPrefix(java.lang.String value)
Prefix for the index of worksheet.
|
void |
setSheetNamePrefix(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.
|
finishpublic LowCodeSaveOptionsProviderOfPlaceHolders(java.lang.String pathTemplate)
Remarks
The supported placeholders in file path template:pathTemplate - The template of the resultant file path.public int getSheetIndexOffset()
SplitPartInfo.getSheetIndex()).public void setSheetIndexOffset(int value)
SplitPartInfo.getSheetIndex()).public int getSplitPartIndexOffset()
SplitPartInfo.getPartIndex()).public void setSplitPartIndexOffset(int value)
SplitPartInfo.getPartIndex()).public boolean getBuildPathWithSheetAlways()
getSheetNamePrefix())
will not be added to the file path.public void setBuildPathWithSheetAlways(boolean value)
getSheetNamePrefix())
will not be added to the file path.public boolean getBuildPathWithSplitPartAlways()
LowCodeSaveOptionsProviderOfAssembling.getSplitPartPrefix())
will not be added to the file path.public void setBuildPathWithSplitPartAlways(boolean value)
LowCodeSaveOptionsProviderOfAssembling.getSplitPartPrefix())
will not be added to the file path.public java.lang.String getSheetNamePrefix()
Remarks
If there is only one worksheet andLowCodeSaveOptionsProviderOfAssembling.getBuildPathWithSheetAlways() is false,
then this prefix and the sheet index(or name) will not be added to the resultant file path.public void setSheetNamePrefix(java.lang.String value)
Remarks
If there is only one worksheet andLowCodeSaveOptionsProviderOfAssembling.getBuildPathWithSheetAlways() is false,
then this prefix and the sheet index(or name) will not be added to the resultant file path.public java.lang.String getSheetIndexPrefix()
Remarks
If there is only one worksheet andLowCodeSaveOptionsProviderOfAssembling.getBuildPathWithSheetAlways() is false,
then this prefix and the sheet index(or name) will not be added to the resultant file path.public void setSheetIndexPrefix(java.lang.String value)
Remarks
If there is only one worksheet andLowCodeSaveOptionsProviderOfAssembling.getBuildPathWithSheetAlways() 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 andLowCodeSaveOptionsProviderOfAssembling.getBuildPathWithSplitPartAlways() 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 andLowCodeSaveOptionsProviderOfAssembling.getBuildPathWithSplitPartAlways() is false,
then this prefix and the split part index(0) will not be added to the resultant file path.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.