mod chart;
mod common;
mod connector;
mod equation;
mod footnote_shape;
mod note;
mod picture;
mod picture_inline_migration;
mod props_check;
mod shape;
mod table;
mod table_creation;
pub use table_creation::{TableColumnWidths, TableCreationOptions};
pub fn check_picture_props(props_json: &str) -> Result<String, String> {
props_check::check_props(props_json, props_check::PICTURE_PROPS, "그림")
}
pub fn check_shape_props(props_json: &str) -> Result<String, String> {
props_check::check_props(props_json, props_check::SHAPE_PROPS, "도형")
}
pub(crate) const MIN_SHAPE_SIZE: u32 = 200;
pub(crate) fn clamp_degenerate_size(v: u32, current: u32, restore_stored_zero: bool) -> u32 {
if v == 0 && current != 0 && !restore_stored_zero {
MIN_SHAPE_SIZE
} else {
v
}
}