stella_docx_kernel/
lib.rs1#![forbid(unsafe_code)]
2
3mod projection;
4mod semantic;
5#[cfg(all(target_arch = "wasm32", feature = "wasm"))]
6pub mod wasm;
7
8pub use projection::{
9 BookmarkFact, DocumentParts, DocumentProjection, DocumentStructureFacts, DocxLimits,
10 InternalParagraphId, InternalReferenceFact, InternalReferenceRole, NumberingHierarchyFact,
11 PackageParagraphId, ParagraphIdentityFacts, ParagraphIndentation, ParagraphIndentationFact,
12 ParagraphStructure, ProjectedParagraph, ProjectionError, ProjectionOptions,
13 RevisionProjectionStatus, RevisionUnsupportedReason, RevisionView, SpanCoverage,
14 StructuralFactSet, StructuralFactUnknownReason, StructuralSpan, TextFormattingSpan,
15 TextMaterialization, TextStyle, extract_document_parts, extract_document_xml,
16 is_semantic_highlight_color, project_document_xml, project_document_xml_with_options,
17 project_docx, project_docx_with_options,
18};
19pub use semantic::{
20 BlockLocation, InlineContext, PartCoverage, PartScan, RevisionKind, ScanError, ScanLimits,
21 ScanWork, SegmentSource, TextBlock, TextSegment, scan_wordprocessing_part,
22 scan_wordprocessing_part_with,
23};