asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
44 lines (43 loc) • 1.46 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { ModelInterface } from './modelInterface';
export declare const importsMapReplaceTextParameters: {};
/**
* Class for document replace text request building.
*/
export declare class ReplaceTextParameters implements ModelInterface {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets a value indicating whether apply superscript to font or not.
*/
applySuperscript: boolean;
/**
* Gets or sets a value indicating whether flag, true means the search is case-sensitive; false means the search is not case-sensitive.
*/
isMatchCase: boolean;
/**
* Gets or sets a value indicating whether flag, means that only whole word matched are replaced.
*/
isMatchWholeWord: boolean;
/**
* Gets or sets a value indicating whether flag, means that OldValue contains regex expression.
*/
isOldValueRegex: boolean;
/**
* Gets or sets the new text value to replace by.
*/
newValue: string;
/**
* Gets or sets the old text value (or regex pattern IsOldValueRegex) to replace.
*/
oldValue: string;
constructor(init?: Partial<ReplaceTextParameters>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}