UNPKG

asposewordscloud

Version:
95 lines (94 loc) 2.59 kB
import { AttributeInfo } from '../internal/attributeInfo'; import { ModelInterface } from './modelInterface'; import { Position } from './position'; export declare const importsMapDrawingObjectInsert: { Position: typeof Position; }; /** * Drawing object element for insert. */ export declare class DrawingObjectInsert implements ModelInterface { /** * Attribute type map */ static attributeTypeMap: Array<AttributeInfo>; /** * Returns attribute type map */ static getAttributeTypeMap(): AttributeInfo[]; /** * Gets or sets the position, where the DrawingObject will be inserted. */ position: Position; /** * Gets or sets the relative horizontal position, from which the distance to the image is measured. */ relativeHorizontalPosition: DrawingObjectInsert.RelativeHorizontalPositionEnum; /** * Gets or sets the distance in points from the origin to the left side of the image. */ left: number; /** * Gets or sets the relative vertical position, from which the distance to the image is measured. */ relativeVerticalPosition: DrawingObjectInsert.RelativeVerticalPositionEnum; /** * Gets or sets the distance in points from the origin to the top side of the image. */ top: number; /** * Gets or sets the width of the DrawingObjects in points. */ width: number; /** * Gets or sets the height of the DrawingObject in points. */ height: number; /** * Gets or sets the option indicating how to wrap text around the image. */ wrapType: DrawingObjectInsert.WrapTypeEnum; /** * Gets or sets a value indicating whether AspectRatioLocked option on or off. */ aspectRatioLocked: boolean; constructor(init?: Partial<DrawingObjectInsert>); collectFilesContent(_resultFilesContent: Array<any>): void; validate(): void; } /** * Enums for DrawingObjectInsert */ export declare namespace DrawingObjectInsert { enum RelativeHorizontalPositionEnum { Margin, Page, Column, Default, Character, LeftMargin, RightMargin, InsideMargin, OutsideMargin } enum RelativeVerticalPositionEnum { Margin, TableDefault, Page, Paragraph, TextFrameDefault, Line, TopMargin, BottomMargin, InsideMargin, OutsideMargin } enum WrapTypeEnum { Inline, TopBottom, Square, None, Tight, Through } }