Skip to main content

stella_docx_kernel/
lib.rs

1#![forbid(unsafe_code)]
2
3mod projection;
4mod semantic;
5#[cfg(all(target_arch = "wasm32", feature = "wasm"))]
6pub mod wasm;
7
8pub use projection::{
9    AttributedComment, AttributedRevision, BookmarkFact, CommentContent, DocumentPackageProjection,
10    DocumentParts, DocumentProjection, DocumentReviewFacts, DocumentStructureFacts, DocxLimits,
11    InternalParagraphId, InternalReferenceFact, InternalReferenceRole, NumberingHierarchyFact,
12    PackageParagraphId, ParagraphIdentityFacts, ParagraphIndentation, ParagraphIndentationFact,
13    ParagraphOutlineLevelFact, ParagraphStructure, ProjectedParagraph, ProjectionError,
14    ProjectionOptions, ReviewDetail, ReviewFactLimits, ReviewFactSet, ReviewFactUnknownReason,
15    ReviewPoint, ReviewSpan, RevisionContent, RevisionFactKind, RevisionProjectionStatus,
16    RevisionUnsupportedReason, RevisionView, SpanCoverage, StructuralFactSet,
17    StructuralFactUnknownReason, StructuralSpan, TextFormattingSpan, TextMaterialization,
18    TextStyle, extract_document_parts, extract_document_xml, is_semantic_highlight_color,
19    project_document_xml, project_document_xml_with_options, project_docx,
20    project_docx_with_options, project_docx_with_review_facts,
21};
22pub use semantic::{
23    BlockLocation, InlineContext, PartCoverage, PartScan, RevisionKind, ScanError, ScanLimits,
24    ScanWork, SegmentSource, TextBlock, TextSegment, scan_wordprocessing_part,
25    scan_wordprocessing_part_with,
26};