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

18 lines
369 B
TypeScript

import { RunPropertyJSON } from "./run";
import { ParagraphPropertyJSON } from "./paragraph";
export type StyleJSON = {
styleId: string;
name: string;
styleType: string;
runProperty: RunPropertyJSON;
paragraphProperty: ParagraphPropertyJSON;
};
export type Styles = {
docDefaults: {
runPropertyDefault: RunPropertyJSON;
};
styles: StyleJSON[];
};