Comparing version 6.0.0 to 6.0.1
/// <reference types="node" /> | ||
import { IContext, IXmlableObject } from "../../../file/xml-components"; | ||
import { IFloating } from "../../drawing"; | ||
import { IMediaTransformation } from "../../media"; | ||
import { Run } from "../run"; | ||
import { IContext, IXmlableObject } from "/file/xml-components"; | ||
export interface IImageOptions { | ||
@@ -7,0 +7,0 @@ readonly data: Buffer | string | Uint8Array | ArrayBuffer; |
{ | ||
"name": "docx", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -22,3 +22,3 @@ <p align="center"> | ||
<p align="center"> | ||
<img src="https://i.imgur.com/tBO0XBR.png" alt="drawing"/> | ||
<img src="https://i.imgur.com/QeL1HuU.png" alt="drawing"/> | ||
</p> | ||
@@ -33,3 +33,3 @@ | ||
* https://codepen.io/dolanmiu/pen/RwNeObg | ||
* https://jsfiddle.net/dolanmiu/kqxrj35u/1/ | ||
* https://jsfiddle.net/dolanmiu/onadx1gu/ | ||
@@ -36,0 +36,0 @@ Here is an example of `docx` working in `Angular`: |
import { uniqueId } from "convenience-functions"; | ||
import { IContext, IXmlableObject } from "file/xml-components"; | ||
import { Drawing, IFloating } from "../../drawing"; | ||
@@ -7,3 +9,2 @@ import { IMediaTransformation } from "../../media"; | ||
import { Run } from "../run"; | ||
import { IContext, IXmlableObject } from "/file/xml-components"; | ||
@@ -10,0 +11,0 @@ export interface IImageOptions { |
@@ -34,2 +34,6 @@ // http://officeopenxml.com/WPtableProperties.php | ||
if (options.style) { | ||
this.root.push(new TableStyle(options.style)); | ||
} | ||
this.root.push(new TableCellMargin(options.cellMargin || {})); | ||
@@ -64,7 +68,3 @@ | ||
} | ||
if (options.style) { | ||
this.root.push(new TableStyle(options.style)); | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1861092