BatesNArtifact

Inheritance: java.lang.Object, com.aspose.pdf.Artifact com.aspose.pdf.PaginationArtifact com.aspose.pdf.BatesNArtifact, com.aspose.pdf.Artifact, com.aspose.pdf.PaginationArtifact com.aspose.pdf.BatesNArtifact, com.aspose.pdf.PaginationArtifact, com.aspose.pdf.BatesNArtifact

All Implemented Interfaces: com.aspose.ms.System.IDisposable, Closeable, AutoCloseable

public class BatesNArtifact extends PaginationArtifact

Class describes Bates Numbering artifact.

Constructors

ConstructorDescription
BatesNArtifactInitializes a new instance of the {@link BatesNArtifact} class. This constructor is internal and creates a header artifact instance with default values.

Methods

MethodDescription
getNumberOfDigitsGets or sets the number of digits for Bates numbering. The value must be between 3 and 15 inclusive. If a value less than 3 is set, it will be adjusted to 3. If a value greater than 15 is set, it will be adjusted to 15. The default value is 6.
getPrefixGets or sets the prefix to be added to the Bates number.
getStartNumberGets or sets the starting number for Bates numbering. The value must be greater than or equal to 1. If a value less than 1 is set, it will be adjusted to 1.
getSuffixGets or sets the suffix to be added to the Bates number.
setNumberOfDigitsGets or sets the number of digits for Bates numbering. The value must be between 3 and 15 inclusive. If a value less than 3 is set, it will be adjusted to 3. If a value greater than 15 is set, it will be adjusted to 15. The default value is 6.
setPrefixGets or sets the prefix to be added to the Bates number.
setStartNumberGets or sets the starting number for Bates numbering. The value must be greater than or equal to 1. If a value less than 1 is set, it will be adjusted to 1.
setSuffixGets or sets the suffix to be added to the Bates number.

BatesNArtifact

public BatesNArtifact()

Initializes a new instance of the {@link BatesNArtifact} class. This constructor is internal and creates a header artifact instance with default values.

getNumberOfDigits

public final int getNumberOfDigits()

Gets or sets the number of digits for Bates numbering. The value must be between 3 and 15 inclusive. If a value less than 3 is set, it will be adjusted to 3. If a value greater than 15 is set, it will be adjusted to 15. The default value is 6.

Returns: int value

getPrefix

public final String getPrefix()

Gets or sets the prefix to be added to the Bates number.

Returns: String value

getStartNumber

public final int getStartNumber()

Gets or sets the starting number for Bates numbering. The value must be greater than or equal to 1. If a value less than 1 is set, it will be adjusted to 1.

Returns: int value

getSuffix

public final String getSuffix()

Gets or sets the suffix to be added to the Bates number.

Returns: String value

setNumberOfDigits

public final void setNumberOfDigits(int value)

Gets or sets the number of digits for Bates numbering. The value must be between 3 and 15 inclusive. If a value less than 3 is set, it will be adjusted to 3. If a value greater than 15 is set, it will be adjusted to 15. The default value is 6.

Parameters:

ParameterTypeDescription
valueint value

setPrefix

Gets or sets the prefix to be added to the Bates number.

setStartNumber

public final void setStartNumber(int value)

Gets or sets the starting number for Bates numbering. The value must be greater than or equal to 1. If a value less than 1 is set, it will be adjusted to 1.

Parameters:

ParameterTypeDescription
valueint value

setSuffix

Gets or sets the suffix to be added to the Bates number.