pub struct TextBody {Show 18 fields
pub anchor: Option<String>,
pub vertical: Option<String>,
pub num_col: Option<u8>,
pub spc_col: Option<i64>,
pub rtl_col: Option<bool>,
pub compat_line_spacing: Option<bool>,
pub space_first_last_para: Option<bool>,
pub autofit: Option<TextAutofit>,
pub wrap: Option<bool>,
pub vertical_overflow: Option<TextOverflow>,
pub horizontal_overflow: Option<TextOverflow>,
pub inset_left: Option<i64>,
pub inset_top: Option<i64>,
pub inset_right: Option<i64>,
pub inset_bottom: Option<i64>,
pub list_style: Vec<ParagraphProperties>,
pub default_list_style: Option<Box<ParagraphProperties>>,
pub paragraphs: Vec<TextParagraph>,
}Fields§
§anchor: Option<String>§vertical: Option<String>§num_col: Option<u8>§spc_col: Option<i64>§rtl_col: Option<bool>§compat_line_spacing: Option<bool>Use a 1.2 em percentage pitch.
space_first_last_para: Option<bool>a:bodyPr/@spcFirstLastPara: honour the first paragraph’s space-before
and the last one’s space-after.
autofit: Option<TextAutofit>§wrap: Option<bool>a:bodyPr/@wrap: false for none, which lays every paragraph on one
line and lets it run past the shape.
vertical_overflow: Option<TextOverflow>§horizontal_overflow: Option<TextOverflow>§inset_left: Option<i64>§inset_top: Option<i64>§inset_right: Option<i64>§inset_bottom: Option<i64>§list_style: Vec<ParagraphProperties>List properties by outline level.
default_list_style: Option<Box<ParagraphProperties>>§paragraphs: Vec<TextParagraph>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TextBody
impl<'de> Deserialize<'de> for TextBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TextBody
Auto Trait Implementations§
impl Freeze for TextBody
impl RefUnwindSafe for TextBody
impl Send for TextBody
impl Sync for TextBody
impl Unpin for TextBody
impl UnsafeUnpin for TextBody
impl UnwindSafe for TextBody
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more