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 AttributedComment, AttributedRevision, BookmarkFact, CommentContent, DocumentPackageProjection,
10 DocumentParts, DocumentProjection, DocumentReviewFacts, DocumentStructureFacts, DocxLimits,
11 InternalParagraphId, InternalReferenceFact, InternalReferenceRole, NumberingHierarchyFact,
12 PackageParagraphId, ParagraphIdentityFacts, ParagraphIndentation, ParagraphIndentationFact,
13 ParagraphStructure, ProjectedParagraph, ProjectionError, ProjectionOptions, ReviewDetail,
14 ReviewFactLimits, ReviewFactSet, ReviewFactUnknownReason, ReviewPoint, ReviewSpan,
15 RevisionContent, RevisionFactKind, RevisionProjectionStatus, RevisionUnsupportedReason,
16 RevisionView, SpanCoverage, StructuralFactSet, StructuralFactUnknownReason, StructuralSpan,
17 TextFormattingSpan, TextMaterialization, TextStyle, extract_document_parts,
18 extract_document_xml, is_semantic_highlight_color, project_document_xml,
19 project_document_xml_with_options, project_docx, project_docx_with_options,
20 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};