docx-rust 0.1.11

A Rust library for parsing and generating docx files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use hard_xml::{XmlRead, XmlWrite};

/// WidowControl
///
/// ```rust
/// use docx_rust::formatting::*;
///
/// let WidowControl = WidowControl::from(false);
/// let WidowControl = WidowControl::from(true);
/// ```
#[derive(Debug, Default, XmlRead, XmlWrite, Clone)]
#[cfg_attr(test, derive(PartialEq))]
#[xml(tag = "w:semiHidden")]
pub struct SemiHidden {
    #[xml(attr = "w:val")]
    pub value: Option<bool>,
}