UNPKG

asposewordscloud

Version:
61 lines (60 loc) 3.55 kB
import { AttributeInfo } from '../internal/attributeInfo'; import { LinkElement } from './linkElement'; import { ListLevels } from './listLevels'; import { Style } from './style'; export declare const importsMapListInfo: { LinkElement: typeof LinkElement; ListLevels: typeof ListLevels; Style: typeof Style; }; /** * DTO container with a single document list. */ export declare class ListInfo extends LinkElement { /** * Attribute type map */ static attributeTypeMap: Array<AttributeInfo>; /** * Returns attribute type map */ static getAttributeTypeMap(): AttributeInfo[]; /** * Gets or sets the unique identifier of the list. * You do not normally need to use this property. But if you use it, you normally do so in conjunction with the Aspose.Words.Lists.ListCollection.GetListByListId(System.Int32) method to find a list by its identifier. */ listId: number; /** * Gets or sets a value indicating whether the list contains 9 levels; false when 1 level. * The lists that you create with Aspose.Words are always multi-level lists and contain 9 levels. Microsoft Word 2003 and later always create multi-level lists with 9 levels. But in some documents, created with earlier versions of Microsoft Word you might encounter lists that have 1 level only. */ isMultiLevel: boolean; /** * Gets or sets a value indicating whether list should be restarted at each section. The default value is false. * This option is supported only in RTF, DOC and DOCX document formats. This option will be written to DOCX only if Aspose.Words.Saving.OoxmlCompliance is higher then Aspose.Words.Saving.OoxmlCompliance.Ecma376_2006. */ isRestartAtEachSection: boolean; /** * Gets or sets a value indicating whether this list is a definition of a list style. * When this property is true, the Aspose.Words.Lists.List.Style property returns the list style that this list defines. By modifying properties of a list that defines a list style, you modify The properties of the list style. A list that is a definition of a list style cannot be applied directly to paragraphs to make them numbered. Aspose.Words.Lists.List.Style Aspose.Words.Lists.List.IsListStyleReference. */ isListStyleDefinition: boolean; /** * Gets or sets a value indicating whether this list is a reference to a list style. * Note, modifying properties of a list that is a reference to list style has no effect. The list formatting specified in the list style itself always takes precedence. Aspose.Words.Lists.List.Style Aspose.Words.Lists.List.IsListStyleDefinition. */ isListStyleReference: boolean; /** * Gets or sets the list style that this list references or defines. * If this list is not associated with a list style, the property will return null. A list could be a reference to a list style, in this case Aspose.Words.Lists.List.IsListStyleReference will be true. A list could be a definition of a list style, in this case Aspose.Words.Lists.List.IsListStyleDefinition will be true. Such a list cannot be applied to paragraphs in the document directly. */ style: Style; /** * Gets or sets the collection of list levels for this list. * Use this property to access and modify formatting individual to each level of the list. */ listLevels: ListLevels; constructor(init?: Partial<ListInfo>); collectFilesContent(_resultFilesContent: Array<any>): void; validate(): void; }