asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
31 lines (30 loc) • 852 B
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { ModelInterface } from './modelInterface';
import { NodeLink } from './nodeLink';
export declare const importsMapDocumentPosition: {
NodeLink: typeof NodeLink;
};
/**
* DTO container with a position in the document tree.
*/
export declare class DocumentPosition implements ModelInterface {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets the link to a node.
*/
node: NodeLink;
/**
* Gets or sets the offset in the node.
*/
offset: number;
constructor(init?: Partial<DocumentPosition>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}