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

29 lines
552 B
TypeScript
Raw Normal View History

2020-02-13 10:02:08 +02:00
import { ParagraphPropertyJSON } from "./paragraph";
export type LevelJSON = {
2020-02-13 10:02:08 +02:00
level: number;
start: number;
format: string;
text: string;
jc: string;
pstyle: string | null;
paragraphProperty: ParagraphPropertyJSON;
};
export type AbstractNumberingJSON = {
id: number;
levels: LevelJSON[];
numStyleLink: string | null;
styleLink: string | null;
};
2020-02-13 10:02:08 +02:00
export type NumberingJSON = {
id: number;
abstractNumId: number;
};
2020-02-27 20:12:36 +02:00
export type NumberingsJSON = {
abstractNums: AbstractNumberingJSON[];
numberings: NumberingJSON[];
};