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

43 lines
690 B
TypeScript
Raw Normal View History

import { TextBoxContentJSON } from "./textbox-content";
export type DrawingJSON = {
type: "drawing";
data: {
2022-03-29 07:32:14 +03:00
type: "pic";
};
};
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[];
};
};