Skip to main content

DrawingMlFeature

Enum DrawingMlFeature 

Source
#[non_exhaustive]
pub enum DrawingMlFeature {
Show 21 variants PictureFill, PatternFill, GroupFill, GradientFill, LineFill, Turn, ShapedPicture, PictureLine, PictureEffect, ColorModifier, ColorModel, Shadow, Glow, SoftEdge, Reflection, OtherEffect, ThreeD, ThemeStyle, LineDash, LineEnd, CompoundOutline,
}
Expand description

A feature of DrawingML that F-Office does not draw, which a DrawingMlWarning names. The features of VML, WordprocessingML and OMML are Feature: one set of features for each crate, as each crate has its own warnings. A feature of DrawingML that F-Office does not draw, which Warning::FeatureNotSupported names. Each says what F-Office draws in its place.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

PictureFill

A picture fill (a:blipFill) of an area whose reader does not draw it, such as a shape of a SmartArt graphic or a chart area: the area has no fill.

§

PatternFill

A pattern fill (a:pattFill) of an area: the area has no fill.

§

GroupFill

A group fill (a:grpFill) of an area: the area has no fill.

§

GradientFill

A gradient fill (a:gradFill) of an area or a line: the color of its first stop.

§

LineFill

A picture, pattern or group fill of a line (a:ln): the color of the line that the shape’s style refers to, or no line.

§

Turn

A rotation of a shape or a picture that is not a whole number of quarter turns (rot of a:xfrm): the shape or the picture is not drawn.

§

ShapedPicture

A picture, or a picture fill of a shape, whose outline is not a rectangle: a rounded rectangle, an ellipse, a line or a custom geometry. The picture fills its whole box.

§

PictureLine

A line around a picture (a:ln of pic:spPr with a fill) that is dashed, compound or not of one color: no line.

§

PictureEffect

A color effect of a picture (a child of a:blip) other than its transparency (a:alphaModFix) and gray (a:grayscl), such as a:lum, a:duotone, a:biLevel or a:clrChange: the picture keeps its own colors.

§

ColorModifier

A color modifier other than a:lumMod, a:lumOff, a:satMod, a:shade, a:tint, a:gamma, a:invGamma and a:alpha, such as a:hueOff or a:gray, with a value that changes the color: the color without it.

§

ColorModel

A color in the HSL or the scRGB model (a:hslClr, a:scrgbClr): no color.

§

Shadow

A shadow of a shape or a picture (a:outerShdw, a:innerShdw or a:prstShdw in a:effectLst): no shadow.

§

Glow

A glow of a shape or a picture (a:glow): no glow.

§

SoftEdge

Soft edges of a shape or a picture (a:softEdge): hard edges.

§

Reflection

A reflection of a shape or a picture (a:reflection): no reflection.

§

OtherEffect

Another effect of a shape or a picture: a blur (a:blur) or a fill overlay (a:fillOverlay) in a:effectLst, or effects in a graph (a:effectDag). It is left out.

§

ThreeD

A 3-D look of a shape or a picture: a camera of a:scene3d other than the flat view from the front, or a bevel, an extrusion or a contour of a:sp3d. The shape is drawn flat.

§

ThemeStyle

A style of the theme’s format scheme (a:fmtScheme) that a style reference of a shape’s style names (a:fillRef, a:lnRef, a:effectRef) and that the shape takes, other than a solid fill or a single line of the reference’s own color and no effect, such as a gradient fill, a color modifier of the style, a double line or a shadow: the shape takes the reference’s color, and no effect.

§

LineDash

A dash of a line (a:prstDash other than solid, or a:custDash), its own or of the line style of the theme that it takes: the line is drawn solid.

§

LineEnd

An end of a line whose outline can be open, a line or a custom geometry (a:headEnd or a:tailEnd of a type other than none), such as an arrowhead, its own or of the line style of the theme that it takes: the end is not drawn.

§

CompoundOutline

A compound line of a shape’s own line (cmpd of a:ln other than sng) on an outline other than a straight line, such as a rectangle, an ellipse or a custom geometry: the outline is drawn as one line of the full width.

Implementations§

Source§

impl Feature

Source

pub const ALL: [Feature; 21]

Every feature, in the order of their declaration.

Source

pub fn kind(self) -> &'static str

The kind of the warning of the feature, as Warning::kind gives it.

Trait Implementations§

Source§

impl Clone for Feature

Source§

fn clone(&self) -> Feature

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for Feature

Source§

impl Debug for Feature

Source§

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

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

impl Display for Feature

Source§

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

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

impl Eq for Feature

Source§

impl Hash for Feature

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Feature

Source§

fn eq(&self, other: &Feature) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Feature

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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

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<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> Finish for T

Source§

fn finish(self)

Does nothing but move self, equivalent to drop.
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> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
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<U, T> ToOwnedObj<U> for T
where U: FromObjRef<T>,

Source§

fn to_owned_obj(&self, data: FontData<'_>) -> U

Convert this type into T, using the provided data to resolve any offsets.
Source§

impl<U, T> ToOwnedTable<U> for T
where U: FromTableRef<T>,

Source§

fn to_owned_table(&self) -> U

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.