[][src]Struct msoffice_pptx::pml::TLTimeNodeSequence

pub struct TLTimeNodeSequence {
    pub concurrent: Option<bool>,
    pub prev_action_type: Option<TLPreviousActionType>,
    pub next_action_type: Option<TLNextActionType>,
    pub common_time_node_data: Box<TLCommonTimeNodeData>,
    pub prev_condition_list: Vec<TLTimeCondition>,
    pub next_condition_list: Vec<TLTimeCondition>,
}

Fields

concurrent: Option<bool>

This attribute specifies if concurrency is enabled or disabled. By default this attribute has a value of "disabled". When the value is set to "enabled", the previous element is left enabled when advancing to the next element in a sequence instead of being ended. This is only relevant for advancing via the next condition element being triggered. The only other way to advance to the next element would be to have the current element end, which implies it is no longer concurrent.

prev_action_type: Option<TLPreviousActionType>

This attribute specifies what to do when going backwards in a sequence. By default it is set to TLPreviousActionType::None and nothing special is done. When the value is TLPreviousActionType::SkipTimed, the sequence continues to go backwards until it reaches a sequence element that was defined to begin only on the next condition element.

next_action_type: Option<TLNextActionType>

This attribute specifies what to do when going forward in sequence. By default this attribute has a value of TLNextActionType::None. When this is set to seek it seeks the element to a natural end time (not necessarily the actual end time).

The natural end position is defined as the latest non-infinite end time of the children. If a child loops forever, the end of its first loop is used as its "end time" for the purposes of this calculation.

Some container elements can have infinite durations due to an infinite-duration child element. The engine needs to recurse down through all infinite duration containers to calculate their natural duration in case a child might have non-infinite duration within it that needs to be taken into account.

common_time_node_data: Box<TLCommonTimeNodeData>prev_condition_list: Vec<TLTimeCondition>

This element describes a list of conditions that shall be met in order to go backwards in an animation sequence.

Xml example

Consider trying to emphasize text within a shape by changing the size of its font.

<p:seq concurrent="1" nextAc="seek">
  <p:cTn id="2" dur="indefinite" nodeType="mainSeq">
  </p:cTn>
  <p:prevCondLst>
    <p:cond evt="onPrev" delay="0">
      <p:tgtEl>
        <p:sldTgt/>
      </p:tgtEl>
    </p:cond>
  </p:prevCondLst>
  <p:nextCondLst>
  </p:nextCondLst>
</p:seq>
next_condition_list: Vec<TLTimeCondition>

This element describes a list of conditions that shall be met to advance to the next animation sequence.

Xml example

Consider a shape with a text emphasis changing the size of its font.

<p:seq concurrent="1" nextAc="seek">
  <p:cTn id="2" dur="indefinite" nodeType="mainSeq"> … </p:cTn>
  <p:prevCondLst> … </p:prevCondLst>
  <p:nextCondLst>
    <p:cond evt="onNext" delay="0">
      <p:tgtEl>
        <p:sldTgt/>
      </p:tgtEl>
    </p:cond>
  </p:nextCondLst>
</p:seq>

Methods

impl TLTimeNodeSequence[src]

pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self, Box<dyn Error>>[src]

Trait Implementations

impl Clone for TLTimeNodeSequence[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for TLTimeNodeSequence[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]