import { AttributeInfo } from '../internal/attributeInfo'; import { Font } from './font'; import { LinkElement } from './linkElement'; export declare const importsMapStyle: { Font: typeof Font; LinkElement: typeof LinkElement; }; /** * DTO container with a single document style. */ export declare class Style extends LinkElement { /** * Attribute type map */ static attributeTypeMap: Array; /** * Returns attribute type map */ static getAttributeTypeMap(): AttributeInfo[]; /** * Gets or sets the character formatting of the style. * For list styles this property returns null. */ font: Font; /** * Gets or sets a value indicating whether this style is one of the built-in styles in MS Word. */ builtIn: boolean; /** * Gets or sets the name of the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style. * This property is not used by Aspose.Words. The next paragraph style will only be applied automatically when you edit the document in MS Word. */ nextParagraphStyleName: string; /** * Gets or sets the name of the style this style is based on. * This will be an empty string if the style is not based on any other style and it can be set to an empty string. */ baseStyleName: string; /** * Gets or sets a value indicating whether this style is shown in the Quick Style gallery inside MS Word UI. */ isQuickStyle: boolean; /** * Gets or sets the name of the Style linked to this one. Returns Empty string if no styles are linked. */ linkedStyleName: string; /** * Gets or sets the style type (paragraph or character). */ type: Style.TypeEnum; /** * Gets or sets a value indicating whether the style is one of the built-in Heading styles. */ isHeading: boolean; /** * Gets or sets all aliases of this style. If style has no aliases then empty array of string is returned. */ aliases: Array; /** * Gets or sets the locale independent style identifier for a built-in style. * For user defined (custom) styles, this property returns Aspose.Words.StyleIdentifier.User. * Aspose.Words.Style.Name. */ styleIdentifier: Style.StyleIdentifierEnum; /** * Gets or sets the name of the style. * Cannot be an empty string. If there already is a style with such name in the collection, then this style will override it. All affected nodes will reference new style. */ name: string; constructor(init?: Partial