Skip to main content

rdocx_oxml/
lib.rs

1#![doc = include_str!("../README.md")]
2#![allow(non_camel_case_types)]
3#![allow(clippy::large_enum_variant)]
4#![allow(clippy::should_implement_trait)]
5
6pub mod borders;
7pub mod document;
8pub mod drawing;
9pub mod footnotes;
10pub mod header_footer;
11pub mod namespace;
12pub mod numbering;
13pub mod placeholder;
14pub mod properties;
15pub mod shared;
16pub mod styles;
17pub mod table;
18pub mod text;
19pub mod theme;
20
21pub use error::{OxmlError, Result};
22pub(crate) use oxml_core::xml_text;
23pub use oxml_core::{core_properties, error, raw_xml, units};
24
25pub use borders::{CT_BorderEdge, CT_PBdr, CT_TabStop, CT_Tabs};
26pub use document::{BodyContent, CT_Body, CT_Document, CT_SectPr};
27pub use numbering::{CT_AbstractNum, CT_Lvl, CT_Num, CT_Numbering, ST_NumberFormat};
28pub use properties::{CT_PPr, CT_RPr};
29pub use shared::{
30    ST_Border, ST_Jc, ST_OnOff, ST_PageOrientation, ST_SectionType, ST_TabJc, ST_TabLeader,
31};
32pub use styles::{CT_DocDefaults, CT_Style, CT_Styles};
33pub use table::{CT_Row, CT_Tbl, CT_TblGrid, CT_TblPr, CT_Tc, CT_TcPr};
34pub use text::{CT_P, CT_R, CT_Text};
35pub use units::{Emu, HalfPoint, Twips};