2020-02-13 10:02:08 +02:00
|
|
|
import { ParagraphPropertyJSON } from "./paragraph";
|
|
|
|
|
2020-02-13 12:04:45 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2020-02-13 12:04:45 +02:00
|
|
|
export type AbstractNumberingJSON = {
|
|
|
|
id: number;
|
|
|
|
levels: LevelJSON[];
|
2020-02-26 13:26:32 +02:00
|
|
|
numStyleLink: string | null;
|
|
|
|
styleLink: string | null;
|
2020-02-13 12:04:45 +02:00
|
|
|
};
|
|
|
|
|
2020-02-13 10:02:08 +02:00
|
|
|
export type NumberingJSON = {
|
|
|
|
id: number;
|
|
|
|
abstractNumId: number;
|
2020-04-21 13:02:36 +03:00
|
|
|
LevelOverrides: LevelOverrideJSON[];
|
|
|
|
};
|
|
|
|
|
|
|
|
export type LevelOverrideJSON = {
|
|
|
|
level: number;
|
|
|
|
start: number;
|
2020-02-13 10:02:08 +02:00
|
|
|
};
|
2020-02-27 20:12:36 +02:00
|
|
|
|
|
|
|
export type NumberingsJSON = {
|
|
|
|
abstractNums: AbstractNumberingJSON[];
|
|
|
|
numberings: NumberingJSON[];
|
|
|
|
};
|