asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
39 lines (38 loc) • 1.6 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { ModelInterface } from './modelInterface';
export declare const importsMapStyleUpdate: {};
/**
* Represents a single document style properties to update.
*/
export declare class StyleUpdate implements ModelInterface {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* 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.
* Can not be empty string. If there already is a style with such name in the collection, than this style will override it. All affected nodes will reference new style.
*/
name: string;
constructor(init?: Partial<StyleUpdate>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}