#[non_exhaustive]pub struct HwpxParaShape {Show 20 fields
pub alignment: Alignment,
pub margin_left: HwpUnit,
pub margin_right: HwpUnit,
pub indent: HwpUnit,
pub spacing_before: HwpUnit,
pub spacing_after: HwpUnit,
pub line_spacing: i32,
pub line_spacing_type: LineSpacingType,
pub break_type: BreakType,
pub keep_with_next: bool,
pub keep_lines_together: bool,
pub widow_orphan: bool,
pub break_latin_word: WordBreakType,
pub break_non_latin_word: WordBreakType,
pub border_fill_id: Option<BorderFillIndex>,
pub heading_type: HeadingType,
pub heading_id_ref: u32,
pub heading_level: u32,
pub tab_pr_id_ref: u32,
pub condense: u32,
}Expand description
Resolved paragraph properties from <hh:paraPr>.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.alignment: AlignmentHorizontal alignment.
margin_left: HwpUnitLeft indent (from <hc:left value="..."/>).
margin_right: HwpUnitRight indent.
indent: HwpUnitParagraph indent (from <hc:intent value="..."/>).
spacing_before: HwpUnitSpace before paragraph (from <hc:prev value="..."/>).
spacing_after: HwpUnitSpace after paragraph (from <hc:next value="..."/>).
line_spacing: i32Line spacing value.
line_spacing_type: LineSpacingTypeLine spacing type.
break_type: BreakTypePage/column break type before paragraph.
keep_with_next: boolKeep paragraph with next (prevent page break between).
keep_lines_together: boolKeep lines together (prevent page break within paragraph).
widow_orphan: boolWidow/orphan control (minimum 2 lines at page boundaries).
break_latin_word: WordBreakTypeWord-breaking rule for Latin text (default: KeepWord).
break_non_latin_word: WordBreakTypeWord-breaking rule for non-Latin text including Korean (default: KeepWord).
border_fill_id: Option<BorderFillIndex>Border/fill reference (None = no border/fill).
heading_type: HeadingTypeHeading type for this paragraph.
heading_id_ref: u32Heading numbering reference (idRef in heading element, 0 = none).
heading_level: u32Heading outline level (0 = none, 1-10 for outline levels).
tab_pr_id_ref: u32Tab property reference (tabPrIDRef, 0 = default).
condense: u32Condense value for tight outline spacing.
Trait Implementations§
Source§impl Clone for HwpxParaShape
impl Clone for HwpxParaShape
Source§fn clone(&self) -> HwpxParaShape
fn clone(&self) -> HwpxParaShape
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HwpxParaShape
impl Debug for HwpxParaShape
Source§impl Default for HwpxParaShape
impl Default for HwpxParaShape
Source§impl PartialEq for HwpxParaShape
impl PartialEq for HwpxParaShape
impl Eq for HwpxParaShape
impl StructuralPartialEq for HwpxParaShape
Auto Trait Implementations§
impl Freeze for HwpxParaShape
impl RefUnwindSafe for HwpxParaShape
impl Send for HwpxParaShape
impl Sync for HwpxParaShape
impl Unpin for HwpxParaShape
impl UnwindSafe for HwpxParaShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.