Skip to content

Commit b3a14d9

Browse files
committed
0.5.1 - update TypeScript 3.5 and some documentation additions
1 parent 66179ec commit b3a14d9

File tree

15 files changed

+39
-17
lines changed

15 files changed

+39
-17
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ This project does its best to adhere to [Semantic Versioning](http://semver.org/
44

55

66
--------
7-
### [0.5.0](N/A) - 2019-01-12
7+
### [0.5.1](N/A) - 2019-07-16
8+
#### Changed
9+
* Update to TypeScript 3.5
10+
* Cache attributes array lookup in `Utils.defaults`
11+
* A few documentation tweaks
12+
13+
14+
--------
15+
### [0.5.0](https://github.com/TeamworkGuy2/excel-builder-ts/commit/66179ecb3f34789f9406eb97fe27d11027737841) - 2019-01-12
816
#### Added
917
* `Worksheet.dataValidations` with `toXML()` output
1018
* `Worksheet` added `setAutoFilter()`, `setDataValidations()`, and `setPageSetupAndMargins()` (which got split out from `addPagePrintSetup()`)

drawings/AbsoluteAnchor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
var Util = require("../util/Util");
33
var AbsoluteAnchor = /** @class */ (function () {
4-
/**
4+
/** Create <xdr:absoluteAnchor> element
55
* @param config
66
* config.x X offset in EMU's
77
* config.y Y offset in EMU's

drawings/AbsoluteAnchor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class AbsoluteAnchor {
88
height: number | null;
99

1010

11-
/**
11+
/** Create <xdr:absoluteAnchor> element
1212
* @param config
1313
* config.x X offset in EMU's
1414
* config.y Y offset in EMU's

drawings/Drawings.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ var RelationshipManager = require("../worksheet/RelationshipManager");
55
* @module Excel/Drawings
66
*/
77
var Drawings = /** @class */ (function () {
8+
/** Create <xdr:wsDr> element
9+
*/
810
function Drawings() {
911
this.drawings = [];
1012
this.relations = new RelationshipManager();
1113
this.id = Util._uniqueId("Drawings");
1214
}
1315
/** Adds a drawing (more likely a subclass of a Drawing) to the 'Drawings' for a particular worksheet.
14-
*
1516
* @param drawing
1617
*/
1718
Drawings.prototype.addDrawing = function (drawing) {

drawings/Drawings.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ class Drawings {
1111
id: any;
1212

1313

14+
/** Create <xdr:wsDr> element
15+
*/
1416
constructor() {
1517
this.drawings = [];
1618
this.relations = new RelationshipManager();
@@ -19,7 +21,6 @@ class Drawings {
1921

2022

2123
/** Adds a drawing (more likely a subclass of a Drawing) to the 'Drawings' for a particular worksheet.
22-
*
2324
* @param drawing
2425
*/
2526
public addDrawing(drawing: Drawings.Drawing) {

drawings/OneCellAnchor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22
var Util = require("../util/Util");
33
var OneCellAnchor = /** @class */ (function () {
4-
/**
4+
/** Create <xdr:oneCellAnchor> element
55
* @param config
66
* config.x The cell column number that the top left of the picture will start in
77
* config.y The cell row number that the top left of the picture will start in

drawings/OneCellAnchor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class OneCellAnchor {
1010
height: number | null;
1111

1212

13-
/**
13+
/** Create <xdr:oneCellAnchor> element
1414
* @param config
1515
* config.x The cell column number that the top left of the picture will start in
1616
* config.y The cell row number that the top left of the picture will start in

drawings/Picture.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
var Util = require("../util/Util");
33
var Drawing = require("./Drawing");
44
var Picture = /** @class */ (function () {
5+
/** Create <xdr:pic> element
6+
*/
57
function Picture() {
68
this.anchor = null;
79
this.description = null;

drawings/Picture.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ class Picture implements Drawings.Drawing {
1919
pictureId: number;
2020

2121

22+
/** Create <xdr:pic> element
23+
*/
2224
constructor() {
2325
this.description = null;
2426
this.media = null;

drawings/TwoCellAnchor.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
"use strict";
22
var Util = require("../util/Util");
33
var TwoCellAnchor = /** @class */ (function () {
4+
/** Create <xdr:twoCellAnchor> elem
5+
* @param config
6+
*/
47
function TwoCellAnchor(config) {
58
this.from = { xOff: 0, yOff: 0 };
69
this.to = { xOff: 0, yOff: 0 };

0 commit comments

Comments
 (0)