pub struct CT_TextListStyle {
pub default_paragraph_properties: Option<CT_TextParagraphProperties>,
pub level1: Option<CT_TextParagraphProperties>,
pub level2: Option<CT_TextParagraphProperties>,
pub level3: Option<CT_TextParagraphProperties>,
pub level4: Option<CT_TextParagraphProperties>,
pub level5: Option<CT_TextParagraphProperties>,
pub level6: Option<CT_TextParagraphProperties>,
pub level7: Option<CT_TextParagraphProperties>,
pub level8: Option<CT_TextParagraphProperties>,
pub level9: Option<CT_TextParagraphProperties>,
/* private fields */
}Expand description
DrawingML list defaults for each of the nine paragraph levels.
Fields§
§default_paragraph_properties: Option<CT_TextParagraphProperties>§level1: Option<CT_TextParagraphProperties>§level2: Option<CT_TextParagraphProperties>§level3: Option<CT_TextParagraphProperties>§level4: Option<CT_TextParagraphProperties>§level5: Option<CT_TextParagraphProperties>§level6: Option<CT_TextParagraphProperties>§level7: Option<CT_TextParagraphProperties>§level8: Option<CT_TextParagraphProperties>§level9: Option<CT_TextParagraphProperties>Implementations§
Source§impl CT_TextListStyle
impl CT_TextListStyle
Sourcepub fn from_xml(xml: &[u8]) -> Result<Self>
pub fn from_xml(xml: &[u8]) -> Result<Self>
Parses a complete list-style element with any prefix, including the PresentationML wrappers that share this DrawingML content model.
Sourcepub fn write_xml<W: Write>(&self, writer: &mut Writer<W>) -> Result<()>
pub fn write_xml<W: Write>(&self, writer: &mut Writer<W>) -> Result<()>
Writes the list style with fixed prefixes and ascending level order.
Sourcepub fn write_xml_as<W: Write>(
&self,
writer: &mut Writer<W>,
tag: &str,
) -> Result<()>
pub fn write_xml_as<W: Write>( &self, writer: &mut Writer<W>, tag: &str, ) -> Result<()>
Writes the list style using a caller-selected OOXML wrapper tag.
Sourcepub fn level(&self, level: usize) -> Option<&CT_TextParagraphProperties>
pub fn level(&self, level: usize) -> Option<&CT_TextParagraphProperties>
Returns one level by its one-based DrawingML number.
pub fn raw_children(&self) -> &OrderedRawChildren
Trait Implementations§
Source§impl Clone for CT_TextListStyle
impl Clone for CT_TextListStyle
Source§fn clone(&self) -> CT_TextListStyle
fn clone(&self) -> CT_TextListStyle
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_TextListStyle
impl Debug for CT_TextListStyle
Source§impl Default for CT_TextListStyle
impl Default for CT_TextListStyle
Source§fn default() -> CT_TextListStyle
fn default() -> CT_TextListStyle
Returns the “default value” for a type. Read more
impl Eq for CT_TextListStyle
Source§impl PartialEq for CT_TextListStyle
impl PartialEq for CT_TextListStyle
impl StructuralPartialEq for CT_TextListStyle
Auto Trait Implementations§
impl Freeze for CT_TextListStyle
impl RefUnwindSafe for CT_TextListStyle
impl Send for CT_TextListStyle
impl Sync for CT_TextListStyle
impl Unpin for CT_TextListStyle
impl UnsafeUnpin for CT_TextListStyle
impl UnwindSafe for CT_TextListStyle
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