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