UNPKG

wps-jsapi

Version:

wps加载项的jsapi对象模型的TypeScript描述

2,630 lines (1,973 loc) 319 kB
declare namespace Kso { interface KsoTabStops2 { /** * DefaultSpacing **/ DefaultSpacing: number; Item(Index?: any, TabStop?: KsoTabStop2): void; /** * Parent **/ readonly Parent: any; Add(Type?: KsoMsoTabStopType, Position?: number, TabStop?: KsoTabStop2): void; /** * Count **/ readonly Count: number; /** * _NewEnum **/ readonly _NewEnum: any; } interface KsoTabStop2 { /** * Parent **/ readonly Parent: any; /** * Position **/ Position: number; Clear(): void; /** * Type **/ Type: KsoMsoTabStopType; } interface KsoThemeColorScheme { Load(FileName?: string): void; /** * Parent **/ readonly Parent: any; Colors(Index?: KsoMsoThemeColorSchemeIndex, Color?: KsoThemeColor): void; /** * Count **/ readonly Count: number; /** * _NewEnum **/ readonly _NewEnum: any; Save(FileName?: string): void; GetCustomColor(Name?: string, CustomColor?: number): void; } interface KsoCommandBarPopup { /** * InstanceIdPtr **/ readonly InstanceIdPtr: any; /** * CommandBar **/ readonly CommandBar: KsoCommandBar; /** * Controls **/ readonly Controls: KsoCommandBarControls; /** * OLEMenuGroup **/ OLEMenuGroup: KsoMsoOLEMenuGroup; } interface KsoTextRange2 { AddPeriods(): void; /** * BoundLeft **/ readonly BoundLeft: number; /** * Text **/ Text: string; Sentences(Start?: number, Length?: number, Range?: KsoTextRange2): void; LtrRun(): void; RtlRun(): void; /** * Count **/ readonly Count: number; Lines(Start?: number, Length?: number, Range?: KsoTextRange2): void; Paragraphs(Start?: number, Length?: number, Range?: KsoTextRange2): void; Item(Index?: any, Item?: KsoTextRange2): void; /** * _NewEnum **/ readonly _NewEnum: any; ChangeCase(Type?: KsoMsoTextChangeCase): void; /** * Parent **/ readonly Parent: any; Words(Start?: number, Length?: number, Range?: KsoTextRange2): void; Characters(Start?: number, Length?: number, Range?: KsoTextRange2): void; Runs(Start?: number, Length?: number, Range?: KsoTextRange2): void; /** * ParagraphFormat **/ readonly ParagraphFormat: KsoParagraphFormat2; InsertAfter(NewText?: string, TextRange?: KsoTextRange2): void; /** * Font **/ readonly Font: KsoFont2; /** * Length **/ readonly Length: number; Paste(TextRange?: KsoTextRange2): void; /** * Start **/ readonly Start: number; PasteSpecial(Format?: KsoMsoClipboardFormat, TextRange?: KsoTextRange2): void; /** * BoundTop **/ readonly BoundTop: number; /** * BoundWidth **/ readonly BoundWidth: number; /** * BoundHeight **/ readonly BoundHeight: number; RotatedBounds(X1?: number, Y1?: number, X2?: number, Y2?: number, X3?: number, Y3?: number, x4?: number, y4?: number): void; TrimText(TrimText?: KsoTextRange2): void; InsertBefore(NewText?: string, TextRange?: KsoTextRange2): void; InsertSymbol(FontName?: string, CharNumber?: number, Unicode?: KsoMsoTriState, TextRange?: KsoTextRange2): void; Select(): void; RemovePeriods(): void; Cut(): void; Copy(): void; Delete(): void; Find(FindWhat?: string, After?: number, MatchCase?: KsoMsoTriState, WholeWords?: KsoMsoTriState, TextRange?: KsoTextRange2): void; Replace(FindWhat?: string, ReplaceWhat?: string, After?: number, MatchCase?: KsoMsoTriState, WholeWords?: KsoMsoTriState, TextRange?: KsoTextRange2): void; /** * LanguageID **/ LanguageID: KsoMsoLanguageID; MathZones(Start?: number, Length?: number, Range?: KsoTextRange2): void; InsertChartField(ChartFieldType?: KsoMsoChartFieldType, Formula?: string, Position?: number, Range?: KsoTextRange2): void; } interface KsoAccessible { accName(varChild?: any, pszName?: string): void; /** * accParent **/ readonly accParent: any; /** * accFocus **/ readonly accFocus: any; /** * accChildCount **/ readonly accChildCount: number; accHitTest(xLeft?: number, yTop?: number, pvarChild?: any): void; accDescription(varChild?: any, pszDescription?: string): void; accValue(varChild?: any, pszValue?: string): void; accChild(varChild?: any, ppdispChild?: any): void; accRole(varChild?: any, pvarRole?: any): void; accState(varChild?: any, pvarState?: any): void; accHelp(varChild?: any, pszHelp?: string): void; accHelpTopic(pszHelpFile?: string, varChild?: any, pidTopic?: number): void; accNavigate(navDir?: number, varStart?: any, pvarEndUpAt?: any): void; accKeyboardShortcut(varChild?: any, pszKeyboardShortcut?: string): void; /** * accSelection **/ readonly accSelection: any; accDefaultAction(varChild?: any, pszDefaultAction?: string): void; accSelect(flagsSelect?: number, varChild?: any): void; accLocation(pxLeft?: number, pyTop?: number, pcxWidth?: number, pcyHeight?: number, varChild?: any): void; accDoDefaultAction(varChild?: any): void; } interface KsoMsoDispObj { /** * Application **/ readonly Application: any; /** * Creator **/ readonly Creator: number; } interface KsoMsoOleAccDispObj { /** * Application **/ readonly Application: any; /** * Creator **/ readonly Creator: number; } interface KsoCommandBarControls { Add(Type?: any, Id?: any, Parameter?: any, Before?: any, Temporary?: any, ppcbc?: KsoCommandBarControl): void; /** * Count **/ readonly Count: number; Item(Index?: any, ppcbc?: KsoCommandBarControl): void; /** * _NewEnum **/ readonly _NewEnum: any; /** * Parent **/ readonly Parent: KsoCommandBar; } interface KsoCommandBarControl { /** * BeginGroup **/ BeginGroup: boolean; /** * Enabled **/ Enabled: boolean; /** * Control **/ readonly Control: any; /** * BuiltIn **/ readonly BuiltIn: boolean; Copy(Bar?: any, Before?: any, ppcbc?: KsoCommandBarControl): void; Execute(): void; /** * HelpFile **/ HelpFile: string; /** * Caption **/ Caption: string; /** * TooltipText **/ TooltipText: string; Delete(Temporary?: any): void; /** * DescriptionText **/ DescriptionText: string; /** * Height **/ Height: number; /** * HelpContextId **/ HelpContextId: number; /** * Id **/ readonly Id: number; /** * InstanceId **/ readonly InstanceId: number; /** * Index **/ readonly Index: number; Move(Bar?: any, Before?: any, ppcbc?: KsoCommandBarControl): void; /** * OnAction **/ OnAction: string; /** * Left **/ readonly Left: number; /** * OLEUsage **/ OLEUsage: KsoMsoControlOLEUsage; /** * Parent **/ readonly Parent: KsoCommandBar; /** * Type **/ readonly Type: KsoMsoControlType; /** * Parameter **/ Parameter: string; /** * Priority **/ Priority: number; Reset(): void; SetFocus(): void; /** * Tag **/ Tag: string; /** * Top **/ readonly Top: number; /** * Visible **/ Visible: boolean; /** * Width **/ Width: number; /** * IsPriorityDropped **/ readonly IsPriorityDropped: boolean; Reserved7(): void; Reserved6(): void; Reserved5(): void; Reserved4(): void; Reserved3(): void; Reserved2(): void; Reserved1(): void; } interface KsoScripts { Delete(): void; /** * Parent **/ readonly Parent: any; /** * Count **/ readonly Count: number; /** * _NewEnum **/ readonly _NewEnum: any; Item(Index?: any, Item?: KsoScript): void; Add(Anchor?: any, Location?: KsoMsoScriptLocation, Language?: KsoMsoScriptLanguage, Id?: string, Extended?: string, ScriptText?: string, Add?: KsoScript): void; } interface KsoScript { Delete(): void; /** * Parent **/ readonly Parent: any; /** * ScriptText **/ ScriptText: string; /** * Location **/ readonly Location: KsoMsoScriptLocation; /** * Language **/ Language: KsoMsoScriptLanguage; /** * Extended **/ Extended: string; /** * Id **/ Id: string; /** * Shape **/ readonly Shape: any; } interface KsoSignatureInfo { /** * CertificateVerificationResults **/ readonly CertificateVerificationResults: KsoCertificateVerificationResults; /** * SignatureProvider **/ readonly SignatureProvider: string; /** * ReadOnly **/ readonly ReadOnly: boolean; ShowSignatureCertificate(ParentWindow?: any): void; /** * SignatureImage **/ SignatureImage: any; /** * SignatureText **/ SignatureText: string; /** * SignatureComment **/ SignatureComment: string; GetCertificateDetail(certdet?: KsoCertificateDetail, pvar?: any): void; GetSignatureDetail(sigdet?: KsoSignatureDetail, pvar?: any): void; /** * ContentVerificationResults **/ readonly ContentVerificationResults: KsoContentVerificationResults; /** * IsValid **/ readonly IsValid: boolean; /** * IsCertificateExpired **/ readonly IsCertificateExpired: boolean; /** * IsCertificateRevoked **/ readonly IsCertificateRevoked: boolean; /** * IsCertificateUntrusted **/ readonly IsCertificateUntrusted: boolean; SelectSignatureCertificate(ParentWindow?: any): void; SelectCertificateDetailByThumbprint(bstrThumbprint?: string): void; } interface KsoCalloutFormat { PresetDrop(DropType?: KsoMsoCalloutDropType): void; /** * Parent **/ readonly Parent: any; CustomLength(Length?: number): void; AutomaticLength(): void; CustomDrop(Drop?: number): void; /** * Accent **/ Accent: KsoMsoTriState; /** * AutoAttach **/ AutoAttach: KsoMsoTriState; /** * Angle **/ Angle: KsoMsoCalloutAngleType; /** * AutoLength **/ readonly AutoLength: KsoMsoTriState; /** * Border **/ Border: KsoMsoTriState; /** * Drop **/ readonly Drop: number; /** * DropType **/ readonly DropType: KsoMsoCalloutDropType; /** * Gap **/ Gap: number; /** * Length **/ readonly Length: number; /** * Type **/ Type: KsoMsoCalloutType; } interface KsoCommandBar { /** * Height **/ Height: number; /** * BuiltIn **/ readonly BuiltIn: boolean; FindControl(Type?: any, Id?: any, Tag?: any, Visible?: any, Recursive?: any, ppcbc?: KsoCommandBarControl): void; /** * InstanceIdPtr **/ readonly InstanceIdPtr: any; /** * Context **/ Context: string; /** * Enabled **/ Enabled: boolean; /** * Controls **/ readonly Controls: KsoCommandBarControls; Delete(): void; /** * Index **/ readonly Index: number; /** * InstanceId **/ readonly InstanceId: number; /** * Left **/ Left: number; /** * NameLocal **/ NameLocal: string; /** * Name **/ Name: string; /** * Parent **/ readonly Parent: any; /** * Position **/ Position: KsoMsoBarPosition; /** * RowIndex **/ RowIndex: number; /** * Protection **/ Protection: KsoMsoBarProtection; Reset(): void; ShowPopup(x?: any, y?: any): void; /** * Top **/ Top: number; /** * Type **/ readonly Type: KsoMsoBarType; /** * Visible **/ Visible: boolean; /** * Width **/ Width: number; /** * Id **/ readonly Id: number; /** * AdaptiveMenu **/ AdaptiveMenu: boolean; } interface KsoCommandBars { FindControls(Type?: any, Id?: any, Tag?: any, Visible?: any, ppcbcs?: KsoCommandBarControls): void; FindControl(Type?: any, Id?: any, Tag?: any, Visible?: any, ppcbc?: KsoCommandBarControl): void; /** * ActionControl **/ readonly ActionControl: KsoCommandBarControl; /** * ActiveMenuBar **/ readonly ActiveMenuBar: KsoCommandBar; /** * DisplayKeysInTooltips **/ DisplayKeysInTooltips: boolean; GetEnabledMso(idMso?: string, Enabled?: boolean): void; Add(Name?: any, Position?: any, MenuBar?: any, Temporary?: any, ppcb?: KsoCommandBar): void; /** * Count **/ readonly Count: number; /** * LargeButtons **/ LargeButtons: boolean; Item(Index?: any, ppcb?: KsoCommandBar): void; GetPressedMso(idMso?: string, Pressed?: boolean): void; /** * DisplayTooltips **/ DisplayTooltips: boolean; /** * MenuAnimationStyle **/ MenuAnimationStyle: KsoMsoMenuAnimation; /** * _NewEnum **/ readonly _NewEnum: any; /** * Parent **/ readonly Parent: any; ReleaseFocus(): void; /** * DisableCustomize **/ DisableCustomize: boolean; IdsString(ids?: number, pbstrName?: string, pcch?: number): void; TmcGetName(tmc?: number, pbstrName?: string, pcch?: number): void; /** * AdaptiveMenus **/ AdaptiveMenus: boolean; AddEx(TbidOrName?: any, Position?: any, MenuBar?: any, Temporary?: any, TbtrProtection?: any, ppcb?: KsoCommandBar): void; /** * DisplayFonts **/ DisplayFonts: boolean; /** * DisableAskAQuestionDropdown **/ DisableAskAQuestionDropdown: boolean; ExecuteMso(idMso?: string): void; GetVisibleMso(idMso?: string, Visible?: boolean): void; GetLabelMso(idMso?: string, Label?: string): void; GetScreentipMso(idMso?: string, Screentip?: string): void; GetSupertipMso(idMso?: string, Supertip?: string): void; GetImageMso(idMso?: string, Width?: number, Height?: number, Image?: any): void; CommitRenderingTransaction(hwnd?: number): void; } interface KsoCommandBarButton { /** * BuiltInFace **/ BuiltInFace: boolean; CopyFace(): void; /** * Picture **/ Picture: any; /** * Style **/ Style: KsoMsoButtonStyle; /** * State **/ State: KsoMsoButtonState; /** * FaceId **/ FaceId: number; PasteFace(): void; /** * HyperlinkType **/ HyperlinkType: KsoMsoCommandBarButtonHyperlinkType; /** * ShortcutText **/ ShortcutText: string; /** * Mask **/ Mask: any; /** * InstanceIdPtr **/ readonly InstanceIdPtr: any; } interface KsoDocumentProperty { /** * Value **/ Value: number; /** * Name **/ Name: number; Delete(): void; /** * Parent **/ readonly Parent: any; /** * Type **/ Type: number; /** * LinkSource **/ LinkSource: string; /** * Creator **/ readonly Creator: number; /** * LinkToContent **/ LinkToContent: boolean; /** * Application **/ readonly Application: any; } interface KsoCommandBarComboBox { /** * ListCount **/ readonly ListCount: number; AddItem(Text?: string, Index?: any): void; Clear(): void; /** * DropDownLines **/ DropDownLines: number; /** * DropDownWidth **/ DropDownWidth: number; List(Index?: number, pbstrItem?: string): void; /** * ListHeaderCount **/ ListHeaderCount: number; /** * ListIndex **/ ListIndex: number; RemoveItem(Index?: number): void; /** * Style **/ Style: KsoMsoComboStyle; /** * Text **/ Text: string; /** * InstanceIdPtr **/ readonly InstanceIdPtr: any; } interface KsoGradientStops { Item(Index?: number, Item?: KsoGradientStop): void; Insert2(RGB?: number, Position?: number, Transparency?: number, Index?: number, Brightness?: number): void; Insert(RGB?: number, Position?: number, Transparency?: number, Index?: number): void; /** * Count **/ readonly Count: number; /** * _NewEnum **/ readonly _NewEnum: any; Delete(Index?: number): void; } interface KsoGradientStop { /** * Color **/ readonly Color: KsoColorFormat; /** * Position **/ Position: number; /** * Transparency **/ Transparency: number; } interface KsoCommandBarActiveX { EnsureControl(): void; SetInnerObjectFactory(pUnk?: any): void; /** * ControlCLSID **/ ControlCLSID: string; QueryControlInterface(bstrIid?: string, ppUnk?: any): void; /** * InitWith **/ InitWith: any; /** * InstanceIdPtr **/ readonly InstanceIdPtr: any; } interface KsoMsoDebugOptions { /** * UnitTestManager **/ readonly UnitTestManager: any; /** * OutputToDebugger **/ OutputToDebugger: boolean; /** * FeatureReports **/ FeatureReports: number; /** * OutputToFile **/ OutputToFile: boolean; RemoveIgnoredAssertTag(bstrTagToIgnore?: string): void; /** * OutputToMessageBox **/ OutputToMessageBox: boolean; AddIgnoredAssertTag(bstrTagToIgnore?: string): void; } interface KsoBalloonLabel { /** * Item **/ readonly Item: string; /** * Parent **/ readonly Parent: any; /** * Name **/ readonly Name: string; /** * Text **/ Text: string; } interface KsoBalloonLabels { /** * Parent **/ readonly Parent: any; /** * Name **/ readonly Name: string; Item(Index?: number, ppidisp?: any): void; /** * Count **/ Count: number; /** * _NewEnum **/ readonly _NewEnum: any; } interface KsoTextFrame2 { /** * Orientation **/ Orientation: KsoMsoTextOrientation; /** * MarginBottom **/ MarginBottom: number; /** * MarginLeft **/ MarginLeft: number; /** * Ruler **/ readonly Ruler: KsoRuler2; /** * Parent **/ readonly Parent: any; /** * MarginTop **/ MarginTop: number; /** * HorizontalAnchor **/ HorizontalAnchor: KsoMsoHorizontalAnchor; /** * MarginRight **/ MarginRight: number; /** * VerticalAnchor **/ VerticalAnchor: KsoMsoVerticalAnchor; /** * PathFormat **/ PathFormat: KsoMsoPathFormat; /** * WarpFormat **/ WarpFormat: KsoMsoWarpFormat; /** * WordArtformat **/ WordArtformat: KsoMsoPresetTextEffect; /** * WordWrap **/ WordWrap: KsoMsoTriState; /** * AutoSize **/ AutoSize: KsoMsoAutoSize; /** * ThreeD **/ readonly ThreeD: KsoThreeDFormat; /** * HasText **/ readonly HasText: KsoMsoTriState; /** * TextRange **/ readonly TextRange: KsoTextRange2; /** * Column **/ readonly Column: KsoTextColumn2; DeleteText(): void; /** * NoTextRotation **/ NoTextRotation: KsoMsoTriState; } interface KsoMsoDiagram { /** * AutoLayout **/ AutoLayout: KsoMsoTriState; /** * Parent **/ readonly Parent: any; /** * Nodes **/ readonly Nodes: KsoDiagramNodes; /** * Type **/ readonly Type: KsoMsoDiagramType; /** * Reverse **/ Reverse: KsoMsoTriState; Convert(Type?: KsoMsoDiagramType): void; /** * AutoFormat **/ AutoFormat: KsoMsoTriState; FitText(): void; } interface KsoOfficeTheme { /** * Parent **/ readonly Parent: any; /** * ThemeColorScheme **/ readonly ThemeColorScheme: KsoThemeColorScheme; /** * ThemeFontScheme **/ readonly ThemeFontScheme: KsoThemeFontScheme; /** * ThemeEffectScheme **/ readonly ThemeEffectScheme: KsoThemeEffectScheme; } interface KsoAdjustments { /** * Parent **/ readonly Parent: any; /** * Count **/ readonly Count: number; Item(Index?: number, Val?: number): void; } interface KsoColorFormat { /** * Parent **/ readonly Parent: any; /** * Brightness **/ Brightness: number; /** * TintAndShade **/ TintAndShade: number; /** * Type **/ readonly Type: KsoMsoColorType; /** * RGB **/ RGB: number; /** * ObjectThemeColor **/ ObjectThemeColor: KsoMsoThemeColorIndex; /** * SchemeColor **/ SchemeColor: number; } interface KsoConnectorFormat { /** * Parent **/ readonly Parent: any; EndDisconnect(): void; BeginConnect(ConnectedShape?: KsoShape, ConnectionSite?: number): void; BeginDisconnect(): void; /** * BeginConnectedShape **/ readonly BeginConnectedShape: KsoShape; EndConnect(ConnectedShape?: KsoShape, ConnectionSite?: number): void; /** * BeginConnected **/ readonly BeginConnected: KsoMsoTriState; /** * BeginConnectionSite **/ readonly BeginConnectionSite: number; /** * EndConnected **/ readonly EndConnected: KsoMsoTriState; /** * EndConnectedShape **/ readonly EndConnectedShape: KsoShape; /** * EndConnectionSite **/ readonly EndConnectionSite: number; /** * Type **/ Type: KsoMsoConnectorType; } interface KsoChartFont { /** * Shadow **/ Shadow: any; /** * Italic **/ Italic: any; /** * Background **/ Background: any; /** * FontStyle **/ FontStyle: any; /** * Bold **/ Bold: any; /** * ColorIndex **/ ColorIndex: any; /** * Color **/ Color: any; /** * Name **/ Name: any; /** * OutlineFont **/ OutlineFont: any; /** * Size **/ Size: any; /** * Subscript **/ Subscript: any; /** * StrikeThrough **/ StrikeThrough: any; /** * Superscript **/ Superscript: any; /** * Underline **/ Underline: any; /** * Application **/ readonly Application: any; /** * Creator **/ readonly Creator: number; /** * Parent **/ readonly Parent: any; } interface KsoShape { /** * Child **/ readonly Child: KsoMsoTriState; Delete(): void; /** * Parent **/ readonly Parent: any; ScaleHeight(Factor?: number, RelativeToOriginalSize?: KsoMsoTriState, fScale?: KsoMsoScaleFrom): void; /** * TextFrame2 **/ readonly TextFrame2: KsoTextFrame2; /** * Id **/ readonly Id: number; IncrementRotation(Increment?: number): void; /** * Reflection **/ readonly Reflection: KsoReflectionFormat; /** * HasDiagram **/ readonly HasDiagram: KsoMsoTriState; IncrementLeft(Increment?: number): void; Apply(): void; ScaleWidth(Factor?: number, RelativeToOriginalSize?: KsoMsoTriState, fScale?: KsoMsoScaleFrom): void; /** * HasChart **/ readonly HasChart: KsoMsoTriState; PickUp(): void; /** * Visible **/ Visible: KsoMsoTriState; Flip(FlipCmd?: KsoMsoFlipCmd): void; IncrementTop(Increment?: number): void; Copy(): void; RerouteConnections(): void; CanvasCropTop(Increment?: number): void; SetShapesDefaultProperties(): void; /** * GroupItems **/ readonly GroupItems: KsoGroupShapes; Select(Replace?: any): void; /** * Name **/ Name: string; Ungroup(Ungroup?: KsoShapeRange): void; ZOrder(ZOrderCmd?: KsoMsoZOrderCmd): void; /** * Adjustments **/ readonly Adjustments: KsoAdjustments; /** * Type **/ readonly Type: KsoMsoShapeType; /** * PictureFormat **/ readonly PictureFormat: KsoPictureFormat; /** * AutoShapeType **/ AutoShapeType: KsoMsoAutoShapeType; /** * BlackWhiteMode **/ BlackWhiteMode: KsoMsoBlackWhiteMode; /** * Callout **/ readonly Callout: KsoCalloutFormat; /** * ConnectionSiteCount **/ readonly ConnectionSiteCount: number; /** * HasSmartArt **/ readonly HasSmartArt: KsoMsoTriState; /** * TextEffect **/ readonly TextEffect: KsoTextEffectFormat; /** * Connector **/ readonly Connector: KsoMsoTriState; /** * ParentGroup **/ readonly ParentGroup: KsoShape; /** * Nodes **/ readonly Nodes: KsoShapeNodes; /** * ConnectorFormat **/ readonly ConnectorFormat: KsoConnectorFormat; /** * Fill **/ readonly Fill: KsoFillFormat; /** * AlternativeText **/ AlternativeText: string; /** * Height **/ Height: number; /** * DiagramNode **/ readonly DiagramNode: KsoDiagramNode; /** * HorizontalFlip **/ readonly HorizontalFlip: KsoMsoTriState; /** * Shadow **/ readonly Shadow: KsoShadowFormat; /** * LockAspectRatio **/ LockAspectRatio: KsoMsoTriState; /** * Left **/ Left: number; /** * Line **/ readonly Line: KsoLineFormat; /** * Rotation **/ Rotation: number; /** * TextFrame **/ readonly TextFrame: KsoTextFrame; /** * ThreeD **/ readonly ThreeD: KsoThreeDFormat; /** * Top **/ Top: number; /** * VerticalFlip **/ readonly VerticalFlip: KsoMsoTriState; /** * Vertices **/ readonly Vertices: any; /** * Width **/ Width: number; /** * HasDiagramNode **/ readonly HasDiagramNode: KsoMsoTriState; /** * ZOrderPosition **/ readonly ZOrderPosition: number; /** * Script **/ readonly Script: KsoScript; /** * Diagram **/ readonly Diagram: KsoMsoDiagram; /** * CanvasItems **/ readonly CanvasItems: KsoCanvasShapes; /** * RTF **/ RTF: string; CanvasCropBottom(Increment?: number): void; CanvasCropLeft(Increment?: number): void; CanvasCropRight(Increment?: number): void; Cut(): void; /** * Chart **/ readonly Chart: KsoMsoChart; /** * ShapeStyle **/ ShapeStyle: KsoMsoShapeStyleIndex; /** * BackgroundStyle **/ BackgroundStyle: KsoMsoBackgroundStyleIndex; /** * SoftEdge **/ readonly SoftEdge: KsoSoftEdgeFormat; /** * Glow **/ readonly Glow: KsoGlowFormat; /** * SmartArt **/ readonly SmartArt: KsoSmartArt; ConvertTextToSmartArt(Layout?: KsoSmartArtLayout): void; /** * Title **/ Title: string; } interface KsoShapeRange { /** * Child **/ readonly Child: KsoMsoTriState; Delete(): void; /** * Parent **/ readonly Parent: any; /** * Adjustments **/ readonly Adjustments: KsoAdjustments; /** * Count **/ readonly Count: number; /** * HasChart **/ readonly HasChart: KsoMsoTriState; ScaleWidth(Factor?: number, RelativeToOriginalSize?: KsoMsoTriState, fScale?: KsoMsoScaleFrom): void; PickUp(): void; /** * HasDiagramNode **/ readonly HasDiagramNode: KsoMsoTriState; /** * ZOrderPosition **/ readonly ZOrderPosition: number; Item(Index?: any, Item?: KsoShape): void; /** * _NewEnum **/ readonly _NewEnum: any; /** * Line **/ readonly Line: KsoLineFormat; Distribute(DistributeCmd?: KsoMsoDistributeCmd, RelativeTo?: KsoMsoTriState): void; /** * Reflection **/ readonly Reflection: KsoReflectionFormat; /** * HasDiagram **/ readonly HasDiagram: KsoMsoTriState; Apply(): void; IncrementLeft(Increment?: number): void; Align(AlignCmd?: KsoMsoAlignCmd, RelativeTo?: KsoMsoTriState): void; /** * Visible **/ Visible: KsoMsoTriState; Flip(FlipCmd?: KsoMsoFlipCmd): void; /** * Id **/ readonly Id: number; /** * TextFrame2 **/ readonly TextFrame2: KsoTextFrame2; ScaleHeight(Factor?: number, RelativeToOriginalSize?: KsoMsoTriState, fScale?: KsoMsoScaleFrom): void; IncrementRotation(Increment?: number): void; Copy(): void; IncrementTop(Increment?: number): void; /** * TextFrame **/ readonly TextFrame: KsoTextFrame; Group(Group?: KsoShape): void; /** * Width **/ Width: number; Regroup(Regroup?: KsoShape): void; RerouteConnections(): void; CanvasCropTop(Increment?: number): void; SetShapesDefaultProperties(): void; /** * GroupItems **/ readonly GroupItems: KsoGroupShapes; Select(Replace?: any): void; /** * Name **/ Name: string; Ungroup(Ungroup?: KsoShapeRange): void; ZOrder(ZOrderCmd?: KsoMsoZOrderCmd): void; /** * Type **/ readonly Type: KsoMsoShapeType; /** * PictureFormat **/ readonly PictureFormat: KsoPictureFormat; /** * AutoShapeType **/ AutoShapeType: KsoMsoAutoShapeType; /** * BlackWhiteMode **/ BlackWhiteMode: KsoMsoBlackWhiteMode; /** * Callout **/ readonly Callout: KsoCalloutFormat; /** * ConnectionSiteCount **/ readonly ConnectionSiteCount: number; /** * TextEffect **/ readonly TextEffect: KsoTextEffectFormat; /** * Connector **/ readonly Connector: KsoMsoTriState; /** * ParentGroup **/ readonly ParentGroup: KsoShape; /** * Nodes **/ readonly Nodes: KsoShapeNodes; /** * ConnectorFormat **/ readonly ConnectorFormat: KsoConnectorFormat; /** * Fill **/ readonly Fill: KsoFillFormat; /** * AlternativeText **/ AlternativeText: string; /** * Height **/ Height: number; /** * DiagramNode **/ readonly DiagramNode: KsoDiagramNode; /** * HorizontalFlip **/ readonly HorizontalFlip: KsoMsoTriState; /** * Shadow **/ readonly Shadow: KsoShadowFormat; /** * LockAspectRatio **/ LockAspectRatio: KsoMsoTriState; /** * Left **/ Left: number; /** * Rotation **/ Rotation: number; /** * ThreeD **/ readonly ThreeD: KsoThreeDFormat; /** * Top **/ Top: number; /** * VerticalFlip **/ readonly VerticalFlip: KsoMsoTriState; /** * Vertices **/ readonly Vertices: any; /** * Script **/ readonly Script: KsoScript; /** * Diagram **/ readonly Diagram: KsoMsoDiagram; /** * CanvasItems **/ readonly CanvasItems: KsoCanvasShapes; CanvasCropLeft(Increment?: number): void; CanvasCropRight(Increment?: number): void; CanvasCropBottom(Increment?: number): void; /** * RTF **/ RTF: string; Cut(): void; /** * Chart **/ readonly Chart: KsoMsoChart; /** * ShapeStyle **/ ShapeStyle: KsoMsoShapeStyleIndex; /** * BackgroundStyle **/ BackgroundStyle: KsoMsoBackgroundStyleIndex; /** * SoftEdge **/ readonly SoftEdge: KsoSoftEdgeFormat; /** * Glow **/ readonly Glow: KsoGlowFormat; /** * Title **/ Title: string; MergeShapes(MergeCmd?: KsoMsoMergeCmd, PrimaryShape?: KsoShape): void; } interface KsoFont2 { /** * Parent **/ readonly Parent: any; /** * Kerning **/ Kerning: number; /** * Bold **/ Bold: KsoMsoTriState; /** * Strike **/ Strike: KsoMsoTextStrike; /** * SoftEdgeFormat **/ SoftEdgeFormat: KsoMsoSoftEdgeType; /** * Reflection **/ readonly Reflection: KsoReflectionFormat; /** * Italic **/ Italic: KsoMsoTriState; /** * Caps **/ Caps: KsoMsoTextCaps; /** * AutorotateNumbers **/ AutorotateNumbers: KsoMsoTriState; /** * BaselineOffset **/ BaselineOffset: number; /** * Size **/ Size: number; /** * Embedded **/ readonly Embedded: KsoMsoTriState; /** * WordArtformat **/ WordArtformat: KsoMsoPresetTextEffect; /** * Spacing **/ Spacing: number; /** * Smallcaps **/ Smallcaps: KsoMsoTriState; /** * UnderlineStyle **/ UnderlineStyle: KsoMsoTextUnderlineType; /** * Line **/ readonly Line: KsoLineFormat; /** * Allcaps **/ Allcaps: KsoMsoTriState; /** * Embeddable **/ readonly Embeddable: KsoMsoTriState; /** * DoubleStrikeThrough **/ DoubleStrikeThrough: KsoMsoTriState; /** * Equalize **/ Equalize: KsoMsoTriState; /** * Fill **/ readonly Fill: KsoFillFormat; /** * Glow **/ readonly Glow: KsoGlowFormat; /** * Shadow **/ readonly Shadow: KsoShadowFormat; /** * Highlight **/ readonly Highlight: KsoColorFormat; /** * UnderlineColor **/ readonly UnderlineColor: KsoColorFormat; /** * Subscript **/ Subscript: KsoMsoTriState; /** * StrikeThrough **/ StrikeThrough: KsoMsoTriState; /** * Superscript **/ Superscript: KsoMsoTriState; /** * Name **/ Name: string; /** * NameAscii **/ NameAscii: string; /** * NameComplexScript **/ NameComplexScript: string; /** * NameFarEast **/ NameFarEast: string; /** * NameOther **/ NameOther: string; } interface KsoGroupShapes { Range(Index?: any, Range?: KsoShapeRange): void; /** * Parent **/ readonly Parent: any; /** * Count **/ readonly Count: number; Item(Index?: any, Item?: KsoShape): void; /** * _NewEnum **/ readonly _NewEnum: any; } interface KsoCustomXMLParts { SelectByID(Id?: string, ppPart?: KsoCustomXMLPart): void; /** * Parent **/ readonly Parent: any; /** * Count **/ readonly Count: number; Item(Index?: any, ppPart?: KsoCustomXMLPart): void; Add(XML?: string, SchemaCollection?: any, ppPart?: KsoCustomXMLPart): void; /** * _NewEnum **/ readonly _NewEnum: any; SelectByNamespace(NamespaceURI?: string, ppParts?: KsoCustomXMLParts): void; } interface KsoFillFormat { /** * Parent **/ readonly Parent: any; Solid(): void; /** * TextureVerticalScale **/ TextureVerticalScale: number; /** * PresetTexture **/ readonly PresetTexture: KsoMsoPresetTexture; PresetTextured(PresetTexture?: KsoMsoPresetTexture): void; /** * GradientStops **/ readonly GradientStops: KsoGradientStops; Background(): void; OneColorGradient(Style?: KsoMsoGradientStyle, Variant?: number, Degree?: number): void; PresetGradient(Style?: KsoMsoGradientStyle, Variant?: number, PresetGradientType?: KsoMsoPresetGradientType): void; Patterned(Pattern?: KsoMsoPatternType): void; UserPicture(PictureFile?: string): void; TwoColorGradient(Style?: KsoMsoGradientStyle, Variant?: number): void; UserTextured(TextureFile?: string): void; /** * BackColor **/ BackColor: KsoColorFormat; /** * ForeColor **/ ForeColor: KsoColorFormat; /** * GradientColorType **/ readonly GradientColorType: KsoMsoGradientColorType; /** * GradientDegree **/ readonly GradientDegree: number; /** * Type **/ readonly Type: KsoMsoFillType; /** * GradientStyle **/ readonly GradientStyle: KsoMsoGradientStyle; /** * GradientVariant **/ readonly GradientVariant: number; /** * Pattern **/ readonly Pattern: KsoMsoPatternType; /** * PresetGradientType **/ readonly PresetGradientType: KsoMsoPresetGradientType; /** * TextureName **/ readonly TextureName: string; /** * TextureType **/ readonly TextureType: KsoMsoTextureType; /** * Transparency **/ Transparency: number; /** * Visible **/ Visible: KsoMsoTriState; /** * TextureOffsetY **/ TextureOffsetY: number; /** * TextureOffsetX **/ TextureOffsetX: number; /** * TextureAlignment **/ TextureAlignment: KsoMsoTextureAlignment; /** * RotateWithObject **/ RotateWithObject: KsoMsoTriState; /** * TextureHorizontalScale **/ TextureHorizontalScale: number; /** * TextureTile **/ TextureTile: KsoMsoTriState; /** * PictureEffects **/ readonly PictureEffects: KsoPictureEffects; /** * GradientAngle **/ GradientAngle: number; } interface KsoMsoCorners { Select(RHS?: any): void; /** * Name **/ readonly Name: string; /** * Parent **/ readonly Parent: any; /** * Application **/ readonly Application: any; /** * Creator **/ readonly Creator: number; } interface KsoMsoEServicesDialog { Close(ApplyWebComponentChanges?: boolean): void; /** * Application **/ readonly Application: any; AddTrustedDomain(Domain?: string): void; /** * ClipArt **/ readonly ClipArt: any; /** * ApplicationName **/ readonly ApplicationName: string; /** * WebComponent **/ readonly WebComponent: any; } interface KsoPictureEffects { Item(Index?: number, Item?: KsoPictureEffect): void; Insert(EffectType?: KsoMsoPictureEffectType, Position?: number, Effect?: KsoPictureEffect): void; /** * Count **/ readonly Count: number; /** * _NewEnum **/ readonly _NewEnum: any; Delete(Index?: number): void; } interface KsoParagraphFormat2 { /** * RightIndent **/ RightIndent: number; /** * Bullet **/ readonly Bullet: KsoBulletFormat2; /** * Parent **/ readonly Parent: any; /** * Alignment **/ Alignment: KsoMsoParagraphAlignment; /** * BaselineAlignment **/ BaselineAlignment: KsoMsoBaselineAlignment; /** * FarEastLineBreakLevel **/ FarEastLineBreakLevel: KsoMsoTriState; /** * LineRuleAfter **/ LineRuleAfter: KsoMsoTriState; /** * FirstLineInde