docx-rs/docx-wasm/js/json/index.ts

54 lines
1.1 KiB
TypeScript
Raw Normal View History

import { Styles } from "./styles";
2020-02-13 10:02:08 +02:00
import { DocumentJSON } from "./document";
import { AbstractNumberingJSON, NumberingJSON } from "./numbering";
export type DocxJSON = {
contentType: {
types: {
[k: string]: string;
};
};
rels: [string, string, string][];
documentRels: {
hasComments: boolean;
hasNumberings: boolean;
};
docProps: {
app: {};
core: {
config: {
creator: string | null;
description: string | null;
language: string | null;
lastModifiedBy: string | null;
modified: string | null;
revision: string | null;
subject: string | null;
title: string | null;
};
};
};
styles: Styles;
2020-02-13 10:02:08 +02:00
document: DocumentJSON;
comments: {
comments: any[];
};
2020-02-13 10:02:08 +02:00
numberings: {
abstractNums: AbstractNumberingJSON[];
numberings: NumberingJSON[];
};
settings: {
defaultTabStop: number;
zoom: number;
};
fontTable: {};
};
export * from "./styles";
export * from "./border";
export * from "./document";
export * from "./paragraph";
export * from "./run";
export * from "./table";
2020-02-13 10:02:08 +02:00
export * from "./numbering";