Struct PreviousParagraphProperty

Source
pub struct PreviousParagraphProperty<'a> {
Show 32 fields pub style_id: Option<ParagraphStyleId<'a>>, pub keep_next: Option<KeepNext>, pub keep_lines: Option<KeepLines>, pub page_break_before: Option<PageBreakBefore>, pub widow_control: Option<WidowControl>, pub numbering: Option<NumberingProperty<'a>>, pub suppress_line_numbers: Option<SuppressLineNumbers>, pub border: Option<Borders<'a>>, pub shading: Option<Shading<'a>>, pub tabs: Option<CustomTabStopSet>, pub suppress_auto_hyphens: Option<SuppressAutoHyphens>, pub kinsoku: Option<Kinsoku>, pub word_wrap: Option<WordWrap>, pub overflow_punct: Option<OverflowPunct>, pub top_line_punct: Option<TopLinePunct>, pub auto_space_de: Option<AutoSpaceDE>, pub auto_space_dn: Option<AutoSpaceDN>, pub bidi: Option<Bidi>, pub adjust_right_ind: Option<AdjustRightInd>, pub snap_to_grid: Option<SnapToGrid>, pub spacing: Option<Spacing>, pub indent: Option<Indent>, pub contextual_spacing: Option<ContextualSpacing>, pub mirror_indents: Option<MirrorIndents>, pub suppress_overlap: Option<SuppressOverlap>, pub justification: Option<Justification>, pub text_direction: Option<TextDirection>, pub text_alignment: Option<TextAlignment>, pub textbox_tight_wrap: Option<TextboxTightWrap>, pub outline_lvl: Option<OutlineLvl>, pub div_id: Option<DivId>, pub cnf_style: Option<CnfStyle<'a>>,
}

Fields§

§style_id: Option<ParagraphStyleId<'a>>

Specifies the style ID of the paragraph style.

§keep_next: Option<KeepNext>

Keep Paragraph With Next Paragraph

§keep_lines: Option<KeepLines>

Keep All Lines On One Page

§page_break_before: Option<PageBreakBefore>

Start Paragraph on Next Page

§widow_control: Option<WidowControl>

Text Frame Properties Allow First/Last Line to Display on a Separate Page Specifies whether enable widow control

§numbering: Option<NumberingProperty<'a>>

Specifies that the paragraph should be numbered.

§suppress_line_numbers: Option<SuppressLineNumbers>

Suppress Line Numbers for Paragraph

§border: Option<Borders<'a>>

Specifies borders for the paragraph.

§shading: Option<Shading<'a>>

Paragraph Shading

§tabs: Option<CustomTabStopSet>

Set of Custom Tab Stops

§suppress_auto_hyphens: Option<SuppressAutoHyphens>

Suppress Hyphenation for Paragraph

§kinsoku: Option<Kinsoku>

Use East Asian Typography Rules for First and Last Character per Line

§word_wrap: Option<WordWrap>

Allow Line Breaking At Character Level

§overflow_punct: Option<OverflowPunct>

Allow Punctuation to Extent Past Text Extents

§top_line_punct: Option<TopLinePunct>

Compress Punctuation at Start of a Line

§auto_space_de: Option<AutoSpaceDE>

Automatically Adjust Spacing of Latin and East Asian Text

§auto_space_dn: Option<AutoSpaceDN>

Automatically Adjust Spacing of East Asian Text and Numbers

§bidi: Option<Bidi>

Right to Left Paragraph Layout

§adjust_right_ind: Option<AdjustRightInd>

Automatically Adjust Right Indent When Using Document Grid

§snap_to_grid: Option<SnapToGrid>

Use Document Grid Settings for Inter-Line Paragraph Spacing

§spacing: Option<Spacing>

Spacing Between Lines and Above/Below Paragraph

§indent: Option<Indent>

Paragraph Indentation

§contextual_spacing: Option<ContextualSpacing>

Ignore Spacing Above and Below When Using Identical Styles

§mirror_indents: Option<MirrorIndents>

Use Left/Right Indents as Inside/Outside Indents

§suppress_overlap: Option<SuppressOverlap>

Prevent Text Frames From Overlapping

§justification: Option<Justification>

Paragraph Alignment

§text_direction: Option<TextDirection>

Paragraph Text Flow Direction

§text_alignment: Option<TextAlignment>

Vertical Character Alignment on Line

§textbox_tight_wrap: Option<TextboxTightWrap>

Allow Surrounding Paragraphs to Tight Wrap to Text Box Contents

§outline_lvl: Option<OutlineLvl>

Associated Outline Level

§div_id: Option<DivId>

Associated HTML div ID

§cnf_style: Option<CnfStyle<'a>>

Paragraph Conditional Formatting

Trait Implementations§

Source§

impl<'a> Clone for PreviousParagraphProperty<'a>

Source§

fn clone(&self) -> PreviousParagraphProperty<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for PreviousParagraphProperty<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> Default for PreviousParagraphProperty<'a>

Source§

fn default() -> PreviousParagraphProperty<'a>

Returns the “default value” for a type. Read more
Source§

impl<'__input: 'a, 'a> XmlRead<'__input> for PreviousParagraphProperty<'a>

Source§

fn from_reader(reader: &mut XmlReader<'__input>) -> XmlResult<Self>

Source§

fn from_str(text: &'a str) -> Result<Self, XmlError>

Source§

impl<'a> XmlWrite for PreviousParagraphProperty<'a>

Source§

fn to_writer<W: Write>(&self, writer: &mut XmlWriter<W>) -> XmlResult<()>

Source§

fn to_string(&self) -> Result<String, XmlError>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> XmlReadOwned for T
where T: for<'s> XmlRead<'s>,