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 FormattingProjectionStatus, FormattingUnknownReason, InternalParagraphId,
12 InternalReferenceFact, InternalReferenceRole, NumberingHierarchyFact, PackageParagraphId,
13 ParagraphIdentityFacts, ParagraphIndentation, ParagraphIndentationFact,
14 ParagraphOutlineLevelFact, ParagraphStructure, ProjectedParagraph, ProjectionError,
15 ProjectionOptions, ReviewDetail, ReviewFactLimits, ReviewFactSet, ReviewFactUnknownReason,
16 ReviewPoint, ReviewSpan, RevisionContent, RevisionFactKind, RevisionProjectionStatus,
17 RevisionUnsupportedReason, RevisionView, SpanCoverage, StructuralFactSet,
18 StructuralFactUnknownReason, StructuralSpan, TextFormattingSpan, TextMaterialization,
19 TextStyle, extract_document_parts, extract_document_xml, is_semantic_highlight_color,
20 project_document_xml, project_document_xml_with_options, project_docx,
21 project_docx_with_options, project_docx_with_review_facts,
22};
23pub use semantic::{
24 BlockLocation, InlineContext, PartCoverage, PartScan, RevisionKind, ScanError, ScanLimits,
25 ScanWork, SegmentSource, TextBlock, TextSegment, scan_wordprocessing_part,
26 scan_wordprocessing_part_with,
27};