pub struct TextH { /* private fields */ }Expand description
$literal
Implementations§
Source§impl TextH
impl TextH
Sourcepub fn class_names(self, class_names: &[&ParagraphStyleRef]) -> Self
pub fn class_names(self, class_names: &[&ParagraphStyleRef]) -> Self
Sets class names aka paragraph styles as formatting.
Sourcepub fn condstyle_name(self, name: &ParagraphStyleRef) -> Self
pub fn condstyle_name(self, name: &ParagraphStyleRef) -> Self
Sets a conditional style.
Sourcepub fn list_header(self, lh: bool) -> Self
pub fn list_header(self, lh: bool) -> Self
Styled as list header.
Sourcepub fn outline_level(self, l: u8) -> Self
pub fn outline_level(self, l: u8) -> Self
Level of the heading.
Sourcepub fn restart_numbering(self, r: bool) -> Self
pub fn restart_numbering(self, r: bool) -> Self
Numbering reset.
Sourcepub fn start_value(self, l: u8) -> Self
pub fn start_value(self, l: u8) -> Self
Numbering start value.
Sourcepub fn style_name(self, name: &ParagraphStyleRef) -> Self
pub fn style_name(self, name: &ParagraphStyleRef) -> Self
Style
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextH
impl RefUnwindSafe for TextH
impl Send for TextH
impl Sync for TextH
impl Unpin for TextH
impl UnwindSafe for TextH
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