/** ノードの並び順です。 */ export type VertexOrder = "preorder" | "postorder"; export declare namespace VertexOrder { const Preorder: VertexOrder; const Postorder: VertexOrder; } export type CustomTag = "row" | "cell" | "t"; export type CoodinateType = "object-center" | "group00"; export declare namespace CoodinateType { const ObjectCenter: CoodinateType; const Group00: CoodinateType; } export type VBAShapeType = "--table" | "NONE" | "msoShapeOval" | "msoShapeRectangle" | "msoShapeRectangularCallout" | "msoShapeUpArrowCallout" | "msoShapeLeftArrowCallout" | "msoShapeRightArrowCallout" | "msoShapeDownArrowCallout"; export declare namespace VBAShapeType { const None: VBAShapeType; const Table: VBAShapeType; const Oval: VBAShapeType; const Rectangle: VBAShapeType; const Callout: VBAShapeType; const UpArrowCallout: VBAShapeType; const LeftArrowCallout: VBAShapeType; const RightArrowCallout: VBAShapeType; const DownArrowCallout: VBAShapeType; } export type MacroTagNames = "m-tree" | "m-ellipse" | "m-circle" | "m-rect"; export declare namespace MacroTagNames { const Tree: MacroTagNames; const Ellipse: MacroTagNames; const Circle: MacroTagNames; const Rect: MacroTagNames; } export type VertexObjectType = "z-callout" | "z-arrow-callout" | "z-ellipse" | "z-circle" | "z-rect" | "z-path-textbox" | "z-rect-button" | "z-table" | "z-foreign-object" | "z-foreign-button"; export declare namespace OriginalSVGSVGAttributes { const VBAAttributeName: string; const ShrinkAttributeName: string; const Edit: string; } export type ShapeObjectType = VertexObjectType | "z-edge" | "z-graph" | "z-object"; export declare namespace ShapeObjectType { const Callout: VertexObjectType; const ArrowCallout: VertexObjectType; const Ellipse: VertexObjectType; const Circle: VertexObjectType; const Rect: VertexObjectType; const PathTextBox: VertexObjectType; const RectButton: VertexObjectType; const Graph: ShapeObjectType; const Table: ShapeObjectType; const Object: ShapeObjectType; const Edge: ShapeObjectType; const ForeignObject: ShapeObjectType; const ForeignButton: ShapeObjectType; function toShapeObjectType(value: string): ShapeObjectType | null; function toShapeObjectTypeOrCustomTag(value: string): ShapeObjectType | CustomTag | null; } export type PathTextAlighnment = "none" | "begin" | "end" | "center" | "regularInterval"; export declare namespace PathTextAlighnment { const regularInterval: PathTextAlighnment; const begin: PathTextAlighnment; const end: PathTextAlighnment; const center: PathTextAlighnment; function toPathTextAlighnment(value: string): PathTextAlighnment; } export type msoDashStyle = "msoLineDash" | "msoLineDashDot" | "msoLineDashDotDot" | "msoLineLongDash" | "msoLineLongDashDot" | "msoLineRoundDot" | "msoLineSolid" | "msoLineSquareDot"; export declare namespace msoDashStyle { const msoLineDash: msoDashStyle; const msoLineDashDot: msoDashStyle; const msoLineDashDotDot: msoDashStyle; const msoLineLongDash: msoDashStyle; const msoLineLongDashDot: msoDashStyle; const msoLineRoundDot: msoDashStyle; const msoLineSolid: msoDashStyle; const msoLineSquareDot: msoDashStyle; const dashArrayDic: { [key: string]: number[]; }; const lineCapDic: { [key: string]: string; }; function toMSODashStyle(value: string): msoDashStyle; } export type Direction = "up" | "left" | "right" | "down"; export declare namespace Direction { function toDirection(value: string | null): Direction; } export type DataName = "surface" | "text" | "topborder" | "leftborder" | "rightborder" | "bottomborder"; export declare namespace DataName { const Surface: DataName; const Text: DataName; const TopBorder: DataName; const LeftBorder: DataName; const RightBorder: DataName; const BottomBorder: DataName; } export type SpeakerPosition = "upleft" | "upright" | "leftup" | "leftdown" | "rightup" | "rightdown" | "downleft" | "downright" | "inner"; export type AutoSizeShapeToFitText = "auto" | "semi-auto" | "none"; export declare namespace AutoSizeShapeToFitText { const Auto: AutoSizeShapeToFitText; const SemiAuto: AutoSizeShapeToFitText; const None: AutoSizeShapeToFitText; } export type EdgeType = "none" | "straight" | "elbow" | "curve"; export type ShapeToFitType = "none" | "auto" | "semi-auto"; export declare namespace ShapeToFitType { const None: ShapeToFitType; const Auto: ShapeToFitType; const SemiAuto: ShapeToFitType; } export type ConnectorType = "top" | "topleft" | "left" | "bottomleft" | "bottom" | "bottomright" | "right" | "topright" | "auto"; export declare namespace ConnectorType { const Top: ConnectorType; const TopLeft: ConnectorType; const Left: ConnectorType; const BottomLeft: ConnectorType; const Bottom: ConnectorType; const BottomRight: ConnectorType; const Right: ConnectorType; const TopRight: ConnectorType; const Auto: ConnectorType; function ToConnectorPosition(str: string | null): ConnectorType; function ToVBAConnectorPosition(shapeType: string, str: ConnectorType): number; function ToVBAConnectorPosition2(shapeType: VBAShapeType, str: ConnectorType): number; } /** 垂直方向の配置位置を表す値です。 */ export type VerticalAnchor = "top" | "middle" | "bottom"; export declare namespace VerticalAnchor { /** * 上を表します。 */ const Top: VerticalAnchor; /** * 真ん中を表します。 */ const Middle: VerticalAnchor; /** * 底を表します。 */ const Bottom: VerticalAnchor; function toVerticalAnchor(value: string): VerticalAnchor; } /** 水平方向の配置位置を表す値です。 */ export type HorizontalAnchor = "left" | "center" | "right"; export declare namespace HorizontalAnchor { /** * 左を表します。 */ const Left: HorizontalAnchor; /** * 中央を表します。 */ const Center: HorizontalAnchor; /** * 右を表します。 */ const Right: HorizontalAnchor; function toHorizontalAnchor(value: string): HorizontalAnchor; } export declare function parsePXString(item: string | null): number;