2020-04-07 04:24:56 +03:00
|
|
|
import { TextBoxContentJSON } from "./textbox-content";
|
|
|
|
|
|
|
|
export type DrawingJSON = {
|
|
|
|
type: "drawing";
|
|
|
|
data: {
|
2022-03-29 07:32:14 +03:00
|
|
|
type: "pic";
|
2020-04-07 04:24:56 +03:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
export type WpAnchorJSON = {
|
|
|
|
type: "anchor";
|
|
|
|
data: {
|
|
|
|
children: AGraphicJSON[];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
export type AGraphicJSON = {
|
|
|
|
children: AGraphChildJSON[];
|
|
|
|
};
|
|
|
|
|
|
|
|
export type AGraphChildJSON = AGraphicDataJSON;
|
|
|
|
|
|
|
|
export type AGraphicDataJSON = {
|
|
|
|
dataType: "wpShape";
|
|
|
|
children: WpsShapeJSON[];
|
|
|
|
};
|
|
|
|
|
|
|
|
export type WpsShapeJSON = {
|
|
|
|
type: "shape";
|
|
|
|
data: {
|
|
|
|
children: WpsShapeChildJSON[];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
export type WpsShapeChildJSON = WpsTextBoxJSON;
|
|
|
|
|
|
|
|
export type WpsTextBoxJSON = {
|
|
|
|
type: "textbox";
|
|
|
|
data: {
|
|
|
|
children: TextBoxContentJSON[];
|
|
|
|
};
|
|
|
|
};
|