[−][src]Struct oox::shared::drawingml::core::NonVisualPictureProperties
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]
fn clone(&self) -> NonVisualPictureProperties
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NonVisualPictureProperties
[src]
impl Default for NonVisualPictureProperties
[src]
impl PartialEq<NonVisualPictureProperties> for NonVisualPictureProperties
[src]
fn eq(&self, other: &NonVisualPictureProperties) -> bool
[src]
fn ne(&self, other: &NonVisualPictureProperties) -> bool
[src]
impl StructuralPartialEq for NonVisualPictureProperties
[src]
Auto Trait Implementations
impl RefUnwindSafe for NonVisualPictureProperties
impl Send for NonVisualPictureProperties
impl Sync for NonVisualPictureProperties
impl Unpin for NonVisualPictureProperties
impl UnwindSafe for NonVisualPictureProperties
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,