[][src]Enum msoffice_pptx::pml::TLTimeTargetElement

pub enum TLTimeTargetElement {
    SlideTarget,
    SoundTarget(EmbeddedWAVAudioFile),
    ShapeTarget(TLShapeTargetElement),
    InkTarget(TLSubShapeId),
}

Variants

SlideTarget

This element specifies the slide as the target element.

Xml example

For example, suppose we have a simple animation with a blind entrance.

<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>
SoundTarget(EmbeddedWAVAudioFile)

This element describes the sound information for a target object.

Xml example

Consider a shape with a sound effect animation. The element should be used as follows:

<p:subTnLst>
  <p:audio>
    <p:cMediaNode>
      <p:cTn display="0" masterRel="sameClick"> … </p:cTn>
      <p:tgtEl>
        <p:sndTgt r:embed="rId2" r:link="rId3"/>
      </p:tgtEl>
    </p:cMediaNode>
  </p:audio>
</p:subTnLst>
ShapeTarget(TLShapeTargetElement)

The element specifies the shape in which to apply a certain animation to.Err

Xml example

Consider a shape whose id is 3 in which we want to apply a fade animation effect. The should be used as follows:

<p:animEffect transition="in" filter="fade">
  <p:cBhvr>
    <p:cTn id="7" dur="2000"/>
    <p:tgtEl>
      <p:spTgt spid="3"/>
    </p:tgtEl>
  </p:cBhvr>
</p:animEffect>
InkTarget(TLSubShapeId)

This element specifies an animation target element that is represented by a sub-shape in a legacy graphical object.

Xml example

<p:animEffect transition="in" filter="blinds(horizontal)">
  <p:cBhvr>
    <p:cTn id="7" dur="500"/>
    <p:tgtEl>
      <p:inkTgt spid="_x0000_s2057"/>
    </p:tgtEl>
  </p:cBhvr>
</p:animEffect>

Methods

impl TLTimeTargetElement[src]

pub fn is_choice_member<T>(name: T) -> bool where
    T: AsRef<str>, 
[src]

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

Trait Implementations

impl Clone for TLTimeTargetElement[src]

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

Performs copy-assignment from source. Read more

impl Debug for TLTimeTargetElement[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]