[][src]Struct oox::shared::drawingml::core::NonVisualPictureProperties

pub struct NonVisualPictureProperties {
    pub prefer_relative_resize: Option<bool>,
    pub picture_locks: Option<PictureLocking>,
}

Fields

prefer_relative_resize: Option<bool>

Specifies if the user interface should show the resizing of the picture based on the picture's current size or its original size. If this attribute is set to true, then scaling is relative to the original picture size as opposed to the current picture size.

Defaults to true

Example

Consider the case where a picture has been resized within a document and is now 50% of the originally inserted picture size. Now if the user chooses to make a later adjustment to the size of this picture within the generating application, then the value of this attribute should be checked.

If this attribute is set to true then a value of 50% is shown. Similarly, if this attribute is set to false, then a value of 100% should be shown because the picture has not yet been resized from its current (smaller) size.

picture_locks: Option<PictureLocking>

Methods

impl NonVisualPictureProperties[src]

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

Trait Implementations

impl Clone for NonVisualPictureProperties[src]

impl Debug for NonVisualPictureProperties[src]

impl Default for NonVisualPictureProperties[src]

impl PartialEq<NonVisualPictureProperties> for NonVisualPictureProperties[src]

impl StructuralPartialEq for NonVisualPictureProperties[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.