Use absolute path rather than silly relative path

This commit is contained in:
Dolan Miu
2017-12-30 20:25:16 +00:00
parent ab348bd5f9
commit eb71fc20e6
63 changed files with 67 additions and 66 deletions

View File

@ -1,5 +1,5 @@
// http://officeopenxml.com/WPtextSpecialContent-break.php
import { XmlComponent } from "../../xml-components";
import { XmlComponent } from "file/xml-components";
export class Break extends XmlComponent {

View File

@ -1,4 +1,4 @@
import { XmlComponent } from "../../xml-components";
import { XmlComponent } from "file/xml-components";
export class SmallCaps extends XmlComponent {

View File

@ -1,4 +1,4 @@
import { Attributes, XmlComponent } from "../../xml-components";
import { Attributes, XmlComponent } from "file/xml-components";
export { Underline } from "./underline";
export { SubScript, SuperScript } from "./script";
export { RunFonts } from "./run-fonts";

View File

@ -1,4 +1,4 @@
import { XmlComponent } from "../../xml-components";
import { XmlComponent } from "file/xml-components";
export class RunProperties extends XmlComponent {

View File

@ -1,4 +1,4 @@
import { XmlAttributeComponent, XmlComponent } from "../../../xml-components";
import { XmlAttributeComponent, XmlComponent } from "file/xml-components";
class TextAttributes extends XmlAttributeComponent<{space: "default" | "preserve"}> {
protected xmlKeys = {space: "xml:space"};

View File

@ -1,4 +1,4 @@
import { XmlAttributeComponent, XmlComponent } from "../../xml-components";
import { XmlAttributeComponent, XmlComponent } from "file/xml-components";
interface IRunFontAttributesProperties {
ascii: string;

View File

@ -9,7 +9,7 @@ import { Style } from "./style";
import { Tab } from "./tab";
import { Underline } from "./underline";
import { XmlComponent } from "../../xml-components";
import { XmlComponent } from "file/xml-components";
export class Run extends XmlComponent {
private properties: RunProperties;

View File

@ -1,4 +1,4 @@
import { Attributes, XmlComponent } from "../../xml-components";
import { Attributes, XmlComponent } from "file/xml-components";
export abstract class VerticalAlign extends XmlComponent {

View File

@ -1,4 +1,4 @@
import { XmlAttributeComponent, XmlComponent } from "../../xml-components";
import { XmlAttributeComponent, XmlComponent } from "file/xml-components";
class StyleAttributes extends XmlAttributeComponent<{val: string}> {
protected xmlKeys = {val: "w:val"};

View File

@ -1,4 +1,4 @@
import { XmlComponent } from "../../xml-components";
import { XmlComponent } from "file/xml-components";
export class Tab extends XmlComponent {

View File

@ -1,4 +1,4 @@
import { Attributes, XmlComponent } from "../../xml-components";
import { Attributes, XmlComponent } from "file/xml-components";
export abstract class BaseUnderline extends XmlComponent {