| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- """
- 表格线编辑器核心模块
- """
- from .ui_components import (
- parse_ocr_data,
- create_file_uploader_section,
- create_display_settings_section,
- create_undo_redo_section,
- create_analysis_section,
- create_save_section
- )
- from .drawing import (
- draw_table_lines_with_numbers,
- draw_clean_table_lines,
- get_cached_table_lines_image,
- clear_table_image_cache
- )
- from .state_manager import (
- init_undo_stack,
- save_state_for_undo,
- undo_last_action,
- redo_last_action
- )
- from .config_loader import (
- load_structure_from_config,
- save_structure_to_config
- )
- from .adjustments import (
- create_adjustment_section
- )
- __all__ = [
- # UI 组件
- 'parse_ocr_data',
- 'create_file_uploader_section',
- 'create_display_settings_section',
- 'create_undo_redo_section',
- 'create_analysis_section',
- 'create_save_section',
-
- # 绘图
- 'draw_table_lines_with_numbers',
- 'draw_clean_table_lines',
- 'get_cached_table_lines_image',
- 'clear_table_image_cache',
-
- # 状态管理
- 'init_undo_stack',
- 'save_state_for_undo',
- 'undo_last_action',
- 'redo_last_action',
-
- # 配置
- 'load_structure_from_config',
- 'save_structure_to_config',
-
- # 调整
- 'create_adjustment_section',
- ]
|