[][src]Enum msoffice_pptx::pml::TLShapeTargetElementGroup

pub enum TLShapeTargetElementGroup {
    Background,
    SubShape(TLSubShapeId),
    OleChartElement(TLOleChartTargetElement),
    TextElement(Option<TLTextTargetElement>),
    GraphicElement(AnimationElementChoice),
}

Variants

Background

This element is used to specify animating the background of an object.

Xml example

Consider adding animation to the background of Shape Id 3. The tag can be used as follows:

<p:tgtEl>
  <p:spTgt spid="3">
    <p:bg/>
  </p:spTgt>
</p:tgtEl>
SubShape(TLSubShapeId)

This element specifies the subshape of a legacy graphical object to animate.

Xml example

Consider adding animation to a legacy diagram. The element should be used as follows:

<p:animEffect transition="in" filter="blinds(horizontal)">
  <p:cBhvr>
    <p:cTn id="7" dur="500"/>
    <p:tgtEl>
      <p:spTgt spid="2053">
        <p:subSp spid="_x0000_s70664"/>
      </p:spTgt>
    </p:tgtEl>
  </p:cBhvr>
</p:animEffect>
OleChartElement(TLOleChartTargetElement)

This element specifies the subelement of an embedded chart to animate.

Xml example

Consider an embedded Chart with a entrance animation effect applied to each of the graph's categories. The element should be used as follows:

<p:animEffect transition="in" filter="blinds(horizontal)">
  <p:cBhvr>
    <p:cTn id="12" dur="500"/>
    <p:tgtEl>
      <p:spTgt spid="19460">
        <p:oleChartEl type="category" lvl="1"/>
      </p:spTgt>
    </p:tgtEl>
  </p:cBhvr>
</p:animEffect>
TextElement(Option<TLTextTargetElement>)

This element specifies a text element to animate.

Xml example

Consider a shape containing text to be animated. The should be used as follows:

<p:tgtEl>
  <p:spTgt spid="5">
    <p:txEl>
      <p:pRg st="1" end="1"/>
    </p:txEl>
  </p:spTgt>
</p:tgtEl>
GraphicElement(AnimationElementChoice)

This element specifies a graphical element which to animate

Xml example

<p:set>
  <p:cBhvr>
    <p:cTn id="6" dur="1" fill="hold"> … </p:cTn>
    <p:tgtEl>
      <p:spTgt spid="4">
        <p:graphicEl>
          <a:dgm id="{87C2C707-C3F4-4E81-A967-A8B8AE13E575}"/>
        </p:graphicEl>
      </p:spTgt>
    </p:tgtEl>
    <p:attrNameLst> … </p:attrNameLst>
  </p:cBhvr>
  <p:to> … </p:to>
</p:set>

Methods

impl TLShapeTargetElementGroup[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 TLShapeTargetElementGroup[src]

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

Performs copy-assignment from source. Read more

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