asposewordscloud
Version:
Aspose.Words Cloud SDK for Node.js
91 lines (90 loc) • 2.63 kB
TypeScript
import { AttributeInfo } from '../internal/attributeInfo';
import { OfficeMathLink } from './officeMathLink';
import { StoryChildNodes } from './storyChildNodes';
export declare const importsMapOfficeMathObject: {
OfficeMathLink: typeof OfficeMathLink;
StoryChildNodes: typeof StoryChildNodes;
};
/**
* DTO container with an OfficeMath object.
*/
export declare class OfficeMathObject extends OfficeMathLink {
/**
* Attribute type map
*/
static attributeTypeMap: Array<AttributeInfo>;
/**
* Returns attribute type map
*/
static getAttributeTypeMap(): AttributeInfo[];
/**
* Gets or sets the content of a footnote.
*/
content: StoryChildNodes;
/**
* Gets or sets the display format type of the OfficeMath object. This display format defines whether an equation is displayed inline with the text or displayed on its own line.
* Display format type has effect for top level Office Math only.Returned display format type is always Inline for nested Office Math.
*/
displayType: OfficeMathObject.DisplayTypeEnum;
/**
* Gets or sets the justification of the OfficeMath object.
* Justification cannot be set to the Office Math with display format type Inline.Inline justification cannot be set to the Office Math with display format type Display.Corresponding DisplayType has to be set before setting Office Math justification.
*/
justification: OfficeMathObject.JustificationEnum;
/**
* Gets or sets the type of the OfficeMath object.
*/
mathObjectType: OfficeMathObject.MathObjectTypeEnum;
constructor(init?: Partial<OfficeMathObject>);
collectFilesContent(_resultFilesContent: Array<any>): void;
validate(): void;
}
/**
* Enums for OfficeMathObject
*/
export declare namespace OfficeMathObject {
enum DisplayTypeEnum {
Display,
Inline
}
enum JustificationEnum {
CenterGroup,
Default,
Center,
Left,
Right,
Inline
}
enum MathObjectTypeEnum {
OMath,
OMathPara,
Accent,
Bar,
BorderBox,
Box,
Delimiter,
Degree,
Argument,
Array,
Fraction,
Denominator,
Numerator,
Function,
FunctionName,
GroupCharacter,
Limit,
LowerLimit,
UpperLimit,
Matrix,
MatrixRow,
NAry,
Phantom,
Radical,
SubscriptPart,
SuperscriptPart,
PreSubSuperscript,
Subscript,
SubSuperscript,
Supercript
}
}