1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/// Word (.docx) document support.
///
/// This module provides parsing and manipulation of Microsoft Word documents
/// in the Office Open XML (OOXML) format (.docx files).
///
/// # Architecture
///
/// The module is organized around these key types:
/// - `Package`: The overall .docx file package
/// - `Document`: The main document content and API
/// - `Paragraph`: A paragraph with runs
/// - `Run`: A text run with formatting
/// - `Table`: A table with rows and cells
/// - `DocumentPart`: The core document.xml part
///
/// # Example
///
/// ```rust,no_run
/// use litchi::ooxml::docx::Package;
///
/// // Open a document
/// let package = Package::open("document.docx")?;
/// let doc = package.document()?;
///
/// // Access paragraphs and runs
/// for para in doc.paragraphs()? {
/// println!("Paragraph: {}", para.text()?);
/// for run in para.runs()? {
/// println!(" Run: {} (bold: {:?})", run.text()?, run.bold()?);
/// }
/// }
///
/// // Access tables
/// for table in doc.tables()? {
/// for row in table.rows()? {
/// for cell in row.cells()? {
/// println!("Cell: {}", cell.text()?);
/// }
/// }
/// }
/// # Ok::<(), Box<dyn std::error::Error>>(())
/// ```
pub use Document;
pub use Package;
pub use ;
pub use ;