pub struct BodyProps {Show 16 fields
pub inset_l: Option<f64>,
pub inset_t: Option<f64>,
pub inset_r: Option<f64>,
pub inset_b: Option<f64>,
pub anchor: Option<Anchor>,
pub anchor_ctr: Option<bool>,
pub wrap: Option<bool>,
pub autofit: Option<AutoFit>,
pub vert: Option<TextDir>,
pub rot: Option<f64>,
pub columns: Option<u32>,
pub col_spacing: Option<f64>,
pub warp: Option<String>,
pub warp_adj: Vec<f64>,
pub rtl_col: Option<bool>,
pub upright: Option<bool>,
}Expand description
bodyPr: insets in points, anchoring, wrapping, autofit, columns, direction, warp.
Fields§
§inset_l: Option<f64>§inset_t: Option<f64>§inset_r: Option<f64>§inset_b: Option<f64>§anchor: Option<Anchor>§anchor_ctr: Option<bool>§wrap: Option<bool>§autofit: Option<AutoFit>§vert: Option<TextDir>§rot: Option<f64>Extra text rotation in degrees.
columns: Option<u32>§col_spacing: Option<f64>§warp: Option<String>WordArt transform (prstTxWarp), e.g. textArchUp.
warp_adj: Vec<f64>The warp’s adjust values (prstTxWarp/avLst: adj or adj1, adj2…, raw guide values);
empty = the preset’s defaults.
rtl_col: Option<bool>§upright: Option<bool>Keep text upright when the shape rotates.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BodyProps
impl<'de> Deserialize<'de> for BodyProps
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 BodyProps
Auto Trait Implementations§
impl Freeze for BodyProps
impl RefUnwindSafe for BodyProps
impl Send for BodyProps
impl Sync for BodyProps
impl Unpin for BodyProps
impl UnsafeUnpin for BodyProps
impl UnwindSafe for BodyProps
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