Move styles to sub folder
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
import { IPropertiesOptions, Properties } from "../properties";
|
||||
import { Styles } from "../styles";
|
||||
import { DefaultStylesFactory } from "../styles/factory";
|
||||
import { Document } from "./document";
|
||||
import { Media } from "./media";
|
||||
import { Numbering } from "./numbering";
|
||||
import { Paragraph } from "./paragraph";
|
||||
import { Styles } from "./styles";
|
||||
import { DefaultStylesFactory } from "./styles/factory";
|
||||
import { Table } from "./table";
|
||||
|
||||
export class File {
|
||||
|
@ -5,3 +5,4 @@ export * from "./file";
|
||||
export * from "./numbering";
|
||||
export * from "./media";
|
||||
export * from "./drawing";
|
||||
export * from "./styles";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlComponent } from "../../docx/xml-components";
|
||||
import { XmlComponent } from "../../xml-components";
|
||||
import { ParagraphPropertiesDefaults } from "./paragraph-properties";
|
||||
import { RunPropertiesDefaults } from "./run-properties";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ParagraphProperties } from "../../docx/paragraph/properties";
|
||||
import { XmlComponent } from "../../docx/xml-components";
|
||||
import { ParagraphProperties } from "../../paragraph/properties";
|
||||
import { XmlComponent } from "../../xml-components";
|
||||
|
||||
export class ParagraphPropertiesDefaults extends XmlComponent {
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Size } from "../../docx/paragraph/run/formatting";
|
||||
import { RunProperties } from "../../docx/paragraph/run/properties";
|
||||
import { RunFonts } from "../../docx/paragraph/run/run-fonts";
|
||||
import { XmlComponent } from "../../docx/xml-components";
|
||||
import { Size } from "../../paragraph/run/formatting";
|
||||
import { RunProperties } from "../../paragraph/run/properties";
|
||||
import { RunFonts } from "../../paragraph/run/run-fonts";
|
||||
import { XmlComponent } from "../../xml-components";
|
||||
|
||||
export class RunPropertiesDefaults extends XmlComponent {
|
||||
private properties: RunProperties;
|
@ -1,4 +1,4 @@
|
||||
import { Color, Italics, Size } from "../docx/paragraph/run/formatting";
|
||||
import { Color, Italics, Size } from "../paragraph/run/formatting";
|
||||
|
||||
import { Styles } from "./";
|
||||
// import { DocumentDefaults } from "./defaults";
|
@ -1,5 +1,5 @@
|
||||
import { DocumentAttributes } from "../docx/document/document-attributes";
|
||||
import { XmlComponent } from "../docx/xml-components";
|
||||
import { DocumentAttributes } from "../document/document-attributes";
|
||||
import { XmlComponent } from "../xml-components";
|
||||
import { DocumentDefaults } from "./defaults";
|
||||
import { ParagraphStyle } from "./style";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { XmlAttributeComponent, XmlComponent } from "../../docx/xml-components";
|
||||
import { XmlAttributeComponent, XmlComponent } from "../../xml-components";
|
||||
|
||||
interface IComponentAttributes {
|
||||
val: string;
|
@ -1,7 +1,7 @@
|
||||
import * as paragraph from "../../docx/paragraph";
|
||||
import * as formatting from "../../docx/paragraph/run/formatting";
|
||||
import { RunProperties } from "../../docx/paragraph/run/properties";
|
||||
import { XmlAttributeComponent, XmlComponent } from "../../docx/xml-components";
|
||||
import * as paragraph from "../../paragraph";
|
||||
import * as formatting from "../../paragraph/run/formatting";
|
||||
import { RunProperties } from "../../paragraph/run/properties";
|
||||
import { XmlAttributeComponent, XmlComponent } from "../../xml-components";
|
||||
|
||||
import { BasedOn, Name, Next, QuickFormat } from "./components";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { assert, expect } from "chai";
|
||||
import { Formatter } from "../export/formatter";
|
||||
import { Formatter } from "../../export/formatter";
|
||||
import { Styles } from "./";
|
||||
import { ParagraphStyle, Style } from "./style";
|
||||
import * as components from "./style/components";
|
@ -1,3 +1,2 @@
|
||||
export * from "./docx";
|
||||
export * from "./export";
|
||||
export * from "./styles";
|
||||
|
Reference in New Issue
Block a user