pub struct CT_TextParagraphProperties {
pub left_margin: Option<i32>,
pub right_margin: Option<i32>,
pub level: Option<u8>,
pub indent: Option<i32>,
pub alignment: Option<TextAlignment>,
pub line_spacing: Option<TextSpacing>,
pub space_before: Option<TextSpacing>,
pub space_after: Option<TextSpacing>,
pub bullet: Option<TextBullet>,
pub default_run_properties: Option<CT_TextCharacterProperties>,
/* private fields */
}Expand description
Paragraph attributes and the story-owned spacing and default-run children.
Fields§
§left_margin: Option<i32>§right_margin: Option<i32>§level: Option<u8>§indent: Option<i32>§alignment: Option<TextAlignment>§line_spacing: Option<TextSpacing>§space_before: Option<TextSpacing>§space_after: Option<TextSpacing>§bullet: Option<TextBullet>§default_run_properties: Option<CT_TextCharacterProperties>Implementations§
Source§impl CT_TextParagraphProperties
impl CT_TextParagraphProperties
Sourcepub fn from_xml(xml: &[u8]) -> Result<Self>
pub fn from_xml(xml: &[u8]) -> Result<Self>
Parses one complete paragraph-property element with any prefix.
Sourcepub fn write_xml<W: Write>(
&self,
writer: &mut Writer<W>,
tag: &str,
) -> Result<()>
pub fn write_xml<W: Write>( &self, writer: &mut Writer<W>, tag: &str, ) -> Result<()>
Writes paragraph properties with a caller-selected fixed a: tag.
pub fn raw_children(&self) -> &OrderedRawChildren
Trait Implementations§
Source§impl Clone for CT_TextParagraphProperties
impl Clone for CT_TextParagraphProperties
Source§fn clone(&self) -> CT_TextParagraphProperties
fn clone(&self) -> CT_TextParagraphProperties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CT_TextParagraphProperties
impl Debug for CT_TextParagraphProperties
Source§impl Default for CT_TextParagraphProperties
impl Default for CT_TextParagraphProperties
Source§fn default() -> CT_TextParagraphProperties
fn default() -> CT_TextParagraphProperties
Returns the “default value” for a type. Read more
impl Eq for CT_TextParagraphProperties
impl StructuralPartialEq for CT_TextParagraphProperties
Auto Trait Implementations§
impl Freeze for CT_TextParagraphProperties
impl RefUnwindSafe for CT_TextParagraphProperties
impl Send for CT_TextParagraphProperties
impl Sync for CT_TextParagraphProperties
impl Unpin for CT_TextParagraphProperties
impl UnsafeUnpin for CT_TextParagraphProperties
impl UnwindSafe for CT_TextParagraphProperties
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