asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
40 lines (39 loc) • 1.27 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { ModelInterface } from './modelInterface';
export declare const importsMapPageNumber: {};
/**
* Class is used for insert page number request building.
*/
export declare class PageNumber implements ModelInterface {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets text alignment, possible values are left, right, center or justify.
*/
alignment: string;
/**
* Gets or sets the page number format, e.g. "{PAGE} of {NUMPAGES}".
*/
format: string;
/**
* Gets or sets a value indicating whether if true the page number is added at the top of the page, else at the bottom.
*/
isTop: boolean;
/**
* Gets or sets the starting page number of the document.
*/
pageStartingNumber: number;
/**
* Gets or sets a value indicating whether if true the page number is added on first page too.
*/
setPageNumberOnFirstPage: boolean;
constructor(init?: Partial<PageNumber>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}