define(["require", "exports", "./visio-nodes"], function (require, exports, visio_nodes_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var VisioNodeStyle = (function () {
function VisioNodeStyle() {
this.opacity = 1;
this.strokeWidth = 1;
this.isGradientEnabled = false;
this.gradientType = 'Linear';
this.gradientAngle = 0;
}
return VisioNodeStyle;
}());
exports.VisioNodeStyle = VisioNodeStyle;
var VisioNodeShadow = (function () {
function VisioNodeShadow() {
this.shadowPattern = false;
this.shadowOpacity = 1;
}
return VisioNodeShadow;
}());
exports.VisioNodeShadow = VisioNodeShadow;
var VisioShape = (function () {
function VisioShape() {
this.id = '';
this.type = 'Shape';
this.offsetX = 0;
this.offsetY = 0;
this.width = 0;
this.height = 0;
this.pivotX = 0.5;
this.pivotY = 0.5;
this.rotateAngle = 0;
this.cornerRadius = 0;
this.visibility = true;
}
return VisioShape;
}());
exports.VisioShape = VisioShape;
var VisioWindow = (function () {
function VisioWindow() {
this.showRulers = false;
this.showGrid = false;
this.showPageBreaks = false;
this.showGuides = false;
this.showConnectionPoints = false;
this.dynamicGridEnabled = false;
}
return VisioWindow;
}());
exports.VisioWindow = VisioWindow;
var VisioPage = (function () {
function VisioPage() {
this.pageWidth = 0;
this.pageHeight = 0;
this.backPage = 0;
this.fillColor = '';
this.isBackgroundPage = false;
this.shdwOffsetX = 0;
this.shdwOffsetY = 0;
this.pageScale = 0;
this.drawingScale = 0;
this.drawingSizeType = 0;
this.drawingScaleType = 0;
this.uiVisibility = 0;
this.shdwType = 0;
this.shdwObliqueAngle = 0;
this.shdwScaleFactor = 0;
this.drawingResizeType = 0;
this.pageShapeSplit = false;
this.printPageOrientation = 0;
this.layers = [];
this.bridging = 1;
this.horizontalBridgeSpace = 0.6667;
this.verticalBridgeSpace = 0.6667;
this.variationStyleIndex = 0;
this.lineRouteExt = '0';
this.routeStyle = '0';
this.inhibitSnap = false;
this.pageLockReplace = false;
this.pageLockDuplicate = false;
}
return VisioPage;
}());
exports.VisioPage = VisioPage;
var VisioMaster = (function () {
function VisioMaster() {
this.id = '';
}
return VisioMaster;
}());
exports.VisioMaster = VisioMaster;
var VisioTheme = (function () {
function VisioTheme() {
}
return VisioTheme;
}());
exports.VisioTheme = VisioTheme;
var VisioDocumentSettings = (function () {
function VisioDocumentSettings() {
this.glueSettings = 0;
this.snapSettings = 0;
this.snapExtensions = 0;
this.snapAngles = 0;
this.dynamicGridEnabled = false;
this.protectStyles = false;
this.protectShapes = false;
this.protectMasters = false;
this.protectBkgnds = false;
}
return VisioDocumentSettings;
}());
exports.VisioDocumentSettings = VisioDocumentSettings;
var VisioConnectionData = (function () {
function VisioConnectionData() {
}
return VisioConnectionData;
}());
exports.VisioConnectionData = VisioConnectionData;
var VisioRelationship = (function () {
function VisioRelationship() {
this.media = [];
}
return VisioRelationship;
}());
exports.VisioRelationship = VisioRelationship;
var VisioDiagramData = (function () {
function VisioDiagramData() {
this.windows = [];
this.pages = [];
this.masters = [];
this.shapes = [];
this.connectors = [];
this.connections = [];
this.themes = [];
this.expandedSubprocessCollection = [];
this.relations = [];
this.medias = {};
}
VisioDiagramData.prototype.clear = function () {
this.windows = [];
this.pages = [];
this.masters = [];
this.shapes = [];
this.connectors = [];
this.documentSettings = undefined;
this.connections = [];
this.themes = [];
this.currentPage = undefined;
this.currentTheme = undefined;
this.expandedSubprocessCollection = [];
this.relations = [];
visio_nodes_1.shapeIndex.value = 0;
};
return VisioDiagramData;
}());
exports.VisioDiagramData = VisioDiagramData;
var VisioStyleModel = (function () {
function VisioStyleModel() {
this.strokeWidth = 0;
this.opacity = 0;
}
return VisioStyleModel;
}());
exports.VisioStyleModel = VisioStyleModel;
var VisioDecoratorStyleModel = (function () {
function VisioDecoratorStyleModel() {
this.opacity = 0;
this.strokeWidth = 0;
this.isGradientEnabled = false;
this.gradientType = 'Linear';
this.gradientAngle = 0;
}
return VisioDecoratorStyleModel;
}());
exports.VisioDecoratorStyleModel = VisioDecoratorStyleModel;
var VisioDecoratorModel = (function () {
function VisioDecoratorModel() {
}
return VisioDecoratorModel;
}());
exports.VisioDecoratorModel = VisioDecoratorModel;
var VisioConnections = (function () {
function VisioConnections() {
}
return VisioConnections;
}());
exports.VisioConnections = VisioConnections;
});
|