#[non_exhaustive]pub enum Reason {
Missing,
NotXml,
Unlinked,
Unsupported,
Equivalent,
OutOfRange,
NotPlaced,
Chart(ChartReason),
}Expand description
Why a part or a drawing is left out.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Missing
The package has no part of that name.
NotXml
The part is not XML that the reader takes, or has no root element.
Unlinked
The drawing names no part of the package: its relationship ID names no relationship of
its part, or one to a file outside the package, or it links a file outside the package
in place of a part, such as a linked image (r:link of a:blip, o:href of
v:imagedata).
Unsupported
The layout does not draw what the part holds, other than a chart part, which gives its
own reason (Reason::Chart), or the drawing, such as a drawing canvas, ink, a VML group, polyline, arc,
curve or image element, a floating VML picture whose colors change, a VML shape or
picture without a CSS width or height, other than a floating line, a VML picture in its
text line in another element than v:shape, or a VML shape after the first of its
w:pict or w:object, or a VML text path with a letter whose outline the caller
cannot give.
Equivalent
An earlier entry of the package has a name that differs from this one only in ASCII case, which the package format forbids, and the reader keeps the earlier one.
OutOfRange
A place or a size that the values of a drawing or of its wrap polygon give lies beyond
Length::FILE_LIMIT, such as a point of a custom path with a tiny size and a far
point.
NotPlaced
The reader takes the drawing, but a step of its layout gives no place for what it holds, such as the value axis of a chart whose numbers leave the digits of a decimal, or a plot area without room in the chart’s frame.
Chart(ChartReason)
F-Office does not draw the chart that the part holds, for this reason.
Trait Implementations§
impl Copy for Reason
impl Eq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Forget for Reason
impl Freeze for Reason
impl Move for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnsafeUnpin for Reason
impl UnwindSafe for Reason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
T, using the provided data to resolve any offsets.